Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

MQJE010: Unknown host:

843830May 30 2003 — edited Jul 28 2003
Trying to connect to MQQueueConnectionFactory with queueConnectionFactory.createQueueConnection() gives me JMSException with LinkedException:

MQJE010: Unknown host: NT503
MQJE001: Completion Code 2, Reason 2059
com.ibm.mq.MQException: MQJE001: Completion Code 2, Reason 2059
at com.ibm.mq.MQManagedConnectionJ11.<init>(MQManagedConnectionJ11.java:166)
at com.ibm.mq.MQClientManagedConnectionFactoryJ11._createManagedConnecti
on(MQClientManagedConnectionFactoryJ11.java:196)
at com.ibm.mq.MQClientManagedConnectionFactoryJ11.createManagedConnectio
n(MQClientManagedConnectionFactoryJ11.java:213)
at com.ibm.mq.StoredManagedConnection.<init>(StoredManagedConnection.java:80)
at com.ibm.mq.MQSimpleConnectionManager.allocateConnection(MQSimpleConnectionManager.java:150)
at com.ibm.mq.MQQueueManager.obtainBaseMQQueueManager(MQQueueManager.java:649)
at com.ibm.mq.MQQueueManager.construct(MQQueueManager.java:598)
at com.ibm.mq.MQQueueManager.<init>(MQQueueManager.java:419)
at com.ibm.mq.jms.MQConnection.createQM(MQConnection.java:976)
at com.ibm.mq.jms.MQConnection.createQMNonXA(MQConnection.java:707)
at com.ibm.mq.jms.MQQueueConnection.<init>(MQQueueConnection.java:206)
at com.ibm.mq.jms.MQQueueConnection.<init>(MQQueueConnection.java:76)
at com.ibm.mq.jms.MQQueueConnectionFactory.createQueueConnection(MQQueueConnectionFactory.java:143)
at com.hoogehuys.b2b.messaging.JmsQueueReceiver.initialise(JmsQueueReceiver.java:111)

I am using MA88 for the MQ Java Client, a JNDI .bindings file to connect, with settings for the QueueConnectionFactory:
Name: QUEUECONNECTIONFACTORY
Transport: Client
Queue Manager: NT503
Port: 1414
Host Name: NT503
Channel: SYSTEM.DEF.SVRCONN

On the server (NT503) we have MQSeries 5.2.1 on WinNT4. On the server MQ and the QueueManager (NT503) is running, I can connect to the server with ping, netbios, I have enough user rights. Replacing above hostname with IPAddress doesn't help.

Does anyone has more suggestions? What could be the cause of this error? Where should I look to solve this?

I didn't find any information on IBM's website about this problem.

Dirk
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 25 2003
Added on May 30 2003
4 comments
1,184 views