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
3
votes
1 answer

curl post request is not working with option --http2, but it works fine when I use --http2-prior-knowledge

I have created spring-boot application with tomcat 9.0.16, spring-boot 2.1.3.RELEASE, JDK1.8. When I am making curl post request with --http2 its saying "curl: (56) Recv failure: Connection reset by peer". but when I use --http-prior-knowledge it…
Ashu Udeniya
  • 73
  • 1
  • 4
3
votes
1 answer

CATALINA_PID was set but the specified file does not exist

I was following this guide to setup tomcat on Ubuntu 16.04.2 LTS Xenial (https://www.digitalocean.com/community/tutorials/how-to-install-apache-tomcat-8-on-ubuntu-16-04). Got to the point of the first launch: sudo systemctl start tomcat and…
Maxim Andreev
  • 182
  • 2
  • 10
3
votes
2 answers

Tomcat 9 takes 1 minute to stop

I installed tomcat 9.0.14 on my system(Windows 10, Windows server 2016 R2) I've no issue while starting the tomcat service(start in 2-3 sec). However, it takes 1 minute to stop. I thought one of my project residing under webapps is taking time so I…
rahul sharma
  • 33
  • 1
  • 7
3
votes
2 answers

Classpath problem with Tomcat 9 and web app subdirectory

How can I configure a web application so that .jsp files in subdirectories can find the same classes as .jsp files in the application's root directory? I have moved an old web application from a tomcat6 server to a tomcat9 server. However, .jsp…
John Weidner
  • 2,055
  • 3
  • 18
  • 31
3
votes
1 answer

AbstractCreatorProcessor class not found error

While setting up adopt openjdk 8 with Tomcat 9 with my existing application, I am getting the following error Caused by: java.lang.NoClassDefFoundError: com/sun/xml/stream/buffer/AbstractCreatorProcessor at…
ernitingoel
  • 621
  • 2
  • 9
  • 24
3
votes
2 answers

How can I create executable jars with embedded tomcat 9?

Has anyone tried the plugin to build an executable war/jar using Tomcat 9? I attempted to do so however ran into: Exception in thread "main" java.lang.NoSuchMethodError: org.apache.catalina.startup.Catalina.setConfig(Ljava/lang/String;)V at…
cporter71
  • 41
  • 2
3
votes
2 answers

IIS URL rewrite - reverse proxy - responding with 404 error

basically i wanna to rewrite url using reverse proxy: from: http://www.xyz.in/eacc/api/fetchVendors to http://localhost:8080/eacc/api/fetchVendors I have deployed my spring boot rest full web service application in tomcat under…
Subbu
  • 308
  • 2
  • 4
  • 12
3
votes
1 answer

Tomcat 9 / JNDI DataSource - Cannot create JDBC driver of class '' for connect URL 'null'

Java Version: 10.0.1 Tomcat Version: 9.0.10 Postgres Driver Version: 42.2.4 I have seen one similar question on stackoverflow, but it is a bit different from mine and none of the solutions there seemed to work for me: Cannot create JDBC driver of…
Anwinity
  • 65
  • 1
  • 7
3
votes
1 answer

Tomcat 9 can't log into manager/html

I am unsure as to why I am unable to login, here are the permissions:
Al-geBra
  • 169
  • 3
  • 13
3
votes
0 answers

Unable to find taglib with Tomcat 9 and java run time 9

I am using Tomcat 9 with Java 9 as run time and java 8 as compile time. I am facing below issue in accessing my jsp page. I am unable to find what is causing this issue. Any lead will be very helpful. Please note that batch_funcations.tld is present…
learner
  • 1,952
  • 7
  • 33
  • 62
3
votes
2 answers

HA Proxy support for HTTP/2 backend servers in http mode

I have a tomcat 9.0.2 server supporting HTTP/2 and running on TLS1.2. Below is the connector configuration in server.xml
Chaitanya
  • 201
  • 2
  • 9
3
votes
0 answers

Compilation error: org.apache.jasper.compiler.JDTCompiler$1.findType Compilation error

I have been asked to work on a very old webapp in my company. The webapp consists of only JSP and it was running on older version of tomcat instance. Now I have migrated it to tomcat9 and just after starting the server, I get the below error msg in…
Puneet Nebhani
  • 487
  • 1
  • 7
  • 17
2
votes
1 answer

How to achieve Spring boot p99 under 500 milliseconds for 1000 requests per second

Our spring boot application verion 2.5.10 has just a single api which reads from redis 6 times and does some calculations and there are no other IO operations such as database operations and is deployed in kubernetes with helm. Actual api execution…
2
votes
2 answers

In Ubuntu, How to set Tomcat 9 to use Java 17?

As the title described, in Ubuntu 20.04 how to set Tomcat 9 to use Java 17 ? Recently I repacked the war file of my web project with Spring Boot 3.0.1 which requires Java 17 to run, trying to deploy it to Tomcat 9 container at an Ubuntu 20.04…
sdrkyj
  • 75
  • 1
  • 10
2
votes
1 answer

How to unlock a tomcat user in Lockout Realm using program

How shall I unblock a specific user using a program? Should I need to create any configuration files for doing this? Please guide me with the steps. I didn't find any proper documentation for unblocking a user on our own. Thanks in Advance