DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=33869>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=33869

           Summary: tomcat5 has classloading problems
           Product: Tomcat 5
           Version: 5.0.28
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: [EMAIL PROTECTED]


when I try to deploy blojsom, or jetspeed, on tomcat-5.0.28, I get a strange
error about not being able to find some log4j classes.

It amounts to a classloader problem:

http://cvs.apache.org/viewcvs.cgi/jakarta-tomcat-catalina/catalina/src/bin/catalina.sh?rev=1.19&view=markup

catalina.sh uses 
CLASSPATH="$CLASSPATH":"$CATALINA_HOME"/bin/bootstrap.jar:"$CATALINA_HOME"/bin/commons-logging-api.jar

which means that, due to classloaders, webapps using log4j won't be able to see
it from the commons-logging-api classes.

It happens to me with blojsom or jetspeed-2, tomcat-5.0.28 and IBM jdk 1.4.2

see:
http://bugs.gentoo.org/show_bug.cgi?id=84206

It can be worked around by either adding log4j.jar to the classpath or removing
commons-logging-api (I imagine that the second workaround would limit logging
until the bootstrap process is completed.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to