-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
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
: 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
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
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
I am trying to use ApacheDS 1.5 with Tomcat 5.5.17.
I first set up ApacheDS as a standalone appliation and set up the
following
Realm in the Tomcat server.xml file:
Realm className=org.apache.catalina.realm.JNDIRealm debug=99
connectionName=uid=admin,ou=system