[jboss-user] [Installation, Configuration & Deployment] - Re: Jboss install

PeterJ do-not-reply at jboss.com
Mon Apr 16 10:33:32 EDT 2007


That is not the problem. You are using the second PortableRemoteObject class, look at the import statement.

First, a suggestion. When posting code, bracket it with the [ code ] [ /code ] tags (without the spaces). You can do this easily by selecting the code and clicking the Code button.

Is MyTestSessionHome an interface or a class? It should be the interface if it is not.

The other thing to do is use the jmx-console to list the JNDI names. Use the list() method on the jboss:service=JNDIView mbean. This will list out all of the names, look up the name you are interested in.

Are you using EJB3? If so, you might want to try the name "ejb/test/MyTestSessionBean/remote".

Finally, if the EJB is running in the same app server you could always look up the local interface, in which case you don't need the PortableRemoteObject call.


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037574#4037574

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037574



More information about the jboss-user mailing list