Strange. Since this piece of code is running in the server itself, you shouldnt have seen this error. JBoss comes with 3 "servers" (named 'default', 'minimal' and 'all'). Which one are you using? Or have you created your own server? If you have created the server yourself, are you sure you did it right? And depending on the server you are using, do you see a file named jndi.properties in the %JBOSS_HOME%\server\< serverName>\conf folder? What does it contain? Also, does your ear/jar file contain any jndi.properties file in it?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106362#4106362 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106362 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user