I have made some great strides this morning in connecting from one EJB
containter to another (eg i can now connect sort of), but i always get a

access denied (java.lang.RuntimePermission accessDeclaredMembers )
java.security.AccessControlException: access denied
(java.lang.RuntimePermission
 accessDeclaredMembers )

from the client

and the EJB itself throws this exception
javax.naming.NameNotFoundException.  Root exception is org.omg.CosNaming.Nam
ontextPackage.NotFound
        at com.sun.corba.ee.internal.CosNaming.NamingContextImpl.doResolve(N
gContextImpl.java:568)
        at com.sun.corba.ee.internal.CosNaming.NamingContextImpl.resolve(Nam
ontextImpl.java:273)
        at com.sun.jndi.cosnaming.CNCtx.callResolve(CNCtx.java:328)
        at com.sun.jndi.cosnaming.CNCtx.lookup(CNCtx.java:377)
        at com.sun.jndi.cosnaming.CNCtx.lookup(CNCtx.java:355)
        at com.sun.enterprise.naming.EJBCtx.lookup(EJBCtx.java:74)
        at javax.naming.InitialContext.lookup(InitialContext.java:354)
        at com.nsc.it.CostMatrix.support.CostMatrixClient.calcCostFor(CostMa
Client.java:80)
        at com.nsc.tce.Generator.run(Generator.java:77)
        at com.nsc.tce.Main.run(Main.java:124)
        at com.nsc.tce.ejb.TigerCalculationEngineBean.calculate(TigerCalcula
EngineBean.java:109)
        at com.nsc.tce.ejb.TigerCalculationEngineBean_EJBObjectImpl.calculat
gerCalculationEngineBean_EJBObjectImpl.java:19)
        at com.nsc.tce.ejb._TigerCalculationEngineBean_EJBObjectImpl_Tie._in
(Unknown Source)
        at com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispatchToServan
nericPOAServerSC.java:397)
        at com.sun.corba.ee.internal.POA.GenericPOAServerSC.internalDispatch
ericPOAServerSC.java:136)
        at com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispatch(Generic
erverSC.java:97)
        at com.sun.corba.ee.internal.iiop.ORB.process(ORB.java:227)
        at com.sun.corba.ee.internal.iiop.CachedWorkerThread.doWork(IIOPConn
on.java:262)
        at com.sun.corba.ee.internal.iiop.CachedWorkerThread.run(IIOPConnect
java:230)


What causes this to occur?  I think it may be a permissions problem in the
server.policy file but I could not really find anything related to this. Is
anyone else connecting from one containter to another - if so how are you
doing this?

thanks

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to