Re: Tomcat, Realm, and context.xml

2009-05-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Greg, On 5/20/2009 6:50 AM, Greg Allen wrote: However, that exposes a timing issue which I'm not sure how to solve. I embedded ApacheDS in my web application by implementing ServletContextListener so that it starts on contextInitialized and

RE: Tomcat, Realm, and context.xml

2009-05-20 Thread Greg Allen
Thanks Chuck! Do you happen to have a conf/Catalina/[host]/test.xml file? If so, it will override the one in the webapp's META-INF/context.xml, causing your Realm to be ignored. This was the problem. I modified that one and it is now using the JNDIRealm. However, that exposes a timing

RE: Tomcat, Realm, and context.xml

2009-05-19 Thread Greg Allen
: Mark Thomas [mailto:ma...@apache.org] Sent: Monday, May 18, 2009 3:06 PM To: Tomcat Users List Subject: Re: Tomcat, Realm, and context.xml Greg Allen wrote: I am trying to use ApacheDS 1.5 with Tomcat 5.5.17. Try a later version. You may be hitting multiple bugs that have since been fixed. Now

RE: Tomcat, Realm, and context.xml

2009-05-19 Thread Caldarale, Charles R
From: Greg Allen [mailto:gregory.al...@sierraatlantic.com] Subject: RE: Tomcat, Realm, and context.xml I have set up my realm in my webapp's META-INF directory, like this: Context path=/test reloadable=false Take out the path attribute; it's not allowed. Where is your webapp deployed

Re: Tomcat, Realm, and context.xml

2009-05-18 Thread Mark Thomas
Greg Allen wrote: I am trying to use ApacheDS 1.5 with Tomcat 5.5.17. Try a later version. You may be hitting multiple bugs that have since been fixed. Now this really confuses me. Why is it using JAASRealm? That's not configured The JAAS Realm is the default Realm Tomcat falls back to if