Hi,



we are testing if a JMS-client-app works with WebSphere MQ on a machine with Windows XP, version=5.1 build 2600 Service Pack 2.



If we use the postcard-example on the same machine everything works fine.



Trying to connect from a remote XP-machine leads to the following Exception(s) below (i translated the error-texts from german).

The JMSException contains a linked Exception of type com.ibm.mq.MQException telling the message: MQJE001: Terminationcode 2, Reason 2058



For JNDI we used the following entries in JMSAdmin.config:

...

INITIAL_CONTEXT_FACTORY=com.sun.jndi.fscontext.Ref FSContextFactory

...

PROVIDER_URL=file:../JNDI-Directory

...

SECURITY_AUTHENTICATION=none

...



can anybody help us on solving this problem?

is it REQUIRED to install the MQ-client for JMS-communication?


JMSException:

2008-03-10 12:02:52.578: vai.dex.jms.JMSWrapper.initConnection(line:252): main

#e#:error establishing connection:

javax.jms.JMSException: MQJMS2005: error on creation of MQQueueManager for 'QM_lnzvt_tst0001'

at com.ibm.mq.jms.services.ConfigEnvironment.newExcep tion(ConfigEnvironment.java:586)

at com.ibm.mq.jms.MQConnection.createQM(MQConnection. java:2110)

at com.ibm.mq.jms.MQConnection.createQMNonXA(MQConnec tion.java:1532)

at com.ibm.mq.jms.MQQueueConnection.<init>(MQQueueCon nection.java:150)

at com.ibm.mq.jms.MQQueueConnection.<init>(MQQueueCon nection.java:60)

at com.ibm.mq.jms.MQQueueConnectionFactory.createQueu eConnection(MQQueueConnectionFactory.java:171)

at com.ibm.mq.jms.MQQueueConnectionFactory.createQueu eConnection(MQQueueConnectionFactory.java:112)

at vai.dex.jms.JMSWrapper.initConnection(JMSWrapper.j ava:239)

at vai.dex.jms.JMSWrapper.connect(JMSWrapper.java:71)