Skip to main content

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
11 votes
4 answers
14k views

Tomcat Debug Error: Unable to open debugger port (127.0.0.1:63199): java.net.BindException "Address already in use: NET_Bind"

I woke up for work and started receiving this error, but I can't find this specific error anywhere. I tried using netstat -ano to find any instances running on the aformentioned port, and also the ...
0 votes
0 answers
14 views

catalina.out is very large and failed to rotate

catalina.out is very large and failed to rotate I have set my /etc/logrotate.d/tomcat like this: /opt/tomcat/logs/catalina*.* { copytruncate daily rotate 90 compress missingok size 10M } But catalina....
4 votes
4 answers
9k views

How to Dockerize a tomcat app

I am trying to dockerize some Tomcat application but I never touch Java application before so the lack of understand it makes it really hard to understand what should I do. So far I have this but it ...
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 ...
1 vote
1 answer
75 views

How to use fileupload2 with Tomcat 10?

I'm upgrading a Tomcat project from Tomcat 9 to 10, which means I'm now using the Servlet 5 packages (jakarta.servlet instead of java.servlet). My project needs apache fileupload, so I updated it to ...
4 votes
3 answers
4k views

ClassLoader.getSystemResourceAsStream not working when running on tomcat

I am loading a configfile using ClassLoader.getSystemResourceAsStream. The file is placed in the src folder of my GWT application. It ends up in war/WEB-INF/classes. I copy the war folder to tomcat ...
0 votes
1 answer
34 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 votes
0 answers
13 views

Spring Boot Application Deployment on Tomcat Failing with BeanCreationException and NullPointerException ERROR

I'm trying to deploy a Spring Boot application packaged as a WAR file to Tomcat (version 8). The deployment process seems to start correctly, but the application fails to start, and the logs show the ...
37 votes
15 answers
224k views

Spring boot could not resolve placeholder in string

I am running spring-boot on an embedded tomcat server through maven with mvn clean install spring-boot:run. But every time I run it I get this error: Caused by: java.lang.IllegalArgumentException: ...
0 votes
1 answer
62 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 ...
20 votes
8 answers
100k views

java.lang.NoClassDefFoundError: javax/servlet/http/HttpServletRequest

I'm developing a servlet that receives a multipart request with content of multiple files, and I'm using apache commons file upload libraries. When I call parseRequest(request); method servlet throws ...
1 vote
2 answers
10k views

Tomcat 9 - location in Linux Ubuntu 18.04

I am trying to deploy my Java Web Application on the apache tomcat server. I want to deploy it manually without using eclipse. It already took a lot of time to install tomcat apache 9 in Linux. Found ...
4 votes
4 answers
24k views

Unknown service zeus-admin running on my server

I used nmap to check which ports are open on my server it showed PORT STATE SERVICE 9090/tcp open zeus-admin now port 9090 is supposed to listen for apache tomcat. What is this zeus-...
-2 votes
0 answers
17 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
12 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" ...

15 30 50 per page
1
2 3 4 5
2879