tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <ma...@apache.org>
Subject Re: Placement of custom resource factories
Date Fri, 11 Sep 2009 14:57:36 GMT
Kirill Vasiliev wrote:
> Tomcat-5.5.27
> Java 1.5.17
> Win XP SP2
> 
> In the documentation about custom resource factories (
> http://tomcat.apache.org/tomcat-5.5-doc/jndi-resources-howto.html) I read
> following: When you are through, place the factory class (and the
> corresponding bean class) unpacked under $CATALINA_HOME/common/classes, or
> in a JAR file inside $CATALINA_HOME/common/lib. In this way, the required
> class files are visible to both Catalina internal resources and your web
> application.
> Does it mean that I must ALWAYS put it in common, or I must put it in common
> if I want it visible to Tomcat?
> I.e. can I put custom factory to WEB-INF/lib of my application if I don't
> want it to be visible to Tomcat?

You can, but if it isn't visible to Tomcat it isn't going to work via JNDI.

Mark




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


Mime
View raw message