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 Discussion » Triggering Java Application MQEnvironment.runningInWS()Z er

Post new topic  Reply to topic
 Triggering Java Application MQEnvironment.runningInWS()Z er « View previous topic :: View next topic » 
Author Message
Ramesh_ka
PostPosted: Wed Jan 07, 2004 10:51 am    Post subject: Triggering Java Application MQEnvironment.runningInWS()Z er Reply with quote

Novice

Joined: 24 Dec 2003
Posts: 13

Hi i am trying to trigger a java application using Trigger Monitor. The Application is triggering fine but

After application is triggering i am getting this error:

java.lang.NoSuchMethodError: com.ibm.mq.MQEnvironment.runningInWS()Z
at com.ibm.mq.jms.services.ConfigEnvironment.<clinit>(ConfigEnvironment.java:173)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:141)
at com.ibm.mq.jms.MQConnection.<clinit>(MQConnection.java:149)
at com.ibm.mq.jms.MQQueueConnectionFactory.createQueueConnection(MQQueueConnectionFactory.j
ava:142)

I had all the jar available in the classpath:

java -cp .;C:\IBM\lib\javax.jms.jar;C:\IBM\lib\com.ibm.mqjms.jar;C:\IBM\lib\fscontext.jar;C:\IBM\lib\jndi.jar;C:\IBM\lib\ldap.jar;C:\IBM\lib\postcard.jar;C:\IBM\lib\providerutil.jar;C:\IBM\lib\jta.jar;C:\IBM\lib\com.ibm.mq.jar;C:\IBM\lib\com.ibm.mqbind.jar;C:\IBM\lib\connector.jar;C:\IBM\lib\javaftp.jar;C:\IBM\lib\jaxp.jar;C:\IBM\lib\jdom.jar;C:\IBM\lib\parser.jar;C:\IBM\lib\rowset.jar;C:\IBM\lib\xerces.jar;C:\bea\weblogic81\server\lib\weblogic.jar; JavaTrigger %1

I dont know what actually happening. I set the Trigger monitor path to C:

I am running this on w2k with mq5.3 ( both are on same machine(Application/mq5.3))

What actually Triggered Application does is:

Using JMS Definitions it connects to QueueManger and browses the queue and does the further processing.

I think that i am getting this error immediately after triggering the Application.

Can nay one please throw some light on this please..

Thanks in Advance
Ramesh
Back to top
View user's profile Send private message Send e-mail
jefflowrey
PostPosted: Wed Jan 07, 2004 11:32 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You need to define the classpath properly for the user that is running the Trigger Monitor.

If you created the Trigger Monitor using the MQServices control panel, the Trigger Monitor is running as a different user than you. You will have to fix the CLASSPATH for that user.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Ramesh_ka
PostPosted: Wed Jan 07, 2004 12:54 pm    Post subject: Reply with quote

Novice

Joined: 24 Dec 2003
Posts: 13

Actually my Trigger Monitor residing at C:\program files\IBM\Websphere MQ\bin; I set this in environment Environment Varaiables.

I am starting my Trigger Monitor at c:\> rummqtrm -m queueManager -q INITQ.

I am new to MQ. I dont know how to fix the classpath to Trigger Monitor.

Please guide me in triggering the Application...


Thanks in Advance

Regards
Ramesh
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General Discussion » Triggering Java Application MQEnvironment.runningInWS()Z er
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.