BW project encoding and the domain encoding is as UTF-8, however, bwengine reports ISO8859-1 during startup.

BW project encoding and the domain encoding is as UTF-8, however, bwengine reports ISO8859-1 during startup.

book

Article ID: KB0089466

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks -
Not Applicable -

Description

Resolution:
Description:
============

The TIBCO Messaging encoding for project is UTF-8 and the domain encoding is also set to UTF-8, but the bwening startup shows the following ISO during startup:

 2014 Feb 21 22:23:39:092 GMT +7 BW.BWProcesses1-BWProcesses1 Info [BW-Core] BWENGINE-300001 Process Engine version 5.11.0, build V12, 2012-11-15
2014 Feb 21 22:23:39:100 GMT +7 BW.BWProcesses1-BWProcesses1 Info [BW-Core] BWENGINE-300009 BW Plugins: version 5.11.0, build V12, 2012-11-15
2014 Feb 21 22:23:39:107 GMT +7 BW.BWProcesses1-BWProcesses1 Info [BW-Core] BWENGINE-300010 XML Support: TIBCOXML Version 5.51.600.001
2014 Feb 21 22:23:39:107 GMT +7 BW.BWProcesses1-BWProcesses1 Info [BW-Core] BWENGINE-300011 Java version: IBM J9 VM 2.6
2014 Feb 21 22:23:39:107 GMT +7 BW.BWProcesses1-BWProcesses1 Info [BW-Core] BWENGINE-300012 OS version: ppc64 AIX 6.1
2014 Feb 21 22:23:57:995 GMT +7 BW.BWProcesses1-BWProcesses1 Info [BW-Core] BWENGINE-300013 Tibrv string encoding: ISO8859-1
2014 Feb 21 22:23:58:333 GMT +7 BW.BWProcesses1-BWProcesses1 Info [BW-Core] BWENGINE-300003 Engine BWProcesses1-BWProcesses1 started in backup mode

Cause:
=====
JVM picks the default encoding from the underlying Operating System. If the default encoding for the OS is set as ISO8859-1, BWengine will pick the encoding information from the operating system.

Resolution:
==========
java.property.file.encoding=UTF-8

Define this in the designer.tra file. If deployed, you should define it in deployed the BW application TRA file and restart the bwengine.

OR

Add the following properties into %TIBCO_ROOT%/bw/5.x/lib/com/tibco/deployment/bwengine.xml in the development machine as:
    
       <property>
       <name>File Encoding</name>
       <option>java.property.file.encoding</option>
       <default>UTF-8</default>
       <description>controls messaging encoding</description>
       </property> 
        
You need to rebuild the EAR file in that machine in order to make the property available in the EAR file. In this way, the TRA file will have the properties when you deploy the EAR file.


Issue/Introduction

BW project encoding and the domain encoding is as UTF-8, however, bwengine reports ISO8859-1 during startup.