Author |
Message
|
kavithadhevi |
Posted: Fri May 31, 2002 12:28 pm Post subject: MA88 --- Exception Resource |
|
|
 Master
Joined: 14 May 2002 Posts: 201 Location: USA
|
Hi,
Can somebody help me out for this exception. i have MQSeries client v5.2 and MQ Java/ JMS package installed and everything perfect in classpath and path setup. even this resource package i added and tried , but no luck it throws this exception.
Exception in thread "main" java.lang.NoClassDefFoundError: javax/resource/Resour
ceException (wrong name: com/ibm/mq/resource/ResourceException)
Pls Help me here, thanks.
-- Kavitha. |
|
Back to top |
|
 |
bower5932 |
Posted: Mon Jun 03, 2002 5:29 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
I believe you need to add connector.jar to your classpath. It comes with MA88.
Ron |
|
Back to top |
|
 |
kavithadhevi |
Posted: Mon Jun 03, 2002 5:45 am Post subject: |
|
|
 Master
Joined: 14 May 2002 Posts: 201 Location: USA
|
Hi,
thank you for your reply, yes i did try that, but it says for some reason it says
wrong name: com/ibm/mq/resource/ResourceException
along with the class not found exception as above, do you know why.
also i have another problem, when i install only the client , its asks for MQM.dll do u knwo why and wat i should do, but kinda like a liek a wild try, i added the mqm.dll in the client bin dir. it asks for another dll. so is there an end.
pls help me out here.
thanks in advance. |
|
Back to top |
|
 |
bower5932 |
Posted: Mon Jun 03, 2002 11:30 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
I'm not sure about the connector.jar. It sounds like you might have a mismatch on versions of the file.
The mqm.dll is used when you are running in bindings mode as opposed to client mode. You didn't say where you were being asked for mqm.dll. If it is one of the IVT programs, there are options to run them as client. |
|
Back to top |
|
 |
kavithadhevi |
Posted: Mon Jun 03, 2002 1:11 pm Post subject: |
|
|
 Master
Joined: 14 May 2002 Posts: 201 Location: USA
|
Hi,
thanks for your reply, but i didnt get it clearly.
i am trying a simple connection java application. all classpath is set and when i run it , it throws a windows error msg saying that it cannot find mqm.dll. then if i say OK , it shows the error in the command prompt as it says " no mqjbnd04 ... " and again i m just trying a simple code to try the client connection to the server.
help me pls. _________________ Thanks in Advance.
Kavitha
IBM Certified System Administrator
Websphere MQ v 5.3
www.zealphoenix.com |
|
Back to top |
|
 |
gali_sridhar |
Posted: Tue Jun 04, 2002 7:22 am Post subject: |
|
|
Novice
Joined: 31 May 2002 Posts: 16
|
|
Back to top |
|
 |
skysurfer |
Posted: Tue Jun 11, 2002 6:03 am Post subject: |
|
|
Newbie
Joined: 10 Jun 2002 Posts: 3
|
Set PATH variable in your NT system to include the \MQ INSTALL DIR\lib\ |
|
Back to top |
|
 |
shankerbabu |
Posted: Tue Jun 11, 2002 6:49 am Post subject: |
|
|
Novice
Joined: 21 Apr 2002 Posts: 12
|
Hi,
Since your are connecting to the MQSeries in a bind mode i.e(the client and the Server lies on the same machine) the MQJMS searches for the mqbind04.dll which is present in the MQSeries_install/java/lib dir and also MQSeries_instal/java/bin dir so configure your PATH with these 2 above path.Hope this should solve the problem
shanker |
|
Back to top |
|
 |
kirani |
Posted: Wed Jun 12, 2002 7:54 pm Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
I came across similar error. The problem was solved after adding connector.jar file into CLASSPATH. _________________ Kiran
IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries
|
|
Back to top |
|
 |
wildtiger |
Posted: Thu Jun 13, 2002 9:28 am Post subject: |
|
|
 Acolyte
Joined: 21 Apr 2002 Posts: 55 Location: Canada
|
Just make sure com.ibm.mq.jar and current directory are listed in your CLASSPATH. you'd better double check it. Last time I got the same problem, which was solved by finding some errors in CLASSPATH.
So the CLASSPATH should look like this:
CLASSPATH=...;c:\mqjava\com.ibm.mq.jar;.;
(Suppose you've install/copy the jar files to c:\mqjava directory).
Hope it helps.
WildTiger |
|
Back to top |
|
 |
|