Home » RDBMS Server » Server Administration » Oracle Server Classpath
Oracle Server Classpath [message #55140] Tue, 07 January 2003 02:50 Go to next message
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 Go to previous message
Mahesh Rajendran
Messages: 10707
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.*;
Previous Topic: Oracle 8.1.7: set oracle_sid vs. connect u/p@remote
Next Topic: ORA-12154: TNS:could not resolve service name
Goto Forum:
  


Current Time: Fri Sep 20 04:33:30 CDT 2024