Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » J2EE Interest »

Re: problem in wrapping of java in PL/SQL and calling a remote server

Reji Mohamed

2004-10-25



thank u for ur mail..

I had gone throught this..Infact, i had started doing based on this guide..But the problem comes becuase of the resolution in the jar file.

Regs,

Reji


----- Original Message -----
From: Mahesh Deshpande
To: J2EE-INTEREST@JAVA.SUN.COM
Subject: Re: problem in wrapping of java in PL/SQL and calling a remote server
Date: Sun, 24 Oct 2004 22:23:10 -0700

Reji,
check if this is useful.
http://www.unix.org.ua/orelly/oracle/guide8i/ch09_01.htm


Reji Mohamed <rejimohamed@TECHIE.COM> wrote:

hi,

Is it possible for a database procedure to call a java class in database(Oracle 8i) and
this java class performs a jndi lookup and sends a message to a JMS queue
in a remote weblogic server(Weblogic 8)?

in some forums i had seen this's not possible.
http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=FOR&p_id=46699.996

while running, i am getting an error,
Cannot instantiate class: weblogic.jndi.WLInitialContextFactory

And i found that the status of the class WLInitialContextFactory is INVALID.
The problem is, this class depends on a lot of other classes. If the client class is run from outside database, i am able to send a message to queue
(bcoz, the weblogic.jar has the necessary classes).

Should oracle need to resolve all the classes while loading/running?

thanx in advance,

regs,

reji

 


--

___________________________________________________________
Sign-up for Ads Free at Mail.com
http://www.mail.com/?sr=signup

=========================================================================== To unsubscribe, send email to listserv@java.sun.com and include in the body of the message "signoff J2EE-INTEREST". For general help, send email to listserv@java.sun.com and include in the body of the message "help".

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com =========================================================================== To unsubscribe, send email to listserv@java.sun.com and include in the body of the message "signoff J2EE-INTEREST". For general help, send email to listserv@java.sun.com and include in the body of the message "help".


--

___________________________________________________________
Sign-up for Ads Free at Mail.com
http://www.mail.com/?sr=signup

=========================================================================== To unsubscribe, send email to listserv@java.sun.com and include in the body of the message "signoff J2EE-INTEREST". For general help, send email to listserv@java.sun.com and include in the body of the message "help".

From owner-j2ee-interest@JAVA.SUN.COM Mon, 25 Oct 2004 02:08:15 Return-Path: Received: from swjscmail2.Sun.COM[192.18.99.108] (helo=swjscmail2.java.sun.com) by mx.perfora.net with ESMTP (Nemesis), id 0MKv22-1CLy1x0wZ5-0007d2; Mon, 25 Oct 2004 02:08:33 -0400 Received: from swjscmail1 (swjscmail1.Sun.COM [192.18.99.107]) by swjscmail2.java.sun.com (Postfix) with ESMTP id 0297521FDE; Mon, 25 Oct 2004 00:01:19 -0600 (MDT) Received: from JAVA.SUN.COM by JAVA.SUN.COM (LISTSERV-TCP/IP release 1.8e) with spool id 43627396 for J2EE-INTEREST@JAVA.SUN.COM; Sun, 24 Oct 2004 23:56:15 -0600 X-Original-To: J2EE-INTEREST@JAVA.SUN.COM Delivered-To: J2EE-INTEREST@JAVA.SUN.COM Received: from web51401.mail.yahoo.com (web51401.mail.yahoo.com [206.190.38.180]) by swjscmail1.java.sun.com (Postfix) with SMTP id 6B7D54CF2 for ; Sun, 24 Oct 2004 23:56:15 -0600 (MDT) Received: from [141.113.101.21] by web51401.mail.yahoo.com via HTTP; Sun, 24 Oct 2004 23:08:15 PDT MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1987815448-1098684495=:4307" Message-ID: <20041025060815.5222.qmail@web51401.mail.yahoo.com> Date: Sun, 24 Oct 2004 23:08:15 -0700 Reply-To: "A mailing list for Java(tm) 2 Platform, Enterprise Edition" Sender: "A mailing list for Java(tm) 2 Platform, Enterprise Edition" From: Mahesh Deshpande Subject: Re: problem in wrapping of java in PL/SQL and calling a remote server To: J2EE-INTEREST@JAVA.SUN.COM In-Reply-To: <20041025055041.F3CDB1CE305@ws1-6.us4.outblaze.com> Precedence: list Envelope-To: java@JUNLU.COM X-SpamScore: 0.000 --0-1987815448-1098684495=:4307 Content-Type: text/plain; charset=us-ascii Reji, I think classpath need to be resolved by oracle. I dont have oracle installed, but I suggest two things - try putting jars in lib directory of oracle and start Orcale instance again. - or else put jar in ORACLE_HOME. Regards, Mahesh. Reji Mohamed wrote: thank u for ur mail.. I had gone throught this..Infact, i had started doing based on this guide..But the problem comes becuase of the resolution in the jar file. Regs, Reji ----- Original Message ----- From: Mahesh Deshpande To: J2EE-INTEREST@JAVA.SUN.COM Subject: Re: problem in wrapping of java in PL/SQL and calling a remote server Date: Sun, 24 Oct 2004 22:23:10 -0700 Reji, check if this is useful. http://www.unix.org.ua/orelly/oracle/guide8i/ch09_01.htm Reji Mohamed wrote: hi, Is it possible for a database procedure to call a java class in database(Oracle 8i) and this java class performs a jndi lookup and sends a message to a JMS queue in a remote weblogic server(Weblogic 8)? in some forums i had seen this's not possible. http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=FOR&p_idF699.996 while running, i am getting an error, Cannot instantiate class: weblogic.jndi.WLInitialContextFactory And i found that the status of the class WLInitialContextFactory is INVALID. The problem is, this class depends on a lot of other classes. If the client class is run from outside database, i am able to send a message to queue (bcoz, the weblogic.jar has the necessary classes). Should oracle need to resolve all the classes while loading/running? thanx in advance, regs, reji -- ___________________________________________________________ Sign-up for Ads Free at Mail.com http://www.mail.com/?sr=signup =========================================================================== To unsubscribe, send email to listserv@java.sun.com and include in the body of the message "signoff J2EE-INTEREST". For general help, send email to listserv@java.sun.com and include in the body of the message "help". __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com =========================================================================== To unsubscribe, send email to listserv@java.sun.com and include in the body of the message "signoff J2EE-INTEREST". For general help, send email to listserv@java.sun.com and include in the body of the message "help". -- ___________________________________________________________ Sign-up for Ads Free at Mail.com http://www.mail.com/?sr=signup =========================================================================== To unsubscribe, send email to listserv@java.sun.com and include in the body of the message "signoff J2EE-INTEREST". For general help, send email to listserv@java.sun.com and include in the body of the message "help". __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ==========================================================================To unsubscribe, send email to listserv@java.sun.com and include in the body of the message "signoff J2EE-INTEREST". For general help, send email to listserv@java.sun.com and include in the body of the message "help". --0-1987815448-1098684495=:4307 Content-Type: text/html; charset=us-ascii

Reji,
I think classpath need to be resolved by oracle.
I dont have oracle installed, but I suggest two things
- try putting jars in lib directory of oracle and start Orcale instance again.
- or else put jar in ORACLE_HOME.
 
Regards,
Mahesh.
 
Reji Mohamed <rejimohamed@TECHIE.COM> wrote:


thank u for ur mail..

I had gone throught this..Infact, i had started doing based on this guide..But the problem comes becuase of the resolution in the jar file.

Regs,

Reji


----- Original Message -----
From: Mahesh Deshpande
To: J2EE-INTEREST@JAVA.SUN.COM
Subject: Re: problem in wrapping of java in PL/SQL and calling a remote server
Date: Sun, 24 Oct 2004 22:23:10 -0700

Reji,
check if this is useful.
http://www.unix.org.ua/orelly/oracle/guide8i/ch09_01.htm


Reji Mohamed <rejimohamed@TECHIE.COM> wrote:

hi,

Is it possible for a database procedure to call a java class in database(Oracle 8i) and
this java class performs a jndi lookup and sends a message to a JMS queue
in a remote weblogic server(Weblogic 8)?

in some forums i had seen this's not possible.
http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=FOR&p_idF699.996

while running, i am getting an error,
Cannot instantiate class: weblogic.jndi.WLInitialContextFactory

And i found that the status of the class WLInitialContextFactory is INVALID.
The problem is, this class depends on a lot of other classes. If the client class is run from outside database, i am able to send a message to queue
(bcoz, the weblogic.jar has the necessary classes).

Should oracle need to resolve all the classes while loading/running?

thanx in advance,

regs,

reji

 


--

___________________________________________________________
Sign-up for Ads Free at Mail.com
http://www.mail.com/?sr=signup

=========================================================================== To unsubscribe, send email to listserv@java.sun.com and include in the body of the message "signoff J2EE-INTEREST". For general help, send email to listserv@java.sun.com and include in the body of the message "help".

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com =========================================================================== To unsubscribe, send email to listserv@java.sun.com and include in the body of the message "signoff J2EE-INTEREST". For general help, send email to listserv@java.sun.com and include in the body of the message "help".


--

___________________________________________________________
Sign-up for Ads Free at Mail.com
http://www.mail.com/?sr=signup

=========================================================================== To unsubscribe, send email to listserv@java.sun.com and include in the body of the message "signoff J2EE-INTEREST". For general help, send email to listserv@java.sun.com and include in the body of the message "help".

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com ==========================================================================To unsubscribe, send email to listserv@java.sun.com and include in the body of the message "signoff J2EE-INTEREST". For general help, send email to listserv@java.sun.com and include in the body of the message "help".

--0-1987815448-1098684495=:4307--

©2008 junlu.com - Jax Systems, LLC, U.S.A.