Skip to main content

Questions tagged [tomcat9]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
30 views

Configuring Apache Tomcat for HTTPS

I have an App that uses HTTP rather than HTTPS. For Security purposes, I need to switch to using HTTPS. I'm using apache_tomcat9.0.87.linux.rrg. We have a CA. I have generated a Certificate from ...
marketDataGuy's user avatar
0 votes
0 answers
373 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
285 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
234 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
1 vote
1 answer
1k 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
0 votes
0 answers
402 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
799 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
1k 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
2k 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
  • 133
0 votes
2 answers
5k 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
2 answers
13k 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
  • 133
1 vote
1 answer
882 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
  • 649
0 votes
0 answers
375 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
2 votes
1 answer
3k 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
0 votes
1 answer
635 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
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
0 answers
71 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
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
109 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
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
0 votes
2 answers
106 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
  • 287
0 votes
0 answers
214 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
2 votes
2 answers
12k 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
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
3k 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
0 votes
1 answer
499 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
3 votes
3 answers
12k 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
0 votes
2 answers
643 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
3k 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
1 vote
1 answer
10k 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
2 answers
471 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
0 votes
1 answer
469 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
  • 943
0 votes
1 answer
578 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
  • 287
0 votes
1 answer
2k views

ubuntu18.04 tomcat9 doesnt start application when started via systemd

first of all: I am no Tomcat expert, so please bear with me. Currently I'm facing an issue when I reboot the aforementioned server. The tomcat application is not available (404 not found) when ...
marcster1973's user avatar
0 votes
1 answer
431 views

Tomcat with IIS behind Cloudflare reverse proxy unable to connect

I'm running Tomcat 9 with IIS 10 using AJP13 by following this guide. Everything works as long as it's not proxied through Cloudflare. However, once I proxy it, I'm getting the following error in the ...
Twisted Whisper's user avatar
0 votes
1 answer
472 views

Installing tomcat 9 on oracle linux having tomcat 7

I have a task to deploy a war file of a Springboot 2.2.4 therefore the oracle linux server i am using already contains tomcat 7, and springboot 2.2.4 is not compatible with tomcat7 I am getting an ...
ehirwa's user avatar
  • 1
2 votes
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
0 votes
1 answer
215 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
  • 142
2 votes
1 answer
19k 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
  • 287
9 votes
2 answers
31k 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
5 votes
2 answers
12k 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
0 votes
2 answers
2k views

Logs when shutting down tomcat, what should I do with it?

Iget the following when I shutdown tomcat 9.0.24. Should I do something about it or should I do nothing because tomcat is shutting down anyway? 13-Sep-2019 07:59:06.145 INFO [main] org.apache....
Amos's user avatar
  • 287
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
  • 287
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
3 votes
1 answer
23k 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,493
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