Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
0 votes
1 answer
111 views

I have a Java web application developed using JSP and Servlet, which I run via webapp-runner.jar to launch the WAR file. The webapp-runner.jar provides an option to enable SSL using the --enable-ssl ...
-1 votes
1 answer
69 views

I'm looking to set up an ideal Spring MVC project that utilizes the following technologies: Java: 17 or 21 Spring: Spring MVC JPA: For data persistence Database: MySQL Server: Tomcat 10/11 ...
1 vote
0 answers
76 views

On tomcat 8.x ,We have been using JDBCRealm to set the connection parameter like jdbc url, user name ,password and with these details we initialize the context and start the server . After upgrading ...
0 votes
1 answer
261 views

I have an issue with embedded Tomcat and classloaders. I have a java servlet application that runs in an embedded Tomcat(9.0.70) instance. When the application is packaged into a single war file – the ...
-1 votes
1 answer
225 views

I am using programmatic configuration of an Embedded Tomcat server very similar to Heroku’s example here. I supply my own Servlet class to Tomcat using this approach. How can I customize the error ...
4 votes
0 answers
546 views

I tried the following thing to achieve my application use case. Usecase: It is ok for Access Token to expire immediately after the identity has been asserted – the user continues to access the ...
2 votes
0 answers
1k views

We have a Spring Boot 3 (3.1.1) application with an Angular frontend. By setting the following properties, the static files (e.g. main.js) are delivered compressed with gzip: server.compression....
1 vote
1 answer
1k views

Tomcat document provided configuration to handle stuck thread by enabling threshold and interruptThreadThreshold subsequently. https://tomcat.apache.org/tomcat-8.0-doc/config/valve.html#...
0 votes
1 answer
188 views

One needs to configure some rewrite rules for Angular SPAs to redirect requests to the index.html: https://angular.io/guide/deployment#server-configuration We use the Jhipster generator (Spring Boot) ...
12 votes
2 answers
21k views

As stated in the Spring Boot 3 Migration Guide the server.max-http-header-size property has been deprecated. You can use the server.max-http-request-header-size property to set the max http request ...
0 votes
1 answer
264 views

I am trying to use Weld with Embedded Tomcat (10.1.5) using a basic example and settings from official weld docs. This weld injection with same code works fine with Tomcat on Eclipse. However, on ...
1 vote
0 answers
191 views

I need to convert an old web application containing multiple tomcat contexts into a Spring Boot application that utilizes Embedded Tomcat. The following is the server.xml file defining the contexts: ...
0 votes
1 answer
457 views

I need to create a JAR file for the Spring MVC (not spring boot) project with an embedded tomcat server. I am using shadow gradle plugin to create the JAR. Everything works fine when I run the main ...
1 vote
2 answers
2k views

I am using Apache Tomcat 9 server as a Maven dependency in my project. It is working fine and now I need to add a health endpoint so that it will return 200 OK if everything is running fine. I came to ...
0 votes
0 answers
135 views

I would like to set the max session age, but I cannot see how to do this, I am already setting a session inactivity timeout of 15 minutes, but I also want to enforce a session max age of 12 hours, ...

15 30 50 per page
1
2 3 4

AltStyle によって変換されたページ (->オリジナル) /