Skip to main content

Questions tagged [tomcat9]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
9 votes
2 answers
29k views

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 ...
Lucian's user avatar
  • 93
7 votes
3 answers
43k views

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 ...
Dark Star1's user avatar
  • 1,445
6 votes
1 answer
4k views

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 ...
user3260912's user avatar
5 votes
2 answers
11k views

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 ...
Stephen Ostermiller's user avatar
3 votes
1 answer
21k views

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 ...
aardbol's user avatar
  • 1,483
3 votes
3 answers
11k views

mod_jk unable to connect with tomcat9

After unzip the tomcat9 package available on tomcat.apache.org, and have the mod_jk configured to this: workers.tomcat_home=/opt/apache-tomcat-9.0.34 workers.java_home=/opt/jdk-13 ps=/ worker.list=...
Kleber Mota's user avatar
3 votes
0 answers
2k views

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 ...
Amos's user avatar
  • 277
2 votes
2 answers
11k views

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 ...
hell_storm2004's user avatar
2 votes
1 answer
2k views

Tomcat 9 on port 443 working with only root which can be hamful [duplicate]

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 ...
Noor's user avatar
  • 21
2 votes
1 answer
17k views

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 ...
Amos's user avatar
  • 277
2 votes
1 answer
9k views

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 ...
cptully's user avatar
  • 131
2 votes
1 answer
3k views

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 ...
ScottD's user avatar
  • 21
1 vote
1 answer
3k views

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/...
Borea Deitz's user avatar
1 vote
1 answer
4k views

Deleting Pre-Packaged Tomcat WebApps

I currently work on an excruciatingly slow remote machine and on Tomcat. So, I was wondering, Tomcat comes with some pre-packaged webapps like: docs examples host-manager manager ROOT Now I just ...
hell_storm2004's user avatar
1 vote
1 answer
2k views

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 ...
hell_storm2004's user avatar
1 vote
1 answer
786 views

tomcat9 shibboleth+mod_jk authentication forbidden

I have a Spring Boot application running currently under Tomcat 8.5 that has a shibboleth-based SSO integrated. Shibboleth and tomcat are connected using apache2 mod_shib and mod_jk, using default ...
P.Péter's user avatar
  • 639
1 vote
1 answer
9k views

Apache Tomcat/9.0.34 Login on Manager App and Host Manager not working

installed Tomcat on a Ubuntu Machine, worked all properly. Port are open, i can see the Landing Page from Tomcat. When i try to login, the Credentials i put in into the tomcat-users.xml do not work. ...
tob1zor's user avatar
  • 13
1 vote
1 answer
772 views

Yum dependencies and metadata for java-headless

I'm trying to install Java 8 and Tomcat 9 on a RockyLinux 9 server. Installing tomcat (from EPEL) requires java-headless >= 1:1.8.0 which is resolved to java-11-openjdk-headless. So Java 11 gets ...
nathou's user avatar
  • 163
1 vote
0 answers
61 views

Tomcat sends response 400 out of nowhere

I'm running a server on Ubuntu 18.04 with Tomcat and I saw the following in the access log. <my.ip> - - [13/Sep/2020:19:33:40 +0000] "POST /path/path HTTP/1.1" 200 53 <my.ip> - - ...
Amos's user avatar
  • 141
1 vote
1 answer
4k views

Tomcat 9 Service on Centos 7 won't start up at system boot

I'm not very experienced with Linux generally, so please forgive me if this is obvious to you. I have done a large number of searches on various combinations of keywords, but can't find a solution to ...
Spencer's user avatar
  • 11
1 vote
1 answer
2k views

Tomcat 9.0.35 with JDK 11 behind a IIS 8.5 ISAPI redirector

I am trying to install Tomcat 9.0.35 using JDK 11 on Windows 2012 R2 VM. This will an upgrade from Tomcat 9.0.11 and JDK 10. I am having issues with ISAPI Redirect. I see the following errors in ISAPI ...
ops_guy's user avatar
  • 11
1 vote
2 answers
402 views

Use tomcat webapp as the root path for apache/mod-jk virtualhost

I have configured a server where lies several domains, and more than one of them have a ajp13-worker associated to it. The configuration file looks like that: <VirtualHost *:80> ...
Kleber Mota's user avatar
1 vote
2 answers
9k views

Error deploying large WAR file on tomcat 9, at startup

JRE Version:1.8.0_191-b12 Tomcat version: 9.0.13 Windows 10 I have a large WAR file (300MB) several hundred of files, classes, struts actions etc. When I start Tomcat 9.0.13 from a Windows Service I ...
John Tkaczewski's user avatar
1 vote
0 answers
5k views

Where should I set context path for Tomcat?

My regular question about Tomcat. Tomcat docs about <Context>. It is NOT recommended to place elements directly in the server.xml file. But This attribute must only be used when ...
wcobalt's user avatar
  • 113
0 votes
1 answer
395 views

Why does Tomcat 9 have established connections on localhost

I'm trying to understand why Apache Tomcat 9 has certain established connections that are via localhost. I'm using the Apache Tomcat 9 on windows. See below, I'm looking at the TCP/IP section in ...
Aditya K's user avatar
  • 933
0 votes
1 answer
202 views

Munin graph is incomplete with Tomcat Threads plugin

I have munin running rather fine on a CentOs webserver machine, except for one graph from the "Tomcat Threads" plugin that is incomplete. Why is it doing this? My server is far from overloaded. See ...
Michel's user avatar
  • 132
0 votes
2 answers
1k views

Apache Web Server port 433 and Tomcat port 8080, redirect not working

My Apache webserver runs on port 433 with https protocol. I wish to run Tomcat on port 8080 because there is no need for additional encryption, Tomcat is on the same machine, so I don't need port 8433....
LosmiNCL's user avatar
0 votes
2 answers
4k views

Tomcat HTTP to HTTPS redirect does not change port

I have problems getting HTTP to HTTPS redirect to work in my Tomcat. in Server.xml I have the connectors <Connector port="8080" protocol="HTTP/1.1" redirectPort="8443&...
Mattias Johansson's user avatar
0 votes
1 answer
555 views

ubuntu 18.04: clamav running, tomcat dying

Ubuntu 18.04. 2Gb RAM + 512mb swap. When running clamav, it consumes 800+mb of memory because it loads all the signatures into the memory. Because of that, I set it to run every day at 3am instead of ...
Amos's user avatar
  • 277
0 votes
1 answer
2k views

Redirect https and http requests to my web app in tomcat from apache

I have a spring web application running in tomcat which I can access using https://example:8080/myApp. I have installed Apache2 to redirect port 443 requests to tomcat. now I can Access my application ...
Sony's user avatar
  • 103
0 votes
0 answers
242 views

Apache 2.4 Cipher Suite Mismatch from config

We are running Apache 2.4 as reverse proxy to a Tomcat 9.0.88 web application. We started having an issues after a fresh install where Apache was rejecting incoming ssl handshakes from other Web apps. ...
 RichardFeynman's user avatar
0 votes
0 answers
124 views

getting 403 forbidden error using httpd (apache) connecting to tomcat via AJP

i am staring to be little bit hopeless since i tried many solutions and nothing worked. I am getting 403 Forbidden error when i try to reach my apache Tomcat server via httpd server (used as ...
Jeremy Panko's user avatar
0 votes
0 answers
154 views

How to disable ETag headers in Tomcat 9?

How to disable ETag headers in Tomcat 9 ? It will be helpful if provided with details/examples etc. Need to remove etags as this is reported as vulnerability in security scan . Tried different ...
sagar's user avatar
  • 1
0 votes
0 answers
306 views

Configure unique domains for several tomcat webapps

I follow the instructions from here and this to my server.xml file for each domain/webapp: <Host name="domain1.com" autoDeploy="true" appBase="webapps_domain1" ...
Kleber Mota's user avatar
0 votes
0 answers
1k views

how to configure a different catalina.out log for each deployed WAR built with Grails on tomcat

Environment: OS: Ubuntu 20.04 LTS JDK: OpenJDK 11.0.12 Tomcat: 9.0.68 test war: gtest.war, built with Grails 5.2.4 There are two WAR files built with Grails in my tomcat9. I want to configure ...
wureka's user avatar
  • 101
0 votes
1 answer
681 views

Connect to remote LDAP server via Guacamole

Ubuntu 20.04 Guacamole 1.3.0 guacamole-auth-ldap-1.3.0 /etc/guacamole/guacamole.properties: Ldap-hostname: x.x.x.x Ldap-port: 389 ldap-user-base-dn: CN=serv,OU=Invis,DC=invis,DC=com ...
Vahid Heydari's user avatar
0 votes
1 answer
1k views

Fortify Software Security Center 21.2.0 Unable process the Fortify_Process_Seed_Bundle-2021_Q4_0001.zip during initial setup

I am trying to set up Fortify SSC 21.2.0 for a demo, and I am having a bit of trouble getting the database seeded. The following describes my set-up specifications and my progress so far. Apparently ...
user61917's user avatar
  • 121
0 votes
1 answer
928 views

How to disable HTTP 1.0 protocol in Tomcat?

I've seen multiple resources explaining how to disable HTTP 1.0 on Apache, Nginx, IIS etc, but none for Tomcat. Could anyone advice how I can disable HTTP 1.0 protocol in Tomcat 9?
louis xie's user avatar
  • 125
0 votes
1 answer
3k views

Nginx is failing to load css, js and png of tomcat server

I'm trying to deploy the tomcat & Nginx server on a single AWS EC2 instance. I have 3 instances & on each instance, I wanted to deploy Nginx & Tomcat server. Below is my configuration file ...
Dinesh's user avatar
  • 1
0 votes
2 answers
11k views

403 Access denied for tomcat manager page

I've installed Tomcat on Centos7, on Google Cloud. Tomcat works but I can't access the Tomcat manager page. My /opt/tomcat/conf/tomcat-users.xml <?xml version="1.0" encoding="UTF-...
LosmiNCL's user avatar
0 votes
0 answers
345 views

Tomcat Deployment Slow on Unix Server

We recently moved to Tomcat from WebSphere for our application. We are using: JDK 1.8 Build 191 and Tomcat 9.0.50. Most of the application is a mix Servlet/JSP and a few webapps with Spring MVC, it ...
hell_storm2004's user avatar
0 votes
1 answer
602 views

Tomcat 9 deployed using docker randomly reached 200% CPU without any webapps

Hi have a Tomcat 9 running in a AWS machine using the following docker compose file: version: '3' services: fstomcat: image: tomcat:9 container_name: fstomcat ports: - 443:443 ...
QLands's user avatar
  • 119
0 votes
1 answer
3k views

Sending mail from java servlet fails authentication

Centos7, tomcat 9, Exim 4.94 Moved all my tomcat apps from centos6 to centos7 server. Tomcat version is 9 and was the same on both servers. I send email from one of the java apps. public void ...
ScottD's user avatar
  • 21
0 votes
2 answers
4k views

Tomcat 9.0.36 https configuration to port 8443 not responding

I have a Tomcat 9.0.36 running on a Ubuntu 18.04.4 LTS (virtual)machine. I am trying to configure it to use a certificate that I got from a CA. I generated successfully the keystore file using keytool,...
Nyxeria's user avatar
  • 103
0 votes
1 answer
105 views

VPS's memory consumption [duplicate]

I have a VPS with ubuntu 18.04.4 with 2gb and 512mb swap. Working regularly with 600-800mb and 100mb swap and all is well. 2 weeks ago I updated the WAR (tomcat) and the memory jumped to 1.2gb and 400-...
Amos's user avatar
  • 141
0 votes
2 answers
103 views

Ubuntu swap and RAM

I have an Ubuntu 18.04 which mostly runs tomcat. The memory consumption is between 800mb-1gb and I have 2gb total. The swap is 512mb and the used swap is 480mb. I set clamav to run at 3am and it ...
Amos's user avatar
  • 277
0 votes
0 answers
208 views

Apache redirection not working the way it is expected

I have a website say example.com and want to redirect everything from http to https. Also I have additional requirement of redirecting http://example.com (and https://example.com) to https://example....
Sajeesh's user avatar
0 votes
1 answer
437 views

HTTPD port 80 not working after install apache tomcat

I am using AWS EC2 and Centos. Before I installed apache tomacat 9, I still able to access my website in port 80, or at least I can access my ip address in browser with welcome page. But after ...
Al Kasih's user avatar
  • 101
0 votes
2 answers
589 views

Tomcat9 keep running under user tomcat9 even after change in /etc/default/tomcat9 file

I want run tomcat9 with a user different from the default, and searching the web, I found out that I can configure this in the file /etc/default/tomcat. In this file, I change the lines with TOMCAT9-...
Kleber Mota's user avatar
0 votes
1 answer
2k views

Clustering/Session Replication tomcat 9 two different machine

I'm trying to configure Session Replication on two tomcats on separate EC2 (AWS) instances. I can't find any example on internet of such configuration. I've prepared configuration in accordance with ...
Kacper Cichecki's user avatar