tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caldarale, Charles R" <Chuck.Caldar...@unisys.com>
Subject RE: Tomcat DB2 JDBC issue
Date Thu, 15 Nov 2007 21:44:01 GMT
> From: Andrew R Feller [mailto:afelle1@lsu.edu] 
> Subject: RE: Tomcat DB2 JDBC issue
> 
> With all of this grief developing a LoginModule that is used 
> invoked on a Context basis, I have noticed there are lots of
> issues with classes loaded by the server/common classloaders
> in the LoginModule that are also needed by the webapp.

For our custom JAAS login module, we simply follow the rules given at:
http://tomcat.apache.org/tomcat-6.0-doc/realm-howto.html#JAASRealm

In particular:

"3. Place the compiled classes on Tomcat's classpath"

We do this via the -cp used to launch Tomcat.  This allows Tomcat and
all webapps to see the necessary classes (although I don't think we have
any webapps at the moment that actually look).

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message