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

338 questions
5
votes
2 answers

Tomcat won't start, no error provided (Windows 7)

I've got a fresh installation of Tomcat 7.0.56. When I run startup.bat (As administrator or not), I got the following message: Using CATALINA_BASE: "C:\uPortal_test\apache-tomcat-7.0.56" Using CATALINA_HOME: …
Grigory Kornilov
  • 256
  • 2
  • 4
  • 17
5
votes
2 answers

In tomcat, what is catalina_home and why we use it?

Iam new to tomcat but i knew something in java, While setting up tomcat we use to set java_home for the jdk path but all i wanted to knew what is catalina_home and why we need to setup in catalina.sh?
Emmanuel Angelo.R
  • 1,417
  • 2
  • 16
  • 23
5
votes
4 answers

How to fix access to the requested resource which has been denied in Tomcat?

I want to enable form based authentication by using database as realm but I'm always getting that message whenever I try to authenticate as Tomcat manager in Tomcat 6. I have already created a table user_name and user_roles and mapped the…
5
votes
3 answers

JAVA_OPTS set in catalina.sh not working for TOMCAT private instance

I have placed JVM options via JAVA_OPTS in catalina.sh in the catalina base. However, the system doesn't pick those options--I am trying to pass profiling information to set paths for project properties and logging files. I have to set the options…
user20507
  • 63
  • 1
  • 1
  • 5
5
votes
2 answers

How to correct JAVA_HOME which should point to a JDK not a JRE folder?

I'm trying to run Catalina on Ubuntu Linux using the debug command. I'm getting the following error: JAVA_HOME should point to a JDK in order to run in debug mode. /bin/sh died with exit status 1 However, I have tried setting JAVA_HOME in the…
Mr Mikkél
  • 2,377
  • 4
  • 26
  • 50
5
votes
1 answer

Tomcat 6 show weird message in catalina log

I see tons of this error message in my Tomcat Catalina log: Invalid chunk starting at byte [0] and ending at byte [0] with a value of [null] ignored Does anyone has an idea what it means?
bashan
  • 3,424
  • 6
  • 37
  • 57
5
votes
1 answer

catalina.properties gets overridden on Tomcat restart

I added a property to common.loader in Catalina.properties (eg. added C:/apps/conf) and it is getting reset when I restart Tomcat 7. Though this is not the case on every restart. Wonder why it's getting overridden sometimes when the server is…
A.C
  • 197
  • 3
  • 16
4
votes
1 answer

Tomcat6 shutdown failed

I have tomcat 6.0.32 installed and running my web application on it. Usual stop/start works fine, when the tomcat is properly started or stopped. But when I try to stop the tomcat when it is in the middle of a startup, the stop fails. $service…
Noman Amir
  • 863
  • 3
  • 15
  • 27
4
votes
2 answers

How to configure Tomcat Catalina logs in json using default jar(tomact-juli.jar)

I have updated the logging.properties file of tomcat to print the logs in json format. But, the issue is value of "message " has some escape characters, which makes my log invalid json. Please let me know how to escape these characters(:,[,],/) in…
Sneha
  • 153
  • 9
4
votes
4 answers

How to configure log4j2 with Tomcat 8.5.15

I have log4j2 jars under $CATALINA_HOME/lib: log4j-api-2.10.0.jar log4j-core-2.10.0.jar log4j-jul-2.10.0.jar export JAVA_OPTS="${JAVA_OPTS} -Djava.util.logging.manager=org.apache.logging.log4j.jul.LogManager" In catalina.properties I've got…
Sami
  • 2,179
  • 11
  • 43
  • 77
4
votes
1 answer

Unexpected log in Spring Boot application on OrderedRequestContextFilter

So I am developing a non-web server with Spring. It has been growing up a lot lately. I am a bit worried about the following logs: `2017-05-18 11:26:28.791 DEBUG 2368 --- [apr-8080-exec-2] o.s.b.w.f.OrderedRequestContextFilter : Bound request…
jfzr
  • 334
  • 4
  • 14
4
votes
2 answers

What causes a full GC to run?

I have a web app running on tomcat which has max heap size set to 8GB. If no users log into the app, non-cleanable memory (which resides after a garbage collection) is quite low at about 1GB. In this situaiton I see constant memory growth for about…
Lahiru Chandima
  • 16,832
  • 14
  • 78
  • 137
4
votes
1 answer

Spring Boot "Request method 'GET' not supported" while redirecting POST request to https port through Catalina Connector

I'm trying to redirect http to https through Catalina Connector in my Spring Boot application. If the incoming POST request is "https" then it is working as expected. But if my incoming POST request is "http" and after the redirection to "https"…
4
votes
1 answer

Not able to authenticate post request for CSRF token with tomcat

I am working on a tomcat application. I am trying to add CSRF authentication token provided by catlina library(org.apache.catalina.filters.CsrfPrevention). I have added filter to web.xml CsrfFilter
ZINDA ROBOT
  • 271
  • 2
  • 12
4
votes
0 answers

Broken Pipe Exception - org.apache.catalina.connector.clientabortexception java.io.ioexception broken pipe

I have deployed my project in the cloud but when i try to log-in, the following exception is coming, i am unable to figure out the cause for this exception.Can anyone please help me on that. Exception catched by Spring…
1 2
3
22 23