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

2
votes
2answers
12k views

How to run tomcat6 on ubuntu as root?

I've got an existing software package that runs on Ubuntu that uses a chroot jail and so needs to be run as root. I want to exec this from a java web application running within Tomcat6 on Ubuntu, so ...
2
votes
3answers
2k views

Replace single file on tomcat-deployed war

I'd like to know how to configure tomcat 6 in order to be able to replace a file from a war - for instance an image or a jsp - so I don't need to restart the server to keep it updated. I assume I'll ...
2
votes
2answers
2k views

JSP / Tomcat / Apache setup overview on Fedora Core

For someone with so much Java experience, boy do I feel clueless - thanks in advance for your help in my grocking the present (Feb, 2010) JSP environment. Here's what I am hoping to learn: Do I ...
1
vote
1answer
5k views

Nginx as a proxy for tomcat with subdirectory

I want to set up a Nginx Proxy for the Tomcat server with my domain name such as example.com/demo/sample example.com/demo/manager example.com/demo/other_apps ... Here is my Nginx server block ...
1
vote
1answer
757 views

gzip compression using mod_deflate apache with tomcat

I'm trying to enable gzip compression in my Apache server which is fronting a Tomcat instance using a connector. I tried several variants of the module configuration settings in my httpd.conf. Here is ...
1
vote
1answer
911 views

AWS: network ACL blocks outbound traffic

I am implementing a REST service in Amazon AWS. The internal servlets listen on numerous ports like 8080 and 9000, and an Apache configured as a reverse proxy serves them with proper URL schema using ...
1
vote
1answer
55 views

Hosting 2 versions of the same Java website in tomact

I have a website set up in a unix server. I work in a team with two more developers who also work on the website. The requirement is running two or more versions of the same site from two different ...
1
vote
1answer
385 views

Tomcat Workers - Connecting Tomcat and Apache

I'm trying to resolve an issue about connecting Apache-HTTPD and Tomcat with mod_proxy_ajp. From reading I found that the problem might be the number of workers in HTTPD and Tomcat. So I try to find ...
1
vote
2answers
690 views

How to read the scale of the munin monitoring system, tomcat accesses by day graph

The tomcat accesses by day graph in munin has a y axis that shows "accesses / second", and currently shows "66 m". It can't be 66 million accesses per second, a single server couldn't return that ...
1
vote
4answers
796 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 ...
1
vote
1answer
7k views

Custom error pages on Apache Tomcat

I'm running an Apache Tomcat server with 2 custom servlets. The tree structure looks like: $CATALINA_HOME/webapps/ ROOT/ WEB-INF/ servlet1/ META-INF/ ...
1
vote
2answers
3k views

How do I run strace or ltrace on Tomcat Catalina?

Running ltrace isn't trivial. This RHEL 5.3 system has based on a Tomcat Catalina (servlet container) which uses text scripts to tie everything together. When I tried to find an executable here's the ...
1
vote
2answers
1k views

Tomcat Custom MBean

Does anyone know how to deploy a custom MBean to Tomcat? So far I`ve found this http://www.junlu.com/list/3/8871.html. I copied my jar with my MBean to Tomcat lib directory so the Custom class loader ...
0
votes
2answers
33 views

Hide/mask tomcat from open access

How to mask tomcat app adress from public access easily. Let's say we run it on default port 8080. So myapp.com:8080 is easy to scan, whatever port we use it's no problem. Lockoutrealm that tomcat ...
0
votes
2answers
434 views

Tomcat and IIS 7 both on different ip's and different ports

I have Tomcat and IIS 7 installed together on a Windows 2008 server. The machine has two IPs (134.133.1.1 and 134.133.2.2). I want Tomcat to handle 134.133.1.1, on port 80, and IIS to handle both ...
0
votes
1answer
140 views

tomcat webapp context alias

I want to make a webapp running in a tomcat available under multiple contexts. http://localhost:8080/foo should also be available under http://localhost:8080/bar but I do not want to have a ...
0
votes
2answers
274 views

Tomcat running but not opening any ports and don't log anything

I have installed tomcat6 on Debian and it was running properly after installation from apt-get, but not after restart. I launch by /etc/init.d/tomcat6 start (or restart), but netstat do not show ...
0
votes
2answers
387 views

Railo-Tomcat on existing Apache PHP server

I need to run ColdFusion apps on my existing PHP server (Linux). I installed railo with tomcat on the server, but Railo is hogging all the traffic. I want it installed such that only requests to files ...
0
votes
1answer
456 views

Question about the syntax of the ProxyPass directive

All over the internet I see examples of people using ProxyPass, where the syntax looks something like this: <Location /> ProxyPass / ajp://localhost:8009/ ProxyPassReverse / ...
0
votes
1answer
2k views

How to redirect traffic on port 80 to Tomcat port 8080 whilst still allowing the server to send/receive on port 80

I have a web application running on a Linux box using Tomcat6. I have setup port forwarding so that any requests on port 80 get redirected to port 8080 which works fine. The problem I have is that ...
0
votes
1answer
695 views

tomcat6 maxThreads property ignored

Hi in tomcat6 server.xml I have one connector for catalina service. And I set maxThreads=5: <Service name="Catalina"> <Connector port="8090" maxThreads="5" protocol="HTTP/1.1" ...
0
votes
1answer
1k views

Tomcat Apache not working on Win7

I have installed Tomcat Apache 6.0 onto my system after downloading it from http://tomcat.apache.org/download-55.cgi using the Windows installer I install the system. But after successful ...
0
votes
1answer
521 views

delay on tomcat writing to logs in windows server 2008

I recently moved a tomcat app from tomcat 5 on windows server 2003 to tomcat 6 under windows server 2008. Now there is a delay writing to the log files. This is for both stdout and acceess logs. For ...
0
votes
2answers
3k views

Tomcat behind Apache httpd with SSL and client-certificates

I try to evaluate a infrastructure for a customer on my local win32 machine. The infrastructure should be based on a j2ee webapp running on a tomcat (6.0.20+), behind a secur apache httpd ...
0
votes
3answers
3k views

Can not connect to tomcat server externally,

My Tomcat server is running on virtual server, this server is running on fedora machine. I have setted up everything on this machine to run tomcat, tomcat working well on local host. but i can not ...
0
votes
2answers
3k views

Increasing Java's heapspace in Tomcat startup script

I want to increase my heap size when using Tomcat. I was told to add this line export CATALINA_OPTS=-Xms16m -Xmx256m; In to the startup.sh script - I did so (at the beginning) but got the error ...
0
votes
2answers
2k views

Running two independent tomcats on one machine, instead of one tomcat with multiple instances

due to operational need following is the scenario. Two applications running on one machine, operating system is Windows 2003 standard server edition. Application A comes packaged with tomcat ...
0
votes
3answers
781 views

Filesystems for webserver with SATA and Solid State disk,

We have just ordered a new webserver with 120 Gb solid state disk and a SATA disk. I am trying to plan ahead what sort of filesystem to use. This system will be running Linux, Apache/Tomcat to host ...