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)

2
votes
1answer
80 views

Will JSP Modification remain after Tomcat restart?

A war file is deployed in Tomcat 6 on Solaris 10. antiResourceLocking is not set to true. A change is to be made to a JSP in the application folder(exploded from the war file). No restart is made. If ...
2
votes
2answers
48 views

I want people over my network to be able to see my local Tomcat session

In my previous job, I remember that if I launched tomcat, if someone else went to myname.companyName.com it would be the equivalent of me going to http://localhost:tomcatport but only if we were ...
2
votes
1answer
281 views

Best Practice for Managing Tomcat Instances

We are in the process of moving our Java app servers from Resin to Tomcat running on RHEL4 - this is has been forced on us by changes adopted by our third party vendor. I want to make sure we are ...
2
votes
3answers
8k views

Can't auto deploy war in tomcat

I've been giving this thing a try for the last 3 hours and nothing. I need to drop a new war and have tomcat autodeploy it. It is not happening. Here is my simplified configuration: server.xml ...
2
votes
2answers
277 views

SuExec for Tomcat?

We're running a (cPanel/WHM based) server which contains mainly PHP applications. They are executed with the permissions of their owner with the suExec component of Apache. We're looking into moving ...
2
votes
1answer
1k views

Where does Tomcat cache my taglib .jar files?

I'm deploying a .jar file to a tomcat instance (we're running 6.0.18 on Redhat linux) and according to the log output the old .jar is still being used. I've restarted everthing I can think of, have ...
2
votes
3answers
9k views

Problem with tomcat and getLocalHost exception

I'm running a Linux server named S1 in a "cloud" server, and when tomcat 6.0.24 starts, I get the exception: org.apache.catalina.connector.Connector pause SEVERE: Protocol handler pause failed ...
2
votes
2answers
3k views

Hudson fails to start in tomcat5

Hudson is a continuous integration engine that runs as a Java Servlet in tomcat. https://hudson.dev.java.net/ I have Tomcat 5.5 successfully installed on my CentOS 5.3 system. I can see and interact ...
2
votes
1answer
843 views

How can I deploy a ClickOnce application via Tomcat?

We're in the need of deploying a .NET clickonce application through an Apacke Tomcat 6. server. Does anyone have any tips or caveats for setting this up ? (Or is ist just so straight foreward I don't ...
2
votes
2answers
292 views

Connecting Tomcat and IIS

When running on Linux I know how to connect Tomcat to Apache. But how is it done when running Windows and IIS?
2
votes
1answer
132 views

Tomcat network access using windows login credential

I have the strange issue with tomcat. I am using alfresco 4.2 e which uses tomcat. My system is Windows 7 Enterprise 64 bit . Alfresco uses network location of our server filer to store the files. ...
2
votes
1answer
2k views

Port 80 redirects to CPanel's /cgi-sys/defaultwebpage.cgi even after forwarding

I recently took over the management of a website using a pure Tomcat 6 server (i.e. no combination Tomcat+Apache) with CPanel installed, which is only accessible on port 8088 (i.e. the main page URL ...
2
votes
1answer
135 views

Why does mod_rewrite not reprocess rewritten paths?

I'm doing a path rewrite to set and environment variable that will cause mod_jk to use a specific JBoss server. Works perfectly with any of the application paths. When I try our monitoring servelet ...
2
votes
1answer
526 views

Backporting tomcat7 for Debian squeeze

I am creating .deb installation packages for our software, which has a dependency on tomcat7. Unfortunately, this package is not present in Debian squeeze, which ships only with the package tomcat6. ...
2
votes
1answer
178 views

multiple instances of tomcat versus virtual host

All servers in my project are running multiple instances of tomcat. I personally feel this setup would cause a JVM overhead. Is there any advantage of running multiple instances of tomcat over using ...
2
votes
1answer
3k views

Keytool import certificate fails “Public keys in reply and keystore don't match”

I'm importing a SSL certificate to use in Tomcat in my keystore using keytool and it fails with "Public keys in reply and keystore don't match" Problem might be declared by the fact that I created a ...
2
votes
2answers
824 views

Tomcat connection errors with too many users

I am load testing an app that runs on Tomcat (6.0.33). As I increase the number of users I start to get connection problems. Here is what jMeter returns. I am pretty new to Tomcat, can anyone give any ...
2
votes
1answer
129 views

Tomcat 7: Include virtual host definitions from a directory?

I'm setting up a new Tomcat 7.0.33 server, and I'm looking for a simple way to include a directory full of virtual host definition XML files for configuration. I've found that it's possible to do XML ...
2
votes
3answers
1k views

Reboot if tomcat7 service is not responding

I am running a web app on a Tomcat server. There is a hard-to-detect problem within the server code that causes it to crash once or twice everyday. I will dig in to correct it when I have time. But ...
2
votes
1answer
1k views

Tomcat 7 on Ubuntu 12.04 startup issues

I am having trouble getting tomcat 7 to start up on my new VPS. I am really scratching my head since I have done this often. So I'm thinking it might be the VPS. I just got a new VPS from CINFU. ...
2
votes
1answer
828 views

how to disable mod_jk log completely?

My mod_jk.log gets 2MB bigger in an hour and all it has entries like : [Mon Aug 13 10:51:28 2012] ajp13 www.my_site.com 0.690152 [Mon Aug 13 10:51:28 2012] ajp13 www.my_site.com 0.002675 [Mon Aug 13 ...
2
votes
1answer
448 views

how to configure SSL for a Tomcat web application hosted on Azure?

i need to enable SSL on a tomcat web application which is hosted on Azure. i managed to enable SSL on the standalone tomcat web app using this info: tomcat.apache.org/tomcat-7.0-doc/ssl-howto.html ...
2
votes
1answer
3k views

Tomcat directly serve static (css, js) files shared by multiple applications

I'm using the ExtJS framework which has a bulk of js and css files that are used for all apps. I intend to share these between a number of web applications (different war files). For this reason I ...
2
votes
2answers
253 views

Start tomcat webapp with root privileges

I built a webapp that uses libpcap (via jpcap). In order to be able to get the network interfaces list or to bind to a network interface, the application (in this case a webaap that runs from tomcat ...
2
votes
2answers
523 views

Installing/Configuring PHP to work with tomcat5 and mysql on CentOS

I need to install php on a CentOS machine and configure it to work with tomcat5 and mysql Anyone know how i can do this? the home folder for tomcat and mysql is /usr/share/tomcat5 /usr/share/mysql ...
2
votes
1answer
3k views

Configure tomcat 7 with netbeans on ubuntu

How can i configure tomcat 7 to work with netbeans. Looking around various forums, it appears ubuntu has an unusual installation pattern, but i cant find a definitive answer as to how i can get it ...
2
votes
2answers
362 views

Apache + Tomcat giving error 500 for non-browser agents (Struts2)

I've got an Apache WebServer + Tomcat 7 serving Struts2 web pages. It works without problems when I use any web browser, but when I try to access a web page using W3C validator or Facebook Lint, the ...
2
votes
1answer
1k views

HTTP 404 - /docs/appdev/ on fresh netbeans tomcat 7 install

As part of re-installing NetBeans 7.0.1, I had Tomcat 7.0.14 installed too on my PC. I created a manager role too. I can access http://localhost:8084/manager/html successfully. <role ...
2
votes
3answers
275 views

Assign Different port number for 1 website alone on Linux Server with multisite on single IP

I have Linux VPS. Configuration Linux CentOS with cPanel Default port :80 Servers running Apache for PHP (default in cPanel) Tomcat 5.5.33 I have a only 1 IP alloted for it. Have multiple domains ...
2
votes
3answers
226 views

When to run apache httpd + tomcat?

What are the primary benefits of running apache httpd in front of tomcat? Are the benefits worth the extra setup and complexity?
2
votes
2answers
3k views

shutting down tomcat process smoothly in Linux

This has been bugging me for a while. In my JSF development cycle, I do a lot of tomcat reload and sometimes to the point of restarting tomcat. I notice that at times, shutting down tomcat using ...
2
votes
1answer
154 views

Change hostname in hyperlinks in email generated by Atlassian Confluence

I have an instance of Atlassian Confluence fronted by Apache using mod_proxy_ajp to pass inbound port 80 requests to 8080 on tomcat. Let's say the url users use is http://www.mywiki.com/confluence/. ...
2
votes
1answer
1k views

Tomcat JMX Monitoring - Busy Threads?

I'm trying to monitor Tomcat 6.0 using JMX. Specifically, I want to monitor the number of active threads servicing requests so I can get an alert if it approaches the maximum. While I have JMX ...
2
votes
1answer
414 views

How do I deploy two zend frame work based apps in apache2 like the one in tomcat

I have two Zend framework applications called finance and fleet. Both of them have the same .htaccess file as indicated below RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} -s [OR] ...
2
votes
1answer
2k views

Using javamail under tomcat (centos 5.5)

So this could be a fun question. I installed tomcat5 on centos 5.5 x64, and am able to get it up and running and whatnot. My issue is that one of the webapps needs to use javamail, however in the ...
2
votes
1answer
3k views

Import private key and certificate into Tomcat?

I've just purchased a wildcard SSL cert (AlphaSSL) which I'd like to install on a box running Tomcat, to replace the existing SSL certificate. I have the cert, the private key, the CA Root, the ...
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 ...
2
votes
1answer
435 views

Is FarmWarDeployer compatible with Tomcat 7?

Can I use FarmWarDeployer with TomCat 7? Or will I have to use Tomcat 5.5? Are there any other alternatives?
2
votes
2answers
505 views

Tomcat 6 init.d/SysV script

I have a custom Tomcat 6 installation on an Ubuntu box. I'm trying to get it to start on system boot, but can't seem to find a script to put in /etc/init.d. Where can I find one? Or how do I write it ...
2
votes
2answers
718 views

Hardening non-root standalone Linux Tomcat install

I want to know if you have any tips as to how to strengthen the security of a non-root install of Tomcat in standalone mode once Tomcat is already installed in a non-root account, in standalone mode. ...
2
votes
1answer
3k views

Keep-Alive header not sent from Tomcat 5.5 http connector?

We're currently using a hardware load balancer, which then goes to Apache and that then goes to Tomcat 5.5 via the AJP connector. We've decided to dump apache for various reasons - In our current ...
2
votes
6answers
2k views

Basic iptables for a webserver: SSL Tomcat, postgres, ssh and that's it

This is probably as basic as it gets but I'm a developer and really have no experience with iptbles. The only connections I need opened are: eth0 (outward facing) ssh ping SSL to tomcat (forward ...
2
votes
1answer
961 views

Tomcat hangs in shutdown

I have a Tomcat server that won't shut down. It is listening on the correct port (8005, for this one) to receive the SHUTDOWN command. I can issue that command, either with the bin/shutdown.sh ...
2
votes
2answers
2k views

tomcat 6 start mode setting for production

Tomcat 6 (as a windows service) seems to have a 'Start Mode' with options of 'java, jvm or exe' which can be set via the Tomcat Monitor (system tray icon). if I set this to 'java', I can see a forked ...
2
votes
1answer
848 views

How to configure Apache and Tomcat with vhosts?

I have a server with a static, public IP address. I also have a registered domain name. For the sake of illustration, let's suppose they are IP Address: 12.34.56.78 Domain Name: example.com I ...
2
votes
1answer
973 views

Apache, Tomcat and mod_jk for load balancing

I've set-up a basic Apache (2.2.x) and Tomcat (6.0.x) set-up using mod_jk for load balancing using the worker.properties file. Preliminary testing seems to show that this works relatively well, and it ...
2
votes
2answers
2k views

Tomcat deployment overwrites context.xml

I'm pretty new to Tomcat in general, so please point out if got anything wrong. My question is regarding updates to already deployed apps, using the Tomcat manager. But first thing first. I'm using ...
2
votes
1answer
650 views

Drop compulsive http requests same url, same IP in Apache tomcat

I want to drop http request done to the same url from the same ip inside the same second. That means, its a guy violently pressing F5 or a bot screwing up my server. Do anyone knows any lib for java ...
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 ...