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 » Errors while running java class that accesses MQQueues in DB

Post new topic  Reply to topic
 Errors while running java class that accesses MQQueues in DB « View previous topic :: View next topic » 
Author Message
hetal18
PostPosted: Thu Jun 03, 2004 4:01 am    Post subject: Errors while running java class that accesses MQQueues in DB Reply with quote

Newbie

Joined: 03 Jun 2004
Posts: 1

Hello, I am trying to use oracle's loadjava utility and load a java class which is trying to access MQ Series Queues, so it has external reference to it. While loading the java class it gives following error:

errors : class mq
ORA-29534: referenced object USER.com/ibm/mq/MQQueueManager could not be resolved
The following operations failed
class mq: resolution
exiting : Failures occurred during processing

All other java classes with no external reference file works fine.
I also tried loading all the Jar files in the database which are needed to execute my MQ class. Does anyone know whats going on here? Any help would be greatly appreciated.

Thanks in advance.
Back to top
View user's profile Send private message Send e-mail
exp
PostPosted: Thu Jun 03, 2004 5:55 am    Post subject: Reply with quote

Newbie

Joined: 13 May 2004
Posts: 9

Try adding the jar to the CLASSPATH.
As you're calling the class from DB (I assume from a stored procedure)
it would be wise to add the CLASSPATH definition to the database user profile.
Don't know exactly how to do it on Oracle - in DB2 there's a file called
db2profile that holds definitions like that.
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 » Errors while running java class that accesses MQQueues in DB
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.