Bug#631667: classpath is mixed up.

Csillag Kristof csillag.kristof at gmail.com
Sat Jun 25 22:42:34 UTC 2011


The problem seems to be that catalina.sh is adding JULI to the classpath 
like this:

# Add tomcat-juli.jar to classpath
# tomcat-juli.jar can be over-ridden per instance
if [ -r "$CATALINA_BASE/bin/tomcat-juli.jar" ] ; then
   CLASSPATH=$CLASSPATH:$CATALINA_BASE/bin/tomcat-juli.jar
else
   CLASSPATH=$CLASSPATH:$CATALINA_HOME/bin/tomcat-juli.jar
fi

So, it's looking at "$CATALINA_BASE/bin/tomcat-juli.jar".
However, the current package contains tomcat-juli.jar in the lib dir, 
and not in the bin dir.

Placing a symlink in bin makes it work again.

    Kristof





More information about the pkg-java-maintainers mailing list