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

Java Servlet - Null Pointer Exception & .jar not loaded

So my situation is a bit odd because I am looking at a server with no access to the source code. Everything regarding the servlets has worked fine up until now, but there is this sudden, spontaneous error that has come up regarding one of the Java…
user3075099
  • 89
  • 1
  • 10
0
votes
1 answer

Where to upload files in Jboss and later download them?

We are moving one web app from Tomcat 7.0 to Jboss 7.1. In this web app there is a possibility to upload documents by the users. These documents can be then downloaded or deleted by the users as well. The documents have been stored within the web…
LubosD
  • 222
  • 4
  • 11
0
votes
1 answer

ERROR: Catalina_Home Variable is not define correctly in this environment

I just trying to running tomcat on my PC, but I got this error Catalina_Home Variable is not define correctly in this environment FYI: I have tried to search about the error and find some information about this error. But, unfortunatelly, that…
user1814734
  • 149
  • 6
  • 14
0
votes
1 answer

Redirect host ip to load balancer in apache tomcat cluster

I have a load balancing cluster set up with Apache 2.2 and Tomcat 7 nodes. I know clients wouldn't normally know the IP of the nodes, but I'm curious if there is a way to configure the nodes to redirect requests to the load balancer. Part of this…
user1394451
  • 93
  • 1
  • 3
0
votes
1 answer

Tomcat instruction: translation from .bat to .sh

I'm trying to setup SSL communcation for an application that uses a tomcat server. Unfortunately, the instructions are for the Windows version but the server I'm working on runs SUSE Linux. Here's the batch Script and here the shell script. The…
helm
  • 713
  • 2
  • 16
  • 30
0
votes
1 answer

How to fetch values from catalina.properties to jsp

I want to put all the values in the catalina.properties and want to use them in jsp instead of having another property file. Can anyone tell me how to do that. Right now I'm using system.getProperty("variable name","default value") but it is not…
0
votes
0 answers

How do I change Tomcat to output my webapps logs?

I have catalina, localhost and host-manager in my logs folder, and it logs out various things except from my webapps. This is installed on Windows. Another server that runs linux and Tomcat log webapps logs. Is there any configuration I need to…
Simon Zettervall
  • 1,764
  • 1
  • 15
  • 31
0
votes
2 answers

CATALINA_OPTS Debugging Options

I want to use below code to start the apache-tomcat, #!/bin/bash DUMPSPATH='/home/tomcat/dumps' export CATALINA_OPTS='-Djava.awt.headless=true -Dfile.encoding=UTF-8 -XX:ErrorFile=$DUMPSPATH/hs_err_pid%p.log -XX:+HeapDumpOnOutOfMemoryError…
user2114835
0
votes
0 answers

Running multiple instances of Tomcat 7

I'm trying to get multiple instances of tomcat 7 running on the same server. However, it doesn't seem to be working I've set the new instance to be on port…
Daniel
  • 458
  • 7
  • 21
0
votes
1 answer

Modifying startup script for tomcat deployment using Maven

I am using a profiling tool, which gets loaded as and when I startup Tomcat with the application war file placed in the webapps directory. So once I run startup, my classes get instrumented and everything works fine. But for this, I am taking the…
Chillax
  • 4,418
  • 21
  • 56
  • 91
0
votes
2 answers

How does URIEncoding = 'UTF-8' work?

When I view the tomcat source code at http://grepcode.com/file/repo1.maven.org/maven2/org.apache.tomcat/tomcat-catalina/7.0.0/org/apache/catalina/connector/Request.java#Request.parseParameters%28%29 I can't find where to set encoding for the…
melo
  • 83
  • 2
  • 2
  • 5
0
votes
1 answer

catalina.home not being recognized by intellij

I am using a property place holder to reference a file, it works when deployed, but intellij is not picking up the catalina home. I have tried setting windows environment varibale and path in intellij ide settings, makes no difference still shows an…
NimChimpsky
  • 46,453
  • 60
  • 198
  • 311
0
votes
0 answers

How to print Runtime Exception to catalina.out in Tomcat?

This problem bother me quite a lot. When runtime exception, like Null Pointer or Incompatible Class, happens, my tomcat always quit silently, leaving nothing in log. This make debugging much harder. So I wanna these runtime printed into…
qiuxiafei
  • 5,827
  • 5
  • 30
  • 43
0
votes
1 answer

What can cause this exception in apache camel

I get this exception at runtime: org.apache.camel.RuntimeCamelException: java.lang.IllegalArgumentException: connectionFactory must be specified at org.apache.camel.util.ObjectHelper.wrapRuntimeCamelException(ObjectHelper.java:1280) at…
CosminO
  • 5,018
  • 6
  • 28
  • 50
0
votes
1 answer

Unable to get Tomcat Home Page

I enter the following URL http://localhost:8081 in my browser and end up with a connection error. After starting tomcat using the catalina script, I get a blank page. Any one have any idea why it so?
sam
1 2 3
23
24