TIBCO Administrator: Encoding Error While Deploying EAR

After many hours effort of developing a web service in TIBCO and creating its EAR, when I went to TIBCO administrator to deploy it, I came to a situation to scream when I observed following error being displayed in Tibco administrator after selecting my EAR:

“The archive loaded contains data using encoding UTF-8 which is not supported by the TIBCO Administrator that requires the archive encoding to be equivalent to or contained in encoding ISO8859-1. Please change the value of parameters repo.encoding and tibcoadmin.client.encoding of the .tra file for TIBCO Administrator to UTF-8, restart TIBCO Administrator and reload the archive.”

tibco administrarot ear deployment utf encoding error

 

 

After hours of searches, I came to know that there are two ways to deal with this encoding error:

  • Changing Encoding Type in Tibco Administrator TRA file

If EAR is crated in Tibco designer with project setting of UTF-8 encoding, you can deploy it in administrator by doing changes in the TRA file at path tibco\administrator\domain\TIBCOAM\bin

Following two changes are required in this file:

Change repo.encoding value to UTF-8

Change tibcoadmin.client.encoding value to UTF-8

After making these changes in the file, you need to restart Tibco Administrator. After restart, you will be able to deploy the EAR successfully.

 

  • Recreating EAR in Tibco Designer with ISO8859-1 encoding

In live production environments, its not a wise approach to restart administrator if there is encoding conflict with the ear as it will result in stopping all deployed applications till the time of restart. A good approach can be to create EAR again by changing project configuration toIS ISO8859-1 as shown below:

project configuration ISO and UTF

 

 

Ajmal Abbasi

Ajmal Hussain Abbasi is Integration Consultant By Profession with 13+ years experience in Integration domain mainly with TIBCO products. He has extensive practical knowledge of TIBCO Business Works, TIBCO Cloud, TIBCO Flogo, TIBCO Mashery, TIBCO Spotfire, EMS and TIBCO ActiveSpaces. He has worked on a number of highly critical integration projects in various sectors by using his skills in TIBCO Flogo, TIBCO API Management (Mashery), TCI, Tibco Designer, TIBCO Business Studio, Adapters, TIBCO EMS, RV, Administrator, TIBCO BE, TIBCO ActiveSpaces etc. Ajmal Abbasi has experience with MuleSoft ESB as well. Ajmal Abbasi is also experienced in the area of API Management particularly with WSO2 API management platforms. Ajmal Abbasi is also experienced in developing solutions using Core Java and J2EE Technologies. You can contact Ajmal Abbasi for Consultancy, Technical Assistance and Technical Discussions.

More Posts - Website - Facebook - LinkedIn - YouTube

3 thoughts on “TIBCO Administrator: Encoding Error While Deploying EAR

  1. Dilip

    Hi Ajmal

    Thanks for your wonder full support to community. can i have multiple encoding in one administrator?
    like combination of UTF-8 and ISO8859-1 or which one is best seeking all tibco products?

    Reply
  2. goutham

    Hi Ajmal,
    Please provide the one example scenario using iteration condition

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *