Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: How to debug java stored procedure

RE: How to debug java stored procedure

From: Christian Antognini <Christian.Antognini_at_trivadis.com>
Date: Thu, 25 May 2006 11:54:43 +0200
Message-ID: <F2C9CCA71510B442AF71446CAE8AEBAF3F5D4C@MSXVS04.trivadis.com>


John

>It is returning a return code(rc) of 3.
>How do I find out what the actual exception was. I presume I need to get
>more info out of the obejct t but not being a java programmer I don't know
>how
>
>Can any one help?

Replace the line:

> } catch (Throwable t) { rc = 3; }

With:

> } catch (Throwable t) { rc = 3; t.printStackTrace(); }

Then, when you execute the method and an exception is generated, you should get a trace file under UDUMP.

HTH
Chris

PS: My guess is that you have a problem with privileges...

--
http://www.freelists.org/webpage/oracle-l
Received on Thu May 25 2006 - 04:54:43 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US