Strange. I have an exactly similar sample application in Eclipse which is meant to do the same.
However in my classpath i have placed ONLY the following jars:
jboss-client.jar, jboss-common-client.jar, jboss-j2ee.jar, jbossmq-client.jar, jboss-system.jar, jnp-client.jar, log4j.jar, concurrent.jar
Additionally, can you follow these steps to check the JNDI tree in JBoss:
- Go to
http://localhost:8080/jmx-console - Click on service=JNDIView
- On the page that comes up click on the Invoke button beside the list() method
- This will show up the JNDI contents in JBoss.
Post the contents here.
[ March 03, 2007: Message edited by: Jaikiran Pai ]