RE: tomcat-5.5.20 tld listeners from jars only from .../tomcat/common/lib?
David, it is very simple. If the jar file (ditchnet-tabs-taglib.jar http://ditchnet.org/tabs/) is under /install_dir/tomcat/webapps/APPLICATION/WEB-INF/lib the ServletContextListener is not called I need the following lines in my web.xml: listener listener-classorg.ditchnet.jsp.taglib.tabs.listener.TabServletContextListe ner/listener-class /listener If the jar file is under /install_dir/tomcat/common/lib/ the TabServletContextListener is called and I don't need the lines above in web.xml. I use jdk1.5.0_08, Windows-XP. Zsolt -Original Message- From: David Smith [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 01, 2006 4:24 PM To: Tomcat Users List Subject: Re: tomcat-5.5.20 tld listeners from jars only from .../tomcat/common/lib? While this relevant to a more generic question of classloaders, it doesn't address the OP's issue. Zsolt -- can we get a bit more context for this? My experience with taglibs is they work just find under tc 5.5.x. --David Martin Gainty wrote: Hi Zsolt- Straight from the doc http://tomcat.apache.org/tomcat-5.5-doc/class-loader-howto.html If you're using webappX classloader the search order is a.. Bootstrap classes of your JVM b.. System class loader classses (described above) a.. $CATALINA_HOME/bin/bootstrap.jar - Contains the main() method that is used to initialize the Tomcat 5 server, and the class loader implementation classes it depends on. b.. $JAVA_HOME/lib/tools.jar - Contains the javac compiler used to convert JSP pages into servlet classes. c.. $CATALINA_HOME/bin/commons-logging-api.jar - Jakarta commons logging API. d.. $CATALINA_HOME/bin/commons-daemon.jar - Jakarta commons daemon API. e.. jmx.jar - The JMX 1.2 implementation. c.. /WEB-INF/classes of your web application d.. /WEB-INF/lib/*.jar of your web application e.. $CATALINA_HOME/common/classes f.. $CATALINA_HOME/common/endorsed/*.jar g.. $CATALINA_HOME/common/i18n/*.jar h.. $CATALINA_HOME/common/lib/*.jar i.. $CATALINA_BASE/shared/classes j.. $CATALINA_BASE/shared/lib/*.jar Martin-- This e-mail communication and any attachments may contain confidential and privileged information for the use of the designated recipients named above. If you are not the intended recipient, you are hereby notified that you have received this communication in error and that any review, disclosure, dissemination, distribution or copying of it or its contents - Original Message - From: Zsolt [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Sent: Tuesday, October 24, 2006 10:13 AM Subject: tomcat-5.5.20 tld listeners from jars only from .../tomcat/common/lib? Hi, After some debuging I have the impressions that tomcat-5.5.20 searches for tld listeners only in jars files under /tomcat/common/lib. Am I right? Is that a bug or a (new) feature? Zsolt - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tomcat-5.5.20 tld listeners from jars only from .../tomcat/common/lib?
Zsolt Koppany wrote: David, it is very simple. If the jar file (ditchnet-tabs-taglib.jar http://ditchnet.org/tabs/) is under /install_dir/tomcat/webapps/APPLICATION/WEB-INF/lib the ServletContextListener is not called I need the following lines in my web.xml: listener listener-classorg.ditchnet.jsp.taglib.tabs.listener.TabServletContextListe ner/listener-class /listener If the jar file is under /install_dir/tomcat/common/lib/ the TabServletContextListener is called and I don't need the lines above in web.xml. You are not alone. This appears to be a bug. http://issues.apache.org/bugzilla/show_bug.cgi?id=40809 Mark - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tomcat-5.5.20 tld listeners from jars only from .../tomcat/common/lib?
Hi Zsolt- Straight from the doc http://tomcat.apache.org/tomcat-5.5-doc/class-loader-howto.html If you're using webappX classloader the search order is a.. Bootstrap classes of your JVM b.. System class loader classses (described above) a.. $CATALINA_HOME/bin/bootstrap.jar - Contains the main() method that is used to initialize the Tomcat 5 server, and the class loader implementation classes it depends on. b.. $JAVA_HOME/lib/tools.jar - Contains the javac compiler used to convert JSP pages into servlet classes. c.. $CATALINA_HOME/bin/commons-logging-api.jar - Jakarta commons logging API. d.. $CATALINA_HOME/bin/commons-daemon.jar - Jakarta commons daemon API. e.. jmx.jar - The JMX 1.2 implementation. c.. /WEB-INF/classes of your web application d.. /WEB-INF/lib/*.jar of your web application e.. $CATALINA_HOME/common/classes f.. $CATALINA_HOME/common/endorsed/*.jar g.. $CATALINA_HOME/common/i18n/*.jar h.. $CATALINA_HOME/common/lib/*.jar i.. $CATALINA_BASE/shared/classes j.. $CATALINA_BASE/shared/lib/*.jar Martin-- This e-mail communication and any attachments may contain confidential and privileged information for the use of the designated recipients named above. If you are not the intended recipient, you are hereby notified that you have received this communication in error and that any review, disclosure, dissemination, distribution or copying of it or its contents - Original Message - From: Zsolt [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Sent: Tuesday, October 24, 2006 10:13 AM Subject: tomcat-5.5.20 tld listeners from jars only from .../tomcat/common/lib? Hi, After some debuging I have the impressions that tomcat-5.5.20 searches for tld listeners only in jars files under /tomcat/common/lib. Am I right? Is that a bug or a (new) feature? Zsolt - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tomcat-5.5.20 tld listeners from jars only from .../tomcat/common/lib?
While this relevant to a more generic question of classloaders, it doesn't address the OP's issue. Zsolt -- can we get a bit more context for this? My experience with taglibs is they work just find under tc 5.5.x. --David Martin Gainty wrote: Hi Zsolt- Straight from the doc http://tomcat.apache.org/tomcat-5.5-doc/class-loader-howto.html If you're using webappX classloader the search order is a.. Bootstrap classes of your JVM b.. System class loader classses (described above) a.. $CATALINA_HOME/bin/bootstrap.jar - Contains the main() method that is used to initialize the Tomcat 5 server, and the class loader implementation classes it depends on. b.. $JAVA_HOME/lib/tools.jar - Contains the javac compiler used to convert JSP pages into servlet classes. c.. $CATALINA_HOME/bin/commons-logging-api.jar - Jakarta commons logging API. d.. $CATALINA_HOME/bin/commons-daemon.jar - Jakarta commons daemon API. e.. jmx.jar - The JMX 1.2 implementation. c.. /WEB-INF/classes of your web application d.. /WEB-INF/lib/*.jar of your web application e.. $CATALINA_HOME/common/classes f.. $CATALINA_HOME/common/endorsed/*.jar g.. $CATALINA_HOME/common/i18n/*.jar h.. $CATALINA_HOME/common/lib/*.jar i.. $CATALINA_BASE/shared/classes j.. $CATALINA_BASE/shared/lib/*.jar Martin-- This e-mail communication and any attachments may contain confidential and privileged information for the use of the designated recipients named above. If you are not the intended recipient, you are hereby notified that you have received this communication in error and that any review, disclosure, dissemination, distribution or copying of it or its contents - Original Message - From: Zsolt [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Sent: Tuesday, October 24, 2006 10:13 AM Subject: tomcat-5.5.20 tld listeners from jars only from .../tomcat/common/lib? Hi, After some debuging I have the impressions that tomcat-5.5.20 searches for tld listeners only in jars files under /tomcat/common/lib. Am I right? Is that a bug or a (new) feature? Zsolt - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
tomcat-5.5.20 tld listeners from jars only from .../tomcat/common/lib?
Hi, After some debuging I have the impressions that tomcat-5.5.20 searches for tld listeners only in jars files under /tomcat/common/lib. Am I right? Is that a bug or a (new) feature? Zsolt - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]