Hi,

I am trying to deploy the following system in orion server. I have a java client which calls a session bean which in turn creates 3 Entity beans creating the objects and the relationships between them.

I seem to have a problem in locating the session client Home from the java client through JNDI.

I gave the following:

in Orion-application-client: <ejb-ref-mapping name="SessionClient" location="SessionClient" /> (sessionclient is the ejb-jars ejb-name)

in orion-ejb-jar: <session-deployment name="SessionClient" location="SessionClient" wrapper="SessionClientHome_StatefulSessionHomeWrapper1" timeout="1800" persistence-filename="SessionClient" />

looking up "java:comp/env/SessionClient" in the java client.

Exception stack is given below:

would appreciate any help in this regard

Thanks much

Krishnan

class javax.naming.NamingException:Error reading application-client descriptor:
No location specified and no suitable instance of the type 'SessionClient' found
 for the ejb-ref SessionClient
javax.naming.NamingException: Error reading application-client descriptor: No lo
cation specified and no suitable instance of the type 'SessionClient' found for
the ejb-ref SessionClient
        at com.evermind.server.ApplicationClientInitialContextFactory.getInitial
Context(JAX, Compiled Code)
        at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:6
72)
        at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:250
)
        at javax.naming.InitialContext.init(InitialContext.java:226)
        at javax.naming.InitialContext.<i! nit>(InitialContext.java:182)
        at cmp.order.JavaClient.main(JavaClient.java:88)



Do You Yahoo!?
Yahoo! Mail - Free email you can access from anywhere!

Reply via email to