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,172
questions
0
votes
0
answers
17
views
Why does linux deny permission to establish a Java Jsch session when the war file is deployed in a Tomcat server?
I have been trying to establish a Jsch session in a Java Spring Controller, so I can execute a shell script. The session is established and commands are run during local testing and manually testing ...
0
votes
1
answer
16
views
Springboot Cors configuration works for Get requests but not to Post requests
I am in the following situation, I configured cors. I hosted my app using tomcat10 and the frontend is React. With the development server of Springboot, locally everythin works fine. But when hosted ...
-2
votes
0
answers
11
views
How to disable default documentation of tomcat which comes after hitting application url
When ever I am trying to access my appurl like below give me tomcat related details, I want to disable this webpages and it should give me 404 Not Found message.
google.com/docs/
google.com/examples/
...
1
vote
0
answers
40
views
Unable to use Artifactory HTTPS
I am now forced to use HTTPS on the page, but I am unable to access it through HTTPS
I don't want to access through reverse proxy
After consulting the official documentation and adding configurations ...
-2
votes
0
answers
19
views
"session not created: DevToolsActivePort file doesn't exist" on my ec2 instance with Amazon Linux 2 x86 architecture
I am trying to run chrome from my application deployed on tomcat . chromedriver and chromium browser are both installed .
[root@ip bin]# chromedriver --version
ChromeDriver 126.0.6478.114
root@ip bin]...
-2
votes
0
answers
17
views
ERROR 400 doesn't print the Custom error status page [duplicate]
In my website Im facing the issue like I need to redirect to my custom
page with the purpose to hide the version of Tomcat, which is displayed on
the default 404 HTTP status page.But other error 404-...
-2
votes
0
answers
22
views
Let's encrypt and tomcat 10 is it possible?
I've trying for a week to use letsencrypt to generate ssl certificates for my domain. I am using tomcat 10.
The steps I followed were
I followed several tutorials, including this one tutorial uses jks
...
0
votes
0
answers
16
views
Issue with asynchronous logging using Logback on Tomcat
I'm currently facing an issue with logging configuration in my Java web application deployed on Tomcat. I'm using Logback as the logging framework and have configured a ConsoleAppender with <...
-1
votes
0
answers
32
views
Tomcat: Too many files open. FIFO pipes
I have this problem for a while now with one of my tomcat server running an java application.
When I start the tomcat it slowly starts opening this kind of pipes
java 10329 tomcat 427u a_inode ...
0
votes
2
answers
43
views
How to expose endpoints of a spring application which is deployed on production servers?
While working with springboot in local environment, creating a REST application feels so effortless due to its embedded (and abstract) tomcat server. We can do so by creating a Restcontroller and ...
-1
votes
0
answers
18
views
Stale connection detected and then closed
I have an http 401 error when calling an endpoint (deployed in wildfly) that require more than 5 minutes to process the request and it seems like the server side close the connection after exactly 5 ...
1
vote
0
answers
60
views
Cannot get Client certification authentication working with Tomcat 9
I am trying to enable client-authentication on a Tomcat 9.0.90 instance (running on Windows).
I was able to easily get server-authenticated/1-way SSL working, but I have been struggling to get the ...
0
votes
0
answers
25
views
Catalina.out logs time out of order
I have an Spring boot application running in tomcat 9.0.71. I have one custom Spring boot filer written, in which I have logged method's start and end log. I am not able to understand why the start-...
1
vote
0
answers
19
views
Hibernate / HikariCP - Connection leak, still active after close it
I'm having a problem with hibernate and hikaricp, more precisely I encountered a leak using a stateless session with a semi-complex procedure. To give you context this is an app that exposes api to ...
0
votes
0
answers
25
views
Outsourcing .properties file based on context path in Spring Boot application deployed on Tomcat
I want to deploy multiple Spring Boot applications in one Tomcat server, each with different context paths, and I want to outsource the properties of each application. Specifically, I want the ...