Questions tagged [catalina.out]

When running Tomcat on unixes, the console output is usually redirected to the file named catalina.out.

When running Tomcat on unixes, the console output is usually redirected to the file named catalina.out. The name is configurable using an environment variable. Whatever is written to System.err/out will be caught into that file. That may include:

  • Uncaught exceptions printed by java.lang.ThreadGroup.uncaughtException(..)
  • Thread dumps, if you requested them via a system signal

For more, please read: https://tomcat.apache.org/tomcat-7.0-doc/logging.html#Console

82 questions
3
votes
1 answer

Why is catalina.out empty

I have logrotate working perfectly, only thing is that when the log file is saved with the date at the end of the filename like: catalina.out-20180926. But there is nothing being logged to catalina.out. Everything is owned by root, tomcat is running…
juju
  • 553
  • 1
  • 4
  • 21
3
votes
4 answers

Catalina.out doesn't exist

I want to read my console output logs, and I know that they are stored into "log" folder under the file catalina.out, but it doesn't exists! I have tried in different ways with no results. I don't know how to figure it out, I just want to see my…
Giacomo Brunetta
  • 1,409
  • 3
  • 18
  • 38
3
votes
3 answers

Watch tomcat log file in Windows

When I was working on Ubuntu, I used the following command to watch changes on catalina.out : tail -f /var/log/tomcat7/catalina.out But now I changed to Windows, and I can't find how to do it. Thanks in advance.
Renaud is Not Bill Gates
  • 1,684
  • 34
  • 105
  • 191
3
votes
2 answers

Stop Hibernate SQL logs coming on catalina.out

I was making a log4j.xml for one of my projects in netbeans . Here is its contents :
3
votes
1 answer

grep in a textfile all lines containing 'xxx' and the previous line

I want to print all lines in a tomcat catalina.out log containing xxx. A simple thing to accomplish using: cat catalina.out | grep xxx However. In the logfile I get the lines containing xxx, the line above this line is containing the date and time…
Martijn Burger
  • 7,315
  • 8
  • 54
  • 94
3
votes
1 answer

Memory leak exception

can anyone help me with this exception : Jul 23, 2012 11:00:57 AM org.apache.catalina.loader.WebappClassLoader loadClass INFO: Illegal access: this web application instance has been stopped already. Could not load com.mchange.v2.sql.SqlUtils. The…
Mahesh More
  • 919
  • 2
  • 8
  • 20
2
votes
2 answers

Error "org.apache.catalina.realm.CombinedRealm startInterna" in Catalina.out

I have a SOAP based webservice being implemented in Netbeans.I have some issues on the server side and its giving me Error 500, the internal error, since I can't debug it automatically its telling me to check out logs but my catalina.out is full of…
rosa
  • 55
  • 2
  • 6
2
votes
0 answers

Error in catalina.logs 'Error flushing stream UDP:localhost:514'

I am getting following error in catalina.logs 2019-09-06 10:11:07,219 localhost-startStop-1 ERROR Unable to write to stream UDP:localhost:514 for appender SYSLOGappender: org.apache.logging.log4j.core.appender.AppenderLoggingException: Error …
2
votes
1 answer

Tomcat 8.5.33 Java WebApp is suddenly going much slower

I have a java web application that is beign developed in Java 8 and that is beign deployed on two tomcat 8.5.33 clustered servers running on a Oracle Linux Server 7.5. The problem, is as follows. The war has been deployed continuously for the last…
2
votes
2 answers

Tomcat 6 server - was running, but now it won't start - error in log file -SEVERE: Null component?

I've been running Tomcat 6 on my pc for some time now, and it has been running successfully...up until today. I just tried to start it, and now for some reason it won't start. I start it from a command line prompt. The second prompt that appears…
katura
  • 2,177
  • 14
  • 39
  • 48
2
votes
2 answers

I have accidentally removed catalina.out and Tomcat doesn't recreate it

By default, Tomcat v7 was logging everything nicely to the catalina.out. When it got too big, I have removed it. Since then, the log file doesn't exist. I have tried creating it manually, but it stays there untouched.
Ondrej Tokar
  • 4,898
  • 8
  • 53
  • 103
2
votes
0 answers

sonar/deploy is empty and got "FAIL - Application for the context path /sonar could not be started" on Tomcat

I am installing Sonar3.6.2 on a Apache Tomcat/7.0.42 server but I encounter an issue in webapp startup processing. The following explains my steps... I have already configured sonar.properties file such as : sonar.jdbc.username:…
Jeremy Bidet
  • 321
  • 3
  • 3
2
votes
1 answer

Dealing with logs of CharConversionException in ServletRequestWrapper

I am working with a webapp that runs in a Tomcat 6 server. With some request (that came from specific types of clients) it happens that the method getParameter of ServletRequestWrapper handles internally all CharConversionException logging to what i…
Victor
  • 3,841
  • 2
  • 37
  • 63
2
votes
1 answer

FAIL - Application at context path /Appcould not be started by Tomcat Manager 6

I was trying to deploy a war file via tomcat manager 6. Once deployed get always the same error : FAIL - Application at context path /App could not be started The war file is under apache-tomcat-6.0.0/webapps folder. I was googling and tried…
Mas
  • 111
  • 1
  • 3
  • 7
1
vote
2 answers

Reduce logs of log4j in catalina.out

I am using the log4j API for logging in my Java based Tomcat application and using version 1.2.14 (log4j-1.2.14.jar). The problem is that it creates more logs in the catalina.out log file, which are very micro level logs and not required for me. I…
Bhavik Ambani
  • 6,557
  • 14
  • 55
  • 86