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

Extend the set of reloadable directories on tomcat

I would like to extend the set of reloadable directories on tomcat 7.0.59. When reloadable attribute within Context is set to true, tomcat monitors classes in: /WEB-INF/classes/ and /WEB-INF/lib. Set to true if you want Catalina to monitor classes…
luke
  • 3,531
  • 1
  • 26
  • 46
6
votes
4 answers

NetBeans 8.0.2 fails to start Tomcat because of missing catalina.bat

I just finished setting up the prelimanary steps for a Java Web project on NetBeans. I installed NetBeans and created a network drive using Samba on my home Ubuntu Server, which has Tomcat7. When I try to run the example Hello World project, i get…
Wade Guest
  • 65
  • 1
  • 1
  • 7
6
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…
6
votes
1 answer

TLS_RSA_WITH_AES_128_CBC_SHA and SSL_RSA_WITH_AES_128_CBC_SHA

Is there any difference between these cipher suites? They look the same however the first three letters are different. I am referring to TLS_RSA_WITH_AES_128_CBC_SHA and SSL_RSA_WITH_AES_128_CBC_SHA.
cateof
  • 6,608
  • 25
  • 79
  • 153
6
votes
2 answers

Tomcat catalina.out file is growing very rapidly! How to prevent Hibernate's INFO and DEBUG statements from getting added to catalina.out file?

My Java application (Spring, Hibernate, MySQL) is running in Tomcat 5.5 After the last set of changes to my application, Tomcat's catalina.out file is growing very rapidly. With each query it adds a few MBs of INFO and DEBUG statements to the…
Dilip Shah
  • 287
  • 2
  • 5
  • 17
5
votes
2 answers

What is the difference between ‘catalina.out’ and ‘catalina.YYYY-MM-DD.log’ log files in tomcat webapp server?

In a tomcat server, logs folder contains files like these localhost.YYYY-MM-DD.log: the log of the host host-manager.YYYY-MM-DD.log and manager.YYYY-MM-DD.log: the logs of the related web applications catalina.YYYY-MM-DD.log:: the container log…
Chamin Wickramarathna
  • 1,672
  • 2
  • 20
  • 34
5
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,311
  • 13
  • 46
  • 80
5
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
  • 22,324
  • 22
  • 103
  • 179
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
  • 366
  • 2
  • 4
  • 17
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,572
  • 6
  • 41
  • 58
5
votes
2 answers

Can't debug Java project in IDEA IntelliJ 12

On OSX w/Tomcat7 and IDEA IntelliJ 12. The run configuration works fine. The debug configuration complains with: /usr/local/Cellar/tomcat/7.0.37/libexec/bin/catalina.sh run Error occurred during initialization of VM agent library failed…
Ryan
  • 106
  • 1
  • 8
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
  • 17
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
  • 933
  • 3
  • 15
  • 30
4
votes
2 answers

inject environment variables in tomcat catalina.properties [Kubernetes]

I am using kubernetes for a web application deployement. containers: - name: myapp image: tomcat8-jre8:latest imagePullPolicy: Always env: - name: DATABASE_HOST valueFrom: secretKeyRef: name:…
Geek Junior
  • 137
  • 4
  • 11
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
  • 374
  • 4
  • 17
1 2
3
23 24