Posted: Mon Aug 27, 2007 12:14 pm Post subject: problem while calling MQ in Stored Proc
Newbie
Joined: 27 Aug 2007 Posts: 1
Hi All,
I am using MQ API in Java stored procedure and I am calling this Java stored procedure from DB2 stored procedure it is giving me following error
if anybody come through this kind of error please help me to resolve the problem.
I placed the com.ibm.mq.jar in SQLLIB/lib folder of DB2 and SQLLIB/FUNCTION folder of DB2 but there is no luck.
------------------------------ Commands Entered ------------------------------
CALL SELECT_PROC3(1);
------------------------------------------------------------------------------
CALL SELECT_PROC3(1)
SQL4302N Procedure or user-defined function "DB2ADMIN.SELECT_PROC3", specific
name "SELECT3" aborted with an exception "com/ibm/mq/MQEnvironment".
SQLSTATE=38501
SQL4302N Procedure or user-defined function "DB2ADMIN.SELECT_PROC3", specific name "SELECT3"
aborted with an exception "com/ibm/mq/MQEnvironment ".
Explanation:
The procedure or user-defined function aborted with an exception.
The administration notification log contains a stack traceback
for the aborted routine.
Why ever did you think that com.ibm.mq.jar was the only jar file necessary?
Why haven't you looked at the administration notification log, to see the stack traceback? _________________ I am *not* the model of the modern major general.
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