42,924 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
55
views
Tomcat10 Http2UpgradeProtocol does not provide ConnectionID or StreamID values?
Tomcat10.1.20 does not provide Http2 connectionID or streamID values in a request attributes as stated in a docs.
Firefox connection uses HTTP2 protocol but values are always NULL.
I need to use an ...
Advice
0
votes
7
replies
82
views
64- bit exception generated in a 64- bit environment
I am trying to run a web application that is on Tomcat 9 using Java 17. I am using the latest version of Eclipse to compile and run the application.
The application is starting up with the following ...
0
votes
0
answers
31
views
Tomcat 11 Cors filter not working for react-konva
I have be trying to display and download very large png image I get from Tomcat 11. The image URL is http://localhost:8484/rdt/images/pano_vis_a_panorama.png and my REACT app is on the same host. ...
Advice
0
votes
8
replies
107
views
Image not displaying when running Java Servlet project on server (but works when opened directly in browser)
<img src="images/logo.png">
I created a web project using HTML and Servlets (no JSP).
When I open the HTML file directly using "Open in Browser," the image displays correctly.
But when ...
0
votes
1
answer
100
views
How do I specify a "q" parameter for www.googleapis.com/drive/v3/files
In the Google Slides API sample, it says to do a GET request:
GET https://www.googleapis.com/drive/v3/files?q="mimeType=application/vnd.google-apps.presentation"&fields=files(id,name,...
1
vote
3
answers
117
views
Building a WAR package, that can be deployed under Tomcat and can be executed in the CLI as well
I would like to create a WAR package with maven, that can be deployed under Tomcat (9 or above) and also can be executed on the command line (= CLI). I already realised to make a package, that could ...
1
vote
1
answer
106
views
Springboot/Tomcat Accepts Expired Certs
I have a couple of basic Springboot SSLBundle REST client and server applications using default settings - no customized ssl factories or anything. Everything works fine, i.e. they communicate, will ...
1
vote
1
answer
109
views
RequestDispatcher forward(request,response) works in Tomcat 10 but not in Tomcat 11
I'm in the process of doing a technology upgrade for a Spring mvc app. I'm currently using Java 21, Spring 6, and Thymeleaf 3. I've tested the application thoroughly, running it on Tomcat 10. The app ...
1
vote
2
answers
97
views
ContextNotActiveException when invoking @Repository during sessionDestroyed
I'm working on a Primefaces application; I'm trying to keep a registry in the DB of users' logging in and out. Using an HttpSessionListener I have managed to record the login, and if the user logs out ...
1
vote
0
answers
127
views
jdk24 tomcat start pinned in virtual thead env
env
jdk:openjdk24
tomcat:10.1.40
virtual thread enabled:true
problem: the carrier thread pinned
jstack as below
detail jstack info
detail jcmd vt info
"ForkJoinPool-1-worker-1" #50 [...
0
votes
0
answers
34
views
If some other process has already started on the CATALINA_PID then Tomcat fails to start
I'm running Tomcat as a systemd service and have encountered a scenario where Tomcat refuses to start because the PID file points to a different process that has recycled the old Tomcat PID.
What I am ...
3
votes
1
answer
341
views
SocketTimeoutException while downloading large file and this behavior is inconsistent among different browsers
Description of the bug
Description of the bug
Using Vaadin with Spring Boot, and when I try to download a file using the DownloadHandler.fromInputStream API, the download is being interrupted after ...
1
vote
0
answers
113
views
Subcontext in Embedded Tomcat Server Spring Boot 1.5
I'm trying to make a Spring Boot 1.5 project to use the embedded Tomcat Server it can come with. The project is configured for Tomcat 8.5, with a META-INF/context.xml, WEB-INF/web.xml and a specific ...
0
votes
1
answer
99
views
Using --add-opens in prunsrv.exe with JDK 17
I'm trying to upgrade a Java service that uses Documentum API (dfc.jar), from JDK 11 to JDK 17. It runs with prunsrv (Apache Commons Daemon Service Runner).
Searching on Opentext forums, it seems that ...
1
vote
1
answer
60
views
Error 415 when sending request to Sse subscribe method
I have an application using Java 11, Spring, Apache CXF 3.4.2, Tomcat and Server Sent Events. How do I fix the 415 Unsupported Media Type error that occurs when sending the specified request to the ...