Author |
Message
|
chanchal |
Posted: Wed Mar 31, 2004 9:39 am Post subject: MQ program not working!! |
|
|
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 |
|
 |
EddieA |
Posted: Wed Mar 31, 2004 10:06 am Post subject: |
|
|
 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 |
|
 |
chanchal |
Posted: Wed Mar 31, 2004 10:42 am Post subject: |
|
|
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 |
|
 |
bduncan |
Posted: Wed Mar 31, 2004 1:54 pm Post subject: |
|
|
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 |
|
 |
chanchal |
Posted: Thu Apr 01, 2004 10:34 am Post subject: |
|
|
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 |
|
 |
clindsey |
Posted: Thu Apr 01, 2004 10:56 am Post subject: |
|
|
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 |
|
 |
neelatul |
Posted: Thu Apr 01, 2004 1:46 pm Post subject: |
|
|
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 |
|
 |
mqonnet |
Posted: Thu Apr 01, 2004 1:52 pm Post subject: |
|
|
 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 |
|
 |
|