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

Service still working after deleting catalina.properties

I've been running a service (java, spring batch, tomcat) for some time now. Then I deleted the catalina.properties file to test some stuff, and suprise! everything still works the same. I was able to run the service, complete a job and so on. How…
KKO
  • 1,913
  • 3
  • 27
  • 35
1
vote
0 answers

Tomcat 7 takes much time on startup

In tomcat 6, it just takes 14 or 15 seconds to startup the build. I've read about startup slowness on the net about Tomcat 7 Also i've followed the steps from this link -…
1
vote
1 answer

cron service is running but not executing cron jobs in centos

I have created a policy to rotate catalina.out of tomcat, my cron service is running and I can even check the log to verify the jobs but I am not getting the desired output. Here is my code /etc/logrotate.d/tomcat /opt/tomcat7/logs/catalina.out { …
Pulkit
  • 3,953
  • 6
  • 31
  • 55
1
vote
1 answer

Liferay port 80 forwarding

I'm running CentOS on my server, and I want to forward port of Liferay portal from 8080 to 80. I've changed the server.xml file but I can not connect to portal. Log from Catalina.out is fine, it shows that server started up. I have got also…
Matej Šípka
  • 190
  • 4
  • 24
1
vote
1 answer

How do we decide which java version is used to compile a version of library in maven?

My local setup has all java 6 configured. I needed catalina jar file. So I took the latest one - http://mvnrepository.com/artifact/org.apache.tomcat/tomcat-catalina/8.0.15 but that gave me following errors/warnings warning:…
Aniket Thakur
  • 66,731
  • 38
  • 279
  • 289
1
vote
0 answers

Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/]]

i get some exceptions when i start the tomcat server. i am getting this error when starting my tomcat server with my application. I don't really understand it but if i "clean" in eclipse a few times or if i stop start the tomcat server a few times…
emoleumassi
  • 4,881
  • 13
  • 67
  • 93
1
vote
1 answer

Apache Tomcat in Amazon EC2 Error: could not find org.apache.catalina.util.ServerInfo

I have followed the installation guide available here: http://www.excelsior-usa.com/articles/tomcat-amazon-ec2-basic.html I am running an AWS EC2 instance with the Amazon Linux AMI (Amazon Machine Image): Amazon Linux AMI 2014.03.2 (HVM) -…
kngrace
  • 58
  • 1
  • 5
1
vote
1 answer

Out of memory error, permgen, goign from java 8 to java 7

I'm getting an out of memory error related to permgen. INFO: Deploying web application archive /usr/local/apache-tomcat-7.0.50/webapps/web.war Jul 09, 2014 2:26:35 PM org.apache.catalina.core.StandardContext startInternal SEVERE: Error…
James Nguyen
  • 91
  • 1
  • 3
  • 12
1
vote
2 answers

Trying to start a war file - getting errors - need help understanding catalina.out

I apologize in advance - for what may be a common mistake, but after a couple of days of trying to figure it out... I think it appears that the war file wants a different java jdk... but I've tried now with this version below as well as openjdk 1.6…
Ed Dantes
  • 53
  • 1
  • 2
  • 10
1
vote
1 answer

Tomcat Heap settings in catalina.sh not working

In linux Tomcat bin folder, I want to set JAVA_OPTS for heap memory, I have done settings like export CATALINA_OPTS="-server -Xms1024m -Xmx1024m -XX:MaxPermSize=256m" and then restarting but still my heap memory is not updating. Can you guide me?…
1
vote
2 answers

Setup an external Tomcat (with CATALINA_HOME/CATALINA_BASE configuration) on Eclipse

I am working with a Tomcat 7 server using the CATALINA_HOME/CATALINA_BASE configuration. According with this configuration, a Tomcat server can be start with commands $CATALINA_BASE/bin/catalina.sh start or $CATALINA_BASE/bin/catalina.sh run,…
Bolo
  • 31
  • 1
  • 4
1
vote
1 answer

Tomcat catalina.out logrotate on redhat not working properly

I am trying to roll the log catalina.out on a webserver using logrotate. I have been able to roll the log and a log catalina.out-dateext is created. But I notice that the log is being written in the new file catalina.out-dateext. Is there something…
Shann
  • 660
  • 1
  • 6
  • 19
1
vote
1 answer

How to compile sources from an Ant script

I was given a script to compile sources and deploy them to Tomcat webserver. If i compile the sources in Eclipse, they compile just fine. But with the script I get the following output: Buildfile: C:\Dev\workworkspace\myapp\build.xml [echo]…
Lena Bru
  • 13,521
  • 11
  • 61
  • 126
1
vote
2 answers

`catalina.sh start` (to start tomcat) just hangs

I have tomcat6.0.37 and I am trying to start it by running catalina.sh and it just hangs there for more than 30 mins. I couldn't got localhost:8080/myapp either. Does anyone know what happened? $ ./catalina.sh run Using CATALINA_BASE: …
One Two Three
  • 22,327
  • 24
  • 73
  • 114
1
vote
0 answers

The CATALINA_HOME environment variable is not defined correctly

I know there is exact thread here. But am not finding any solution on that page. I cd to bin directory of Tomcat folder and ran startup.bat. And got this error. I echoed the environment variables below and I think they are correctly set. What could…
Mahesha999
  • 22,693
  • 29
  • 116
  • 189