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
1
vote
3 answers

Need to know the root cause of "OutOfMemoryError : Java Heap Space"

I am getting following error on linux machine. Exception in thread "http-8080-Processor17" java.lang.OutOfMemoryError:Java Heap Space and one of the port 8080 is getting in close wait every now and then. Kindly suggest root cause of the issue.
Hasan Zia
  • 11
  • 1
  • 2
1
vote
1 answer

Manage tomcat logging from webapp

Is there some way to manage tomcat logging from the log4j xml of a webapp ? By this , I mean I am specifically looking to stop logs of level SEVERE from WebappClassLoader from being put into the catalina.out log. EDIT : While researching, I came to…
Rndm
  • 6,710
  • 7
  • 39
  • 58
1
vote
1 answer

catalina.out : ignore specific error message?

I get an error related to/from java-sdk-http-connection-reaper in catalina.out. 1) What is the reason for these errors ? 2) Is there some way to specifically some particular error (like for example the above one) or in general too , from…
Rndm
  • 6,710
  • 7
  • 39
  • 58
0
votes
1 answer

Why my catalina.out is 500Mb?

I'm I noticed that my catalina.out in /var/log/tomcat is this big... why? How do I avoid this? I don't want to disable logging, I'd like it to behave like RollingFileAppender in Log4j
gotch4
  • 13,093
  • 29
  • 107
  • 170
0
votes
1 answer

Timestamps in catalina.out are nt consistant

I'm an owner of an application that uses Tomcat. The problem I face is that timestamps in Catalina.out are not consistent sometimes it displays the full timestamp with a date like: 17-Apr-2019 17:05:37.591 but sadly most of the time it displays only…
0
votes
1 answer

error message "/opt/tomcat/bin/catalina.sh: 1: eval: Syntax error: Unterminated quoted string

In my catalina.out I have this error /opt/tomcat/bin/catalina.sh: 1: eval: Syntax error: Unterminated quoted string I think this means that a string is declared with a quotation mark (") but it doesn't have the closing quotation mark, but I don't…
Plijen
  • 81
  • 1
  • 7
0
votes
0 answers

How to set up catalina.out log files on jasperserver for multiple instances?

I have jasperserver with two instances. And in both instances here /var/log/tomcat9_first_instance, /var/log/tomcat9_second_instance I have catalina.out log file. But I did not get there logs from my instances, instead all logs go to…
0
votes
0 answers

Permission Denied

I run catalina.sh stop via putty because I modify files in server but then when I command catalina.sh start then it give me. /opt/tomcat/bin$ ./catalina.sh start Using CATALINA_BASE: /opt/tomcat Using CATALINA_HOME: /opt/tomcat Using…
hash
  • 1
0
votes
0 answers

How to record catalina.out logs in journald?

I have seen a lot of guides with a problem where tomcat does not write logs to catalina.out but writes to journal, but my problem is exactly the opposite, I need logs to be written to catalina.out and journald. I will answer right away why I need…
0
votes
0 answers

Tomcat 9 with multiple services and separated catalina.out

I have configured Tomcat server.xml for mutliple services (two). Both applications are developed in SpringBoot and deployed as ROOT, but on different ports. I've configured logging.properties for logging info to separate files for both applications,…
0
votes
1 answer

Tomcat 9. How to pass catalina.out to service logs (journalctl)

I'm using Tomcat 9 in a Centos machine. The logs from Tomcat applications are generated at /opt/tomcat/logs.catalina.out. Is there a way to pass these logs to service logs (journalctl -u MyTomcat.service -f)? I trigger my service from…
Nakos Kotsanis
  • 180
  • 1
  • 15
0
votes
1 answer

Tomcat security manager asking for permissions for spring boot application

I have a spring boot application that I want to deploy to external tomcat server. The tomcat has Tomcat Security Manager enabled, so when I place the war file in /webapps/ folder of tomcat and start the server, the tomcat asks for permissions as…
0
votes
2 answers

Alfresco SMTPAddressFailedException 553 error

So we are using Alfresco Community Edition 5.2, and this error only occurs when starting a workflow. Supposedly, after starting a workflow, the assigned user would be notified via email. But instead, the error below occurs: 2020-06-19 13:24:28,223 …
Lee Merlas
  • 430
  • 9
  • 24
0
votes
1 answer

Where is catalina output location when running Tomcat from eclipse?

I would think it is the console output. But I don't see errors showing up in console when they are supposed to - terminal version of tomcat shows errors in catalina.out for the same actions that I am reproducing for Eclipse run Tomcat.
happy_coder
  • 354
  • 1
  • 6
  • 13
0
votes
2 answers

How to grok catalina log file

I'm trying to find a pattern for this line of log (extracted from catalina.log) of an apache tomcat 8 installation. 30-Apr-2019 15:40:40.044 INFOS [main] org.apache.catalina.startup.VersionLoggerListener.log message No one of the date pattern…
hbellahc
  • 81
  • 1
  • 11