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

3
votes
2answers
233 views

Apache webserver & Tomcat : Runing multiple tomcat webapps and apache webserver app at same time

We have a Debian X64 server which currently has a tomcat instance where we have 3 webapps in WAR file ofcourse. Also, we have an Apache webserver, which has one CMS system running. And one final ...
3
votes
3answers
1k views

Directing DNS to different ports

Greetings all, I have a server with two tomcat services (one being run on port 80, the other 8080). What I'm wanting to achieve is to have two different DNS records for these two ports, so they'll ...
3
votes
2answers
593 views

tomcat6 behind xinetd - real client ip

In server.xml, at the Connector I specify proxyPort as 80. Here's the xinetd service: service http { socket_type = stream protocol = tcp user = tomcat6 ...
3
votes
4answers
2k views

Tomcat denial of service

The last two days our Tomcat 5.5 Linux-based webserver has been broken down within minutes by starting thousands of downloads and stopping them. Some request paths in the access log end with a "?...
2
votes
1answer
2k views

Allow traffic on one port from one IP address with iptables

I am using the following iptables rule to try allowing access to port 8080 from one IP address: iptables -A INPUT -s 12.34.56.78 -p tcp -m tcp --dport 8080 -j ACCEPT However, this rule isn't working....
2
votes
2answers
682 views

Tomcat crashing after a few hours

I'm running a CentOS 6.5 64 bit OS with Tomcat and one web application. I use Apache (httpd) as a reverse proxy (ProxyPass) to the application. Until recently, it (Tomcat) has been running fine ...
2
votes
2answers
4k 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 ...
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 ...
2
votes
2answers
15k 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 ...
1
vote
3answers
1k views

HOWTO run Wordpress site along with Tomcat web aplication on the same server

I am building a solution where the CMS part of the site (i.e. About US, Contact etc) will be run on Wordpress & the private pages will be a Java-Servlet based stack run on Tomcat 7. Both of these ...
1
vote
1answer
1k 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
1k 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
316 views

Tomcat solution on https://weakdh.org has typos?

Do the non-GCM ciphers listed for the Tomcat fix on https://weakdh.org/sysadmin.html have typos? Under "Apache Tomcat" heading and below the text "In the server.xml file (for JSSE)" there is the ...
1
vote
2answers
436 views

Application Server vs. Web Server?

I asked my teacher in class that Java Server Faces will work on Apache Tomcat. But he then corrected me saying that Tomcat is a Web Server not an Application Server, hence it will not run Java Server ...
1
vote
1answer
84 views

Connect to a Tomcat Server from nginx as reverse proxy

I have a Tomcat server serving a web application and I have a Nginx server running in front of it as a reverse proxy. As an answer to my earlier question (Tomcat server behind nginx reverse proxy - ...
1
vote
2answers
957 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
1answer
59 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 ...
0
votes
2answers
4k 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 (httpd-2.2....
0
votes
1answer
644 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
1answer
68 views

Tomcat server behind nginx reverse proxy - how to block direct access to the server?

This may be a noob question but I'm still learning about web servers and reverse proxy setups. I have two servers running on the same network - one Tomcat and another one Nginx which I intend to use a ...
0
votes
2answers
4k 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
1answer
943 views

solr core reload without an tomcat restart

I want to really often the synonyms_*.txt in the solr server. I have 2 cores. One for the production System and one the staging. I copy with incron and scp the new generated synonymes to the solr ...
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
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
1answer
652 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 / ajp://...
0
votes
3answers
814 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 ...
0
votes
2answers
1k views

EC2 instance running apache tomcat not accessible from outside

I have a 64-bit amazon linux instance in aws. I am running apache tomcat6 running on that machine. sudo fuser -v -n tcp 8080 USER PID ACCESS COMMAND 8080/tcp: ...
0
votes
1answer
165 views

Apache not proxying HTTPS requests to tomcat

Centos 7, Apache 2.4, TomCat 7.0.52, Java 1.7 I am trying to configure Apache to proxy a tomcat server (running Jira / Confluence) using HTTPS: (HTTPS:443) -> ApacheServer -> (HTTP:8090 or HTTPS:...
0
votes
3answers
3k views

Can not connect to tomcat server externally, [closed]

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
867 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
748 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" />...