Questions tagged [catalina]

Catalina is Tomcat's component that interacts with Java servlets. For questions about macOS Catalina, please use the [macos-catalina] tag.

Catalina is Tomcat's servlet container. Catalina implements Sun Microsystems' specifications for servlet and JavaServer Pages (JSP).

Tomcat is actually composed of a number of components, including a Tomcat JSP engine and a variety of different connectors, but its core component is called Catalina. Catalina provides Tomcat's actual implementation of the servlet specification; when you start up your Tomcat server, you're actually starting Catalina.

Read more

358 questions
1
vote
1 answer

Enable debug in Camunda

I would like to know if there is a way to enable Camunda debug? As I can only see the logs related to bpmn file deploy, as well as errors that could occur, in catalina.out file. My point is, I would like to debug the Rest API requests and responses…
camunda_user
  • 33
  • 1
  • 5
1
vote
2 answers

Spring boot requests hang when getting OutOfMemoryError in web server threads

Due to some bug, my app is consuming too much memory and heap space is running out. However, instead of requests failing, I'm getting an infinite hang and only following error in console: *** java.lang.instrument ASSERTION FAILED ***:…
Mugen
  • 8,301
  • 10
  • 62
  • 140
1
vote
1 answer

How to prevent service from starting until after Catalina has started

I have a JAX-WS client that I am running on Apache Tomcat 9. The client polls for data by entering an infinite loop and is set up as a servlet to load on startup. The issue I am having is that the servlet starts and enters the loop before Catalina…
1
vote
1 answer

Local Tomcat in IntelliJ - Cannot run program catalina.bat

I have created Local Tomcat (8.5.15) run configuration in IntelliJ IDEA (2019.2). I am running Windows 10. When I try to run the configuration, I get error: Error running 'Local Tomcat': Cannot run program "C:\apache-tomcat-8.5.15\bin\catalina.bat"…
tommym19
  • 11
  • 1
1
vote
1 answer

Pentaho server login problems after java JDK change from Oracle to Amazon Coretto

We use the BI server from Pentaho (Community ed.). Since we have to change the Java-JRE from Oracle to the Opend JDK from Amazon Coretto, there is a problem after starting the server when a user wants to log in (empty page). The login page itself is…
oh_jonny
  • 23
  • 2
1
vote
0 answers

Flowable with Docker does not startup - Tomcat HTTP Status 404 – Not Found

I'm trying to get up and running a flowable instance but it's not working. Docker is running and I've deleted all images and processes. All I did was run docker run -p8080:8080 flowable/all-in-one I've tried going to…
Usr
  • 2,628
  • 10
  • 51
  • 91
1
vote
1 answer

How to tell Apache Tomcat who must handle received data?

I'm using the newest Apache Tomcat (9.0.16), with newest Java / OpenSSL. I got a WAR file with a server application from NEXUSe2e.org. I'm able to send a secure message to a service. After a while someone sends a secure reply message as a new https…
Harald Coppoolse
  • 28,834
  • 7
  • 67
  • 116
1
vote
1 answer

Problem running spring boot with Let's Encrypt certificate on VPS

I want to add an application in Spring Boot services, but I want it to only run as root. When I try to run it as a different user, I have an error: Failed to start component [Connector[HTTP/1.1-8081]] org.apache.catalina.LifecycleException:…
Dawid73
  • 17
  • 7
1
vote
1 answer

configure catalina.properties gradle project

I have a Gradle Project, and I need add to the catalina.properties file: org.apache.catalina.startup.ContextConfig.jarsToSkip=bcprov*.jar But I don't know where I can find this file in my gradle project.
1
vote
1 answer

How do I properly print enumerator elements?

I am trying to understand java program written by someone else and I do not know java. I have written a short method fro dumping attributes of request object. public void dumpRequest(HttpServletRequest request) { String[] attrNames = new…
ruby_object
  • 1,229
  • 1
  • 12
  • 30
1
vote
3 answers

java.lang.ClassNotFoundException: org.apache.catalina.connector.Response

I am using Eclipse Helios to program JSP and POJOs running on Tomcat 5.5. I am trying to use the org.apache.catalina.connector.Response class as follows: import org.apache.catalina.connector.*; ... Response resp = (Response) r; where r is an…
ean
  • 41
  • 1
  • 4
1
vote
1 answer

Unexpected JVM Parameters (-Xms512M and -Xmx1024M) appearing

I've configured Tomcat 8.5.32 on Ubuntu, and using setenv.sh I have configured -Xms4096M and -Xmx8192M. Contents below: export JAVA_OPTS="-Djava.awt.headless=true -Xms4096M -Xmx8192M" On startup, the catalina.out log shows the below. As you can…
Ben Harper
  • 11
  • 3
1
vote
0 answers

Run tomcat by Gretty in the security mode

Anyone has an example of the catalina.policy file how to get tomcat working in the security mode when I run it by gretty-gradle-plugin? I think I need some additional permissions for the gretty-gradle-plugin, but I am not able to find out which…
Tomas
  • 11
  • 1
1
vote
2 answers

how to link catalina.out file with embedded tomcat

I've stumbled upon this issue which seems to be trivial and yet I do not know from which side I should approach it. I've packaged a jar spring boot application and placed it on my CentOs server and started it as a Systemd service with a startup…
vibetribe93
  • 257
  • 8
  • 23
1
vote
1 answer

Apache Shiro isAuthenticated returns true after Tomcat restart

I have a webapp deployed with Tomcat (8.0.32) and the login/logout operations work fine with each redeployment. However they do not work so well if I stop Catalina without redeploying the webapp (./catalina.sh stop and then ./catalina.sh start…
João Matos
  • 6,102
  • 5
  • 41
  • 76