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 » How to find the mq class in oracle9i

Post new topic  Reply to topic
 How to find the mq class in oracle9i « View previous topic :: View next topic » 
Author Message
xincap
PostPosted: Thu Sep 14, 2006 2:09 am    Post subject: How to find the mq class in oracle9i Reply with quote

Newbie

Joined: 22 Aug 2006
Posts: 6

I wrote a java procedure in oracle9i.
In the procedure,I wanted to send some data to mq.
So,I imported the com.ibm.mq.jar .
But when I compiled it,the error occured:

Can't found the queue manager class ... and so on.

I searched the problem for several days through internet.But I got nothing.
If someone knows how to add other jar files to the oracle9i jvm search path, please tell me.

(
I wrote another java file using com.ibm.mq.jar outside oracle9i,it can be run good. the classpath include the file ,too.
)

if someone had examples,please email to me.(xincap@163.com)

waiting...
Back to top
View user's profile Send private message Send e-mail MSN Messenger
fjb_saper
PostPosted: Thu Sep 14, 2006 3:18 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Read the "using java" manual. It will tell you exactly which jar files (note the plural) you do need.

Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
xincap
PostPosted: Fri Sep 15, 2006 7:48 pm    Post subject: another question Reply with quote

Newbie

Joined: 22 Aug 2006
Posts: 6

I didn't find something useful in some user books to solve my problem.

I loaded the com.ibm.mq.jar into oracle9i through loadjava tool.

But many class I've loaded was invalid,so I can't use it.

later,I found the jdk version inside oracle9i was 1.3.1 .

Oracle9i use its own jdk to compile java stored procedure.

I tried to replace the jdk with jdk1.5 .

I replaced the files in the oracle_home\jdk directory with jdk1.5 files.

Then restated the computer.

I found it works. the error appeared changed.

Oracle9i could'nt find many java class in the rt.jar.

I tried another way to change the jdk environment,But I failed.

Maybe someone knows how to chang the oracle9i JVM version.

Please tell me.

thans a lot.
Back to top
View user's profile Send private message Send e-mail MSN Messenger
fjb_saper
PostPosted: Sat Sep 16, 2006 3:09 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

fjb_saper wrote:
Read the "using java" manual. It will tell you exactly which jar files (note the plural) you do need.

Enjoy

The oracle JVM version is fine. It should work with java 1.3, if you have trouble with MQ V6 jars load the MQ V 5.3 CSD 12 jars but my guess is your trouble is that you did not follow my advice. You need many more jars than the one you mentioned.

So RTFM already !!
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General Discussion » How to find the mq class in oracle9i
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.