Questions tagged [tomcat]
Use this tag for questions about Apache Tomcat (or simply Tomcat, formerly also Jakarta Tomcat) which is an open source Servlet Container developed by the Apache Software Foundation (ASF). Most questions should also include a tag specifying the operating system.
tomcat
43,173
questions
-1
votes
0
answers
11
views
Jasper report is not generated in the Tomcat local server, however it is successfully generated when we run in the Spring boot IDE
When we generated the report under the spring boot IDE then working fine, but when we deploy in the in tomcat server using war file then these error is coming
net.sf.jasperreports.engine.JRException: ...
0
votes
0
answers
9
views
SSL client authentication Server hello Certificate request contains Distinguished names of all CA authorities present in /etc/ssl/certs
**Configured tomcat (on Ubuntu) for client authentication by setting Server.xml **
<Connector port="8443" protocol="org.apache.coyote.http11.Http11NioProtocol"
...
0
votes
0
answers
28
views
Issues with Routing on Tomcat with Spring Boot and React Application
I'm facing an issue with routing on Tomcat. I'm receiving a ready-made .war file which contains the built files from a React app located in the resources/static folder.
After rebuilding with Maven, I ...
-2
votes
0
answers
21
views
Issue in spring-boot war startup in external tomcat due to unwanted spring jar
I am trying to run an spring-boot web application war file in external tomcat where many other applications (Spring and not spring-boot) are already running. There are some dependencies at some shared ...
0
votes
0
answers
54
views
Hot Reload/Hot Deployment in Tomcat using VS Code
I'm trying to enable hot reload for tomcat using vs code. Since "tomcat for java" extension has been deprecated which makes me use "community server connectors" extension in vs ...
-1
votes
2
answers
28
views
Tom Cat 10 / Java: The requested resource [/] is not available
Trying to run first project.Installed IntelijIDEA / Tom Cat 10 (tar.gz / zip). While running got this message
"The requested resource [/] is not available".
MacOS. Can someone help to solve ...
0
votes
0
answers
26
views
Migrated from Tomcat 8.0 to Tomcat 10.1
We are currently migrating our system from Elastic Beanstalk Platform(Corretto 8 & Tomcat 8.1) to (Corretto 17 & Tomcat 10.1). I am getting HTTP Status 400 from an HTTP request sent by a host ...
0
votes
0
answers
23
views
Why does a java servlet retain bad form entries? [duplicate]
We have a special search page in a java web app running on a Tomcat 9 server. The page uses a form with a few <input> tags of type "text". During some testing I was doing, I found a ...
0
votes
0
answers
27
views
I can't close the connection when my websocket connection is cut
I facing this issue from Tomcat and also I got this error:
[https-jsse-nio-443-exec-19]
org.apache.tomcat.websocket.server.WsRemoteEndpointImplServer.doClose Failed to close the ServletOutputStream ...
-1
votes
0
answers
34
views
Using custom shutdown command string in Tomcat without modifying server.xml file
I have a kubernetes tomcat deployment and with property readOnlyRootFilesystem: true which prohibits me from modifying server.xml file. But I need to use a random shutdown port every time the tomcat ...
0
votes
0
answers
14
views
Error when trying to deploy a war-File on Openshift using tomcat 9
I have a java war-File which i want to deploy on Openshift using tomcat 9.
I want to do this via the openshift console
Log in to my Openshift:
oc login --token=sha256~O_SDFSDFJp0sD3Q5vTmo --server=...
0
votes
1
answer
10
views
Can't access Docker Tomcat App runing in Elastic Beanstalk
I've have a Red Hat Enterprise Docker container where I install Tomcat and am running a custom Tomcat application. I wish to deploy it to Elastic Beanstalk. The application works as expected when I ...
0
votes
1
answer
24
views
Why My Spring Boot Application is not available in tomcat server
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:...
0
votes
1
answer
40
views
Launching https on Tomcat Port 8443 - requires the APR/native library which is not available
I need advice on https.
Below is the configuration of the server.xml file
<Connector port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
...
4
votes
2
answers
22
views
Customizing the error page based on the status instead of Tomcat default page with springboot
Not able to redirect the error in the custom page.
Configuration:
server:
error:
whitelabel:
enabled: false
path: /error
spring:
web:
resources:
add-mappings: false
@...