It happens when the ClassLoader that created the java:comp/env context for the war is not the war ClassLoader, or a parent of the war ClassLoader. The current WebIntegrationUnitTestCase.testENCServlet case is working so this looks to be setup correctly at least for the testcase ear.
> Another question. I am having trouble with env being not bound with the > new Jetty from CVS. (Meaning, when a WAR gets deployed, it does not see > ejb-ref if the JNDI name is in the comp/env space.) I used to have this > problem some time before but syncing with the latest JBoss CVS fixed > it. Would you happen to know why this happens? I really need to get this > to work... > > Anatoly. _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development