5 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
1
answer
218
views
How to make tomcat (spring boot embeded tomcat 10.x) to close the connection if the server(backend code) is taking too long?
I am using spring boot 3.x and hence I am using the embeded tomcat (10.x)
Sometimes the my app's rest service call's server processing could take too long ( over one minute).
But we don't want the ...
1
vote
0
answers
76
views
Unable to configure the Datasource realm through embedded tomcat jar.(not an springboot app)
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 ...
-1
votes
1
answer
588
views
Embedded Tomcat 10 serving static resources from fat jar
The following code works correctly when fired from the IDE (Eclipse); that is, the documents in src/main/resources/static are being served to the browser:
import org.apache.catalina.Context;
import ...
0
votes
0
answers
101
views
Maven how to start a server.jar in a pom.xml for integration tests
This question strikes me as being the same as problem deploying project jar to running container that was started with maven cargo plugin. However the answer there is more than 12 years old. I want to ...
10
votes
2
answers
10k
views
Simple Embedded Tomcat 10 Example
I'm trying to get a simple embedded tomcat 10.1.0-M11 example working but I keep getting localhost refused to connect when I go to http://localhost:8080/aa.
Here is my code:
import jakarta.servlet....
user avatar
user1191027