Bugzilla – Bug 6704
GT 4.0.8 WS Core does not copy Log4J to Tomcat 5.0.28 for deploySecureTomcat
Last modified: 2009-03-26 03:58:33
You need to log in before you can comment on or make changes to this bug.
I deployed GT 4.0.8 WS Core onto Tomcat using $ export CATALINA_HOME=/home/michaelj/test/tomcat/ $ export GLOBUS_LOCATION=/home/michaelj/Packages/globus/ws-core-4.0.8 $ cd $GLOBUS_LOCATION $ ant -f share/globus_wsrf_common/tomcat/tomcat.xml deploySecureTomcat -Dtomcat. dir=$CATALINA_HOME When I start Tomcat I get the following in the logs: Caused by: java.lang.NoClassDefFoundError: org/apache/log4j/Logger There is no log4j JAR in $CATALINA_HOME/common/lib In ws-core-4.0.8/share/globus_wsrf_common/tomcat/tomcat.xml it tries to copy lib/log4j-1.2.8.jar but GT 4.0.8 actually has lib/log4j-1.2.15.jar so it fails. See lines 175, 189 and 218 in tomcat.xml.