Products | Versions |
---|---|
TIBCO ActiveMatrix Adapter for Websphere MQ | - |
Not Applicable | - |
Resolution:
When running MQSeries Adapter 5.x project on 6.x runtime environment, it should change the tibco.appName to MQSeries in <$TIBCO_HOME>/tra/domain/<DOMAIN_NAME>/application/<Application_Name>/<Instance_Name>.tra. This Perl script is used to modify the appname in batch.
How to use this Perl script?
--------------------------------------------------
(1). Open the attached Perl script (sample.pl), and change the $AppHome to your current deployed application home. Such as: <TIBCO_HOME>/tra/domain/<domain_name>/application.
(2). Run the Perl script.
Command in console: <Perl Path> sample.pl Convert
The script logic is that it will find each tra file in $AppHome, and open each tra file. In each tra file is included the dat files' path which is:
<TIBCO_HOME>/tra/domain/<Domain_Name>/data/<Project_Name>.dat.
The script will open these dat files and use the “WebSpere” key word to search these dat files. If found, These dat files will be considered as a 6.x project, otherwise as a 5.x project and the appname will needed to be updated.
(3). Open the TIBCO Administrator and run all projects.
If Yes, run the following command to clear the backup file.
<Perl Path> sample.pl Delete
If No, run the following command to recovery the original file.
<Perl Path> sample.pl Recovery