problem in wrapping of java in PL/SQL and calling a remote server 2004-10-25 - By Mahesh Deshpande
Back Reji, check if this is useful. http://www.unix.org.ua/orelly/oracle/guide8i/ch09_01.htm
Reji Mohamed <rejimohamed@(protected)> 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@(protected) and include in the body of the message "signoff J2EE-INTEREST". For general help, send email to listserv@(protected) .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@(protected) and include in the body of the message "signoff J2EE-INTEREST". For general help, send email to listserv@(protected) and include in the body of the message "help".
<DIV>Reji, </DIV> <DIV>check if this is useful.</DIV> <DIV><A href="http://www.unix.org.ua/orelly/oracle/guide8i/ch09_01.htm">http:/ /www.unix.org.ua/orelly/oracle/guide8i/ch09_01.htm</A></DIV> <DIV><BR><BR><B><I>Reji Mohamed <rejimohamed@(protected)></I></B> wrote:< /DIV> <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER -LEFT: #1010ff 2px solid"> <P>hi,</P> <P>Is it possible for a database procedure to call a java class in database (Oracle 8i) and <BR>this java class performs a jndi lookup and sends a message to a JMS queue<BR>in a remote weblogic server(Weblogic 8)?</P> <P>in some forums i had seen this's not possible.<BR><A href="http://metalink .oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=FOR&p_id =46699.996">http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument ?p_database_id=FOR&p_id=46699.996</A></P> <P>while running, i am getting an error, <BR>Cannot instantiate class: weblogic .jndi.WLInitialContextFactory</P> <P>And i found that the status of the class WLInitialContextFactory is INVALID. <BR>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 <BR> (bcoz, the weblogic.jar has the necessary classes).</P> <P>Should oracle need to resolve all the classes while loading/running? </P> <P>thanx in advance,</P> <P>regs,</P> <P>reji</P> <P> </P><BR>-- <P>__ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ______<BR>Sign-up for Ads Free at Mail.com<BR><A href="http://mail01.mail.com/scripts/payment /adtracking.cgi?bannercode=adsfreejump01" target=_blank>http://www.mail.com/?sr =signup</A></P>================================================================= ========== To unsubscribe, send email to listserv@(protected) and include in the body of the message "signoff J2EE-INTEREST". For general help, send email to listserv@(protected) and include in the body of the message "help". <P></P></BLOCKQUOTE><p>__ ____ ____ ____ ____ ____ ____ ____ ____ ____ __<br>Do You Yahoo!?<br>Tired of spam? Yahoo! Mail has the best spam protection around <br>http://mail.yahoo.com =========================================================================== To unsubscribe, send email to listserv@(protected) and include in the body of the message "signoff J2EE-INTEREST". For general help, send email to listserv@(protected) and include in the body of the message "help". <p>
|
|