I have successfully used JNDI realm to protect my applications on Tomcat.
But if Tomcat is unable to connect to the the directory server, it refuses
access. I want it to use the tomcat-users list as a backup if it fails to
connect to the directory. It seems if the JNDI realm is set up, the
in that application.
Thanks
-Surya
On 9/25/05, Mark Thomas [EMAIL PROTECTED] wrote:
Surya Mishra wrote:
I have successfully used JNDI realm to protect my applications on
Tomcat.
But if Tomcat is unable to connect to the the directory server, it
refuses
access. I want it to use the tomcat-users list
My Tomcat server doesn't start if the JNDI realm fails to load (due to
unavailability of the directory server). I want the server to start properly
and serve the unprotected applications at least. Is there a way to specify
multiple realms so that different applications can use different realms for
Hi,
I am trying to share an object between 2 applications deployed on the same
tomcat server. I have put the object in the ServletContext in my first
application. I access the object using
ServletContext.getContext(firstApp).getAttribute(object);.
The object comes in fine but it won't let me cast
Hi,
I created my own realm by extending UserDatabaseRealm. But when I start the
tomcat server, I get the following exception. If I use UserDatabaseRealm,
everything works fine. That means Tomcat can and does load the
UserDatabaseRealm class without any problem.
java.lang.NoClassDefFoundError:
? They have to go in either common/lib,
or server/lib.
Larry
On 10/10/05, Surya Mishra [EMAIL PROTECTED] wrote:
Hi,
I created my own realm by extending UserDatabaseRealm. But when I start
the
tomcat server, I get the following exception. If I use
UserDatabaseRealm,
everything works