ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » Using ResourceBundle in Trigger program

Post new topic  Reply to topic
 Using ResourceBundle in Trigger program « View previous topic :: View next topic » 
Author Message
cots
PostPosted: Fri Mar 11, 2005 3:24 pm    Post subject: Using ResourceBundle in Trigger program Reply with quote

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.


If you have any suggestion or idea, pls help.

Thanks in adavance
newbie
Back to top
View user's profile Send private message
csmith28
PostPosted: Fri Mar 11, 2005 3:49 pm    Post subject: Reply with quote

Grand Master

Joined: 15 Jul 2003
Posts: 1196
Location: Arizona

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.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Sat Mar 12, 2005 4:58 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

http://www.mqseries.net/phpBB2/viewtopic.php?t=12988
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Using ResourceBundle in Trigger program
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.