Re: [JBoss-user] Call an EJB from an Oracle Java Stored Procedure

2003-06-09 Thread Stefano Maestri
On Saturday 07 June 2003 01:20, Nicholas wrote: Stefano; The keys are the following: 1. Defer resolution until the second pass. (set resolve=on) Already done. 2. Recompile all classes when you are done. You can generate a script to do this as follows: select 'ALTER JAVA CLASS USER

Re: [JBoss-user] Call an EJB from an Oracle Java Stored Procedure

2003-06-07 Thread Guy Rouillier
Nicholas and Stephano, I've tried to get this working numerous times in the past, but I'm still not there. You can find my previous posts on this by searching the archives. Nicholas, I can load the JBoss classes into the Oracle JVM using loadjava. But whenever I try to run the simplest EJB

[JBoss-user] Call an EJB from an Oracle Java Stored Procedure

2003-06-06 Thread Stefano Maestri
We are trying to write a java Stored procedure for oracle that call a session bean. We are experiencing some troble because when we set the InitialContext we get an error because org.jnp.interfaces.NamingContextFactory is not present in Aurora. We tryied to load it (extracted from

Re: [JBoss-user] Call an EJB from an Oracle Java Stored Procedure

2003-06-06 Thread Nicholas
Stefano; I have had some luck loading classes using a custom Ant task. It is really just a wrapper for LoadJava but easier to use if you are Ant inclined. It looks like this: patternset id=oracle.load.classes include name=jbossall-client.jar/ /patternset