42,809 questions
Score of 1
1 answer
73 views
HTTP/2 requests to Spring Boot on ECS behind AWS NLB fail with PROTOCOL_ERROR (HTTP/1.1 works fine)
After upgrading our application to Spring Boot 4.1.0, requests started failing once the service was running behind an AWS Network Load Balancer (NLB) configured with a TLS listener. The same build ...
Score of 2
2 answers
102 views
Embedded Tomcat freezes until I click the Eclipse window
I’m working on a project using Eclipse 4.12.0 with an embedded Tomcat server.
While testing a page that communicates with the backend via AJAX, the whole service sometimes appears to freeze.
What ...
Score of 1
0 answers
42 views
CXF does not find SecurtyPolicy classes "Please check that (the correct version of) Apache WSS4J is on the classpath: null"
I am passing an app that was developed for weblogic into tomcat.
One specific call to a remote WS is falling.
2026-06-01 13:13:45,285 \[http-nio-8080-exec-9\] INFO org.apache.cxf.wsdl.service.factory....
Score of 1
1 answer
96 views
Spring Boot fails to start: Port 8080 already in use, taskkill access denied on Windows [closed]
I am trying to run my Spring Boot application on Windows but it fails with this error:
Web server failed to start. Port 8080 was already in use.
I tried to find the process using the port:
netstat -...
Score of 0
0 answers
174 views
Does NewRelic agent cause memory leak in Tomcat 10.1?
Using the newest NewRelic agent 9.1.0, we see a memory leak when re-deploying our web application. The first indication is
07-Apr-2026 08:33:34.983 WARNING [http-1557107106] org.apache.catalina.loader....
Score of 1
0 answers
86 views
about tiles.xml usage(javascript rendering)
JS files are not loaded when using tiles layout.
I set up tiles.xml so that header.jsp is included, and header.jsp loads external JS and CSS files such as jquery.min.js.
However, when I run the ...
Best practices
0
votes
0
replies
125
views
SpringBoot solution for session metrics
We have noticed that the following Tomcat session metrics are no longer being tracked after adding the org.springframework.session:spring-session-data-redis dependency :
...
Advice
1
vote
8
replies
159
views
Is Freemarker 2.3.34 compatible with Jakarta EE11?
As the title says, is FreeMarker 2.3.34 compatible with Jakarta EE11? I'm trying to upgrade a web application from Jakarta EE9 to EE11 and I'm facing some issues.
Advice
0
votes
2
replies
130
views
Is Spring framework 6.x compatible with Spring Security 7.x?
Is Spring framework 6.x compatible with Spring Security 7.x? I need to upgrade a servlet-based web application to the latest version of Spring Security, but due to some dependency limitations I can't ...
Score of 2
1 answer
165 views
java.lang.ClassCastException: class com.sun.xml.ws.transport.http.servlet.WSServlet cannot be cast to class javax.servlet.Servlet
I took over some "legacy app" which is a SOAP web service based on WSDL files.
As the app was not updated in years and failed to compile with anything but Java 8, I decided, I should try to ...
Score of 4
1 answer
120 views
Building and deploying a springboot application that uses Keycloak
I am new to devops and have a project to learn some tools. Currently I am using jenkins running in a docker container to build and deploy a WAR to tomcat running in another container. The springboot ...
Advice
0
votes
4
replies
210
views
Migrating Tomcat from version 9.0.104 to 9.0.109?
Can someone please share the complete steps for migration of Apache Tomcat from from version 9.0.104 to 9.0.105 or the latest version on RHEL 8.10.
I have never done this before on Linux so please ...
Score of 0
0 answers
56 views
Tomcat server.xml LDAP search filter user
I want to filter users and import them who has the roles LR_aa_Users_r or LR_aa_Admin_STAGE_f but it does not work if I put this query in server.xml file in tomcat server(tomcat 9).
But the ldap query ...
Score of 1
1 answer
327 views
How to build the Apache Tomcat Native Library?
I updated my Apache Tomcat installation from 9.0.57 to 9.0.127 on Ubuntu 22.04 (in other words I removed the apt version and manually installed the updated version). Everything works fine, except that ...
Score of 1
1 answer
90 views
How do I make sure that the Tomcat working directory is always the source folder of the project I want to run?
In Eclipse, the setting can be found at
Run Configurations -> Apache Tomcat -> (config name) -> Arguments -> Default working directory
The default working directory is set to the Desktop. ...