Questions tagged [tomcat9]

Version 9.x (August 2017 onwards) of the Apache Tomcat servlet container. Use only if your question is specifically related to features of this version.

Version 9.x (August 2017 onwards) of the Apache Tomcat servlet container.

Apache Tomcat is an open source servlet container developed by the Apache Software Foundation (ASF). It supports the 3.1, 2.3, 3.0, and 1.0 specifications1. Questions here should relate only to Tomcat Version 9.x.

Use only if your question is specifically related to features of this version. Just because you are using this version, doesn't mean you need this tag. Use in addition to or instead of this tag.

See for more information.

1170 questions
4
votes
2 answers

FATAL tini (7) exec /docker-entrypoint.sh failed: No such file or directory

I'm getting this error when I run my Dockerfile. [FATAL tini (7)] exec /docker-entrypoint.sh failed: No such file or directory The docker build command runs fine but when I try to run it I get this issue. It's not a permissions issue since I have…
aram063
  • 1,067
  • 13
  • 19
4
votes
1 answer

On Deploying Spring boot web app at tomcat 9, getting error "Could not retrieve system property 'spring.xml.ignore'"

The spring-boot application is working fine with the integrated server but when I try to deploy it on tomcat9 getting the below error in /catalina.out 22-Jun-2021 15:05:38.148 INFO [http-nio-8080-exec-6] org.apache.jasper.servlet.TldScanner.scanJars…
Hrishi
  • 446
  • 3
  • 10
4
votes
1 answer

Jconsole remote Connection Lost: Reconnect?

I'm trying to make a jconsole remote monitoring of my tomcat 9 with java 8 jre (server adress: 192.168.10.3). In tomcat9w i have this java…
XDDDDDD
  • 41
  • 3
4
votes
3 answers

Docker image not running with https and tomcat

I am trying to run docker image with https URL instead of just http. The app is deployed in tomcat and I have generated docker image of it. When I run tomcat on https URL, it works fine but when I build docker image and try to run the image, the URL…
user2128
  • 590
  • 2
  • 13
  • 35
4
votes
1 answer

db pool connections closed after war file is undeployed

Historically we do a full Tomcat stop/restart after deplying an update. We're switching to using Tomcat manager and redeploy new versions of a war files and in some cases also deploying a war file with a version suffix (e.g. mywar.war##1234) using…
Fred
  • 335
  • 1
  • 6
  • 22
4
votes
4 answers

Tomcat is not getting started: Permission denied

I am getting below error when trying to start the tomcat using systemd service systemd[1]: tomcat.service: Failed to execute command: Permission denied systemd[1]: tomcat.service: Failed at step EXEC spawning /opt/tomcat/bin/startup.sh: Permission…
rak_6040
  • 65
  • 1
  • 1
  • 6
4
votes
1 answer

Gradle plugin for Tomcat 9.0.34

I'm trying to start my app using https://github.com/bmuschko/gradle-tomcat-plugin. My gradle config looks like that: apply plugin: 'com.bmuschko.tomcat' ext.tomcatVersion = '9.0.30' dependencies { // some dependencies tomcat…
injecteer
  • 20,038
  • 4
  • 45
  • 89
4
votes
2 answers

Permanently change the tomcat port from Dockerfile

I want to run two containers inside a k8s pod. tomcat exporter ( which runs on port 8080 ) tomcat application ( which also runs on the port 8080 ) As multiple running containers inside a pod cant share a same port , I am looking forward to build…
santhu
  • 57
  • 2
  • 9
4
votes
2 answers

disableRegistry() doesn't exist (org.apache.tomcat.util.modeler.Registry)

I updated my project from Spring Boot 1.5.6.RELEASE to 2.2.5.RELEASE and now I get an error claiming that the web server cannot be started because org.apache.tomcat.util.modeler.Registry.disableRegistry() cannot be found. This is a call made by…
Tihomir Mitkov
  • 846
  • 1
  • 11
  • 20
4
votes
3 answers

SSL enabled connector keeps appearing in server.xml

When ever I try to run my web application which was running fine before I keep getting the error java.lang.IllegalArgumentException: C:\Users\user\.IntelliJIdea2019.2\system\tomcat\projectName\conf\localhost-rsa.jks (The system cannot find the…
Sree Vishnu
  • 385
  • 2
  • 13
4
votes
3 answers

Could not find worker with name 'ajp13_worker'

I have a new Debian 10 server with Apache 2 + Tomcat 9. I can't run the JSF page due to an internal server error. I think the error is in the Apache Tomcat connector (libapache2-mod-jk) .. I use OpenJDK v. 11, I also use the Apache Tomcat Native…
afterbit
  • 383
  • 7
  • 20
4
votes
0 answers

Problem: Server throw 302 temporarily redirect for Http11AprProtocol protocol

Recently we started supporting HTTP2 for our servers. We have used the below configuration for upgrading the HTTP2 protocol. The build started without an error. But we are facing a critical issue after running the server that is, some of the…
sprabhakaran
  • 1,615
  • 5
  • 20
  • 36
4
votes
1 answer

How to set JAVA_HOME and JRE_HOME variable for open JDK11

I am trying to deploy the web application using tomcat 9.0. I am getting below error: Neither the JAVA_HOME nor the JRE_HOME environment variable is defined At least one of these environment variable is needed to run this program after executing…
user3526665
  • 81
  • 1
  • 1
  • 6
4
votes
1 answer

Tomcat cannot find the jsp page I'm trying to forward to

I'm building an application and currently working on my login page. When I launch Tomcat it starts up fine and opens a browser which displays my index.jsp page to log in. However on successful log in I am not forwarded to the next jsp page as…
HenkeL84
  • 41
  • 1
4
votes
1 answer

Attribute ServerContainer not found in ServletContext

In my Spring boot application i use also websockets. Everything works fine, as expected in production. Now i started to create UnitTests with Spring-Boot-Test. Every time i start a @SpringBootTest , i get following exception…