On Wednesday 03 September 2008 10:52:00 Enrico Ballarin Dolfin wrote: > log4j:WARN Please initialize the log4j system properly. > Sep 2, 2008 5:17:52 PM org.apache.catalina.core.StandardContext start > SEVERE: Error listenerStart > Sep 2, 2008 5:17:52 PM org.apache.catalina.core.StandardContext start > SEVERE: Context [/getReceivers-1.0.0] startup failed due to previous > errors
Actually, I had exactly the same messages for some time. After much agony, gnashing of teeth and tearing of hair, the problem just vanished. We never understood neither why it happened, nor why it disappeared. And thus, I cannot tell for sure it is the same problem, but... > - I'm missing something in the production tomcat 5.5 environment ? > I thougth that everythng needed should be contained in the WAR > package... Yup. > - Do I need to install maven also in the production environment, to > be able to run there the WAR application on tomcat ? No, I'm pretty sure that's not the case. > > I have also tried to increase the debug level to get more information > about the "listenerStart" problem in the log file, but without success. Yeah, the warn there is about log4j, which was the source of most of the problems. A logging infrastructure should never require configuration to get basic debugging information, that's the whole idea of logging, but this one does. You have to initialise it properly, but I never found any really good documentation how you would do it. One of the things that we did was to move the config around, responding to conflicting advices from different parties, but now it half-works, and I've placed it in src/main/webapp/WEB-INF/log4j.xml I cannot tell for sure, but I think log4j was responsible for the problems we had. It still throws an exception so that I have to restart tomcat every time I deploy, but I can live with that. I guess this isn't encouraging nor very helpful, but since you haven't any other answers that did the trick, that's my wild guess, have a log4j config that you move around in likely and unlikely locations. Kind regards Kjetil Kjernsmo -- Senior Knowledge Engineer Direct: +47 6783 1136 | Mobile: +47 986 48 234 Email: [EMAIL PROTECTED] Web: http://www.computas.com/ | SHARE YOUR KNOWLEDGE | Computas AS Vollsveien 9, PO Box 482, N-1327 Lysaker | Phone:+47 6783 1000 | Fax:+47 6783 1001 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
