Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

Questions tagged [tomcat9]

The tag has no usage guidance.

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

Not Able to start tomcat-logserver.service

systemctl status tomcat-logserver.service ● tomcat-logserver.service - Apache Tomcat Web Application Container Loaded: loaded (/etc/systemd/system/tomcat-logserver.service; enabled; vendor preset: ...
user avatar
0 votes
1 answer
34 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 ...
user avatar
0 votes
1 answer
77 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 ...
user avatar
  • 121
0 votes
0 answers
12 views

Tomcat9 using all its allocated memory and then some

I am currently supporting an application on a windows server. The application has been running smoothly for years but is suddenly very slow. I checked the memory tomcat is using and it’s all the way ...
user avatar
0 votes
0 answers
85 views

How to disable DEBUG logs on catalina.out (Tomcat 9)?

I'm getting a lot of DEBUG related logs on catalina.out of tomcat 9. Is there any way to eliminate those DEBUG logs? Changing the log level to WARNING doesn't work for me. Thanks in advance.
user avatar
0 votes
1 answer
53 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?
user avatar
  • 125
0 votes
1 answer
69 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 ...
user avatar
  • 1
0 votes
2 answers
101 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....
user avatar
0 votes
0 answers
17 views

Tomcat looking for the classpath in the wrong place

I have installed tomcat 9 on CentOS 7, location is /opt/tomcat. It works. But when I wanted to shut it down and to start it again when I used shutdown.sh in my /opt/tomcat/bin folder, I got the error: ...
user avatar
0 votes
0 answers
72 views

Nginx proxy_pass to draw.io docker container error - Uncaught SyntaxError: Unexpected token '<'

Nginx reverse proxy running on physical host and draw.io running on docker on the same physical host where Nginx running. Draw.io built on tomcat 9.0.56. Nginx draw.io 80 block. server { listen ...
user avatar
  • 11
0 votes
0 answers
78 views

Install a self-signed certificate in .p7b format, created on another machine, on Ubuntu Tomcat

I am a Microsoft stack guy who is in desperate need for some linux administration... As stated in the title, there is a .p7b file (10kb size) that I need to install on Tomcat, running on Ubuntu. At ...
user avatar
  • 123
0 votes
2 answers
124 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&...
user avatar
0 votes
1 answer
611 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-...
user avatar
0 votes
1 answer
81 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 ...
user avatar
  • 479
0 votes
0 answers
157 views

real ip in guacomole, nginx reverse proxy, domain name, tomcat9

so the thing is guacomole showing host ip not clients real ip server { listen 80; server_name domain-name.com; access_log /var/log/nginx/localhost.com.access.log main; ...
user avatar
0 votes
0 answers
53 views

Tomcat Manager not opening despite correct tomcat-users.xml

I know this is similar to other questions on stack, but since none of the solutions have worked hopefully I can get help here regardless. I'm using tomcat9, and when setting the tomcat-users.xml, this ...
user avatar
0 votes
0 answers
102 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 ...
user avatar
1 vote
1 answer
287 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 ...
user avatar
  • 11
0 votes
0 answers
13 views

Calling A Class Running On Tomcat JVM Externally

I will try to explain this the best I can, so here goes! I have a class that has a public static void main() method running on Tomcat JVM. Now I have another class which is basically a Thread which ...
user avatar
0 votes
1 answer
259 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 ...
user avatar
  • 19
1 vote
1 answer
694 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/...
user avatar
1 vote
0 answers
40 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> - - ...
user avatar
  • 41
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 ...
user avatar
  • 21
0 votes
2 answers
2k 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,...
user avatar
  • 103
0 votes
1 answer
66 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-...
user avatar
  • 41
2 votes
1 answer
1k 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 ...
user avatar
  • 21
0 votes
2 answers
89 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 ...
user avatar
  • 237
0 votes
0 answers
44 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....
user avatar
2 votes
2 answers
5k 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 ...
user avatar
1 vote
1 answer
2k 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 ...
user avatar
  • 11
1 vote
1 answer
1k 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 ...
user avatar
  • 11
0 votes
1 answer
145 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 ...
user avatar
  • 101
3 votes
3 answers
6k 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=...
user avatar
0 votes
1 answer
259 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-...
user avatar
0 votes
1 answer
1k 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 ...
user avatar
1 vote
1 answer
4k 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. ...
user avatar
  • 13
1 vote
2 answers
196 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> ...
user avatar
0 votes
1 answer
136 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 ...
user avatar
  • 851
0 votes
1 answer
287 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 ...
user avatar
  • 237
0 votes
1 answer
1k 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 ...
user avatar
0 votes
1 answer
176 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 ...
user avatar
0 votes
1 answer
217 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 ...
user avatar
  • 1
0 votes
1 answer
2k 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 ...
user avatar
0 votes
1 answer
143 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 ...
user avatar
  • 113
2 votes
1 answer
8k 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 ...
user avatar
  • 237
9 votes
2 answers
19k 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 ...
user avatar
  • 93
3 votes
2 answers
6k 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 ...
user avatar
0 votes
2 answers
1k 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....
user avatar
  • 237
3 votes
0 answers
1k 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 ...
user avatar
  • 237
1 vote
1 answer
1k 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 ...
user avatar