Author |
Message
|
JAdams |
Posted: Tue Oct 28, 2003 5:22 am Post subject: Client and server applications on the same machine |
|
|
 Apprentice
Joined: 11 Jul 2002 Posts: 47 Location: Lakeland, FL
|
We have just moved a client application from a Windows 2000 server with only MQClient installed to a Windows 2000 server that has both MQClient and server installed on it. The application was just copied over, it was not re-compiled or link-edited. For some reason the application is getting a 2058 when trying to connect to the remote queue manager. I have run the amqsputc to the same queue manager with no problem so I know that the set up is correct. Are there any issues that I should be aware of when running a client application on a server that also has a queue manager running on it? _________________ Jason Adams
IBM Certified Specialist MQSeries |
|
Back to top |
|
 |
mrlinux |
Posted: Tue Oct 28, 2003 5:35 am Post subject: |
|
|
 Grand Master
Joined: 14 Feb 2002 Posts: 1261 Location: Detroit,MI USA
|
What kind of application is it ??? If it is a vb program try setting this env
variable
SET GMQ_MQ_LIB=MQIC32.DLL _________________ Jeff
IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries |
|
Back to top |
|
 |
JAdams |
Posted: Tue Oct 28, 2003 5:39 am Post subject: |
|
|
 Apprentice
Joined: 11 Jul 2002 Posts: 47 Location: Lakeland, FL
|
Yes it is a VB application. We did not have the variable set on the other server why would we need it now? Pardon my ingorance.
Jason _________________ Jason Adams
IBM Certified Specialist MQSeries |
|
Back to top |
|
 |
mrlinux |
Posted: Tue Oct 28, 2003 6:44 am Post subject: |
|
|
 Grand Master
Joined: 14 Feb 2002 Posts: 1261 Location: Detroit,MI USA
|
Well when it was client only it defaulted to CLIENT when moved the server/client setup it defaults to server, so to override you need to env variables. This is the way the vb module works for MQSeries. _________________ Jeff
IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries |
|
Back to top |
|
 |
JAdams |
Posted: Tue Oct 28, 2003 7:48 am Post subject: |
|
|
 Apprentice
Joined: 11 Jul 2002 Posts: 47 Location: Lakeland, FL
|
Ok...I tried that, but we are still getting the 2058 error. I have the following system env variable set...
GMQ_MQ_LIB = D:\Program files\IBM\WebSphere MQ\bin\MQIC32.DLL _________________ Jason Adams
IBM Certified Specialist MQSeries |
|
Back to top |
|
 |
mrlinux |
Posted: Tue Oct 28, 2003 11:58 am Post subject: |
|
|
 Grand Master
Joined: 14 Feb 2002 Posts: 1261 Location: Detroit,MI USA
|
you need it set just like this "SET GMQ_MQ_LIB=MQIC32.DLL" _________________ Jeff
IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries |
|
Back to top |
|
 |
JAdams |
Posted: Tue Oct 28, 2003 1:34 pm Post subject: |
|
|
 Apprentice
Joined: 11 Jul 2002 Posts: 47 Location: Lakeland, FL
|
I tried both... _________________ Jason Adams
IBM Certified Specialist MQSeries |
|
Back to top |
|
 |
mrlinux |
Posted: Tue Oct 28, 2003 1:36 pm Post subject: |
|
|
 Grand Master
Joined: 14 Feb 2002 Posts: 1261 Location: Detroit,MI USA
|
What is your MQServer variable set to ?? _________________ Jeff
IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries |
|
Back to top |
|
 |
JAdams |
Posted: Wed Oct 29, 2003 7:50 am Post subject: |
|
|
 Apprentice
Joined: 11 Jul 2002 Posts: 47 Location: Lakeland, FL
|
Ok..We did some more testing. The env variable did correct my problem!!! I did not reboot the server after adding it so that is why I was still getting the error. Normally you don't have to reboot, but my guess is that it was (or was not ) being retained in memory somewhere.
This morning we added the variable and rebooted and did not get the 2058 error. I wanted to verify that the variable did in fact fix the problem so I removed the variable and rebooted to see if we could recreate the problem. We ran the application and it recieved the 2058. Added the variable back and again we no longer recieved the error.
I want to thank you for your assistance with this problem. This is not document very well ( at least I can't find it in the manuals anywhere ) and we could not have corrected this problem without your help!
Jason _________________ Jason Adams
IBM Certified Specialist MQSeries |
|
Back to top |
|
 |
|