Oracle Server Classpath [message #55140] |
Tue, 07 January 2003 02:50 |
ez
Messages: 3 Registered: January 2003
|
Junior Member |
|
|
Hi,
I'm attempting to call an ejb from a Java Stored Procedure. I've loaded the local client classes for the ejb into the an oracle schema using loadjava.
I get unresolved classpath errors - specifically;
Class javax.ejb.EJBObject not found in import.
Here's my code;
import java.rmi.RemoteException;
import javax.ejb.EJBObject;
import javax.ejb.SessionContext;
public interface TestEngine_SL extends EJBObject
{
public int getValue() throws RemoteException;
}
How can I get the ejb and rmi objects into the classpath?
Thanks
E
|
|
|
Re: Oracle Server Classpath [message #55145 is a reply to message #55140] |
Tue, 07 January 2003 06:25 |
|
Mahesh Rajendran
Messages: 10708 Registered: March 2002 Location: oracleDocoVille
|
Senior Member Account Moderator |
|
|
did u install oracle JVM?
Actually, i have no idea about Java.
anyhow, try this. change this piece of code
import javax.ejb.EJBObject;
as
import javax.ejb.EJB.*;
|
|
|