Apache Tomcat is an open source software implementation of the Java Servlet and JavaServer Pages technologies released under the Apache License version 2. The Tomcat project started at Sun Microsystems and was donated by Sun to the Apache Software Foundation in 1999.

learn more… | top users | synonyms (1)

0
votes
1answer
814 views

Tomcat web application intermittent freeze

I have a Grails web application (just a standard war file) deployed on a Ubuntu 10.10 server running on tomcat 6. My database is postgresql. The problem is that every so often (once or twice a day ...
0
votes
1answer
14 views

How to selectively enable or disable SSL for some URLs in Tomcat 7

I am using SSL in Tomcat 7, create a keystore and configure server.xml, and also config in web.xml as below <security-constraint> <!-- SSL enforced --> ...
1
vote
1answer
3k views

Starting Tomcat 7 as a user - init.d script can't write pid

I want to run Tomcat 7 as a user on CentOS 6. I've created a user tomcat:tomcat and changed the ownership under /var/lib/apache-tomcat* etc... There are lots of docs online on how to do that but I ...
0
votes
1answer
12 views

IIS 7.5 JK connector to Tomcat

I have many Tomcat servers working using an older 32-bit version of the isapi_redirect.dll where I set the Default Application Pool to Enable 32-Bit Applications. On a client's server, they need to ...
0
votes
0answers
3 views

IIS ISAPI filter - Logfile rotate

See http://tomcat.apache.org/connectors-doc/reference/iis.html My settings are log_level=info log_file=C:\Program Files\Apache Software Foundation\Tomcat 8.0\logs\isapi.%Y-%m-%d.log ...
0
votes
1answer
957 views

CentOS Apache + Tomcat SSL using mod_jk

I have Apache + Tomcat (using mod_jk) working correctly on a CentOS 6.3 machine. I am trying to set up SSL with Apache. When I browse to the site I get the following output: Forbidden You don't ...
0
votes
0answers
31 views

How to reduce Tomcat response time (OR increase throughput)?

I have Tomcat 8 and MySQL 5.6 running in 2 Azure virtual machines (8 cores and 28 GB RAM). My web application provides a REST API to insert several data fields into DB. The application uses a common ...
1
vote
4answers
739 views

What's a good setup for running Java and PHP applications with SSL on the same server?

I have one Java- and one PHP-application which I both want to run on the same machine (using Tomcat). As far as I can see, I have two options: Option 1: Do the classic apache-tomcat setup with ...
8
votes
2answers
366 views

Disallowing HTTP methods on Tomcat is case sensitive?

I have put the following in the web.xml of my application to attempt to disallow PUT, DELETE, etc.: <security-constraint> <web-resource-collection> <web-resource-name>restricted ...
0
votes
0answers
171 views

Optimizing performance of Apache Tomcat serving Cognos TM1 application

I have inherited a project to optimize the performance of the Cognos TM1 application for my organization. When running reports from the web server, it takes a very long time (varies from 20-30 ...
0
votes
2answers
34 views

Apache mod_rewrite : RewriteRule to pass requests tomcat application [duplicate]

I am having difficulty defining a correct RewriteRule to forward requests to an application running in tomcat. I have apache with mod_rewrite enabled as well as tomcat setup with an application ...
0
votes
1answer
9 views

Tomcat on Windows, starting/stopping service

The Tomcat Windows Service How-To guide lists some commands to run/stop/etc the service from the command line. For example: Tomcat7 //ss// (with whatever parameters) Is there any practical ...
2
votes
1answer
275 views

Error while installing jasperserver

I am about to install a jasperserver instance on my server. This is not my first jasperserver installation and I did this already on my host system and on a lxc. But now for some reason I get ...
0
votes
1answer
809 views

Error in tomcat 7 start up

I am facing problem in starting up the tomcat zip file. I am totally new to jsp and servlets. I have installed tomcat 7.0.52 and set the path and java_home both. In one of my system its working fine ...
1
vote
1answer
1k views

Tomcat 7 ClassNotFoundException: org.apache.tomcat.JarScanner

When I try and start my app I get this error. I have verified that JarScanner exists in the CATALINA_HOME directory so I dont know why it cant find it. Is there anything that could lead to this issue ...
1
vote
3answers
2k views

Production Instance : CLOSE_WAIT Connection Issue

I am using 10EC2 Instances behind 1 ELB. And ELB configured 80 to 8080 and 443 to 8080 port. And all 10EC2 instances having installed with Apache Tomcat, total request on ELB around 8000 to 10000 in ...
1
vote
2answers
4k views

How to make Tomcat 7 log debugging info?

Tomcat 7 takes more than 21 minutes to start: ene 09, 2013 10:01:39 AM org.apache.catalina.startup.Catalina start INFO: Server startup in 1290787 ms When it finishes it says that it's scanning JARs ...
0
votes
0answers
7 views

Redirecting Particular Server Request to Another Tomcat worker

I am currently using Tomcat, Apache and mod_jk for redirecting calls from 80 to 8080 on a Ubuntu Server. Of recently one of the Servlet request (which behaves more like a heartbeat ping, but gets some ...
-1
votes
2answers
104 views

Tomcat WAR file which increments JSESSIONID on reload to test session replication [closed]

I'm currently having to configure Tomcat for the first time. For the moment, I think session replication (JSESSIONID) is working, but I have no way of knowing. Note that I've never learned to code ...
0
votes
1answer
15 views

ProxyPassReverse Not Working with 302 Redirect

I'm using Apache HTTPD to proxy a local Tomcat server: ProxyPass / http://localhost:8080/ ProxyPassReverse / http://localhost:8080/ Everything works fine except when I have a 302 redirect. For some ...
0
votes
1answer
85 views

Two tomcat instances behind apache

I have three servers. Server A is a Apache Server, Server B and C are Tomcat Servers. I added two new Virtual Hosts to the Apache 1st Host: <VirtualHost *:80> ServerName dev.domain.com ...
-1
votes
0answers
10 views

Tomcat - enable cross domain cookie [closed]

I have an application that run with Tomcat 6. It is written in Java. I host it at home on a Synology Nas and I can access it in public with the address mywebsite.synology.me I have another addresse ...
4
votes
1answer
2k views

using wildcards in host-aliases for Tomcat's virtual hosts

I want to do the following with Tomcat 5.5: *.mydomain.com should go to my webapp, located at the virtual host mydomain.com. So I have a virtual host mydomain.com, and I want all *.mydomain.com also ...
0
votes
0answers
11 views

tomcat not logging to catalina.out

We have a server running a tomcat app that's not logging to catalina.out, we've checked the filesystem permissions, everything looks fine there. the logging.properties is the same (md5sum) as on ...
1
vote
0answers
20 views

Tomcat auto deploy before war copy is complete

I have auto deploy enabled on my tomcat 7 server. I deploy the war to the tomcat webapps directory over SCP from my Jenkins server. The problem is that Tomcat sometimes tries to unpack the WAR while ...
0
votes
1answer
1k views

Losing JSESSIONID when using ProxyHTMLURLMap

I've setup a reverse proxy between an Apache front-end and multiple Tomcat backends. The below block of code includes the ProxyHTMLURLMap param so that the HTML can be rewritten to remove the Tomcat ...
0
votes
1answer
2k views

Simple setup for load-balanced and fail-over tomcat?

Being new to Tomcat infrastructure, I am wondering what an advisable setup would be to have two physical machines each running a tomcat instance to be load-balanced and capable of failover to each ...
2
votes
1answer
23 views

Tomcat installation, where to set environmantal variables?

I am working my way through the RUNNING.txt file for installing Tomcat. It says: (3.1) Set CATALINA_HOME (required) and CATALINA_BASE (optional) The CATALINA_HOME environment variable should be ...
1
vote
0answers
25 views

Apache reverse proxy context to Tomcat without a context

I have an Apache instance and two Tomcat instances. Apache is public facing https://public_url/app1 and https://public_url/app2 and should pass each context to the respective Tomcat instance. One of ...
0
votes
1answer
830 views

How to diagnose Tomcat 6 suddenly stop responding?

I run a number of tomcat instances and occasionally some just stop reponding to requests - timeout on every connection. I'm using AJP with mod_proxy in Apache 2.2. I get a timeout via Apache/AJP ...
2
votes
0answers
39 views

Efficient setup for fronting application servers with Apache

I have to front various application servers (in the beginning this will be JBoss 6, Tomcat 8 standalone and Tomcat 8 embedded into spring boot 1.2 apps) with an Apache 2.4. Because of this I decided ...
1
vote
1answer
70 views

Apache Reverse Proxy setting for site having Spring Security

I am having a Spring MVC app which uses Spring Security for login. I am using Apache Webserver as Proxy and Tomcat. Below is my /etc/apache2/sites-enabled/example.com.conf file: ServerAdmin ...
0
votes
0answers
31 views

Ubuntu 14.04: tomcat7 permission denied

I have been running a tomcat7 application on my Ubuntu machine and everything worked fine. Since some time, probably after a system update, I'm getting strange permission denied errors and I'm quite ...
1
vote
3answers
2k views

Extremely slow startup of tomcat

I have a tomcat 7 installation on a Solaris 10 server. My problem is that starting the server (or deploying a new war) is extremely slow. It usually take 30 - 60 minutes. The war application is a ...
0
votes
1answer
819 views

Tomcat uninstall problems

I am using "apt-get remove tomcat6" to remove tomcat.It gives this outout and tomcat still running on my system: Reading package lists... Done Building dependency tree Reading state ...
1
vote
1answer
2k views

Tomcat fails to start, no logs or error provided

I have a Centos5 box running tomcat5 (a version before 5.5, there's no bin/version.sh script). When attempting to start tomcat, whether through init.d or service, I get the FAILED message with no ...
1
vote
2answers
6k views

Why - Could not find worker with name 'jk-manager' in uri map post processing?

I am using apache2 + mod_jk(ajp protocol) + tomcat7. but I always get the error below: [Sat Mar 30 17:30:54.691 2013] [25238:3074365824] [info] init_jk::mod_jk.c (3365): mod_jk/1.2.37 initialized ...
-1
votes
1answer
18 views

JIRA Usage on AWS

I just set up JIRA on my ec2 instance after installing it via .bin installer file. But when I hit the ec2 url: ec2-xxxxx.xxxxx.amazonaws.com It is hitting the test success page for apache2 which I ...
0
votes
2answers
926 views

Starting Automatically Tomcat 7 Monitor Windows 7 / Vista

Anybody knows how is possible to start automatically Tomcat's Monitor? Tomcatw.exe with the service's Tomcat? I tried but, it does not start. I was trying to install like windows Services manually, ...
0
votes
0answers
576 views

High outbound network traffic on Tomcat under process nodeJR [duplicate]

We are investigating high outbound traffic on Tomcat servers hosted on AWS instances. The specific question I have is what the process nodeJR is - and how it could get installed under Tomcat? The ...
1
vote
0answers
19 views

IIS Reverse Proxy to Tomcat uppercase path

We have an application being served by Tomcat 7 on port 8080. We want users to use SSL. So we are using IIS 8 as a Reverse Proxy to proxy connection from port 443 to port 8080. This is what we are ...
0
votes
1answer
39 views

Tomcat, Apache, MySQL tuning

I am currently using AWS infrastructure to host my mobile web application. I use Apache Web Server, mod_jk to pass on requests to Tomcat which further communicates with MySQL DB using connection pool. ...
6
votes
2answers
9k views

How do I disable SSLv3 support in Apache Tomcat?

I am trying to reconfigure my Apache Tomcat server to only use TLSv1. However, it is still falling back to SSLv3 using certain browsers. I setup the <connector> tag with the following settings: ...
0
votes
1answer
814 views

How to use mod_proxy to let my index of Apache go to Tomcat ROOT and be able to browse my other Apache sites

I am trying to use my Tomcat application (deployed at ROOT) to be viewed from Apache port 80. To do this, I used mod_proxy, since mod_jk made me try harder. I used sth like this in httpd.conf: ...
0
votes
1answer
2k views

Why Tomcat7 gives 404 for localhost:8080/

I had Tomcat working on my PC, it stopped working, couldn't debug. So, did a reinstall but it doesn't seem to work yet. I have installed ver 7.0.52 and have startup script taken from here. The ...
8
votes
2answers
2k views

Tomcat 7 trailing slash issue with webapps

Recently I upgraded my tomcat server from 6.x version to the most recent 7.x version. I came up with little trouble, hoping to get help. I have an application calls MyApp On tomcat6, when I went to ...
8
votes
3answers
29k views

How do I disable tomcat caching? I'm having weird static file problems

How do I prevent tomcat from caching? I have css and basic html files that I load and use via ajax, and unless I restart tomcat, the changes do not seem to reflect. Different machines, different ...
0
votes
1answer
16 views

Why tomcat on linux needs to build APR and not download

I am trying to install APR on Ubuntu Linux. I found that tomcat provides a downloadable APR package for windows but i cannot find a downloadable version for Linux. The tomcat site gives instructions ...
3
votes
3answers
84 views

tomcat8 from wheezy-backports fails with configtest.sh

I have installed tomcat8 package from wheezy-backports. I use the default / unmodified installation with the following expections: I use Oracle Java 8 JDK in /etc/default/tomcat8 is added: ...
0
votes
2answers
944 views

Apache reverse proxy with VirtualHost not serving a page

I have an Apache reverse proxy set to move requests to a Tomcat Applet. The config is similar to: <VirtualHost 100.100.100.100:80> ProxyPass /AppName/App http://1.1.1.1/AppName/App ...