Petstore on latest CVS snapshot + latest tomcat-service.jar
I've reapplied Tom Coleman's patch to the latest snapshot. EAR deploys but
it seems there is a problem in sharing JNDI contexts between Embedded
Tomcat and JBoss. The reason I suspect this as the problem, is because
when a servlet tries to locate a class name specified through JNDI in
jboss-web.xml, it is unable to locate it, even though server.log says that
the jboss-xml was parsed and env-entry set properly:
[Auto deploy] Add env-entry serverType java.lang.String JBoss 2.1 with
Embedded Tomcat no description
[Auto deploy] Add env-entry securityAdapterClassName java.lang.String
com.sun.j2ee.blueprints.petstore.util.JBossSecurityAdapter no description
while when we come to accessing it:
[EmbeddedTomcat] MainServlet: initializing reqeust processor
[EmbeddedTomcat] Security Adapter not specified in deployment
descriptor: using default J2ee Security Adapter
>From looking into source code, this message happens when a NamingException
is caught when trying to find what the name was in JNDI.
Any ideas?
-------------------------------------------------------------------------
Anatoly Akkerman
Computer Science Dept.
Courant Institute of Mathematical Sciences, NYU
719 Broadway, #715 Tel: 212 998-3525
New York, NY 10003 Fax: 212 995-4123
-------------------------------------------------------------------------
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
List Help?: [EMAIL PROTECTED]