Questions tagged [tomcat9]

The tag has no usage guidance.

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

ERR_CONNECTION_RESET when running a container in AWS Fargate using Tomcat 9

I'm testing an app in AWS ECS running in Fargate. I can access its home page properly but I´m having some issues while accessing our main app. I wanted to check its logs but I cannot access the ...
1
vote
1answer
23 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/...
0
votes
0answers
21 views

Tomcat 8 no connection to webservice over https

This problem has been giving me quite a headache for some time now. I'm managing a Tomcat 8.5 Server for a department in my company which for some time now is not allowing a connection over https (in ...
0
votes
0answers
29 views

SSL handshake failure when EC type keystore is exchanged

I have a Spring boot (version 2.2.5.RELEASE) application which works on one-way SSL. There are 2 cases: Case 1: Client has all the RSA type ciphers (TLS_DHE_RSA_WITH_AES_128_GCM_SHA256,...
1
vote
0answers
33 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> - - ...
0
votes
0answers
71 views

Tomcat 9.0.29 - HTTPS threads age, max connections reached, Tomcat not responding on 8443

In the last two weeks I've had two occurrences where a single CentOS 7 production server hosting a public webpage has become unresponsive. The first time, all 300 available "https-jsse-nio-8443&...
0
votes
1answer
733 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 ...
0
votes
2answers
774 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,...
0
votes
1answer
42 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-...
2
votes
1answer
655 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 ...
0
votes
2answers
66 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 ...
0
votes
0answers
27 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....
1
vote
2answers
2k 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 ...
0
votes
1answer
976 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 ...
1
vote
1answer
772 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 ...
0
votes
0answers
47 views

Tomcat9 in Ubuntu 20.04 timing out when under high load

What is the general steps to approach to investigate why Tomcat would be timing out connections when under high load? I run a tomcat9 server hosted in a virutal machine using Virtualbox. I recently ...
0
votes
1answer
33 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 ...
2
votes
3answers
3k 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=...
0
votes
1answer
132 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-...
0
votes
1answer
661 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 ...
1
vote
1answer
1k 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. ...
1
vote
2answers
168 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> ...
0
votes
1answer
79 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 ...
0
votes
1answer
138 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 ...
0
votes
1answer
758 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 ...
0
votes
1answer
87 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 ...
0
votes
1answer
117 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 ...
0
votes
1answer
671 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 ...
0
votes
1answer
116 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 ...
2
votes
1answer
4k 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 ...
7
votes
2answers
10k 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 ...
3
votes
2answers
4k 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 ...
0
votes
2answers
830 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....
3
votes
0answers
906 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 ...
1
vote
1answer
919 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 ...
3
votes
1answer
5k 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 ...
2
votes
1answer
4k 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 ...
5
votes
1answer
2k 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 ...
0
votes
1answer
1k 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 ...
0
votes
1answer
4k 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 ...
1
vote
0answers
3k 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 ...
5
votes
2answers
18k 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 ...