Bug#493932: libtomcat5-java: Shared classes not searched, but common classes
Daniel Migowski
dmigowski at ikoffice.de
Tue Aug 5 23:52:11 UTC 2008
Package: libtomcat5-java
Severity: normal
Classes in $CATALINA_HOME/shared/classes are not found from webapps, while
classes in $CATALINE_HOME/common/classes are. This breaks usual expectations
for tomcat.
To validate this, create a simple jsp in the ROOT-Application which the
following content:
<%=Thread.currentThread().getContextClassLoader().getResourceAsStream("hello.txt")%>
Call this. It returns "null" as expected. Now
touch /usr/share/tomcat5.5/shared/classes/hello.txt
Call the jsp. It still returns "null", which is wrong in my opinion.
touch /usr/share/tomcat5.5/common/classes/hello.txt
The jsp returns InputStream at 462424645 now or something like that. This is
the expected behaviour for the previous case, too, and works like a charm on
other platforms like windows.
-- System Information:
Debian Release: 4.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.23.13-ikoffice
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
More information about the pkg-java-maintainers
mailing list