1. 通过was配置助手,查看平台字符编码、配置数据字符编码。如图5-4所示。
图5-4 was配置助手
2. 以elpis用户登录Agent Server服务器,查看“was.xml”配置文件的字符集是否为“GBK”。
vi /home/elpis/tomcat7/conf/was.xml
文中很多地方提到编码格式,请确认和修改以下粗体部分的编码格式。
<callcenters>
<callcenter id="1" name="callcenter1">
<ccs>
......
<datasource-ref type="ptdb">ptdb</datasource-ref>
<datasource-ref type="wfmdb">wfmdb</datasource-ref>
<datasource-ref type="sysmondb">sysmondb</datasource-ref>
<datasource-ref type="configdb">configdb</datasource-ref>
<datasource-ref type="gmdb">gmdb</datasource-ref>
<platform-encoding>GBK</platform-encoding>
<config-data-encoding>GBK</config-data-encoding>
<timeZone>GMT+08:00</timeZone>
</callcenter>
</callcenters>
3. 重新启动Agent Gateway,使配置生效。
4. 如果故障还未排除,请参考求助渠道获取帮助。