Hi, everyone.

I have a bean that I am deploying.  I am giving it a JNDI name of the
form:

    java:comp/env/ejb/name

However, when my client tries to lookup the name, RMI (I'm assuming)
returns:

javax.naming.NameNotFoundException: comp not bound
        at
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown
Source)
        at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown
Source)
        at sun.rmi.server.UnicastRef.invoke(Unknown Source)
        at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
        at
org.jnp.interfaces.NamingContext.lookup(NamingContext.java:280)
        at
org.jnp.interfaces.NamingContext.lookup(NamingContext.java:265)
        at javax.naming.InitialContext.lookup(Unknown Source)
.....

If I give the bean a simple name (like "name") my client can look it up
just fine.

Is this a problem with how I'm deploying the bean, with RMI, or with
jBoss?

Thanks for any help.

--
Kevin Lewis
Middle Reliever
Axys Solutions
http://www.AxysSolutions.com/


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to