Hello, for evaluation I use the embedded version of tomcat (that one that can be started via ant) and I have major troubles using Log4J in my project.
I would prefer having my own copy of Log4J on the lib-directory, so I would not have to worry about older/newer versions installed on various application servers I plan to deploy to. However if I copy Log4J.jar into the lib-directory of my webapp's lib' dir tomcat refuses even to start up, throwing the exception at the end of this mail. I wonder why commons-loggin bothers at all about Log4J if its contained in the library directory of the webapplication - those classes should have no effect on the server as whole at all, right? I already read some articles which mention how stupid commons-logging is, how broken its design is and so on but no real answer how I could slove my problem and reach my goals without modifying the libaries installed on the server. I would be really happy about any answer! Thank you in advance, lg Clemens [jmx-service] org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: No suitable Log constructor [Ljava.lang.Class;@b1aebf for org.apache.commons.logging.impl.Log4JLogger (Caused by java.lang.NoClassDefFoundError: org/apache/log4j/Category) (Caused by org.apache.commons.logging.LogConfigurationException: No suitable Log constructor [Ljava.lang.Class;@b1aebf for org.apache.commons.logging.impl.Log4JLogger (Caused by java.lang.NoClassDefFoundError: org/apache/log4j/Category)) [jmx-service] at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:543) [jmx-service] at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]