[jboss-user] [JNDI/Naming/Network] - Lookup to SessionContext
Mailman2009
do-not-reply at jboss.com
Thu Feb 19 09:38:51 EST 2009
Hi,
the lookup to SessionContext will fail with NameNotBoundException
| InitialContext ic = new InitialContext();
| SessionContext sctxLookup = (SessionContext) ic.lookup ("java:comp/env/SessionContext");
|
|
I try this code in a Stateless SessionBean.
Where is the problem?
Need help.
Thanks
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4211490#4211490
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4211490
More information about the jboss-user
mailing list