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 » IBM MQ Java / JMS » MA88 --- Exception Resource

Post new topic  Reply to topic
 MA88 --- Exception Resource « View previous topic :: View next topic » 
Author Message
kavithadhevi
PostPosted: Fri May 31, 2002 12:28 pm    Post subject: MA88 --- Exception Resource Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
bower5932
PostPosted: Mon Jun 03, 2002 5:29 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
kavithadhevi
PostPosted: Mon Jun 03, 2002 5:45 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
bower5932
PostPosted: Mon Jun 03, 2002 11:30 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
kavithadhevi
PostPosted: Mon Jun 03, 2002 1:11 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
gali_sridhar
PostPosted: Tue Jun 04, 2002 7:22 am    Post subject: Reply with quote

Novice

Joined: 31 May 2002
Posts: 16

please check the following site

http://www.mqseries.net/phpBB/viewtopic.php?t=2427&sid=3210642a3b0bbdd5a2ce0a8f96e2b792

Regards,
Sridhar
Back to top
View user's profile Send private message
skysurfer
PostPosted: Tue Jun 11, 2002 6:03 am    Post subject: Reply with quote

Newbie

Joined: 10 Jun 2002
Posts: 3

Set PATH variable in your NT system to include the \MQ INSTALL DIR\lib\
Back to top
View user's profile Send private message
shankerbabu
PostPosted: Tue Jun 11, 2002 6:49 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Yahoo Messenger
kirani
PostPosted: Wed Jun 12, 2002 7:54 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
wildtiger
PostPosted: Thu Jun 13, 2002 9:28 am    Post subject: Reply with quote

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
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 » IBM MQ Java / JMS » MA88 --- Exception Resource
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.