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

How to set up JAVA_OPTS for AspectJ to work in Tomcat running as a service on a Windows Server?

Problem I need to integrate AspectJ code into an existing application running on Tomcat, but I think I am not setting JAVA_OPTS correctly. Our vendor has created some AspectJ code that passes logged in user id information to the CONTEXT_INFO()…
Viriato
  • 2,981
  • 7
  • 40
  • 54
1
vote
1 answer

java:comp/env is not bound

I currently have a few libraries in my $CATALINA_HOME/lib directory to handle some system/DB authentication. One of those files foo.jar contains a class that extends org.apache.catalina.realm.DataSourceRealm and is being used to authentication. …
ist_lion
  • 3,149
  • 9
  • 43
  • 73
1
vote
1 answer

JBoss deploy error after upgrading app to Grails 2

I've upgraded a Grails app from 1.3.6 to 2.1.1. After some fixing and tidying up, run-app works (for the most part, still some deprecated issues to deal with). grails war also builds without error. When I deploy into JBoss (4.2.2) however, the…
spacebot
  • 83
  • 8
1
vote
2 answers

IntelliJ, unable to run catalina.sh

I'm running on a mac, 10.8.2. Starting this morning, I am unable to start my tomcat 6.0.18 in debugger mode. "Error running MediaPlanner: Cannot run program "/Volumes/work/apache-tomcat-6.0.18/bin/catalina.sh" (in directory…
1
vote
1 answer

Vaadin application creates threads that leads to memory leaks

I have a problem with a Vaadin application, it creates some threads and Tomcat says that they could lead a memory leak problems. I don't create threads in a explicit way. SEVERE: The web application [/MyApp] appears to have started a thread named…
gdantimi
  • 378
  • 3
  • 9
  • 20
1
vote
2 answers

CATALINA_HOME path set up

During installation of Tomcat, multiple forums have that CATALINA_HOME variable needs to be set up and shall point to Tomcat parent directory. I am running web projects through eclipse and it runs in presence and also in absence of this environment…
user1649415
  • 1,085
  • 4
  • 12
  • 24
1
vote
2 answers

I do not have the catalina directory in the Tomcat folder. In this case where can i find application specific context.xml file?

I have two projects with working server as Tomcat. From their website,I came to know that application specific context.xml files are located inside the catalina/localhost directory. I do not have the catalina directory in the Tomcat folder. I have…
Suhail Gupta
  • 22,386
  • 64
  • 200
  • 328
1
vote
1 answer

Scope of System.setProperty()

What is the scope of System.setProperty()? If I set it in one of the classes in a Java EE application, would all the other classes and other components that use System.getProperty() or use other ways of accessing the property, be able to view the…
user1439090
  • 792
  • 5
  • 12
  • 33
1
vote
0 answers

Tomcat6 moving libraries onto external disk array

The catalina.properties entry for Tomcat6 is as…
John C
  • 1,795
  • 4
  • 27
  • 42
1
vote
3 answers

Getting tomcat's installation directory using java

I want to get tomcat's installation directory in my computer using java. I tried using : System.getProperty("catalina.base"); and System.getProperty("catalina.home"); But both methods return null as the answer. I tried it with…
mkab
  • 933
  • 4
  • 16
  • 31
0
votes
1 answer

Apache tomcat printing random nullpointers

Our apache tomcat server is printing random nullpointer exceptions. Normally you would see a stacktrace.. INFO | jvm 1 | srvmain | 2012/03/30 13:44:43.733 | SEVERE: Servlet.service() for servlet frontend threw exception INFO | jvm 1 |…
Hidde Broerse
  • 187
  • 3
  • 11
0
votes
1 answer

Doing SSH on Liferay and then it shutdowns when I exit terminal

I do ssh on my terminal to run my liferay. I use this command ssh user@server.com password: ***** cd tomcat/bin/ ./catalina.sh run Now when I run this command this will run my liferay just fine but when I exit my terminal it will also shut down…
Pennf0lio
  • 3,888
  • 8
  • 46
  • 70
0
votes
1 answer

Issue with Timer Task in Java

I am using a timer task in my web app and in onContextDestroyed handler, I am using the following code to make everything null: System.out.println("contextDestroyed - fileWatcherTask:"+fileWatcherTask); System.out.println("contextDestroyed -…
Rookie
  • 8,660
  • 17
  • 58
  • 91
0
votes
2 answers

What does it mean -r in catalina.sh?

In catalina.sh is row: if [ -r "$CATALINA_BASE"/conf/logging.properties ]; What does it mean -r ? Does it abbreviation? What other symbols can be? Thanks.
user810430
  • 11,181
  • 15
  • 38
  • 43
0
votes
0 answers

WSO2APM 4.2 Docker image can't start the /publisher

When start the Docker image for WSO2 APIM 4.2 With analytics /publisher can't start error in log is: ERROR - ContextLoader Context initialization failed .... ... ERROR - [/api/am/publisher] Exception sending context initialized event to listener…
HAYTHAM
  • 1
  • 2