-
1. Re: Tomcat vs Jetty
jcordes Oct 8, 2003 4:04 AM (in response to jimbrady)Hi all !
Anybody got a solution to this ??? I'm experiencing the same problems for a long time now. After checking jmx-console I always see that my security-domain is not registered under java:/jaas when using tomcat (with jetty everythings ok). I've added a log-category to log4j.xml, e.g.
the relevant output is (at least that's what I think ;-))
2003-10-08 11:20:11,302 DEBUG [org.jboss.web.tomcat.tc4.EmbeddedTomcatService] L
inking security/securityMgr to JNDI name: java:/jaas/CatalogDomain
2003-10-08 11:20:11,302 DEBUG [org.jboss.web.tomcat.tc4.EmbeddedTomcatService] A
bstractWebContainer.parseWebAppDescriptors, End
2003-10-08 11:20:16,670 INFO [org.jboss.web.localhost.Engine] ContextConfig[/my
shop]: Added certificates -> request attribute Valve
2003-10-08 11:20:16,680 INFO [org.jboss.web.localhost.Engine] ContextConfig[/my
shop]: Configured an authenticator for method FORM
2003-10-08 11:20:16,680 DEBUG [org.jboss.web.tomcat.tc4.EmbeddedTomcatService] C
ontext.lifecycleEvent, event=org.apache.catalina.LifecycleEvent[source=StandardE
ngine[MainEngine].StandardHost[localhost].StandardContext[/myshop]]
2003-10-08 11:20:16,780 WARN [org.jboss.web.tomcat.tc4.EmbeddedTomcatService] U
nable to invoke setDelegate on class loader:org.jboss.web.tomcat.tc4.WebCtxLoade
r$ENCLoader@1879b
2003-10-08 11:20:16,780 INFO [org.jboss.web.localhost.Engine] StandardManager[/
myshop]: Seeding random number generator class java.security.SecureRandom
2003-10-08 11:20:16,780 INFO [org.jboss.web.localhost.Engine] StandardManager[/
myshop]: Seeding of random number generator has been completed
The last version I was able to get form-based authentication up and running was jboss-3.0.4-tomcat-4.0.6 (quite a while ago). Still no luck until currently used version jboss-3.2.2RC4. Maybe there's somebody out there, who can help, otherwise I'm stucked with jetty (not the worst choice ;-)).
TIA,
Jochen