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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to