Questions tagged [tomcat9]

The tag has no usage guidance.

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

Kubernetes tomcat cluster: skipping state transfer. No members active in cluster group

k8s StatefulSet: apiVersion: v1 kind: Service metadata: name: my-web labels: app: my-web spec: ports: - name: http port: 8080 targetPort: 8080 selector: app: my-web ...
eastwater's user avatar
  • 103
1 vote
1 answer
114 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
44 views

Server sends "internal error" response faster after Tomcat upgrade

I recently upgraded our Tomcat server from 7.0.85 to 9.0.70. I am using Apache 2.4. My Java application runs in a cluster, and it is expected that if the master node fails during a command, the ...
user21241556's user avatar
0 votes
0 answers
60 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
10 views

Modifying/Closing Connector 9060 port from server.xml without whole appserver restart

I have an app which listens on 9060 port. What i want to acheive is, if i remove the 9060 port from server.xml and then stop/terminate my app, 9060 port should be completely closed i.e netstat -tanp | ...
Sash_KP's user avatar
  • 101
0 votes
0 answers
314 views

HTTP/1.1 500 ERROR in Apache Tomcat 9.0.31

We're really looking forward to your advice on this topic. This issue we face in an application, using Apache Tomcat release 9.0.31. The HTTP/1.1 500 error message, we never saw it with Apache Tomcat ...
Justin's user avatar
  • 1
0 votes
0 answers
58 views

How to stop tomcat from compiling jsp for single page app

We have a server with tomcat 9 running on RedHat linux, and a vendor provided dynamic content management system that builds jsp pages to show news article types of content based on a query string ...
kromaak's user avatar
0 votes
0 answers
131 views

400 Bad Request - Virtual Host

I'm receiving "400 Bad Request Your browser sent a request that this server could not understand. Size of a request header field exceeds server limit." I am trying to load a page that is ...
Cezar Apulchro.'s user avatar
0 votes
0 answers
734 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
0 answers
192 views

When migrating from RHEL 7.x to RHEL 8.x (or RHEL-like) how does one resolve Java enterprise application dependencies on apache-commons packages?

With the move from RHEL 7 to RHEL 8, RedHat dropped tomcat from the distribution, refocusing their efforts on JBoss as a separate project and dropping tomcat. I have a legacy application to support ...
Justin Haynes's user avatar
0 votes
0 answers
24 views

Apache shows 404 but on localhost Spring app works

I've installed Tomcat 9, Apache httpd 2.4.6, and Let's Encrypt for SSL, on Centos 7 on the Google Cloud instance. It's the second time I'm doing this configuration so I was using the similar ...
LosmiNCL's user avatar
0 votes
1 answer
362 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
679 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
511 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
2k 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
968 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
2k 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
6k 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
1 vote
1 answer
384 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
  • 559
0 votes
0 answers
256 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
1 vote
1 answer
1k 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
  • 11
0 votes
1 answer
430 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
2k 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
49 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
2k 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
3k 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
82 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
2k 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
96 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
  • 257
0 votes
0 answers
185 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
8k 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
3k 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
0 votes
1 answer
286 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
9k 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
431 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
1 vote
1 answer
7k 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
259 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
240 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
  • 901
0 votes
1 answer
460 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
  • 257
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
278 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
321 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
1 vote
1 answer
3k 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
178 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
  • 113
2 votes
1 answer
14k 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
  • 257
9 votes
2 answers
25k 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
9k 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 on Strike'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
  • 257