Questions tagged [tomcat9]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
23 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 ...
0
votes
1answer
33 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
26 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
18 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 ...
0
votes
1answer
51 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
38 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
0answers
34 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 ...
0
votes
1answer
20 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
159 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
0answers
63 views

Tomcat 9 not starting on Debian 10

I installed Tomcat 9 using APT on Debian 10, it was correctly installed but unfortunately it is not starting because of this error: root@wiki:/ (16:41:51)# systemctl start tomcat9 root@wiki:/ (16:41:...
0
votes
0answers
18 views

Tomcat9 performance issue while writing the response payload to network

We have a high TPS web application and we have upgraded to Tomcat9 from Tomcat7 recently. We have observed increased latency in few of our apis which return more response payload. These affected apis ...
0
votes
1answer
17 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
45 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
90 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
40 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
19 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
275 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
0answers
104 views

mod_jk worker configuration

I have the following configuration: client <----> haproxy <----> apache <------> tomcat for the connection between apache and tomcat I use mod_jk. I have two configuration choices. Either I ...
0
votes
0answers
13 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 ...
0
votes
0answers
36 views

How to configure GarbageCollector on a 128GB RAM server running Tomcat9 on Debian10 (Java11)

We have a 128GB RAM running Tomcat9 (install through the tomcat9 package) and 32 CPU threads. The tomcat server has +- 100 contexts (.wars) running Every other minute it currently stops for about 7.5 ...
1
vote
1answer
203 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 ...
0
votes
0answers
88 views

mod_jk failover quick when Tomcat is down, slow when hosting server goes down

I have two VM, each one is hosting a signle Tomcat server ( with AJP connector active ) . I enabled sticky session. When I shut down the tomcat server that is currently active, the failover is quick ;...
2
votes
2answers
2k 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 ...
0
votes
0answers
157 views

Tomcat fails to set some properties defined in server.xml

I am trying to set the value of some configuration properties to enhance Tomcat 9 security. The value of the properties is set in the server.xml file as follows: <Host name="myhost" appBase="...
0
votes
0answers
91 views

How to disable direct ip access for apache tomcat

So someone keeps ddosing me because I have a google banklink, I heard if you stop direct ip access you can prevent this, if this is possible can someone please help me, this is something really ...
0
votes
0answers
68 views

Prevent tomcat 9 from writing application logs to syslog

I have several applications that I've recently updated so that I can run them using Docker or by deploying them in the tomcat9 application server. To get the logs in Docker, I've enabled logging from ...
1
vote
1answer
981 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
0answers
107 views

after updating to tomcat 9.0.26, still see 2 problems in log

After updating to tomcat 9.0.26, the number of issues in the trace was dropped dramatically. I do still see the following 2 issues. First issue: 30-Sep-2019 20:40:04.146 INFO [http-nio-8009-exec-...
0
votes
1answer
456 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....
2
votes
0answers
351 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
349 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 ...
0
votes
0answers
19 views

apache-tomcat unpacking but not loading second war

I have two wars deployed into tomcat. When I start the apache-tomcat instance, it loads the first application but not the second. It unpacks both. My host is set to unpack and autodeploy(see below)....
0
votes
0answers
217 views

Self contained .Net Core site on Apache Tomcat/CentOs

I am trying to get a self contained deployment of a .Net application to run on Apache Tomcat and CentOs. So far I am not having any luck. Here are the technologies that I am working with: - CentOs -...
3
votes
1answer
2k 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 ...
0
votes
0answers
376 views

Can not create new ssl - Tomcat with ssl

I have configured ssl(tomcat) in server.xml file. <Connector port="8443" maxHttpHeaderSize="8192" maxThreads="150" minSpareThreads="25" protocol="HTTP/1.1" maxSpareThreads="25" ...
2
votes
1answer
2k 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 ...
4
votes
0answers
916 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
846 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
2k 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
2k 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 ...
3
votes
1answer
12k 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 ...