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
2
votes
1 answer

setenv.sh in an individual tomcat catalina base

At the moment i have several catalina bases configured with the following directories, conf logs server webapps work The bin, lib and common directories are all still in $CATALINA_HOME. I now need to add a setenv.sh file in the bin…
ziggy
  • 15,677
  • 67
  • 194
  • 287
2
votes
0 answers

Spring server-sent events (SseEmiter) with Tomcat fails to execute onCompletion callback

My goal is to have reliably way to execute some code when http connection is broken due to client disconnection. As far as I understand fomr SseEmiter API and this issue: https://jira.spring.io/browse/SPR-13292 The way to do this is to register…
Purple
  • 711
  • 2
  • 10
  • 19
2
votes
0 answers

Cannot use HttpHeaderSecurityFilter for specific apps in Tomcat 8, got ClassNotFoundException: org.apache.catalina.filters.HttpHeaderSecurityFilter

I want in some specific apps to enable HttpHeaderSecurityFilter (I might have some unsecure applications at the same server). I've edited web.xml of one application (not the tomcat/conf/web.xml file to add this filter):
Mladen Adamovic
  • 3,071
  • 2
  • 29
  • 44
2
votes
1 answer

IllegalStateException without any root cause

When I am trying to deploy my project war file in server I am getting the following exception. java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [/BannerAdServing] at…
Ravi Teja
  • 398
  • 1
  • 7
  • 16
2
votes
1 answer

Set tomcat 7 system property in maven plug in

I am using embedded tomcat 7.0.54 in my webapp.While launching the web app,i get processAnnotationsJar : Unable to process Jar entry javaassist-3.20.0.jar for annotations I tried to look up and it looks like a common problem.To solve this i…
WillMcavoy
  • 1,795
  • 4
  • 22
  • 34
2
votes
3 answers

Catalina configuration test (catalina.sh configtest)

I have a feeling that there might be something wrong with my Tomcat installation, so I run the following command for sanity check. $TOMCAT_HOME/bin/catalina.sh configtest What does this output mean, or how to go about fixing? Thinking of…
nikk
  • 2,627
  • 5
  • 30
  • 51
2
votes
1 answer

Permanently limit catalina.out file size for tomcat

I'm using tomcat 7 on a virtual machine running Ubuntu. Right now, I have a catalina.out file at /var/lib/tomcat7/logs/catalina.out that is over 20GB in size. I tried first rotating the log file through this tutorial. I then found out that it will…
Alex
  • 2,145
  • 6
  • 36
  • 72
2
votes
2 answers

SEVERE: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component

I m new in Spring Boot, i trid to make simple application, i deployed war on tomcat, but i have Error, see my error : SEVERE: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component…
3vge
  • 197
  • 1
  • 2
  • 15
2
votes
0 answers

Tomcat8 log file location

My problem is: I had tomcat 7 on Linux, i install tomcat 8, the log file saved in tomcat 7, how can i direct it to save on tomcat 8. After i read about it, some solution is to set Catalina base and home to tomcat 8 lib folder. I tried to find who to…
J.doe
  • 21
  • 4
2
votes
1 answer

Apache Tomcat7 not starting after adding Omnifaces and CDI?

I am facing an error after adding the OmniFaces library, and adding the CDI (followed this link) to Apache Tomcat 7, and I am using Maven. How can I solve this problem? SEVERE: A child container failed during start …
Spartan
  • 1,167
  • 4
  • 20
  • 40
2
votes
1 answer

Enabling Flight Recorder in Tomcat causes "Error when initializing JFR"

adding -XX:+FlightRecorder to my CATALINA_OPTS causes this error in my catalina.out log: Error when initializing JFR. JFR will be deactivated. java.lang.Exception: Unable to create JFR repository directory using base location…
snowe
  • 1,312
  • 1
  • 20
  • 41
2
votes
0 answers

Why am I receiving LazyStopLoader exception in my TomEE log?

I am running my application on TomEE and am recently receiving following exception in my log. I could not find much on the Internet. Does anyone have any idea of its root cause? org.apache.catalina.core.ContainerBase backgroundProcess WARNING:…
Daniel Newtown
  • 2,873
  • 8
  • 30
  • 64
2
votes
2 answers

I have accidentally removed catalina.out and Tomcat doesn't recreate it

By default, Tomcat v7 was logging everything nicely to the catalina.out. When it got too big, I have removed it. Since then, the log file doesn't exist. I have tried creating it manually, but it stays there untouched.
Ondrej Tokar
  • 4,898
  • 8
  • 53
  • 103
2
votes
1 answer

ColdFusion entityLoad filter criteria generating java error

I have an orm application that works perfectly fine on the development server. When bringing the code to the production environment, rebuilding tables and attempting to visit a page with entityLoad that has filter criteria i get a blank page with no…
2
votes
1 answer

Why can't I create a folder in %CATALINA_TMPDIR%?

This is the weirdest thing ever. I'm working on an app that I run using Tomcat though IntelliJ IDE. Part of this app creates a folder in the configured %CATALINA_TMPDIR%. For some reason no matter where I point %CATALINA_TMPDIR% to java can't create…
David
  • 14,569
  • 34
  • 78
  • 107