users@glassfish.java.net

Re: Glassfish does not find bean on another Glassfish server

From: <glassfish_at_javadesktop.org>
Date: Fri, 03 Jul 2009 00:22:42 PDT

Hi matterbury,

I changed the stuff as u told me but still...
javax.naming.NameNotFoundException: No object bound to name java:comp/AccessBean


If I do some syso do show me the output of InitialContext.list("") and the environment of the Context then i get the following:

UserTransaction: com.sun.enterprise.distributedtx.UserTransactionImpl

jdbc: com.sun.enterprise.naming.TransientContext

ejb: com.sun.enterprise.naming.TransientContext

__SYSTEM: com.sun.enterprise.naming.TransientContext

Environment: {org.omg.CORBA.ORBInitialPort=3700, java.naming.factory.initial=com.sun.enterprise.naming.SerialInitContextFactory, org.omg.CORBA.ORBInitialHost=192.168.2.101, java.naming.factory.state=com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl:com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl:com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl:com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl, java.naming.factory.url.pkgs=com.sun.enterprise.naming:com.sun.enterprise.naming:com.sun.enterprise.naming:com.sun.enterprise.naming}

If it is helpful i will attach the source code of my stuff so that someone is able to have a closer look at it...

thanks in advance
[Message sent by forum member 'peter0601' (peter0601)]

http://forums.java.net/jive/thread.jspa?messageID=354054