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
2answers
1k views

difference between _default_:* and *:* in VirtualHost Context

I want to know the difference between "default:*" and "*:*" in VirtualHost Context. <VirtualHost _default_:*> #... ServerName host.example.com #... </VirtualHost> ...
2
votes
1answer
218 views

Will Tomcat 6 cache across Webapps?

I have a Tomcat 6 server on an Ubuntu 12.04 server with 4GB and the following JAVA_OPTS JAVA_OPTS="-Djava.awt.headless=true -Xms512M -Xmx512M -XX:PermSize=1024M -XX:MaxPermSize=1024M ...
2
votes
2answers
205 views

Archetypical user setup for capistrano to tomcat deployment on Linux box

I'm relatively new to the CD and DevOps topics and I am trying to setup automatic deployments with capistrano, which works well on my local add hoc test environment. I wonder however how one would ...
2
votes
2answers
2k views

Nagios check_http - checking tomcat application status with regex & linespan

I wan't to check with our Nagios if a webapplication is running on Tomca7. I decided to use the check_http plugin with regex. I'm parsing the status-page of tomcat and check if column "Running" is ...
2
votes
1answer
1k views

Create tomcat war file from static web dir

I created a simple web application that consists of a dir with html, css, js. No server code. For reasons complicated to explain, my administrator insists on turning it into a .war file, so that it ...
2
votes
1answer
80 views

Can a working Tomcat 6 webapp be turned into a usable .war file?

Problem: I have a working webapp on a FreeBSD 8.1 Tomcat 6 test server that I need to move to a production system. The developer who last touched it (and had root on that server) has moved on and ...
2
votes
1answer
454 views

Download deployed Apache Tomcat .war file

I am a Apache Tomcat newbie and about to deploy an upgraded version of a Spring MVC application (compiled to a .war file) on an Apache Tomcat/6.0.28 server, using Tomcat Web Application Manager. ...
2
votes
1answer
1k views

IIS 7.5 and Tomcat Setup: Error 500.19

I am setting up a 64-bit IIS 7.5 / Tomcat 7.0.26 server and I have received the following errors when I navigate to http://localhost - Error Summary HTTP Error 500.19 - Internal Server Error The ...
2
votes
1answer
267 views

Tomcat Solr times out

(Plesk 10.4 centos 5.8 linux apache2 server, with Tomcat5 on port 8080 and Apache Solr) I get "The connection has timed out" on requesting domain.com:8080 or www.domain.com:8080 or ip.ad.dr.ess:8080 ...
2
votes
1answer
2k views

Tomcat 7.0.22 Windows service breaks with JRE update

If JRE update is run without first manually stopping the Tomcat service, Tomcat will no longer start after the next time it is stopped. This most often happens after rebooting per the JRE installer's ...
2
votes
1answer
167 views

Tomcat server startup script fails in Linux

Getting below exception while executing startup.sh for Tomcat. Please help me to resolve Error occurred during initialization of VM java/lang/NoClassDefFoundError: java/lang/Object I'm using RedHat ...
2
votes
1answer
340 views

Benefits to defining multiple AJP connectors in tomcat?

Is there any reason to define multiple AJP connectors in tomcat? Is it wasted resources by doing so?
2
votes
1answer
2k views

Service 'tomcat7' is missing the ImageFile

I am trying to run the Tomcat as a service on and Windows server. If I run tomcat7.exe in the bin directory, I get the error "Service 'tomcat7' is missing the ImageFile". If I run startup.bat, ...
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
49 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
285 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
9k 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
284 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
3answers
10k 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
899 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
293 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
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 ...
2
votes
1answer
215 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
150 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
586 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
189 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
2answers
499 views

Gerrit ssh key setup on windows server

I am attempting to configure google's 'Gerrit' code review web app on a Windows server 2008 virtual machine on our internal network. We are using Apache Tomcat (6.0.36) to host the web app and have ...
2
votes
1answer
4k 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
1k 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
131 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
2k 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
2answers
1k views

Manually reload Webbapplication without Tomcat Manager possible?

I want to reload (or restart) one specific web application on an Apache Tomcat (6 or 7) server without Tomcat Manager or the automatic Reloadable attribute. Using the manager would give again another ...
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
971 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
499 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
4k 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
1answer
1k views

Which JMX statistics to watch out for in Catalina/Tomcat?

I have configured OpenNMS to collect all kinds of numeric data coming out of tomcat7 jmx. There are a lot of things. I am interested in monitoring this tomcat instance so that I can avoid down time ...
2
votes
2answers
268 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
542 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
2k views

Is it possible to turn off auto-start for some (but not all) app servers deployed on Tomcat?

I want to deploy multiple versions of an app server on my local machine for development purposes (testing for compatibility, etc). I've got about 5 that I'll want to have installed at any given time, ...
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
409 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
286 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
159 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
2answers
523 views

Tomcat 7.0.5 parallel deployment

Does anyone have documentation about Tomcat 7.0.5 parallel deployment? Particularly with Grails? Google only seems to find the original Beta announcements.