Posted: Fri Mar 11, 2005 3:24 pm Post subject: Using ResourceBundle in Trigger program
Centurion
Joined: 16 Jun 2003 Posts: 105
Hi all,
In my MQ java trigger program I use ResourceBundle to get information from a property file. when I run my java trigger program directly from the command line it works fine, but when this program execute from the trigger process then it get hung( or wait??? ) right at the line when it does ResourceBundle.getBundle("xxx.yyy.zzz.lookup");
My Java command to run the trigger is followed:
java -cp </usr/mqm/com.ibm.mq.jar:/usr/sample/Myprogram.jar:/usr/sample> xxx.yyy.zzz.QDepth>
in Myprogram.jar, I have a lookup.properties file under /xxx/yyy/zzz folder.
I also tried putting the properties file in the classpath but still doesn't work.
Are you getting any kind of WMQ Reason Code or errors in the AMQERR01.LOG? _________________ Yes, I am an agent of Satan but my duties are largely ceremonial.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum