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

SEVERE: Begin event threw error java.lang.ExceptionInInitializerError Intellij/Tomcat

I got a new project which I wanted to work with in Intellij. As local server we use Tomcat 7.0.68 and JDK 1.8. This is my configuration in…
0
votes
1 answer

Avoid jvmOptions in Tomcat's service.bat and use JAVA_OPTS which is set in catalina.bat

I want to bypass setting of JVMOptions in service.bat while creating tomcat service and use JAVA_OPTS set in catalina.bat starting service. This is to avoid setting same jvm arguments twice as we can start using service or startup.bat Is this…
kusumat
  • 319
  • 3
  • 9
  • 21
0
votes
1 answer

How to configure common.loader property in catalina.properties file in Tomcat 7

I am upgrading an app with an embedded Tomcat 5.5.X to use Tomcat 7.0.X. The app has a folder ${catalina.home}/common/lib containing .jar files that are shared across web apps. If I change the common.loader property to include this directory as…
Andy
  • 99
  • 10
0
votes
1 answer

What is difference in ways Tomcat shuts down?

I have a Tomcat 9.0.0 on a Win7. And I have two ways to shut down the server: Hit Ctrl+C in the server console Run catalina stop command Still I observe different behaviour - while first way successfully shuts down the second leaves server process…
0
votes
2 answers

Tomcat enable CORS: POST request from Safari returns 200, Chrome and Firefox return 403

I have backend running on Tomcat 8.5, Java Spring on Amazon EC2 instance. I make a POST request from my React app. The requests from Chrome and Firefox return 403, while the request from Safari returns 200 and the expected data. After some research…
HarshvardhanSharma
  • 754
  • 2
  • 14
  • 28
0
votes
1 answer

Having both TomEE and Tomcat run on Windows in respect to CATALINA_HOME env variable

While I am aware that one can have a single binary and multiple instances of Tomcat (or TomeEE respectively) running by setting up CATALINA_BASE env variable for separate configurations, I wonder if the same is true for having both Tomcat and…
developer10
  • 1,450
  • 2
  • 15
  • 31
0
votes
0 answers

Why can't I log in to the status page tomcat or manager app page in tomcat from a clean install?

Why can't I log in to the status page tomcat or manager app page in tomcat from a clean install? So I go to get a tomcat version like here :http://mirror.olnevhost.net/pub/apache/tomcat/tomcat-7/v7.0.92/bin/apache-tomcat-7.0.92-windows-x86.zip This…
ark angel
  • 9
  • 4
0
votes
1 answer

Apache, catalina keeps saying stackoverflow

Caused by: java.lang.IllegalStateException: Unable to complete the scan for annotations for web application [] due to a StackOverflowError. Possible root causes include a too low setting for -Xss and illegal cyclic inheritance dependencies. The…
XDen23333
  • 79
  • 6
0
votes
1 answer

Wrong server version being displayed when checking tomcat version (version.sh)

Hi all hope you can give some clues. This is driving me insane. So, when I run version.sh to check which tomcat is running i get the below block. As you can see under "server version" I get 7.0.64 not 7.0.69. How do I change this? I have another…
Cenzo
  • 497
  • 1
  • 4
  • 11
0
votes
1 answer

Tomcat Set CATALINA_OPTS in Windows Batch File

I'm trying to run a local instance of an application that runs on Tomcat 8.5. Remotely the application runs on a Linux machine, but I need to specify the CATALINA_OPTS in a Windows batch file. How would I specify (or rewrite) the following options…
Oscar
  • 31
  • 3
0
votes
1 answer

Apache Tomcat Cataline file changes not reflecting!

I am using apache-tomcat-6.0.18 on windows xp prefossional SP3. My requirement is to show additional information ( like Organization Name) in the Tomcat Manager => Server Status => in between the JVM and http- Header. I have modified the file…
RajeshS
  • 170
  • 3
  • 9
0
votes
1 answer

bash catenate strings right to left

I'm debugging this catalina.sh script, at this point: echo "$CATALINA_HOME" echo "dot " . echo "179" if [ -r "$CATALINA_HOME"/bin/setclasspath.sh ]; then echo "qui 81" . "$CATALINA_HOME"/bin/setclasspath.sh else echo "185" …
DDS
  • 2,340
  • 16
  • 34
0
votes
1 answer

Fast-growing log file under tomcat 8.0

I have a question regarding tomcat in version 8.0. I have a fast growing catalina.out log file. Where can I find the setting so that the log only grows to a certain size or maybe I can disable logging into catalina.out at all?
0
votes
1 answer

how to config tomcat to serve xml files directly

I build an application which uses angular.js as frontend and spring as backend. my problem is that catalina doesn't serve xml files directly (it's okay with html or txt files but not xml) so it goes to my angular app and it returns 404 . How can i…
bersam
  • 414
  • 3
  • 12
0
votes
1 answer

Set a server context path for tomcat when launching in a docker container

I am running tomcat in a docker container like this FROM myregistry/cfw-deploy-base COPY ./my.war /opt/tomcat/webapps/ ENV JAVA_OPTS="" CMD ["/opt/tomcat/bin/catalina.sh", "run"] However, the context path is set based on the war file name (my in…
kosta
  • 4,302
  • 10
  • 50
  • 104