Author |
Message
|
sandip_gaikwad |
Posted: Mon Apr 29, 2013 1:36 am Post subject: MQCONN ended with reason code 2495 |
|
|
Voyager
Joined: 25 Jul 2011 Posts: 95
|
In my problem scenario,I am having two jdk in the windows 2003 server.One is 1.4 and one is 1.7 .I want to use jdk 1.7 for mh04 support pack.I set the mh04 jar path in batch file create one batch file that contains the xmqqstat command and parameter and I also set the 1.7 jdk path variable in that file.But I don't want to change my 1.4 windows environmental variable,it should be default for application use.After executing the batch file here given error message MQCONN ended with reason code 2495.Kindly do the needful. |
|
Back to top |
|
 |
exerk |
Posted: Mon Apr 29, 2013 1:48 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
Is the batch file setting the environment and then exiting before the SupportPac is invoked? _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
vmcgloin |
Posted: Mon Apr 29, 2013 1:55 am Post subject: |
|
|
Knight
Joined: 04 Apr 2002 Posts: 560 Location: Scotland
|
Have you checked the stack and FFST and followed the checks in the error description already? |
|
Back to top |
|
 |
sandip_gaikwad |
Posted: Mon Apr 29, 2013 2:01 am Post subject: |
|
|
Voyager
Joined: 25 Jul 2011 Posts: 95
|
exerk wrote: |
Is the batch file setting the environment and then exiting before the SupportPac is invoked? |
Thanks exerk for your quick response on the query.
Here I am sharing the batch file contains.
set path=C:\Program Files\Java\jdk1.7.0_21\bin
cd F:\QStatics\mh04
xmqqstat -m QMA -q QMA.XMIT -d 60 -f F:\QStatics\stat.txt -s -t -i 10 -h -e |
|
Back to top |
|
 |
sandip_gaikwad |
Posted: Mon Apr 29, 2013 2:19 am Post subject: |
|
|
Voyager
Joined: 25 Jul 2011 Posts: 95
|
vmcgloin wrote: |
Have you checked the stack and FFST and followed the checks in the error description already? |
There is no any FFST file or error log of the queue manager. |
|
Back to top |
|
 |
exerk |
Posted: Mon Apr 29, 2013 2:21 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
What happens if you set the path manually and execute the SupportPac? Do you get the same result as with the batch file _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
sandip_gaikwad |
Posted: Mon Apr 29, 2013 2:25 am Post subject: |
|
|
Voyager
Joined: 25 Jul 2011 Posts: 95
|
exerk wrote: |
What happens if you set the path manually and execute the SupportPac? Do you get the same result as with the batch file |
If I set the jdk path manually it will affect on the application.That's why I am using the command in batch file for temporarily support pack jar utility execution. |
|
Back to top |
|
 |
exerk |
Posted: Mon Apr 29, 2013 2:29 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
sandip_gaikwad wrote: |
exerk wrote: |
What happens if you set the path manually and execute the SupportPac? Do you get the same result as with the batch file |
If I set the jdk path manually it will affect on the application.That's why I am using the command in batch file for temporarily support pack jar utility execution. |
Open a separate cmd window and execute the same commands as would the batch file; this will not affect other shells or environments. Do you get the same result as for the batch file? _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
sandip_gaikwad |
Posted: Mon Apr 29, 2013 3:27 am Post subject: |
|
|
Voyager
Joined: 25 Jul 2011 Posts: 95
|
exerk wrote: |
sandip_gaikwad wrote: |
exerk wrote: |
What happens if you set the path manually and execute the SupportPac? Do you get the same result as with the batch file |
If I set the jdk path manually it will affect on the application.That's why I am using the command in batch file for temporarily support pack jar utility execution. |
Open a separate cmd window and execute the same commands as would the batch file; this will not affect other shells or environments. Do you get the same result as for the batch file? |
Yes ,I am getting the same result. |
|
Back to top |
|
 |
|