![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |
This wireformat encoding is called TIBCO Messaging Encoding and is determined by the encoding property of the administration domain in which the TIBCO application is running. Having one encoding per administration domain ensures that all TIBCO products in the administration domain use the same encoding to communicate.
If a .ear file created using UTF-8 is deployed in a non-EMS domain, it gives a validation error and prompts the user to change the parameters values repo.encoding and tibcoadmin.client.encoding of the .tra file for the TIBCO Administator. There is no such issue in the EMS domain that uses ISO 8859 - 1.
When you install an administration server and create an administration domain, the default encoding used for the domain is ISO8859-1 (Latin-1). The value is used for different properties of which three are in the tibcoadmin_domain.tra file:
• tibcoadmin.client.encoding—encoding that is used to encode the HTML that displays the TIBCO Administrator GUI.
•
• repo.encoding—TIBCO Messaging encoding (discussed in the previous section). This encoding used by TIBCO Administrator and other TIBCO products in the domain to communicate.
• -character_encoding—used by the TIBCO Hawk agent. The property is defined in the hawkagent.cfg file.In some situations, it may be necessary to choose UTF-8 as the encoding for all these properties. TIBCO Administrator stores encoding information per domain in two files. One is the domain’s .tra configuration file used to launch TIBCO Administrator, and the other is the configuration file used by the TIBCO Hawk agent.
1.
2. Using a text editor, open the tibcoadmin_myDomain.tra file.
3. Change the tibcoadmin.client.encoding entry to UTF-8.
4. Change the repo.encoding entry to UTF-8.
6.
7. Using a text editor, open the hawkagent.cfg file.
8. Change the -character_encoding entry to UTF-8.The client.encoding value can be any valid encoding value. It is used to enforce the encoding of the contents pushed to the browser. The repo.encoding value is used as TIBCO Rendezvous encoding and only UTF-8 and ISO8859-1 are supported.In some situations, you may wish to change the value of one, but not all properties. For example, if you are going to use aeXml as the message format, you must change repo.encoding to UTF-8 even if you are actually using ASCII characters. If you are using a .tra file that uses non-Latin1 characters, you must change file.encoding to UTF-8.
![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |