I had no mapping for the servlet in my web.xml which I moved from Tomcat. When I added a mapping for the HelloWorld it worked! So JBoss forces one to add all servlets in web.xml, eh?(Now why did Tomcat tolerate that?...(who cares, now:)
Did you figure out how to get the JNDI naming example servlet working under JBoss/Tomcat?
I only managed to get it running with Tomcat standalone.
I guess you also tried to copy the Tomcat's webapps/examples to the JBoss's deploy directory into a examples.war directory for testing, right?
Everything's fine, even with the servlets (if mapping is done). But for JNDI mapping with respect to the <env-entry>s I just get
JNDI lookup failed : javax.naming.NameNotFoundException: maxExemptions not bound
list() on /comp/env Context :
JNDI lookup failed : javax.naming.NameNotFoundException: not bound
when I run JndiServlet
For maxExemptions I guess this is due to the configuration in Tomcat's global files, but for the rest in the web.xml I wonder why I don't get the data...