Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 46995 invoked from network); 9 May 2007 00:46:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 May 2007 00:46:53 -0000 Received: (qmail 10257 invoked by uid 500); 9 May 2007 00:46:46 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 10231 invoked by uid 500); 9 May 2007 00:46:46 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 10220 invoked by uid 99); 9 May 2007 00:46:46 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 May 2007 17:46:46 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [64.135.210.100] (HELO king.andy-t.org) (64.135.210.100) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 May 2007 17:46:38 -0700 Received: from king.andy-t.org (localhost [127.0.0.1]) by king.andy-t.org (8.13.6/8.13.3) with ESMTP id l490iIsu009562; Tue, 8 May 2007 19:44:18 -0500 Received: from localhost (andyt@localhost) by king.andy-t.org (8.13.6/8.13.3/Submit) with ESMTP id l490iHl9009559; Tue, 8 May 2007 19:44:17 -0500 X-Authentication-Warning: king.andy-t.org: andyt owned process doing -bs Date: Tue, 8 May 2007 19:44:17 -0500 (CDT) From: Andy X-X-Sender: andyt@king.andy-t.org To: Martin Gainty , Tomcat Users List Subject: Re: Runaway catalina.out logging In-Reply-To: Message-ID: References: <1178667165.33226.ezmlm@tomcat.apache.org> Importance: normal MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=us-ascii X-Virus-Checked: Checked by ClamAV on apache.org Martin, This is from catalina.sh, since it is Unix: JAVA_OPTS="$JAVA_OPTS "-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager" "-Djava.util.logging.config.file="$CATALINA_BASE/conf/logging.properties" As you see, it is functionally identical to your settings. Regards, Andy On Tue, 8 May 2007, Martin Gainty wrote: > Andy- > in your startup file $CATALINA_HOME/bin/catalina.bat please confirm > java.util.logging.config.file as in this example > set JAVA_OPTS=%JAVA_OPTS% > -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager > -Djava.util.logging.config.file="%CATALINA_BASE%\conf\logging.properties" > > then display contents of $CATALINA_HOME/conf/logging.properties > > M-- > This email message and any files transmitted with it contain confidential > information intended only for the person(s) to whom this email message is > addressed. If you have received this email message in error, please notify > the sender immediately by telephone or email and destroy the original > message without making a copy. Thank you. > > ----- Original Message ----- From: "Andy" > To: > Sent: Tuesday, May 08, 2007 8:12 PM > Subject: Runaway catalina.out logging > > >> This is a correction of the Subject: which I failed to set properly in my >> original message. Sorry... >> >> Hi there, >> >> We have recently switched to tomcat-5.5, on SuSE 9.3, and I ran into a >> strange problem that was not there before. >> >> I am using a custom script from catalina.out rotation. It works much the >> same way as cronolog, except it is much simpler and does more (if anyone >> wants to see/use it, let me know ;) ). The script is invoked using the >> same approach, from catalina.sh: >> >> I replace >> >> >> "$CATALINA_BASE"/logs/catalina.out 2>&1 & >> >> with >> >> | /u00/tomcat/bin/logger "$CATALINA_BASE"/logs/catalina 2>&1 & >> >> This used to work perfectly. But with ver.5.5, some startup and shutdown >> messages "escape" to the terminal. The rest goes to the script as before. >> It seems that for those messages, tomcat explicitly uses a file descriptor >> that corresponds to the terminal, or some such thing. >> >> Anyone has an idea why this is happening, and how I can capture the >> runaways? Any help would be greatly appreciated. >> >> Regards, >> >> Andy Tsouladze >> >> Escaping startup messages: >> >> May 8, 2007 5:45:41 PM org.apache.catalina.core.AprLifecycleListener >> lifecycleEvent >> INFO: The Apache Tomcat Native library which allows optimal performance in >> production environments was not found on the java.library.path: >> /usr/java/jre1.5.0_11/lib/amd64/server:/usr/java/jre1.5.0_11/lib/amd64:/usr/ >> java/jre1.5.0_11/../lib/amd64 >> May 8, 2007 5:45:41 PM org.apache.coyote.http11.Http11BaseProtocol init >> INFO: Initializing Coyote HTTP/1.1 on http-8080 >> May 8, 2007 5:45:42 PM org.apache.coyote.http11.Http11BaseProtocol init >> INFO: Initializing Coyote HTTP/1.1 on http-8443 >> May 8, 2007 5:45:42 PM org.apache.catalina.startup.Catalina load >> INFO: Initialization processed in 1776 ms >> May 8, 2007 5:45:42 PM org.apache.catalina.core.StandardService start >> INFO: Starting service Catalina >> May 8, 2007 5:45:42 PM org.apache.catalina.core.StandardEngine start >> INFO: Starting Servlet Engine: Apache Tomcat/5.5.17 >> May 8, 2007 5:45:42 PM org.apache.catalina.core.StandardHost start >> INFO: XML validation disabled >> May 8, 2007 5:45:43 PM org.apache.catalina.core.StandardContext start >> SEVERE: Error listenerStart >> May 8, 2007 5:45:43 PM org.apache.catalina.core.StandardContext start >> SEVERE: Context [/axis] startup failed due to previous errors >> May 8, 2007 5:45:44 PM org.apache.coyote.http11.Http11BaseProtocol start >> INFO: Starting Coyote HTTP/1.1 on http-8080 >> May 8, 2007 5:45:44 PM org.apache.coyote.http11.Http11BaseProtocol start >> INFO: Starting Coyote HTTP/1.1 on http-8443 >> May 8, 2007 5:45:44 PM org.apache.jk.common.ChannelSocket init >> INFO: JK: ajp13 listening on /0.0.0.0:8009 >> May 8, 2007 5:45:44 PM org.apache.jk.server.JkMain start >> INFO: Jk running ID=0 time=0/82 config=null >> May 8, 2007 5:45:44 PM org.apache.catalina.storeconfig.StoreLoader load >> INFO: Find registry server-registry.xml at classpath resource >> May 8, 2007 5:45:44 PM org.apache.catalina.startup.Catalina start >> INFO: Server startup in 2181 ms >> >> >> Escaping shutdown messages: >> >> >> May 8, 2007 5:47:25 PM org.apache.coyote.http11.Http11BaseProtocol pause >> INFO: Pausing Coyote HTTP/1.1 on http-8080 >> May 8, 2007 5:47:25 PM org.apache.coyote.http11.Http11BaseProtocol pause >> INFO: Pausing Coyote HTTP/1.1 on http-8443 >> csapp02:/u00/jakarta/bin # May 8, 2007 5:47:26 PM >> org.apache.catalina.core.StandardService stop >> INFO: Stopping service Catalina >> May 8, 2007 5:47:26 PM org.apache.coyote.http11.Http11BaseProtocol destroy >> INFO: Stopping Coyote HTTP/1.1 on http-8080 >> May 8, 2007 5:47:26 PM org.apache.coyote.http11.Http11BaseProtocol destroy >> INFO: Stopping Coyote HTTP/1.1 on http-8443 >> May 8, 2007 5:47:26 PM org.apache.catalina.core.AprLifecycleListener >> lifecycleEvent >> INFO: Failed shutdown of Apache Portable Runtime >> >> --------------------------------------------------------------------- >> To start a new topic, e-mail: users@tomcat.apache.org >> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org >> For additional commands, e-mail: users-help@tomcat.apache.org >> >> > > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org > --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org