OAS:Problem with connection from applet to EJB

From: Alex V. Burak <alexbur_at_iname.com>
Date: Thu, 23 Mar 2000 14:03:32 +0200
Message-ID: <38DA0814.D6335BAF_at_iname.com>



hi
it works for application but not for applet

...

String ejbUrl = "oas://ultra/R3MgrApp/ManagerRemote"; Hashtable environment = new Hashtable(); Context ic;
pkMgr.ManagerHome homeInterface = null;
pkMgr.ManagerRemote remoteInterface;
...

environment.put("oracle.oas.naming.jndi.appletinstance",this);
environment.put(javax.naming.Context.INITIAL_CONTEXT_FACTORY,
"oracle.oas.naming.jndi.RemoteInitCtxFactory");
try {
 ic = new InitialContext(environment);
 homeInterface =
(pkMgr.ManagerHome)javax.rmi.PortableRemoteObject.narrow(ic.lookup(ejbUrl),
pkMgr.ManagerHome.class);
^^^^^^^^^^^^^^Error - Unable to access system property: OracleHome

thnx a lot in advance Received on Thu Mar 23 2000 - 13:03:32 CET

Original text of this message