I am trying to configure form based authentication using a JDBCRealm.

I do not have access to the $CATALINA_HOME/common/endorsed folder or
server.xml file as my webapp is hosted in a shared environment by an ISP.
Therefore I have created a Context configuration xml file fragment to
provide the required Realm implementation settings/attributes for Tomcat to
load from my root folder at start-up.

The problem I am experiencing is that because I am not permitted to access
the $CATALINA_HOME/common/endorsed folder I am unable to put the Driver jar
(mysql-connector-java-3.0.7-stable-bin.jar) in the container classpath.
Attempts to get the container to detect the Driver in the Context classpath
(/WEB-INF/lib) of my webapp have proved futile (or so it seems). As a result
Tomcat does not recognize the login form action 'j_security_check' when the
form is posted, presumably because the driver required to look-up user
credentials was not loaded/located in the first place.

Can anyone advise of a work-around, or let me know if I have overlooked
something, or am I simply snookered...?

Thanks

Andrew Murphy



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to