RE: Sharing catalina home among tomcat machines in a load balanced environment gives problems with log files

2023-10-12 Thread Mcalexander, Jon J.
ct: Re: Sharing catalina home among tomcat machines in a load > balanced environment gives problems with log files > > Jon, > > On 10/10/23 14:26, Mcalexander, Jon J. wrote: > > Could you have separate work folders but have the appbase be the in > > the shared f

Re: Sharing catalina home among tomcat machines in a load balanced environment gives problems with log files

2023-10-12 Thread Christopher Schultz
10, 2023 5:59 AM To: users@tomcat.apache.org Subject: Re: Sharing catalina home among tomcat machines in a load balanced environment gives problems with log files Mark, On 10/10/23 06:38, Mark Thomas wrote: Running multiple instances of Tomcat from the same CATALINA_BASE is totally unsupported.

RE: Sharing catalina home among tomcat machines in a load balanced environment gives problems with log files

2023-10-10 Thread Mcalexander, Jon J.
> Sent: Tuesday, October 10, 2023 5:59 AM > To: users@tomcat.apache.org > Subject: Re: Sharing catalina home among tomcat machines in a load > balanced environment gives problems with log files > > Mark, > > On 10/10/23 06:38, Mark Thomas wrote: > > Running multip

Re: Sharing catalina home among tomcat machines in a load balanced environment gives problems with log files

2023-10-10 Thread Giuseppe Sacco
#x27;t technically > > support that but you should be OK situations". This is one of the rare > > "You do that and it *will* break and you will be on your own when it > > does." situations. > > +1 > > Both the logs/ and the work/ directories will over

Re: Sharing catalina home among tomcat machines in a load balanced environment gives problems with log files

2023-10-10 Thread Christopher Schultz
d it *will* break and you will be on your own when it does." situations. +1 Both the logs/ and the work/ directories will overwrite each other, probably to the point of not only corruption (e.g. log files) but also instability -- because of the work/ directory. Files will appear and disapp

Re: Sharing catalina home among tomcat machines in a load balanced environment gives problems with log files

2023-10-10 Thread Mark Thomas
Running multiple instances of Tomcat from the same CATALINA_BASE is totally unsupported. This isn't one of those "We don't technically support that but you should be OK situations". This is one of the rare "You do that and it *will* break and you will be on your own when it does." situations.

Re: Sharing catalina home among tomcat machines in a load balanced environment gives problems with log files

2023-10-10 Thread Giuseppe Sacco
Hello Peter, Il giorno mar, 10/10/2023 alle 11.21 +0200, l...@kreuser.name ha scritto: > Guiseppe, > > did you consider the separation of CATALINA_HOME and CATALINA_BASE. Look > at the RUNNING.txt file that describes the purpose... > > Plus some symbolic links that have the really common files l

Re: Sharing catalina home among tomcat machines in a load balanced environment gives problems with log files

2023-10-10 Thread logo
have both tomcat use it. In a test installation I only have some problems with log files, since they are shared and the tomcats write concurrently to the same files, overlapping their text. I set the property java.util.logging.config.file to a per tomcat properties file, and this works for some of

Sharing catalina home among tomcat machines in a load balanced environment gives problems with log files

2023-10-10 Thread Giuseppe Sacco
directory and have both tomcat use it. In a test installation I only have some problems with log files, since they are shared and the tomcats write concurrently to the same files, overlapping their text. I set the property java.util.logging.config.file to a per tomcat properties file, and this works for

AW: Exception in Log files

2021-09-06 Thread Thomas Hoffmann (Speed4Trade GmbH)
. -Ursprüngliche Nachricht- Von: Mark Thomas Gesendet: Montag, 6. September 2021 09:40 An: Tomcat Users List ; Mohan T Betreff: Re: Exception in Log files On 06/09/2021 08:16, Mohan T wrote: > Hi, > > We could see the below exception in log files . > > java.io.FileNo

Re: Exception in Log files

2021-09-06 Thread Mark Thomas
On 06/09/2021 08:16, Mohan T wrote: Hi, We could see the below exception in log files . java.io.FileNotFoundException: apache-tomcat-8.5.35/lib/commons-cli.jar (No such file or directory) The file is not there in that location. How to get rid of this exception With the information you

Exception in Log files

2021-09-06 Thread Mohan T
Hi, We could see the below exception in log files . java.io.FileNotFoundException: apache-tomcat-8.5.35/lib/commons-cli.jar (No such file or directory) The file is not there in that location. How to get rid of this exception Thanks in advance Mohan DISCLAIMER: This communication contains

Re: Tomcat 9 empty log files

2018-04-12 Thread Mark Thomas
On 12/04/18 09:07, Greg Huber wrote: > Hello, > > For my tomcat 9 there are now two additional log files (which are always > empty) : > > host-manager.2018-04-11.log > manager.2018-04-11.log > > Where do these come from as my webapps directory is empty and does not ha

Tomcat 9 empty log files

2018-04-12 Thread Greg Huber
Hello, For my tomcat 9 there are now two additional log files (which are always empty) : host-manager.2018-04-11.log manager.2018-04-11.log Where do these come from as my webapps directory is empty and does not have any applications? Cheers Greg

RE: how to create log files user level

2016-06-16 Thread Bill Wolosek
uot; is the MDC part that adds the username to the log files from the value inserted by the interceptor. You can move it to anywhere in the appender pattern you want. Thank you, Bill -Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Thursday, June 16, 2016 3:18 AM To:

Re: how to create log files user level

2016-06-16 Thread Mark Thomas
On 16/06/2016 09:05, Vijay Kumar wrote: > Hi Andre, > > Thanks for the update. > > Could you please give me some information whether it's possible or not to > generate user level log because i have tried using log4j but it failed. > > Appreciate your help on this. Either per user logging or per

Re: how to create log files user level

2016-06-16 Thread Vijay Kumar
Hi Andre, Thanks for the update. Could you please give me some information whether it's possible or not to generate user level log because i have tried using log4j but it failed. Appreciate your help on this. Thanks, Vijay G On Thu, Jun 16, 2016 at 12:59 PM, André Warnier (tomcat) wrote: > >

Re: how to create log files user level

2016-06-16 Thread tomcat
Thanks. The rest below, as preferred on this mailing list. Thanks, Vijay G On Thu, Jun 16, 2016 at 12:40 PM, André Warnier (tomcat) wrote: On 16.06.2016 08:50, Vijay Kumar wrote: Hi Team, We have a requirement to create a log either at User level or at User session level. Please provide

Re: how to create log files user level

2016-06-16 Thread Vijay Kumar
We are using Tomcat 7.0.33 and 7.0.62 7.0.33 when Customer is on Java 1.7 7.0.62 when our customer is on 1.8 But we can upgrade to 8 if required to achieve the logging support Thanks, Vijay G On Thu, Jun 16, 2016 at 12:40 PM, André Warnier (tomcat) wrote: > On 16.06.2016 08:50, Vijay Kumar wr

Re: how to create log files user level

2016-06-16 Thread tomcat
On 16.06.2016 08:50, Vijay Kumar wrote: Hi Team, We have a requirement to create a log either at User level or at User session level. Please provide your inputs on this. User level means a separate log to be created for that User and the same should be used always for writing the log. or There

how to create log files user level

2016-06-15 Thread Vijay Kumar
Hi Team, We have a requirement to create a log either at User level or at User session level. Please provide your inputs on this. User level means a separate log to be created for that User and the same should be used always for writing the log. or There will be one log file and within that log t

Re: Tomcat log files - Strict permissions - setuid

2015-12-03 Thread Christopher Schultz
ible. It all > works well, but there is something missing: "The tomcat user is able > to read the access log files": > > root@7083cdc8e2fc:/apps/tomcat/logs# ls -la > ... > -rw-rw 1 tomcat tomcat0 Dec 1 19:46 > 0.0.0.0_access_log.2015-12-01.txt > >

Re: Tomcat log files - Strict permissions - setuid

2015-12-03 Thread Mark H. Wood
estrictive as possible. It all > works well, but there is something missing: "The tomcat user is able > to read the access log files": > > root@7083cdc8e2fc:/apps/tomcat/logs# ls -la > ... > -rw-rw 1 tomcat tomcat0 Dec 1 19:46 > 0.0.0.0_access_log.2015-12-01.txt

Tomcat log files - Strict permissions - setuid

2015-12-03 Thread Andres Riancho
is able to read the access log files": root@7083cdc8e2fc:/apps/tomcat/logs# ls -la ... -rw-rw 1 tomcat tomcat0 Dec 1 19:46 0.0.0.0_access_log.2015-12-01.txt Is there any way to configure tomcat to be able to write to the access log file, but have the file owned by roo

Re: Can we have number of RequestDispatcher (busy) logged in log files !

2015-11-06 Thread Konstantin Kolinko
2015-11-07 0:52 GMT+03:00 Christopher Schultz : > Utkarsh, > > On 11/6/15 12:47 PM, Utkarsh Dave wrote: >> Hello, >> In tomcat 7 >> I wanted to know if there is a way we can log the number of request >> dispatcher threads used/busy/blocked, in log files. Or is t

Re: Can we have number of RequestDispatcher (busy) logged in log files !

2015-11-06 Thread Christopher Schultz
Utkarsh, On 11/6/15 12:47 PM, Utkarsh Dave wrote: > Hello, > In tomcat 7 > I wanted to know if there is a way we can log the number of request > dispatcher threads used/busy/blocked, in log files. Or is there a mechanism > that logs the number of request threads so that user can

Can we have number of RequestDispatcher (busy) logged in log files !

2015-11-06 Thread Utkarsh Dave
Hello, In tomcat 7 I wanted to know if there is a way we can log the number of request dispatcher threads used/busy/blocked, in log files. Or is there a mechanism that logs the number of request threads so that user can be warned about the request dispatcher threads if too many are being in busy

Re: Context-specific log files getting deleted

2014-08-21 Thread James H. H. Lampert
d-only (Only applies to files in folder)." But that is also true of Tomcat's general logs directory, and it's got archived catalina..log files going back to February. I was wondering if there was a Tomcat explanation, for the apparent disappearance of the webapp

Re: Context-specific log files getting deleted

2014-08-21 Thread Konstantin Kolinko
the active log file and one archive. > > There are no signs of any redeployments, and Tomcat's own log files go back > for months. > > I've already asked our web interface people (who are in another timezone) if > they have any idea what (other than somebody going in and

Context-specific log files getting deleted

2014-08-21 Thread James H. H. Lampert
Tomcat's own log files go back for months. I've already asked our web interface people (who are in another timezone) if they have any idea what (other than somebody going in and manually deleting the archived logs) could be causing this, but is there some Tomcat-specific reason why thi

Re: Name log files based on Context name?

2014-01-09 Thread Mark Thomas
On 09/01/2014 18:48, Jesse Barnum wrote: > I want my log files to be written to a log file with the same name as my > webapp. Users can dynamically re-name my webapp when they run my installer, > so that they can have multiple instances running, so hard-coding the context > name i

Name log files based on Context name?

2014-01-09 Thread Jesse Barnum
I want my log files to be written to a log file with the same name as my webapp. Users can dynamically re-name my webapp when they run my installer, so that they can have multiple instances running, so hard-coding the context name is not a good approach. Is there some environment variable that

Re: Limit log files rotation

2013-03-05 Thread Christopher Schultz
gt; this out of the box, since the server can crash if it runs out of > disk space. This is entirely the point of using logrotate: it does one job, and it does it well. It fits-in very well with the UNIX philosophy. Embrace it. Apache httpd also doesn't rotate its own log files, though it

Re: Limit log files rotation

2013-03-05 Thread Daniel Mikusa
I believe it's documented here. https://wiki.apache.org/tomcat/FAQ/Logging Dan > > > 2013/3/5 Daniel Mikusa > >> On Mar 5, 2013, at 8:54 AM, Felipe Jaekel wrote: >> >>> Hi, >>> >>> I'd like to limit log rotation to a specific

Re: Limit log files rotation

2013-03-05 Thread Felipe Jaekel
Mikusa > On Mar 5, 2013, at 8:54 AM, Felipe Jaekel wrote: > > > Hi, > > > > I'd like to limit log rotation to a specific number of days to avoid that > > the logs folder keep growing indeterminately. > > Which log files are you referring to? Including the na

Re: Limit log files rotation

2013-03-05 Thread Daniel Mikusa
On Mar 5, 2013, at 8:54 AM, Felipe Jaekel wrote: > Hi, > > I'd like to limit log rotation to a specific number of days to avoid that > the logs folder keep growing indeterminately. Which log files are you referring to? Including the names would help. > > Tried to goog

Tomcat bug with huge log files.

2013-01-15 Thread Vihari
Hello, I am looking for archives of fixed/resolved *tomcat* bugs with huge log-files. This is for research purpose where the goal is to ease the visualization of log files through automatic inference system which automatically groups like variables in the log file. Can some one guide me where

RE: Path of log files changed in Tomcat 7.0.25 when installing as Windows Service

2012-01-28 Thread Konstantin Preißer
Hi, > -Original Message- > From: Rainer Jung [mailto:rainer.j...@kippdata.de] > Sent: Saturday, January 28, 2012 3:00 PM > To: users@tomcat.apache.org > Subject: Re: Path of log files changed in Tomcat 7.0.25 when installing > as Windows Service > > On 28.

Re: Path of log files changed in Tomcat 7.0.25 when installing as Windows Service

2012-01-28 Thread Rainer Jung
On 28.01.2012 07:27, Caldarale, Charles R wrote: From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Subject: RE: Path of log files changed in Tomcat 7.0.25 when installing as Windows Service Haven't yet figured out why the ${catalina.base} references in logging.properties a

RE: Path of log files changed in Tomcat 7.0.25 when installing as Windows Service

2012-01-27 Thread Caldarale, Charles R
> From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] > Subject: RE: Path of log files changed in Tomcat 7.0.25 when installing as > Windows Service > Haven't yet figured out why the ${catalina.base} references > in logging.properties aren't getting r

Re: Path of log files changed in Tomcat 7.0.25 when installing as Windows Service

2012-01-27 Thread Mark Thomas
On 27/01/2012 18:49, Caldarale, Charles R wrote: >> From: verlag.preis...@t-online.de >> [mailto:verlag.preis...@t-online.de] Subject: Re: Path of log files >> changed in Tomcat 7.0.25 when installing as Windows Service > >> So it seems the Tomcat logs are st

RE: Path of log files changed in Tomcat 7.0.25 when installing as Windows Service

2012-01-27 Thread Caldarale, Charles R
> From: verlag.preis...@t-online.de [mailto:verlag.preis...@t-online.de] > Subject: Re: Path of log files changed in Tomcat 7.0.25 when installing as > Windows Service > So it seems the Tomcat logs are stored in > "C:\tomcat7\bin\${catalina.base}\logs\", whereas the

Re: Path of log files changed in Tomcat 7.0.25 when installing as Windows Service

2012-01-27 Thread André Warnier
verlag.preis...@t-online.de wrote: -Original-Nachricht- Von: Mark Thomas An: Tomcat Users List Betreff: Re: Path of log files changed in Tomcat 7.0.25 when installing as Windows Service Datum: Fri, 27 Jan 2012 14:38:42 +0100 It means you messed up your install. A clean install of

Re: Path of log files changed in Tomcat 7.0.25 when installing as Windows Service

2012-01-27 Thread verlag.preis...@t-online.de
-Original-Nachricht- > Von: Mark Thomas > An: Tomcat Users List > Betreff: Re: Path of log files changed in Tomcat 7.0.25 when > installing as Windows Service > Datum: Fri, 27 Jan 2012 14:38:42 +0100 > > It means you messed up your install. A clean install

Re: Path of log files changed in Tomcat 7.0.25 when installing as Windows Service

2012-01-27 Thread Mark Thomas
On 27/01/2012 11:19, Konstantin Preißer wrote: > Is this change intentional? Does that mean that I must any additional > environment variable like CATALINA_BASE? It means you messed up your install. A clean install of 7.0.25 (with the installer) works fine for me. Mark -

Path of log files changed in Tomcat 7.0.25 when installing as Windows Service

2012-01-27 Thread Konstantin Preißer
Hi all, I was using Tomcat 7.0.23 with Java 1.7.0_02 on Windows Server 2008 (32-Bit). I installed it as service, by using the service.bat file with "service install" command. Let's say the installation path is "C:\Tomcat7". For Tomcat to work, I added the "JAVA_HOME" environment variable which po

RE: Tomcat produces empty/missing log files

2011-10-21 Thread Daniel Mikusa
t; > > -Original Message- > From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] > Sent: Friday, October 21, 2011 3:47 PM > To: Tomcat Users List > Subject: RE: Tomcat produces empty/missing log files > > > From: Brian Jones [mailto:bjone...@uwo.

Re: Tomcat produces empty/missing log files

2011-10-21 Thread Konstantin Kolinko
2011/10/21 Brian Jones : > > That defiantly makes sense. Are there any known workarounds for using > java.util.logging instead of log4j even if the log4j.jar file is present? > You will need to read Commons Logging documentation for that. http://wiki.apache.org/commons/How_to_Configure_the_Loggin

RE: Tomcat produces empty/missing log files

2011-10-21 Thread Brian Jones
List Subject: Re: Tomcat produces empty/missing log files On 10/21/2011 3:53 PM, Brian Jones wrote: > Charles, > > Thanks for your reply. > > I'm not able to do as you suggested, because the software project is not > managed by me, or my parent company. It is an open source enterpr

Re: Tomcat produces empty/missing log files

2011-10-21 Thread David kerber
On 10/21/2011 3:53 PM, Brian Jones wrote: Charles, Thanks for your reply. I'm not able to do as you suggested, because the software project is not managed by me, or my parent company. It is an open source enterprise system that is managed by a community and a foundation. Also, it isn't just on

RE: Tomcat produces empty/missing log files

2011-10-21 Thread Brian Jones
usly isolate my development from the community's. Regards, Brian J -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Friday, October 21, 2011 3:47 PM To: Tomcat Users List Subject: RE: Tomcat produces empty/missing log files > From: Br

RE: Tomcat produces empty/missing log files

2011-10-21 Thread Caldarale, Charles R
> From: Brian Jones [mailto:bjone...@uwo.ca] > Subject: RE: Tomcat produces empty/missing log files > Are there any known workarounds for using java.util.logging > instead of log4j even if the log4j.jar file is present? If you only want log4j for a specific webapp rather than for T

RE: Tomcat produces empty/missing log files

2011-10-21 Thread Brian Jones
brain. Brian J -Original Message- From: Konstantin Kolinko [mailto:knst.koli...@gmail.com] Sent: Friday, October 21, 2011 3:40 PM To: Tomcat Users List Subject: Re: Tomcat produces empty/missing log files 2011/10/21 Brian Jones : > Yes, it appears that the project I'm deploying is

Re: Tomcat produces empty/missing log files

2011-10-21 Thread Konstantin Kolinko
2011/10/21 Brian Jones : > Yes, it appears that the project I'm deploying is relying on log4j for > logging; so when I remove the log4j.jar file, it obviously complains that it > can't find it. > > However, what I don't understand is why Tomcat refuses to log to

RE: Tomcat produces empty/missing log files

2011-10-21 Thread Brian Jones
Yes, it appears that the project I'm deploying is relying on log4j for logging; so when I remove the log4j.jar file, it obviously complains that it can't find it. However, what I don't understand is why Tomcat refuses to log to the log files if there is a log4j.jar file present in

Re: Tomcat produces empty/missing log files

2011-10-21 Thread Mark Thomas
On 21/10/2011 20:27, Brian Jones wrote: > My mistake. The distro doesn't include the .jar by default. The project I > deploy to Tomcat automatically sticks the log4j.jar file there. > > Sorry for the confusion; I overlooked this step. That begs the question "What else is it doing?" since it appea

RE: Tomcat produces empty/missing log files

2011-10-21 Thread Brian Jones
er 21, 2011 3:23 PM To: Tomcat Users List Subject: Re: Tomcat produces empty/missing log files On 21/10/2011 20:18, Brian Jones wrote: > Thanks again for your insight into the problem. > > Following your advice, I started from a fresh install of Tomcat 5.5.33. > I noticed that log4j.1.2.1

Re: Tomcat produces empty/missing log files

2011-10-21 Thread Mark Thomas
On 21/10/2011 20:18, Brian Jones wrote: > Thanks again for your insight into the problem. > > Following your advice, I started from a fresh install of Tomcat 5.5.33. > I noticed that log4j.1.2.16.jar is included in the common/lib folder by > default. No it isn't. Where are you getting this Tomcat

RE: Tomcat produces empty/missing log files

2011-10-21 Thread Brian Jones
I removed the log4j jar file - Tomcat now produces the output in the log files, but now complains several times about ClassDefNotFound for log4j Cheers, Brian J. -Original Message- From: Konstantin Kolinko [mailto:knst.koli...@gmail.com] Sent: Friday, October 21, 2011 2:24 PM

RE: Tomcat produces empty/missing log files

2011-10-21 Thread Brian Jones
Please find below the context of logging.properties (updated, the 'verbose' copy, rather than the minimalized copy you had suggested previously): # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work

RE: Tomcat produces empty/missing log files

2011-10-21 Thread Brian Jones
: Re: Tomcat produces empty/missing log files 2011/10/21 Brian Jones : > >        It would be nice to see the actual command line that starts Tomcat's > Bootstrap. The JVM keys that configure  java.util.logging should be there. > > - I don't know what you mean by this. >

Re: Tomcat produces empty/missing log files

2011-10-21 Thread Konstantin Kolinko
2011/10/21 Brian Jones : > >        It would be nice to see the actual command line that starts Tomcat's > Bootstrap. The JVM keys that configure  java.util.logging should be there. > > - I don't know what you mean by this. > I mean catalina.bat purpose is to prepare and call "java.exe". I'd like

RE: Tomcat produces empty/missing log files

2011-10-21 Thread Brian Jones
ported by the software project I'm working on (as stated in previous message) o Tried log4j; log files didn't contain exception messages Did you restore original configuration after these experiments? Did you remove log4j.jar? - Yes, restored to original configuration. I

Re: Tomcat produces empty/missing log files

2011-10-20 Thread Konstantin Kolinko
admin console can be accessed and used properly > > -          The problem is that the log files are always empty (0kb) > > -          The following log files are produced by Tomcat, but are always > empty: > > o   admin.date.log > > o   catalina.date.log > > o   host-manage

Tomcat produces empty/missing log files

2011-10-20 Thread Brian Jones
installed as a Windows service. Tomcat starts/runs/stops fine using startup.bat and shutdown.bat - Applications deploy properly, can be accessed and used properly - Tomcat admin console can be accessed and used properly - The problem is that the log files are always empty (0kb

Re: Placing a webapp log file aside by other server log files

2011-07-04 Thread USHAKOV, Sergey
- Original Message - From: "Mark Eggers" To: "Tomcat Users List" Sent: Monday, July 04, 2011 1:27 AM Subject: Re: Placing a webapp log file aside by other server log files - Original Message - From: "USHAKOV, Sergey" To: users@tomcat.apach

Re: Placing a webapp log file aside by other server log files

2011-07-03 Thread Mark Eggers
- Original Message - > From: "USHAKOV, Sergey" > To: users@tomcat.apache.org > Cc: > Sent: Sunday, July 3, 2011 12:51 PM > Subject: Placing a webapp log file aside by other server log files > > Hi all, > > I am looking for a robust way to get a

Placing a webapp log file aside by other server log files

2011-07-03 Thread USHAKOV, Sergey
Hi all, I am looking for a robust way to get a webapp-specific log file be placed in the same directory where all the other server logs go. Using a line like "org.apache.juli.FileHandler.directory = ${catalina.base}/logs" in the webapp's "logging.properties" does not do the job, as server lo

Re: Tomcat log files

2010-11-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tobias, On 11/15/2010 10:43 AM, Tobias Crefeld wrote: > Am Tue, 09 Nov 2010 16:06:14 -0500 > schrieb Christopher Schultz : > >> Have you correctly replaced lib/tomcat-juli.jar >> and installed lib/tomcat-juli-adapters.jar? If not, you may be falling

Re: Tomcat log files

2010-11-15 Thread Tobias Crefeld
Am Tue, 09 Nov 2010 16:06:14 -0500 schrieb Christopher Schultz : > Have you correctly replaced lib/tomcat-juli.jar > and installed lib/tomcat-juli-adapters.jar? If not, you may be falling > back to the old logger which requires logging.properties. For whatever-reason and different than tomcat-jul

Re: Tomcat log files

2010-11-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Timothy, My CONSOLE appender was foolishly configured. On 11/9/2010 4:35 PM, Christopher Schultz wrote: > log4j.appender.CONSOLE=org.apache.log4j.DailyRollingFileAppender > log4j.appender.CONSOLE.file=${catalina.base}/logs/. > log4j.appender.CONSOLE.

Re: Tomcat log files

2010-11-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Timothy, On 11/9/2010 4:06 PM, Christopher Schultz wrote: > I'm not sure why the documentation doesn't show an equivalent > configuration for log4j. Maybe I'll write one and submit it for inclusion. Without testing it, I've written this log4j configu

Re: Tomcat log files

2010-11-09 Thread Christopher Schultz
th all the different log files that are being > generated in the default Tomcat before log4j configuration. Why are > there so many different log files: admin, manager, localhost, > manager, host-manager, catalina log files and then System.out and > System.err get appended to cata

Re: Tomcat log files

2010-11-09 Thread Mark Shifman
.28. I'm really > confused with all the different log files that are being generated in the > default Tomcat before log4j configuration. Why are there so many different > log files: admin, manager, localhost, manager, host-manager, catalina log > files and then System.o

Tomcat log files

2010-11-09 Thread Timothy Lam
I'm trying to clean up Tomcat logging to use log4j. I've read the Tomcat logging guide that comes with my version of Tomcat 6.0.28. I'm really confused with all the different log files that are being generated in the default Tomcat before log4j configuration. Why are there so

Re: Log files? - [solved]

2010-01-18 Thread Rick Bragg
On Mon, 2010-01-18 at 10:14 -0500, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Rick, > > On 1/17/2010 11:16 AM, Rick Bragg wrote: > > OK, I did > > #apt-get install --reinstall tomcat6 > > And the log files are back! >

Re: Log files? - [solved]

2010-01-18 Thread Mark Thomas
On 17/01/2010 16:08, Peter Crowther wrote: > 2010/1/17 Hassan Schroeder : >> You're welcome to your opinion, but personally I think the whole >> splatter-files-all-over-the-system repackaging approach is horribly >> flawed for apps like Tomcat > [...] > > Tomcat has a very strong view on where its

Re: Log files? - [solved]

2010-01-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rick, On 1/17/2010 11:16 AM, Rick Bragg wrote: > OK, I did > #apt-get install --reinstall tomcat6 > And the log files are back! > > I'm definitely a newbe at this. The re-install kept my startup scripts > (and config files

Re: Log files? - [solved]

2010-01-17 Thread Peter Crowther
2010/1/17 Hassan Schroeder : > You're welcome to your opinion, but personally I think the whole > splatter-files-all-over-the-system repackaging approach is horribly > flawed for apps like Tomcat [...] Tomcat has a very strong view on where its files should live. Some OSs have very strong views on

Re: Log files? - [solved]

2010-01-17 Thread Hassan Schroeder
On Sun, Jan 17, 2010 at 10:22 AM, André Warnier wrote: > The packagers of Debian and Ubuntu do a good job overall. > But it is no justification for disparaging the packaged versions in general > and in the absolute. You're welcome to your opinion, but personally I think the whole splatter-files

Re: Log files? - [solved]

2010-01-17 Thread Rick Bragg
On Sun, 2010-01-17 at 09:54 -0800, Hassan Schroeder wrote: > Uh. well. I would say "solved" is a bit of an exaggeration :-) > > On Sun, Jan 17, 2010 at 8:16 AM, Rick Bragg wrote: > > > OK, I did > > #apt-get install --reinstall tomcat6 > > And the log fil

Re: Log files? - [solved]

2010-01-17 Thread André Warnier
Hassan Schroeder wrote: ... And so long as you're relying on the fragile Ubuntu-broken version of Tomcat, you can count on more similar surprises. Good luck running *that* in production. Ok guys, I take issue with that statement. I am not a Debian or Ubuntu packager. We are using, on multipl

Re: Log files? - [solved]

2010-01-17 Thread Hassan Schroeder
Uh. well. I would say "solved" is a bit of an exaggeration :-) On Sun, Jan 17, 2010 at 8:16 AM, Rick Bragg wrote: > OK, I did > #apt-get install --reinstall tomcat6 > And the log files are back! > I'm not sure what it was, but now it is fixed... No, since you don&#x

RE: Log files? - [solved]

2010-01-17 Thread Rick Bragg
On Sun, 2010-01-17 at 09:40 -0600, Caldarale, Charles R wrote: > > From: Caldarale, Charles R > > Subject: RE: Log files? > > > > And a real Tomcat doesn't - I just installed cyclos on Tomcat 6.0.20, > > with no damage to Tomcat. (The cyclos app won't run

RE: Log files?

2010-01-17 Thread Caldarale, Charles R
> From: Caldarale, Charles R > Subject: RE: Log files? > > And a real Tomcat doesn't - I just installed cyclos on Tomcat 6.0.20, > with no damage to Tomcat. (The cyclos app won't run due to lack of a > database, but other than that, everything's fine.) All log

Re: Log files?

2010-01-17 Thread André Warnier
Pid wrote: On 17/01/2010 00:55, Rick Bragg wrote: On Sat, 2010-01-16 at 17:34 -0600, Caldarale, Charles R wrote: Everything worked great yesterday. I made a change to the memory in the startup file, "/etc/init.d/tomcat6" to increase the mem, and no log file after that. I since changed it back

Re: Log files?

2010-01-17 Thread Pid
On 17/01/2010 00:55, Rick Bragg wrote: On Sat, 2010-01-16 at 17:34 -0600, Caldarale, Charles R wrote: Everything worked great yesterday. I made a change to the memory in the startup file, "/etc/init.d/tomcat6" to increase the mem, and no log file after that. I since changed it back and still n

RE: Log files?

2010-01-16 Thread Caldarale, Charles R
> From: Konstantin Kolinko [mailto:knst.koli...@gmail.com] > Subject: Re: Log files? > > Probably your JVM was updated recently. Running with JRE 6u14 and > later requires an update to the catalina.policy file, otherwise > logging subsystem cannot initialize. Note that catal

Re: Log files?

2010-01-16 Thread Konstantin Kolinko
2010/1/17 Rick Bragg : > > OS: Ubuntu Hardy LTS version 8.04 - 2.6.24-16-server amd64 > Tomcat: Apache Tomcat/6.0.18 > JVM: 1.6.0_17-b04 Sun Microsystems Inc. > MySQL: Server version: 5.0.51a-3ubuntu5.4-log > Probably your JVM was updated recently. Running with JRE 6u14 and later requires an updat

RE: Log files?

2010-01-16 Thread Caldarale, Charles R
> From: Rick Bragg [mailto:li...@gmnet.net] > Subject: RE: Log files? > > http://project.cyclos.org/wiki/index.php?title=Installation_% > 26_maintenance Thanks - I did manage to find that shortly after sending the previous message. I'll need to get MySQL set up to a

RE: Log files?

2010-01-16 Thread Rick Bragg
On Sat, 2010-01-16 at 17:34 -0600, Caldarale, Charles R wrote: > > From: Rick Bragg [mailto:li...@gmnet.net] > > Subject: Re: Log files? > > > > I followed all the instructions for the "standard install" > > Just to verify, you did use the cyclos_3.5.5

RE: Log files?

2010-01-16 Thread Rick Bragg
On Sat, 2010-01-16 at 17:34 -0600, Caldarale, Charles R wrote: > > From: Rick Bragg [mailto:li...@gmnet.net] > > Subject: Re: Log files? > > > > I followed all the instructions for the "standard install" > > Just to verify, you did use the cyclos_3.5.5

RE: Log files?

2010-01-16 Thread Caldarale, Charles R
> From: Rick Bragg [mailto:li...@gmnet.net] > Subject: Re: Log files? > > I followed all the instructions for the "standard install" Just to verify, you did use the cyclos_3.5.5.zip, not cyclos_3.5.5_standalone.zip? Where did you find the instructions? They don

Re: Log files?

2010-01-16 Thread Konstantin Kolinko
2010/1/17 Rick Bragg : > On Sat, 2010-01-16 at 22:36 +0100, André Warnier wrote: >> Rick Bragg wrote: >> > On Sat, 2010-01-16 at 18:20 +0100, André Warnier wrote: >> >> Rick Bragg wrote: >> >> ... >> >> >> >>> It seems there ar

Re: Log files?

2010-01-16 Thread Rick Bragg
On Sat, 2010-01-16 at 22:36 +0100, André Warnier wrote: > Rick Bragg wrote: > > On Sat, 2010-01-16 at 18:20 +0100, André Warnier wrote: > >> Rick Bragg wrote: > >> ... > >> > >>> It seems there are no tomcat log files anywhere (other than yesterda

Re: Log files?

2010-01-16 Thread André Warnier
Rick Bragg wrote: On Sat, 2010-01-16 at 18:20 +0100, André Warnier wrote: Rick Bragg wrote: ... It seems there are no tomcat log files anywhere (other than yesterdays old logs). They were working yesterday until sometime around noon. I was trying to get cyclos to work (cyclos.org) and all

Re: Log files?

2010-01-16 Thread Rick Bragg
On Sat, 2010-01-16 at 18:20 +0100, André Warnier wrote: > Rick Bragg wrote: > ... > > >> > > > > It seems there are no tomcat log files anywhere (other than yesterdays > > old logs). They were working yesterday until sometime around noon. I > > was try

Re: Log files?

2010-01-16 Thread André Warnier
Rick Bragg wrote: ... It seems there are no tomcat log files anywhere (other than yesterdays old logs). They were working yesterday until sometime around noon. I was trying to get cyclos to work (cyclos.org) and all of a sudden, no more logs... I had a quick look at the www.cyclos.org

Re: Log files?

2010-01-16 Thread Rick Bragg
On Sat, 2010-01-16 at 11:16 -0500, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Rick, > > On 1/16/2010 10:04 AM, Rick Bragg wrote: > > Hi, > > > > Does anybody know what could have happened to my tomcat log files? > &

Re: Log files?

2010-01-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rick, On 1/16/2010 10:04 AM, Rick Bragg wrote: > Hi, > > Does anybody know what could have happened to my tomcat log files? > > It seems that logging has stopped. > > I am using Ubuntu LTS 8.04 amd64, and they are in: > /

  1   2   >