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 Discussion » MQ program not working!!

Post new topic  Reply to topic
 MQ program not working!! « View previous topic :: View next topic » 
Author Message
chanchal
PostPosted: Wed Mar 31, 2004 9:39 am    Post subject: MQ program not working!! Reply with quote

Apprentice

Joined: 30 Jan 2004
Posts: 38

MQ programs are not working on my m/c .It gives ResourceException for any program though I did check classpath and path variables properly and I created Queue managers and queues which I am using.I am writing values for my classpath and path variables:Please help me.

CLASSPATH:

.;C:\Program Files\IBM\WebSphere MQ\Java\lib\com.ibm.mq.jar;C:\Program Files\IBM\WebSphere MQ\Java\lib\com.ibm.mqjms.jar;C:\Program Files\IBM\WebSphere MQ\Java\lib\connector.jar;C:\Program Files\IBM\WebSphere MQ\Java\lib\jms.jar;C:\Program Files\IBM\WebSphere MQ\Java\lib\jta.jar;C:\Program Files\IBM\WebSphere MQ\Tools\Java\base\;

PATH:

.;C:\WINDOWS;C:\WINDOWS\system32;C:\Program Files\IBM\WebSphere MQ\bin;C:\Program Files\j2sdk\j2sdk1.4.2\bin;
Back to top
View user's profile Send private message
EddieA
PostPosted: Wed Mar 31, 2004 10:06 am    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

And exactly how is this different from your other thread: http://www.mqseries.net/phpBB2/viewtopic.php?t=14458&highlight=

Posting twice won't get you the answers any quicker. You can't get 9 women to produce a baby in only one month.

Cheers,
_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
Back to top
View user's profile Send private message
chanchal
PostPosted: Wed Mar 31, 2004 10:42 am    Post subject: Reply with quote

Apprentice

Joined: 30 Jan 2004
Posts: 38

I am sorry Eddie for that but thats too frustrating.Actually MQ programs were running well on my m/c but I uninstalled and then reinstalled the product and now it has stopped working.I have checked so many times classpath and path and even deleted and then create new classpath and path . It compiles but while executing them it gives ResourceException and all these programs which were running fine previously.
Back to top
View user's profile Send private message
bduncan
PostPosted: Wed Mar 31, 2004 1:54 pm    Post subject: Reply with quote

Padawan

Joined: 11 Apr 2001
Posts: 1554
Location: Silicon Valley

perhaps the classpath is fine and it's the fact that some file that was supposed to be installed wasn't installed during installation for some reason...
maybe you should try uninstalling and reinstalling again - and in between confirming that all the directories are actually removed and registery keys are cleared...
_________________
Brandon Duncan
IBM Certified MQSeries Specialist
MQSeries.net forum moderator
Back to top
View user's profile Send private message Visit poster's website AIM Address
chanchal
PostPosted: Thu Apr 01, 2004 10:34 am    Post subject: Reply with quote

Apprentice

Joined: 30 Jan 2004
Posts: 38

Even after uninstalling and reinstalling the product,it doesn't work on my m/c but its working fine on other m/c.
Back to top
View user's profile Send private message
clindsey
PostPosted: Thu Apr 01, 2004 10:56 am    Post subject: Reply with quote

Knight

Joined: 12 Jul 2002
Posts: 586
Location: Dallas, Tx

This may not be related at all to path or classpath but to some resource that is not available. I would try catching the ResourceException and then calling the getLinkedException and then print the linkedexception detail. It may tell you exactly what resource is missing.

Charlie
Back to top
View user's profile Send private message
neelatul
PostPosted: Thu Apr 01, 2004 1:46 pm    Post subject: Reply with quote

Novice

Joined: 29 Jul 2002
Posts: 17

Chanchal,

Just check if connector.jar exists in the path location you specified in your classpath...

C:\Program Files\IBM\WebSphere MQ\Java\lib\connector.jar


- Atul
Back to top
View user's profile Send private message
mqonnet
PostPosted: Thu Apr 01, 2004 1:52 pm    Post subject: Reply with quote

Grand Master

Joined: 18 Feb 2002
Posts: 1114
Location: Boston, Ma, Usa.

Could you post your code here???

Also post the exact error text, if you can.

Just saw that there is another pretty active thread. Ignore my comments here, then. :)

Cheers
Kumar
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General Discussion » MQ program not working!!
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.