Re: How to configure to use tomcat and struts to use log4j?

2003-08-14 Thread Jon Wingfield
Looks like Struts has a dependency on Commons Logging which is using Log4j under the hood. The commons logging jar is being loaded from a higher level classloader (common/lib or server/lib) and can't access classes only provided by a lower classloader (your webapp). Maybe try having the

RE: How to configure to use tomcat and struts to use log4j?

2003-08-12 Thread Zsolt Koppany
Hi Shapira, that is what I get when log4.jar is in my .../WEB-INF/lib. struts.jar is also in my .../WEB-INF/lib. Can that cause the problem? How can I fix that? Zsolt javax.servlet.ServletException: Error instantiating servlet class org.apache.struts.action.ActionServlet at

RE: How to configure to use tomcat and struts to use log4j?

2003-08-11 Thread Shapira, Yoav
Howdy, I have tried so many things to use log4j from tomcat and struts and finaly I found the solution that I have to copy log4.jar into common/lib server/lib and application/WEB-INF/lib (to be able to get jsp files compiled). I find it a bit complicated that I have to copy the same jar file

Re: How to configure to use tomcat and struts to use log4j?

2003-08-10 Thread Zsolt Koppany
Jon, I have found commons-logging.jar in two directories: application/WEB-INF/lib/commons-logging.jar server/lib/commons-logging.jar struts.jar is also in application/WEB-INF/lib Any ideas? Zsolt On Thu, 2003-08-07 at 12:49, Jon Wingfield wrote: Looks like Struts has a dependency on Commons

RE: How to configure to use tomcat and struts to use log4j?

2003-08-08 Thread Shapira, Yoav
Howdy, Looks like Struts has a dependency on Commons Logging which is using Log4j under the hood. The commons logging jar is being loaded from a higher level classloader (common/lib or server/lib) and can't access classes only provided by a lower classloader (your webapp). Maybe try having the