Posted: Mon Jun 21, 2004 7:37 am Post subject: 2058 while running MQPutFile on MQ Client
Novice
Joined: 11 Aug 2003 Posts: 12
Hi,
I have recently installed MQ Client on a Solaris box. I have never worked on MQ Clients before.
When I run MQPutFile on client it error out (2058) while MQPutFile runs
successfully on MQ Sever box. amqsputc succeeds on MQ Client.
So if QMGR is queue manager on server and TESTQ is queue name.
java MQPutFile TESTQ QMGR filename succeeds on MQ Server.
java MQPutFile TESTQ QMGR filename fails on MQ Client (2058).
amqsputc succeeds on MQ Client. MQSERVER environment is setup correctly on client.
What I am doing wrong?? Please help.
Thanks _________________ -Om
Joined: 15 May 2001 Posts: 3264 Location: London, ON Canada
Hi,
What is MQPutFile? A user written application?
In case you don't know, Java applications do NOT use the MQSERVER environment variable or the Client Channel Table file for getting the connection information to connect to a queue mqnqger.
You need to set the MQEnvironment class in your Java application. i.e.
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