Posted: Thu Jun 03, 2004 4:01 am Post subject: Errors while running java class that accesses MQQueues in DB
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.
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.
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