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

Need Tomcat5 configured to listen on all interfaces

I have tomcat5 installed on CentOS. which is configured to listen only from 127.0.0.1. How do I configure Tomcat to listen from all interfaces. Connector port config is as under: <Connector ...
2
votes
2answers
179 views

Tomcat server getting restarted frequently

We have a script like below to monitor our server. During this code our server getting restarted. Can anyone please explain the meaning of below script? if [ -f $HOME/catalinamonitor ]; then echo ...
2
votes
2answers
2k views

JMX connection to Tomcat running on Amazon EC2

My Tomcat 7 process, which I run on a server on Amazon EC2, has settings such as these in CATALINA_OPTS which should allow me to connect for JMX monitoring remotely: ...
2
votes
2answers
1k views

How to configure both apache and tomcat on same url?

Say I have a registered URL mywebsite.com pointing to my server with a public IP address. I want to run both tomcat and apache to serve pages (i.e., some static pages on apache and some dynamic pages ...
2
votes
2answers
2k views

Monitoring Tomcat Webapps

We have several webapps deployed to a single Tomcat 7 server. Is there a way to monitor the status (uptime, memory usage, etc.) of each webapp deployed to a Tomcat server? We are using Nagios to ...
2
votes
2answers
959 views

Which load balancer?

I am looking for a load balancer that: Is good stuff (free, open source, documented) Handles SSL Workers register in the load balancer, instead of listing workers (like jboss mod_cluster) works with ...
2
votes
2answers
582 views

tomcat (tcServer) on port 80 in linux …good idea?

Is it a good idea to run tomcat (tcServer from spring source) directly on port 80 (or 443) as root One could use mod_proxy or mod_jk from apache2 to work around it. I have also seen iptables based ...
2
votes
2answers
3k views

How to reduce the memory used by Tomcat?

I bought a virtual server with 1gb of memory to run java web site application. I have installed Tomcat 6.0.33 . Each time i run tomcat, it s taking around 450 mb of memory. I tried everything to ...
2
votes
1answer
2k views

What to change in /etc/sudoers to allow restarting service?

I want an unprivileged user to be able to restart tomcat on my server. So I edited /etc/sudoers as follows username ALL=/etc/init.d/tomcat6 However, when the user runs /etc/init.d/tomcat6 restart ...
2
votes
2answers
141 views

Yum email notification when new tomcat update is available?

I have decided to exclude tomcat from yum auto updates. I would however like to know when new updates are available so I can review their worth. I see that you can set yum to send email notification ...
2
votes
5answers
8k views

Configure an IP address instead of localhost:8080 tomcat eg:192.260.0.2:8080

Can anyone suggest me how to configure my localhost:8080 in tomcat to connecting to an IP address instead of localhost such that i access my localhost in any system in my workplace... i am using ...
2
votes
2answers
5k views

how to add multiple Context elements to conf/context.xml in tomcat6

my existing conf/context.xml file has already a element; WEB-INF/web.xml I would like to add another to allow localhost access to the /manager/status location to my monitoring, however adding ...
2
votes
5answers
5k views

Trying to update certificate (just renewed) to existing keystore on Tomcat server

I have a .crt file to update the server thats running Tomcat 5.5. If I run: keytool - import -alias tomcat -keystore tomcat.ks - trustcacerts -file website.net.crt I get the following error: ...
2
votes
3answers
3k views

Passing IP address with mod_proxy

I have Apache with mod_proxy passing requests to Tomcat. The trouble is, when I get client IP address associated with a request in web app hosted on Tomcat, it always returns 127.0.0.1. Is it ...
2
votes
2answers
211 views

Which version of Windows Server 2008? [duplicate]

Possible Duplicate: Can you help me with my software licensing question? One of the projects I'm working on is looking like we're going to need to migrate from CentOS 5.4 over to something ...
2
votes
2answers
570 views

Is it possible to restart Tomcat via web interface

Is it possible to restart tomcat via some kind of administration tools. I would like to restart tomcat remotely via an administration tool that is accessible via web? If yes could you point me to some ...
2
votes
5answers
22k views

How can I configure TomCat Java options in a config file?

I'm trying to configure Java options passed into TomCat for a 3rd party application that I'm deploying. The instructions that the app provides are: Open the Tomcat configuration tool from the ...
2
votes
2answers
212 views

Discerning GoDaddy SSL Certificate Types

I'm following these instructions for installing a GoDaddy Certificate in Apache Tomcat: ...
2
votes
2answers
37 views

http in the Location-header when the original request was made over https

I am currently implementing https on our production environment, but I am scratching my head over a little thing here. SSL is terminated in the load balancer and the flow in our stack is basically ...
2
votes
1answer
83 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
166 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
662 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
73 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
193 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
908 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
207 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
1k 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
144 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
265 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
1k 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
76 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
45 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
4k views

How can I disable logging in Tomcat 7?

I have a Tomcat 7 server running in a VM that has very little disk space (20G). Over the course of a few days Tomcat will fill the space with logging info (usually about 15G before it runs out). ...
2
votes
1answer
268 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
6k 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
5k views

Configuring nginx for use with Tomcat and SSL

I have Googled and looked at various sample SSL configurations and it seems like I've got things set up right, but there are two problems: When I load https://mysite.com, the lock that should appear ...
2
votes
5answers
6k views

mod_jk problem: Tomcat is probably not started or is listening on the wrong port

I am running some application on Tomcat 6.0.26. There is Apache in front of web server talking to it over mod_jk. Every few hours when I try to access application browser simply spins, and no content ...
2
votes
2answers
265 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
990 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
7k 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
757 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
287 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
90 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
396 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
137 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
2k 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
525 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
2answers
776 views

How to setup tomcat 7 as a server on windows 2008 server

I setup the tomcat7 as a service as below: c:\Program Files (x86)\Tomcat7\apache-tomcat-7.0.32\bin>service.bat install Installing the service 'Tomcat7' ... Using CATALINA_HOME: "C:\Program ...
2
votes
1answer
839 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. ...