tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <>
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 (
> 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.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message