Questions tagged [tomcat10]
141 questions
1
vote
1 answer
OpenWebBeans gives error java.lang.NoClassDefFoundError when using with Tomcat 10
I am trying to use OpenWebBeans with Tomcat 10. I have followed the steps given in this link.
When I use Weld, it works fine. But when I use OpenWebBeans, I get the following error.
SEVERE: Error configuring application listener of class…

Waqas
- 13
- 1
- 4
0
votes
0 answers
How to set HTTPS SSL Cipher Suite Preference in Spring boot 3 embedded tomcat
Im upgrading my springboot 2.7.x application to 3.x.
I'm trying to set HTTPS SSL cipher suite preference according to server preference.
Previously my config looked like this:
public class Application extends SpringBootServletInitializer implements
…

manjosh
- 438
- 6
- 28
0
votes
1 answer
Apache Tomcat is not responding - Unsupported target VM
I have java 11 project and using Apache Tomcat 10.
openjdk version "11.0.19" 2023-04-18 LTS
OpenJDK Runtime Environment Corretto-11.0.19.7.1 (build 11.0.19+7-LTS)
OpenJDK 64-Bit Server VM Corretto-11.0.19.7.1 (build 11.0.19+7-LTS, mixed…

Tal Levi
- 363
- 1
- 6
- 22
0
votes
1 answer
Cannot get Tomcat 10 to run on a Mac with Java 17
I just installed jdk-17.jdk on my Mac running Ventura 13.5, to support my install of apache-tomcat-10.1.12.
I used the DMG installer for Java 17, and I received no errors.
When I attempt to start up Tomcat using: startup.sh, I receive the following…

user1104028
- 381
- 7
- 18
0
votes
2 answers
Spring Security 6.0.5 error "UnsupportedOperationException: Section 4.4 of the Servlet 3.0 specification does not permit this method to be called"
I'm using vanilla Spring 6 on a Tomcat 10.1.7 server to build a Java 17 webapp that is securized via CAS.
The app works fine with the following versions of Spring modules:
spring-security-config: 6.0.4
spring-webmvc: 6.0.11…

Nextor
- 95
- 1
- 1
- 7
0
votes
0 answers
How to deploy BIRT viewer 4.13 in the Tomcat-10
03-Aug-2023 11:31:49.000 INFO [http-nio-9999-exec-3] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive [E:\software\server\apache-tomcat-10.0.10\webapps\birt.war] has finished in [15,287] ms
03-Aug-2023…
0
votes
0 answers
getting module java.xml does not "opens javax.xml.namespace" to unnamed module
I have upgraded my maven project From Java 8 to Java 17 i have resolved all compilation errors , but I am getting error in MongoDb initialisation while deploying tomcat server locally.
Exception :
ERROR ContextLoader Context initialization failed
…

Hitesh Kumar
- 1
- 2
0
votes
1 answer
handleRequest of CmisWebServicesServlet is not getting called and it is giving 'Cannot get CSRF manager!' error
Actually we have extended Open CMIS code for our product and recently we have upgraded our product for Tomcat 10. When we call RepositoryService it is giving below error:
java.base/java.lang.Thread.run(Thread.java:833)
[21/07/23 01:11:23:023 IST]…

pvyas
- 41
- 5
0
votes
1 answer
tomcat installed in remote Ubuntu server doesn't connect using http://myIpAdress:8080
I have a remote server : Ubuntu 22.04. I have installed Tomcat 10 based on this tutorial .
tomcat is running:
root@server:/opt/tomcat/conf# sudo systemctl status tomcat
● tomcat.service - Tomcat
Loaded: loaded…

ayada
- 412
- 1
- 12
0
votes
0 answers
implements https into Apache Tomcat 10
I've been trying to implement the use of the https protocol in Apache Tomcat 10 (Java) as I normally do in Apache for PHP (and it works), however I've been trying for more than a week and still haven't succeeded.
I'm following the official link…

Carlos Rocha
- 153
- 2
- 13
0
votes
0 answers
Facing compilation errors due to deletion of methods in class AbstractHttp11Protocol (Tomcat 10.x)
We are using the below setter methods of class AbstractHttp11Protocol to configure mTLS in spring-boot based application. After upgrading the application to spring-boot 3, started facing some issues related to Tomcat. I am facing compilation errors…

Jagdish Raika
- 41
- 3
0
votes
1 answer
Error creating bean with name 'entityManagerFactory' Factory method 'entityManagerFactory' threw exception with message
I have a webapp with maven, eclipselink, jpa, spring 5, jsf2.3, java 8, primefaces 11 deployed on tomcat 8.5.
For a software modernization question I just successfully ported to tomcat 9 with java 17 keeping spring 5 and all the rest of the…

iljkr
- 161
- 1
- 1
- 8
0
votes
0 answers
Adding javax.servlet (et al) to Tomcat 10 webapps/[app]/WEB-INF/lib
I have a Java8 app that I have been using for years that provides and consumes web services, including Olingo OData. Vulnerabilities are compelling me to upgrade to the latest - Java11 and Tomcat10. I am able to migrate the web services to jakarta,…

Dave
- 9
- 2
0
votes
0 answers
How to access to the chunk size and its bytes in a Chunked Transfer Encoding on Tomcat 10.x
I have a requirement where:
A service opens an HTTP connection to Tomcat 10.x
Sends a stream of bytes using Chunked Transfer Encoding (cannot change this behavior)
The Tomcat application reads the stream in chunks, saving each chunk and its size…

Daniel Andres Pelaez Lopez
- 322
- 2
- 5
0
votes
0 answers
No latest version available for Spring-webflow-2.5.1.RELEASE.jar after 2018
can someone or Spring team please tell me if there is any latest version of Spring-webflow-2.5.1.RELEASE.jar which supports Tomcat 10 migration. Currently, this spring-webflow jar have references of javax.servlet.* whereas Tomcat 10 migration…

Nagarjuna
- 9
- 1