Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

System.out.message in JAVA Source

Arun ThomasJul 8 2017 — edited Jul 11 2017

HI Experts,

if we create a java source using below way

CREATE JAVA SOURCE NAMED "Welcome" AS

  public class Welcome {

  public static String welcome() {

  System.out.println("Welcome ");;  } }

/

Where can i see the message ?

Reason for Why I am asking for this Question is .

Right now I am debugging one Email Sending Application(Alerts). The application is working fine for the alerts doesnt have any attachment, but if there is any attachment I am getting Java call Terminated by uncaught Java Exception java.lang.NoClassDefFoundError

The application Flow is as below

  1. PLSQL Package (Here we fetch all the data and call Java Source)
  2. JAVA Source (XXABC_SENDMAIL.sendMail is use to send the mail)

When I put DBMS.output I can reach till the point where JAVA source call is happening , but i need to find , at exactly which place the JAVA error is getting thrown.

This post has been answered by Arun Thomas on Jul 11 2017
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 8 2017
Added on Jul 8 2017
3 comments
1,352 views