You need to look at the stack trace you are getting a little bit closer, is that message from the lookup or from the new InitialContext()?
The error you are getting suggests that you have not provided any properties to the initial context constructor or provided a jndi.properties file on the classpath with the JNDI configuration: - http://wiki.jboss.org/wiki/Wiki.jsp?page=AccessEJBsRemotely This is not releated to your problem but the String being used for the lookup is wrong, you will not need the java:/comp/env stuff. After deploying your bean navigate to http://localhost:8080/jmx-console - find the 'JNDI View' MBean and invoke the list operation. If your bean deployed correctly you should see it in the global namespace, you will also be able to see the name to use for the lookup. If your bean is not visible in the global namespace execute the command 'jar -tf jarname.jar' against your jar and post the outut here. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3908243#3908243 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3908243 ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
