Questions tagged [tomcat9]
58 questions
9
votes
2 answers
Tomcat 9 - catalina.out log file missing and console printouts are not shown anywhere
Tomcat9 deployed on Ubuntu 18.04. This issue ONLY applies to Tomcat version 9. There is a catalina.date.log file present in the logs folder but it does NOT show any console printouts from our web applications.
I've set the ConsoleHandler level to…
Lucian
- 93
- 1
- 1
- 4
6
votes
1 answer
Ubuntu 18.04.2 build of Tomcat 9 not writing to catalina.out, but in systemd status
So I'm having a problem with Tomcat 9 in Ubuntu 18.04.2. Tomcat 8 worked fine, it logged Java stack traces to /var/log/catalina.out fine. Tomcat 9 is unfortunately only logging GET and POST requests with the default Ubuntu configuration via apt.
I…
user3260912
- 193
- 2
- 6
6
votes
3 answers
Where is catalina.out in tomcat 9?
I just recently deployed tomcat 9 and I would like to inspect the catalina.out log as it is running, however I notice that when stopped it would dump logging output to a catalina.[date].txt file. Is there some additional configuration to be done to…
Dark Star1
- 1,355
- 6
- 21
- 37
4
votes
2 answers
Application logging broken under Tomcat 9: permission denied to /var/log/myapp
I have a Java webapp that runs under Apache Tomcat on Ubuntu Linux. When I upgraded from Tomcat 9 from Tomcat 8, the application was no longer able to write log files to /var/log/myapp. I can't figure out why it doesn't have permission to log to…
Stephen Ostermiller
- 432
- 8
- 21
3
votes
0 answers
Tomcat9 log that I have no idea what to do with
I saw the following in tomcat logs
09-Sep-2019 21:04:04.268 SEVERE [https-jsse-nio2-8443-exec-13]
org.apache.coyote.AbstractProtocol$ConnectionHandler.process Error
reading request, ignored java.lang.NullPointerException
I saw that the fix for…
Amos
- 237
- 1
- 4
- 10
3
votes
1 answer
java.nio.file.FileSystemException: Read-only file system
I have a tomcat webapp that generates a thumbnail from an image and wants to save it to a writable location (chmod 777). But for some reason I always get java.nio.file.FileSystemException errors and writing that image isn't possible.
It works on my…
aardbol
- 1,463
- 4
- 17
- 25
3
votes
3 answers
mod_jk unable to connect with tomcat9
After unzip the tomcat9 package available on tomcat.apache.org, and have the mod_jk configured to…
Kleber Mota
- 93
- 1
- 7
2
votes
1 answer
tomcat 9 configuration for port 443
I am working with Tomcat 9.0.16 on Debian 9.6. Running my app on port 8080 works no problem. So I am confident that my app is not the problem.
I am trying to configure Tomcat to use port 443. I have a cert (not self signed) and believe that I have…
cptully
- 131
- 1
- 7
2
votes
1 answer
Tomcat servlet will not complete websocket connection
I am moving a set working servlets from one server to another
Old server, Centos6, Apache 2.2, Tomcat 9
New Server, Centos7, Apache 2.4, Tomcat 9
I have about 5 servlets running from the old server all are OK, except the one servlet that has 3…
ScottD
- 21
- 4
2
votes
2 answers
Tomcat not Shutting Down Completely (Tomcat 9.0.31)
We are in the process of migrating our application from Websphere to Tomcat. One thing I have noticed is that when I issue the shutdown.sh for Tomcat, the process still keeps running. Initially I thought the process would end itself in a minute or…
hell_storm2004
- 145
- 2
- 11
2
votes
1 answer
Tomcat suddenly shuts down on its own
I'm running tomcat 9.0.26 on Ubuntu 18.04. Suddenly I noticed that tomcat is down. Never happened before without me shutting it down. I looked at the trace and saw the following (this seems to start the shutdown process):
29-Jan-2020 07:18:27.927…
Amos
- 237
- 1
- 4
- 10
1
vote
1 answer
Changing from Localhost to Computer Name Throws 403 Error (Tomcat 9)
I am trying to run Tomcat 9. I have configured it to run with SSL. So when I am accessing the tomcat URL with:
https://localhost:8443/manager/html
It works fine. But when I try to run it with my computer name I get the 403 error saying I should…
hell_storm2004
- 145
- 2
- 11
1
vote
0 answers
Where should I set context path for Tomcat?
My regular question about Tomcat. Tomcat docs about .
It is NOT recommended to place elements directly in the
server.xml file.
But
This attribute must only be used when statically defining a Context in
server.xml. In all other…
wcobalt
- 113
- 2
- 8
1
vote
1 answer
Tomcat 9 on port 443 working with only root which can be hamful
After so many reading of serverfault.com articles I have successfully configured my tomcat 9 on port 443.
But problem is 443 is an privileged port in which i added root user in below tomcat.service but how i can avoid this as i want to give…
Noor
- 11
- 1
- 4
1
vote
1 answer
Why is Apache not proxying to Tomcat?
Apache 2.4 and Tomcat 9 are installed on the same Ubuntu 20.04 server. I'm trying to set up Apache as a reverse proxy to Tomcat. This configuration is already working perfectly on an Apache 2.4/Tomcat 7/Ubuntu 16.04 system, but I'm having trouble…
Borea Deitz
- 172
- 6