ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » MQCONN ended with reason code 2495

Post new topic  Reply to topic
 MQCONN ended with reason code 2495 « View previous topic :: View next topic » 
Author Message
sandip_gaikwad
PostPosted: Mon Apr 29, 2013 1:36 am    Post subject: MQCONN ended with reason code 2495 Reply with quote

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
View user's profile Send private message
exerk
PostPosted: Mon Apr 29, 2013 1:48 am    Post subject: Reply with quote

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
View user's profile Send private message
vmcgloin
PostPosted: Mon Apr 29, 2013 1:55 am    Post subject: Reply with quote

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
View user's profile Send private message
sandip_gaikwad
PostPosted: Mon Apr 29, 2013 2:01 am    Post subject: Reply with quote

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
View user's profile Send private message
sandip_gaikwad
PostPosted: Mon Apr 29, 2013 2:19 am    Post subject: Reply with quote

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
View user's profile Send private message
exerk
PostPosted: Mon Apr 29, 2013 2:21 am    Post subject: Reply with quote

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
View user's profile Send private message
sandip_gaikwad
PostPosted: Mon Apr 29, 2013 2:25 am    Post subject: Reply with quote

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
View user's profile Send private message
exerk
PostPosted: Mon Apr 29, 2013 2:29 am    Post subject: Reply with quote

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
View user's profile Send private message
sandip_gaikwad
PostPosted: Mon Apr 29, 2013 3:27 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » MQCONN ended with reason code 2495
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.