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,165
questions
0
votes
1
answer
47
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
26
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
@...
0
votes
0
answers
37
views
How to bump tomcat-coyote and tomcat-catalina from version 7 to version 8+?
I am working on the fork of guacamole-client
I (and also original project) has depedencies:
<!-- Tomcat servlet API (websocket) -->
<dependency>
<groupId>org.apache.tomcat</...
0
votes
1
answer
36
views
Import and use already existing SSL certificates with new Tomcat instance
I had to completely to re-install Tomcat server using new hardware but I have certificates from Certificate Authority which was used in previous installation:
Sectigo RSA Domain Validation Secure ...
0
votes
2
answers
43
views
Can you please help me on Apache Ignite 2.16.0 REST API on Spring Boot 2.7.18 application? Can you please jetty version as well?
I am trying to upgrade apache ignite Rest api on spring boot applicate,
Apache ignite version 2.16.0
Spring boot version 2.7.18
Java 17
<?xml version="1.0" encoding="UTF-8"?>
...
0
votes
0
answers
8
views
Tomcat 9.0 Deployment: SAXParserFactory not found
I'm using Tomcat v9.0.87 with Java 1.8.0_412.
The Tomcat starts very well, just with root and manager application.
If I deploy two war-files, the whole Tomcat crashes.
> 09-Jul-2024 10:49:34.899 ...
0
votes
1
answer
47
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
18
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
1
answer
19
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
57
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
29
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
19
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
27
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
20
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
38
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 ...