Java Mailing List Archive

Home » JBoss User »

[jboss-user] [EJB/JBoss] - Jboos Lookup


Author LoginPost Reply

I have a problem. I have developed a Bean and deployed it with RedHatDeveloper Studio. If I look at the managed Bean JNDIView, I am able to see the Bean under the global JNDI Section. I have developed a client programm that accesses the bean, but I get allways an exception if I try to access the bean. What can I do?

There is the client source code:
Properties jndiProps = new Properties();
   jndiProps.setProperty(Context.PROVIDER_URL, "jnp://jboss-server:1099");
   InitialContext txt = new InitialContext(jndiProps);

And the Name of the bean in the global JNDI is:
SubBean *
best regards

View the original post :

Reply to the post :
jboss-user mailing list
©2008 - Jax Systems, LLC, U.S.A.