[jboss-dev-forums] [Design of JBoss/Tomcat Integration] - Re: Web tier injection has been restored

anil.saldhana@jboss.com do-not-reply at jboss.com
Thu Nov 16 02:40:52 EST 2006


I am get a null on the lookup for

  |  InitialContext iniCtx = new InitialContext();
  |  securityCtx = (Context) iniCtx.lookup("java:comp/env/security");
  | 

I think the issue is that during the ENC setup, the class loader should be WebCtxLoader.getClassLoader and not "loader" (I am not sure if this applies to all cases - when using Jboss web loader or tomcat loader)

A test case that you can check is:

  | ant -Dtest=org.jboss.test.security.test.WebConstraintsUnitTestCase one-test
  | 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986398#3986398

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986398



More information about the jboss-dev-forums mailing list