users@glassfish.java.net

Re: InitialContext glassfish v3

From: <glassfish_at_javadesktop.org>
Date: Wed, 09 Sep 2009 10:41:28 PDT

wow, thanks - that is so much better, thanks so much - but, shoot, i still can't find my bean:

Exception in thread "main" javax.naming.NamingException: Lookup failed for 'SimpleSessionBean' in SerialContext ,orb'sInitialHost=localhost,orb'sInitialPort=3700 [Root exception is javax.naming.NameNotFoundException: SimpleSessionBean not found]

i can see it in the gui console for localhost under "Deployed Applications": enabled with Engines: ejb. do i need a path prefix for the lookup? i tried ejb/SimpleSessionBean with the same result. the detail page for the application has a location: ${com.sun.aas.instanceRootURI}/applications/SimpleSessionBean/
so i tried: applications/SimpleSessionBean as well - and got the same error.
[Message sent by forum member 'xdavidx' (dscott_at_pathworkdx.com)]

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