If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > problem deploying java stored procedure with dependent classe

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-13-08, 05:30
govindk govindk is offline
Registered User
 
Join Date: Aug 2008
Posts: 3
problem deploying java stored procedure with dependent classe

Hi,
I am using DB2 V9.5 on windows XP platform. I am newbie to db2. I am able to deploy java stored procedure(JSP) successfully. My JSP call other classes also, which I have packed in the same jar file. I installed that jar using sqlj.install_jar. But while calling JSP I get the following error


HTML Code:
------------------------------ Commands Entered ------------------------------
call FINALPROC1('GOKOTHAR','gokothar','xxxxxx','govind','select NAME,REGION,SOURCE from finaltable where year(closed_date)=2006');
------------------------------------------------------------------------------
call FINALPROC1('GOKOTHAR','gokothar','xxxxxx','govind','select NAME,REGION,SOURCE from finaltable where year(closed_date)=2006')
SQL4302N  Procedure or user-defined function "GOKOTHAR.FINALPROC1", specific 
name "SQL080813112812100" aborted with an exception "[IBM][CLI Driver] 
SQL0751N  Rou".

SQL4302N  Procedure or user-defined function "GOKOTHAR.FINALPROC1", specific name "SQL080813112812100" aborted with an exception "[IBM][CLI Driver] SQL0751N  Rou".

Explanation: 

The procedure or user-defined function aborted with an exception. The
administration notification log contains a stack traceback for the
aborted routine.

User response: 

Debug the routine to eliminate the exception.

 sqlcode: -4302

 sqlstate: 38501


----------------------------------------------------------------------
I also don't know how to use debugger. Does anyone has solution to my problem??
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On