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

Javax WebSockets won't work with programmattic Tomcat 7 instantiation

Here's what I'm trying to do: Set up a Tomcat 7 server programmatically - that works with a simple servlet. I'm defining Tomcat's endpoints from within the code only, there are no settings nor routers on the file system (this is a constraint). Have…
Yuval Herziger
  • 1,145
  • 2
  • 16
  • 28
1
vote
1 answer

Tomcat logging.properties formatter not taking effect

I'm trying to adjust logging for catalina. My logging.properties for Tomcat looks like: handlers = 1catalina.org.apache.juli.FileHandler, 2localhost.org.apache.juli.FileHandler, 3manager.org.apache.juli.FileHandler,…
JackTheKnife
  • 3,795
  • 8
  • 57
  • 117
1
vote
3 answers

Find CATALINA Tomcat8

I've been working on auditing using CIS Benchmarks for example : [root@localhost ~]# ls -l $CATALINA_HOME/webapps/docs \ CATALINA_HOME/webapps/examples ls: cannot access /webapps/docs: No such file or directory ls: cannot access…
Aicha KERMICHE
  • 37
  • 1
  • 10
1
vote
1 answer

org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[]] - tomcat 8.5

I am trying to get my tomcat 8.5 to start on my eclipse. Everytime I get this error. I already tried the below fixes but nothing seems to work: Added log4j.jar to my classpath cleaned Tomcat Directory My JDK is 1.8 My JRE is 1.8 Any idea what…
SargeOrona
  • 90
  • 1
  • 1
  • 8
1
vote
1 answer

Catalina 6.x Start and stop bacome final in 8.x

x I have overriden the LifecycleBase.start() method like the following. but in Catalina 8.x this method has become final. Could anyone tell me how to solve this Problem please. Here is the sourcecode public void start() throws…
Hasan
  • 296
  • 1
  • 8
  • 23
1
vote
0 answers

slf4j-simple can not find path to catalina.base

I have successfully implemented slf4j-simple library in my project and it is writing successfully on System.out. The only problem is that i can't log into a custom file as it does not recognize the path i defined in simplelogger.properties file. My…
Usama Aftab
  • 99
  • 1
  • 14
1
vote
0 answers

ApplicationHttpRequest is doubling the parameters when it's parsing the request parameters

I have an http get request coming into my servlet: /servlet?param1=val1¶m2=val2&...¶m5=val5 It's hitting the servlet as ApplicationHttpRequest (from Catalina library) object, and it has both queryParamString and queryString set to the query…
1
vote
0 answers

Tomcat is not working correctly, Why?

I have downloaded a binary version of tomcat server to my windows machine. After that I have unzipped it to C drive and set tomcat home and it's path as follows: - TOMCAT_HOME = C:\Program Files\Apache\Tomcat\apache-tomcat-8.5.6 Path = C:\Program…
testuser
  • 793
  • 3
  • 13
  • 35
1
vote
0 answers

why webappclassloader retains more heap space? how to resolve?

Heap Dump Screen SHot As you can see in the picture why the webappclassloader retained heap this high? Does this indicate towards any problem? If it is, then how to resolve it?
1
vote
1 answer

Tomcat Warning : Cannot serialize session attribute ServletRequestAttributes.DESTRUCTION_CALLBACK.SearchService

Should I implement Serializable Interface to resolve the issue? Error Log : 05-May-2016 10:34:16.644 WARNING [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.session.StandardSession.doWriteObject Cannot serialize…
Abhishek Agarwal
  • 846
  • 4
  • 13
  • 34
1
vote
0 answers

Tomcat doesn't log to catalina.out, nor does it create log file I specified

I've got CentOS 7 installed on my machine (Basic Web Server with Java Servlet Engine - Tomcat), and I have Spring Boot app. If I build my app as a jar, and run it on server with java -jar my_app.jar, the app starts fine, and logs to file specified…
zkristic
  • 629
  • 1
  • 9
  • 24
1
vote
2 answers

Set response encoding in embedded tomcat

Is there a way to set response encoding in embedded tomcat? By far I could only find setting URI encoding. But I need to set the response encoding. The surprise is, standalone tomcat is by default sending data in UTF-8.
Venkata Jaswanth
  • 1,661
  • 2
  • 11
  • 12
1
vote
0 answers

Tomcat $CATALINA_HOME environment variable in openshift

Counting objects: 5, done. Delta compression using up to 2 threads. Compressing objects: 100% (5/5), done. Writing objects: 100% (5/5), 566 bytes | 0 bytes/s, done. Total 5 (delta 1), reused 0 (delta 0) remote: Stopping jbossews cartridge remote:…
1
vote
2 answers

Having a custom catalina.sh when using a tomcat image from Docker

I'm currently using Dockerfile to create Tomcat 6.0.44. It looks like this: FROM tomcat:6.0.44-jre7 ... ADD catalina.sh /usr/local/tomcat/bin Building the image from the Dockerfile is fine, but when I go to run it I get the following error: exec:…
user5201726
  • 542
  • 1
  • 5
  • 13
1
vote
0 answers

Catalina issue with creating multiple instances of Apache tomcat

I've installed two instances of Apache Tomcat (7 & 8) in Windows7-64 bit, of course with different ports and in two separate drives. Both instances are running as expected. I'm not sure with the catalina path variables, because I've set the…
Arjun Krishna
  • 43
  • 1
  • 6