Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MQ series problem using Java

Status
Not open for further replies.

altaf99

Programmer
Nov 11, 2003
4
SG
Hi,
Any help in this matter is greatly appreciated.
I keep getting this error after compiling the sample source:
class not found: class javax.resource.spi.ConnectionManager

Also where do i get the class "com.ibm.mq" to use in my
development. I believe the class I have right now could have some problems.

I am using JBuilder 6 to develop the app.
Thanks.
Best rgds,
Altaf.
 
All in the classpath. You are missing something out there. Post your classpath here or try and fix it.

As for com.ibm.mq* classes, if you are on mq 5.3 then they are supplied with the product itself. But if you are on prior version fo mq, then you have to download support pack called MA88 from the ibm support website and install it. That would have the com.ibm.* libraries you are looking for.



Cheers
KK
 
Hi mqonnet,
Thanks for your reply....
My class path is as follows:
C:\ora9iDev\jlib\bigraphbean.jar;C:\ora9iDev\jlib\LW_PfjBean.jar;C:\ora9iDev\jlib\bigraphbean-nls.zip;C:\JBuilder6\jdk1.3.1\lib\com.ibm.mq.jar

I'm using Win XP Pro and set the class path as such.

I hope there is a solution. I'm a newbie to java...hence the questions.

Thks.
Altaf.
 
Whoa!!! I never knew there is a com.ibm.mq.jar in Jdk as well. :).

I guess you must have moved this file over to jdk1.3.1\lib.

In any case, as i mentioned earlier if you are on MQ version prior to 5.3, then you have to install MA88 support pak that would contain the jar files. Just com.ibm.jar isnt enough. There are a few more.

If you are using 5.3, then you should have a java\lib subdirectory under your root installation directory on windows. Need to add the library from in that location to your classpath.

If this doesnt solve your problem, in your next post mention what version of MQ you are using and what level(CSD).


Check the link below. This is the MQ Java book and contains everything that you are looking for, just need to search through it. :).




Cheers
KK
 
Hi mqonnet,
Thanks for your reply....appreciate it.
I am able to run the sample java app now provided by IBM.
Is there any way for me to make the class file into something like a com object(in vb we can create .dlls).
The reason being, I need to use pl/sql in oracle to call
the java code to perform the necessary tasks at hand.
Any clues??

Thanks & rgds,
Altaf.
 
I am afraid, i cant help you with that. You might want to ask this question in the appropriate thread. I guess in Java or Oracle.



Cheers
KK
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top