On Monday, October 6, 2003, at 01:30 PM, Adrian Brock wrote:
How would I access that? It looks like it should be "local:/Foo" for the FooBean, but that doesn't look like its working.
The default global bindings are: Remote: <ejb-name> Local: local/<ejb-name>
You change them using jboss.xml Many people use a convention like ejbs/<application>/<ejb-name>
You can see global jndi using the list operation on the JNDIView mbean in the jmx-console.
Thanks, Adrian. I am trying to find my ContentBean through the following calls:
_context = (Context) new InitialContext().lookup("local");
_contentLocalHome = (ContentLocalHome) _context.lookup("Content");I've tried variations of that as well:
_contentLocalHome = (ContentLocalHome) new InitialContext().lookup("local/Content");
and nothing seems to be working. I keep getting the same NamingException:
15:20:11,888 ERROR [system] NamingExceptionjavax.naming.NameNotFoundException: Content not bound
So, would you mind thwacking me with the clue-by-four and showing me exactly the calls I need to make to get this to work?
Thanks for your time,
-M@
------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
