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)

0
votes
1answer
6 views

Restart tomcat on two different servers at same time

We are running the Apache solr on two servers. Unfortunately on heavy load of indexing (guess) servers going down. We are manually restarting the tomcat each time. When I google I find the way two ...
1
vote
1answer
14 views

How would I create a IP whitelist for tomcat?

I'm extremely new to tomcat but I need to configure my company's tomcat server so that we can allow restricted IP addresses only. I understand this is normally the job of the firewall but in this ...
1
vote
0answers
10 views

Error while installing jasperserver

I am about to install a jasperserver instance on my server. This is not my first jasperserver installation and I did this already on my host system and on a lxc. But now for some reason I get ...
1
vote
3answers
1k views

Production Instance : CLOSE_WAIT Connection Issue

I am using 10EC2 Instances behind 1 ELB. And ELB configured 80 to 8080 and 443 to 8080 port. And all 10EC2 instances having installed with Apache Tomcat, total request on ELB around 8000 to 10000 in ...
0
votes
1answer
1k views

Start and shutdown tomcat via ssh

Updated I find out that the path of jdk it using is wrong. eval: 1: /opt/Java/jdk1.6.0_25/jre/bin/java: not found the Java should be lower case java, how is that happen? When I run this script ...
0
votes
0answers
71 views

Request binding to different IPs in Apache 2.2.4 (modjk & modssl) + Tomcat 6.35 + Multiple IP adress system

I have Windows 2003 32 bit system in which two ip adresses are present. On doing a cmd (command prompt) - ipconfig i get the following 2 IP adresses 3.151.21.248 and 3.151.28.89. I have Apache 2.2.4 ...
7
votes
1answer
1k views

Tomcat 7 trailing slash issue with webapps

Recently I upgraded my tomcat server from 6.x version to the most recent 7.x version. I came up with little trouble, hoping to get help. I have an application calls MyApp On tomcat6, when I went to ...
0
votes
1answer
2k views

Setting up AJP with JBoss 7

I have two different versions of JBoss on a server, JBoss 6.0 Final and JBoss 7.0.2. I can one run or the other by switching a couple of sym links and issuing a "service jboss start" command. I am, by ...
0
votes
1answer
684 views

How to specify path in Apache tomcat catalina for folder on different server?

On apache tomcat C:\Program Files\Apache Software Foundation\Tomcat 6.0\conf\Catalina\localhost\ we can change folders for another by specify it in XML like: THE_FOLDER.xml and in that xml we ...
1
vote
0answers
9 views

Question Mark (?) in Apache Tomcat proxy_ajp.conf causing proxy to fail

We had directives in our proxy_ajp.conf similiar to below, which would give us a 404. SSLProxyEngine On ProxyPass /test https://www.purple.com/test? ProxyPassReverse /test ...
0
votes
1answer
2k views

Simple setup for load-balanced and fail-over tomcat?

Being new to Tomcat infrastructure, I am wondering what an advisable setup would be to have two physical machines each running a tomcat instance to be load-balanced and capable of failover to each ...
1
vote
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 ...
-1
votes
1answer
12 views

How to set up tomcat7 to forward all requests to the appname?

I have a tomcat7 server hosting my app. I've got port forwarding set up with iptables so right now you can access the app like so: http://ip-address-of-server/appname I've also set up the domain ...
15
votes
7answers
38k views

Apache+Tomcat having problems communicating. Unclear error messages. Bringing down websites hosted under Tomcat

Setup: Fedora 8 Apache 2.2.8 Tomcat 5.5.8 Apache is forwarding requests using AJP. Problem: After a certain period of time (no constant at all, can be between an hour or two, or one or more days) ...
3
votes
1answer
37 views

YouTrack on Tomcat 7 using SSL

I have a running YouTrack instance deployed using Tomcat 7 and it works fine on http://example.com:8080/youtrack Apache is already configured to support SSL for the main domain (I have .pem file). ...
1
vote
1answer
20 views

Unable to access multiple virtual hosts under tomcat

I work under tomcat, and would like to have several apps to launch under the same tomcat In local, I called to hosts : localhost localhost_test Unfortuentaly, I only can access localhost. If I try ...
1
vote
2answers
2k views

How to make Tomcat 7 log debugging info?

Tomcat 7 takes more than 21 minutes to start: ene 09, 2013 10:01:39 AM org.apache.catalina.startup.Catalina start INFO: Server startup in 1290787 ms When it finishes it says that it's scanning JARs ...
0
votes
1answer
669 views

Keytool ServerAlternateName

I'm trying to get the certificates just right for our Jira/Confluence deployments in house. People access them differently, either from the hostname or the FQDN. I'm using Java 7's keytool so I have ...
5
votes
1answer
3k views

Apache Solr Admin on Tomcat Deployed in WebApps Directory

I am trying to get Apache Solr to work on Redhat6 and Tomcat6 (using these instructions), but get this error when browsing to the admin section, http://localhost:8080/solr-example/admin: HTTP ...
0
votes
1answer
20 views

Nginx load balancer and Tomcat startup delay

I am using nginx (free version on centos) as a reverse proxying load balancer to a cluster of Tomcat 7 servers. It works great except for the time when tomcat is starting. If a Tomcat instance is ...
0
votes
1answer
1k views

Tomcat fails to start, no logs or error provided

I have a Centos5 box running tomcat5 (a version before 5.5, there's no bin/version.sh script). When attempting to start tomcat, whether through init.d or service, I get the FAILED message with no ...
-1
votes
2answers
46 views

CENTOS Vs Windows 2008 R2

We have an application running on Windows Server 2008 R2 with Apache WAMP, Tomcat, Mysql, PHP and java SE for last 4 years. Its a Web based ERP application. I would like to know if it makes sense to ...
-1
votes
1answer
29 views

Hidden Directory Detected

My company web application had a penetration testing done and there's a risk found is regarding the hidden directory: http://example.com/aux/ http://example.com/cgi-bin/ http://example.com/com1/ ...
0
votes
1answer
716 views

How to use mod_proxy to let my index of Apache go to Tomcat ROOT and be able to browse my other Apache sites

I am trying to use my Tomcat application (deployed at ROOT) to be viewed from Apache port 80. To do this, I used mod_proxy, since mod_jk made me try harder. I used sth like this in httpd.conf: ...
0
votes
1answer
785 views

Losing JSESSIONID when using ProxyHTMLURLMap

I've setup a reverse proxy between an Apache front-end and multiple Tomcat backends. The below block of code includes the ProxyHTMLURLMap param so that the HTML can be rewritten to remove the Tomcat ...
1
vote
1answer
864 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 ...
0
votes
1answer
672 views

Tomcat web application intermittent freeze

I have a Grails web application (just a standard war file) deployed on a Ubuntu 10.10 server running on tomcat 6. My database is postgresql. The problem is that every so often (once or twice a day ...
1
vote
4answers
8k views

How to redirect tomcat console log to files? Tomcat started via windows bat

When tomcat started as service it put his output log in \logs\stderr.log \logs\stdout.log How to write this log files when tomcat started as bat in windows? PS. tried to start tomcat with call ...
-2
votes
0answers
24 views

I am getting authentication page twice on opening browser for first time

I am getting authentication page twice on opening any browser for first time. I am using tomcat authentication. On opening fresh browser (not new tab) when i try my url, Authentication page gets ...
4
votes
1answer
1k views

using wildcards in host-aliases for Tomcat's virtual hosts

I want to do the following with Tomcat 5.5: *.mydomain.com should go to my webapp, located at the virtual host mydomain.com. So I have a virtual host mydomain.com, and I want all *.mydomain.com also ...
0
votes
2answers
751 views

fedora tomcat log file path

My log file is inside: kamil@localhost tomcat$ grep "logs/" ./* ./log4j.properties:log4j.appender.R.File=${catalina.home}/logs/tomcat.log my CATALINA_HOME is kamil@localhost tomcat$ sudo grep ...
0
votes
2answers
813 views

Apache reverse proxy with VirtualHost not serving a page

I have an Apache reverse proxy set to move requests to a Tomcat Applet. The config is similar to: <VirtualHost 100.100.100.100:80> ProxyPass /AppName/App http://1.1.1.1/AppName/App ...
1
vote
1answer
34 views

can't get tomcat to offer TLS_ECDHE_ECDSA_… ciphers

my tomcat (7.0.52) Connector is configured with a cipher list like ciphers="TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256, ...
0
votes
1answer
21 views

tomcat extract multiple war files simultaneously

I am a newbie in tomcat. I have a project that contains multiple war files (more than 15). When I deploy these many war files and start tomcat application, it extracts folders for each war file ...
1
vote
1answer
2k views

IIS 7.5 , Tomcat 7 - Isapi redirector - Fail Over - sticky sessions

I have two instances of Tomcat 7.0.8 running in the same machine (Tomcat7A and Tomcat7B) and IIS 7.5 acting as front-end load-balancer with isapi-redirector 1.2.31, running on Windows 2008 R2. When i ...
-2
votes
0answers
38 views

500 internal server error, mod_jk issue

I work under Ubuntu I installed apache2, and want to link it with tomcat, through mod_jk apache2 is based on port 80 Tomcat is based on port 8080 Tomcat should be linked under ...
0
votes
2answers
752 views

Zero downtime deployment (Tomcat), Nginx or HAProxy, behind hardware LB - how to “starve” old server?

Currently we have the following setup. Hardware Load Balancer (LB) Box A running Tomcat on 8080 (TA) Box B running Tomcat on 8080 (TB) TA and TB are running behind LB. For now it's pretty ...
0
votes
2answers
3k views

IIS 7 + Tomcat 7 - how to reach http://localhost:8080/my_app under e.g. http://my_app.local

In brief: IIS 7 + Apache Tomcat 7 + isapi_redirect.dll: I have a deployed and working Tomcat-application available under http://localhost:8080/my_app. I would like to see the same content under ...
-1
votes
1answer
36 views

Hot redirect http/https request coming to port 80 to a internal tomcat server on 8080 [closed]

I have a production server with a domain name. It has a tomcat server on 8080. It has several web applications. So I want to map the http/https requests coming to that server to these web ...
0
votes
1answer
890 views

Forward Shibboleth Environment Variables to Tomcat via Apache

I am using Shibbolethv2.3 with Apache web server and Tomcat application server. I am using Apache as a reverse proxy using mod_proxy.so. I am not able to forward the Shibboleth environment variables ...
0
votes
1answer
1k views

Apache HTTP Server+Tomcat: Which file generates mod_jk.conf, how to modify generated stuff, and how does httpd reach it?

I'm using XAMPP with Apache HTTP Server and Tomcat Add-On installed. There's a default mod_jk.conf which is generated by Tomcat when starting it. But which file generates this mod_jk.conf file? How ...
0
votes
0answers
28 views

'check_tomcat.pl' plugin returning CRITICAL: /manager/status?XML=true HTTP/1.1 404 Not Found

I don't know what I'm doing wrong. I'm trying to use this plugin, check_tomcat.pl but it doesn't seem to be configured correctly. Keeps returning the error: CRITICAL: ...
4
votes
1answer
55 views

ssl certificate installation on tomcat

I am trying to create a new certificate for my scala play framework on ubuntu but I cannot import my key with keytool. I haven't been able to figure out what is causing it so I thought I'd see here if ...
1
vote
3answers
1k views

Extremely slow startup of tomcat

I have a tomcat 7 installation on a Solaris 10 server. My problem is that starting the server (or deploying a new war) is extremely slow. It usually take 30 - 60 minutes. The war application is a ...
2
votes
1answer
2k views

Apache SSL reverse proxy to a Embed Tomcat

I'm trying to put in place a reverse proxy for an application that is running a tomcat embed server over SSL. The application needs to run over SSL on the port 9002 so I have no way of "disabling SSL" ...
0
votes
1answer
97 views

Tomcat & Java not listening on IPv6

We've got a webserver running Ubuntu 12.04 LTS, Tomcat 7 and Oracle Java. So far, we have been serving a web app on IPv4 address on ports 80 and 443 (80 redirects to 443). I'm trying to make the ...
1
vote
2answers
2k views

Tomcat always returns status code 400

I've just installed Tomcat on CentOS 6.3. # yum install tomcat6 # service tomcat6 start According to the tutorials I've looked at, I should be able to see a test page now. # curl -I 127.0.0.1:8080 ...
0
votes
1answer
33 views

How to monitor tomcat application and restart if not running?

I have a web application running on Tomcat and would like to have an automated way of monitoring the application to ensure it is running, and if not start/restart tomcat (and also send an email ...
1
vote
1answer
949 views

Tomcat mod_jk cluster skip 404 http status

I am trying Tomcat Clustering with mod_jk for months and so far not so bad but facing a problem during deployment. I am using FarmDeployer to copy and deploy the WAR to other nodes in the cluster but ...
0
votes
1answer
681 views

Tomcat Redirect Issue - Extra “/” after hostname - Help Please

All, We are running into a peculiar issue. We have Tomcat 6.0.24 front-ended by Apache2.2.3. We have a VirtualHost serving port 80 and a ServerAlias. Apache simply hands off "/" to Tomcat's ...