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
0
votes
0 answers

Wrong time shown in catalina.out

Running in a Ubuntu 16.04, Tomcat7 and Java7_OpenJDK, I can see that in my catalina.out log, all events are shown with the incorrect time. The difference is -1 hour from what it is set on the system. Trying to be sure that timezone is correctly set…
xarmengol
  • 191
  • 1
  • 9
0
votes
1 answer

Catalina.sh gives error while setting up memory size

Whenever I run tomcat, I get this error /Library/Tomcat/bin/catalina.sh: line 236: -XX:MaxPermSize=512m: command not found though the tomcat starts after deployment but after sometime i do get outofmemory errors. I looked at catalina.sh:236 and I…
Em Ae
  • 8,167
  • 27
  • 95
  • 162
0
votes
2 answers

Log4j writes into catalina.out

I want to redirect application specific logger into a separate file from tomcat/logs/catalina.out. Here is the content of log4j.xml file content which is residing at tomcat/lib folder
Nageswaran
  • 7,481
  • 14
  • 55
  • 74
0
votes
1 answer

What's the difference between MimeHeader and Header in tomcat request?

For example, I want to get the authorization header from the request. What's the difference between the following two calls except the return type? import…
snowery
  • 468
  • 1
  • 6
  • 18
0
votes
1 answer

JDBC with MSSQL on tomcat7 catalina

I am trying to configure activiti to communicate ms-sql 2014 with windows authentication instead of with username/password in connection url. What i have done ? downloaded JDBC Driver, put sqljdbc4-3-0.jar in JAVA_HOME and in the web-info\lib put…
ilansch
  • 4,784
  • 7
  • 47
  • 96
0
votes
1 answer

Find java ee files on a VM

I'm working on a Java EE project made by someone else. They put this project in a VM and I can access to it to run the app. But the problem is that I can't find all the files of the project. Indeed, the project is using the model-view-controller…
Erlaunis
  • 1,433
  • 6
  • 32
  • 50
0
votes
1 answer

Tomcat SEVERE: Exception starting filter CorsFilter, ClassNotFoundException

I'm trying to enable CORS for my java servlet with the following class: package com.prosperity.mobile.core; import java.io.IOException; import javax.servlet.Filter; import javax.servlet.FilterChain; import javax.servlet.FilterConfig; import…
user818700
0
votes
1 answer

tomcat starts on shell but i cant get nto the browser with localhost:8080?

I have a serious problems with installing tomcat on rapsberry pi I did the following Downloaded the source Added the user raspberry in tomcat-users.xml Exectued the startup.sh In the shell it says that tomcat started but when I am trying to…
0
votes
0 answers

apache tomcat not starting while service tomcat start

I am using RHEL 7 os with this i am using apache tomcat6. while try to start it using this command i am getting this message as: Starting tomcat6: /etc/init.d/tomcat6: line 70: checkpid: command not found and at line number 70 the code is as: if…
0
votes
2 answers

Populate a datasource during the start of the spring application

I want to run some part of the code to populate the database with dummy data every time the server starts. I use Tomcat as my servlet container. My application is created using Spring. Is there a hook where I can run my code to populate the db just…
0
votes
1 answer

How to configure Servlet on Tomcat Server and fix javax.naming.NameNotFoundException?

Recently I deployed an app to Tomcat Server. It's not working because the app can't find the Servlet. I thought the servlet-class in web.xml was okay but apparently the syntax/mapping is wrong since they cant find it... web.xml
Bic Mitchun
  • 478
  • 2
  • 9
  • 21
0
votes
1 answer

org.apache.catalina.realm.RealmBase.java file located in Jboss EAP 6.3

I tried to run simple Web APP in JBoss EAP 6.3 and from the log and I saw DEBUG [org.apache.catalina.realm] (http-/127.0.0.1:8080-1) User data constraint has no restrictions This logging message is from org.apache.catalina.realm.RealmBase.java I…
user3422290
  • 253
  • 5
  • 18
0
votes
0 answers

Changing setenv.sh in tomcat6 didn't increase Heap size

In my Confluence plugin development, my local confluence instance uses tomcat6. (Confluence Version 5.6.5 , OS : Mac OS X) I need to increase the heap size from the default 512m to 1024m. I added a new setenv.sh file inside the bin directory of the…
sash
  • 1,124
  • 2
  • 15
  • 32
0
votes
1 answer

Why Tomcat's LifyCycleSupport.java use array to store listeners instead of any advanced containers(ArrayList)?

Im recently going through tomcat's source code, I found that in the LifecycleSupport.java class, it stores Listeners by simple arrays, private LifecycleListener listeners[] = new LifecycleListener[0]; so the add() method has to create a new array…
Qing
  • 1,401
  • 2
  • 21
  • 41
0
votes
1 answer

Apache tomcat catalina springsource bundle is not RESOLVED on equinox OSGi container

I have a java application in which I start Equinox OSGi container (version 3.10.1.v20140909-1633) and load apache catalina springsource bundle com.springsource.org.apache.catalina.springsource_6.0.20.S2-r5956 and other dependent bundles. Following…