problem in wrapping of java in PL/SQL and calling a remote server 2004-10-24 - By Reji Mohamed
Back <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 _idF699.996">http://metalink.oracle.com/metalink/plsql/ml2_documents .showDocument?p_database_id=FOR&p_idF699.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 <BR>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 ?sfreejump01" 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>
|
|