[jboss-user] [Installation, Configuration & Deployment] - Re: how to call the session bean after deployed
jaikiran
do-not-reply at jboss.com
Fri Oct 27 12:51:44 EDT 2006
Happened to read your post again. Your problem lies in this code:
Properties props = System.getProperties();
| Context ctx = new InitialContext(props);
| Object obj = ctx.lookup("HelloBean");
Change it to:
Context ctx = new InitialContext();
| Object obj = ctx.lookup("HelloBean");
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3981366#3981366
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3981366
More information about the jboss-user
mailing list