I'm trying to set up an EJB (my first time) on Orion.  I have the .EAR file
running, I just need to get the client to test it.  When I try to run the
client, it fails on the constructor for InitialContext().  Here's the error:

java.lang.SecurityException: Not allowed to look up
java:comp/ResourceFinder, check the namespace-access tag setting in
orion-application.xml for details
 at com.evermind.server.rmi.bb.f_(JAX)
 at com.evermind.server.rmi.RMIServer.f_(JAX)
 at com.evermind.server.rmi.RMIContext.lookup(JAX)
 at com.evermind.server.administration.LazyResourceFinder.f_(JAX)
 at com.evermind.server.administration.LazyResourceFinder.getEJBHome(JAX)
 at com.evermind.server.Application.ap7(JAX)
 at
com.evermind.server.ApplicationClientInitialContextFactory.getInitialContext
(JAX)
 at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:668)
 at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:246)
 at javax.naming.InitialContext.init(InitialContext.java:222)
 at javax.naming.InitialContext.<init>(InitialContext.java:198)
 at com.mongoosetech.agent.AgentBase.registerWithServer(AgentBase.java:100)
 at com.mongoosetech.agent.AgentBase.register(AgentBase.java:71)
 at com.mongoosetech.agent.AgentBase.<init>(AgentBase.java:58)
 at com.mongoosetech.agent.jdbcagent.JDBCAgent.<init>(JDBCAgent.java:81)
 at
com.mongoosetech.agent.jdbcagent.JDBCFramgent.<init>(JDBCFramgent.java:21)
 at com.mongoosetech.agent.jdbcagent.JDBCFramgent.main(JDBCFramgent.java:73)

The problem is that I don't have a file called "orion-application.xml".
>From the docs, I get the impression this is an Orion specific version of
application.xml.  I have that, but I don't see a way to make it let me look
up java:comp/ResourceFinder.

Any clues?



Reply via email to