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)

1
vote
1answer
579 views

Setting Manager path in Tomcat6

I want to switch context path to Manager app in Tomcat6 http://tomcat.apache.org/tomcat-6.0-doc/manager-howto.html I change $CATALINA_BASE/conf/[enginename]/[hostname]/manager.xml to: <Context ...
0
votes
1answer
392 views

Multiple Domains Single Tomcat 7 - Apache Mod_proxy

I have been struggling with this for a day and more now. As i am new to server setup stuff. Been following many tutorial and docs on net regarding the same, many hit and run, But got no luck. Here is ...
0
votes
1answer
758 views

Unable to connect to remoteJMX but able to Telnet on same port after setting Dcom.sun.management.jmxremote environment variables?

I am rather perplexed at this point as we have a need to connect through remotejxm to monitor the JDK on a server through a monitoring application but I am repeatedly being told when trying to connect ...
0
votes
2answers
4k views

Set up HTTP Proxy for Tomcat Web server

Basically, I'm trying to make SOAP calls from a Tomcat server via a corporate proxy/ firewall (which I have no direct control over), I've tried to add info to the catalina.properties file as shown: ...
0
votes
2answers
629 views

Make Tomcat use X-Real-IP

I'm configuring nginx as a reverse proxy in front of Tomcat 7. I added the following lines to nginx configuration: set_real_ip_from 127.0.0.1; ... location / { proxy_pass http://tomcat; ...
2
votes
1answer
105 views

Railo-Apache Config Issue: “example.com” points to /var/www while “example.com:8888” points to Railo

As per my title, I was able to successfully install and run Railo and Apache on my VPS. It runs Ubuntu 14.04. My dillema is that I can't get example.com to point to my Railo root. At present, ...
-2
votes
2answers
130 views

Benefits multiple instances tomcat one server

We have 1 physical servers, are there any advantages of running multiple instances of Tomcat on one box or doesn't it make a difference?
0
votes
0answers
31 views

Web request unable to enter Server

I have a website hosted on AIX server on Tomcat. It receives its requests from another server with Apche installed on it and the server with Apache on it sets on request header as well. Recently I ...
0
votes
1answer
171 views

Tomcat cant access network drives on Windows

I have Tomcat 8 installed as a service on Windows Server 2012. The problem is that Tomcat can't access network drives. The tomcat manager shows that it is logged on as Local System Account. I've ...
0
votes
0answers
74 views

Handle many requests Web Services

I created a web service with Jersey and Tomcat in localhost. Now I want to expose my web services to all users in the world, so let's assume you have many concurrent requests. I have access to a ...
1
vote
4answers
2k views

changing the default port no of tomcat in ubuntu

Hi all I'm trying to change the port number of my Tomcat server installed on Ubuntu. For this I have changed the file server.xml and made the following changes: <Connector port="8081" ...
3
votes
2answers
282 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). ...
0
votes
2answers
26 views

How to synchronize different debian server

I'm developing a project that consists in a tomcat installation with a web app with many classes and libraries and a php side with many many folder and files. I've got two server debian wheeze and ...
2
votes
1answer
956 views

tomcat cannot change port 8080 to 80

I want to change the port 8080 to the default HTTP port (80), to use a Jersey Application as HTTP-Restful API. Therefore I replaced the port from 8080 to 80 (within /etc/tomcat7/server.xml) and ...
0
votes
0answers
68 views

tomcat virtual host 404

I have a tomcat instance running and I am trying to add virtual hosts to it. I have modified the Server.XML file which consists of following host def <Host name="www.test.com" ...
0
votes
0answers
75 views

How do you stop tomcat after changing the shutdown word in server.xml?

Running tomcat-7.0.33 on CentOS. I have a security requirement to change the tomcat shutdown word in server.xml to a random string of characters, so I need to go from this: <Server port="8005" ...
0
votes
1answer
120 views

Install Apache Derby on CentOS 6.4

I'm not a Java developer, my knowledge is very limited to this topic. I want to deploy a .war webservice on my Tomcat server, which fails most likely because of its Derby dependency (just a guess from ...
0
votes
1answer
40 views

Tomcat Process occupying lot of Memory in UNIX BOX, how to reduce

I am using a play framework webapplication calling webservices, all these applications are deployed in one tomcat/apache server, when in production box, multiple process are started for tomcat which ...
-1
votes
1answer
68 views

Apache Tomcat standalone or with nginx or apache?

I will be rolling out a fairly big project that will be running on Tomcat. I will have a linux VPS for it (Debian). i wanted to know if it is recommended to run it by itself or behind a httpserver ...
0
votes
2answers
66 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
200 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 ...
2
votes
0answers
219 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
0answers
49 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 ...
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 ...
-1
votes
1answer
35 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 ...
1
vote
1answer
83 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
votes
2answers
197 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
110 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/ ...
1
vote
4answers
11k 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 ...
1
vote
1answer
208 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
218 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 ...
0
votes
2answers
882 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 ...
-1
votes
1answer
151 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
0answers
131 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
489 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 ...
0
votes
1answer
478 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
4k 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
211 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
0answers
87 views

Tomcat 7 went <defunct>, cannot kill the process. What might be the cause?

I was running tomcat7 production server for several days, and then suddenly it was unreachable by the http port. Strangely though, the background processes were still running as can be seen by the ...
1
vote
0answers
837 views

Tomcat Memory - Setting in setenv.sh not respected

I have Tomcat 7.0.35 on CentOS. I have configured setenv.sh to have the following: export JAVA_OPTS="-Dfile.encoding=UTF-8 -Xms128m -Xmx1024m -XX:PermSize=256m -XX:MaxPermSize=512m" However under ...
0
votes
1answer
284 views

docker tomcat with jmx

I'm trying to create a docker image with tomcat and JMX activated. So I clone this tomcat docker image https://github.com/tutumcloud/tutum-docker-tomcat. I exposed the port 1099 and edited the run ...
8
votes
1answer
9k views

How Do I Install Gerrit Under Tomcat with LDAP?

I'm trying to find good instructions for installing Gerrit under Tomcat with LDAP support. I need this installed on a Windows 2008 Server, preferably. However, I can opt for Linux if not possible. ...
0
votes
2answers
1k views

How to monitor bandwidth usage in Tomcat?

I am running an Apache Tomcat 6 website and would like a way to somehow log the amount of bandwidth used for each virtual host on the site. Is there such a plugin or logging class that I could use to ...
1
vote
1answer
884 views

Invalidate all sessions at application reload

is there a way that tomcat 7 invalidates all sessions of an application when it is reloaded manually via the management interface? All the best, Thomas
1
vote
2answers
647 views

Apache httpd mod_rewrite with Tomcat resulting in lost JSESSIONID

So I'm working on a Java web application, for which I recently implemented an authentication module that relies on the JSESSIONID cookie to identify users. I was testing on a local tomcat from eclipse ...
0
votes
0answers
22 views

nginx $upstream_cookie_… variables

nginx 1.7.1 introduced Feature: the "$upstream_cookie_..." variables. see http://nginx.org/en/CHANGES What does it do and how do you use it? Can that be used for Session Affinity when proxying to ...
0
votes
2answers
57 views

Can you use Redirect and Proxypass at the same time

I am using Apache 2.2.15 on CentOS to provide SSL for a TomCat application. ProxyPass / http://127.0.0.1:8090/ connectiontimeout=300 timeout=300 ProxyPassReverse / http://127.0.0.1:8090 This works ...
0
votes
1answer
64 views

Tomcat cluster - how to verify node starvation?

We have a tomcat cluster with a load balancer (haproxy). As part of our upgrade script we would like to starve a single tomcat in the cluster of 3, wait until all the requests are handled for that ...
0
votes
1answer
278 views

Will tcnative-1.dll version 1.1.30 work with tomcat 7.0.29 without any issues?

In order to fix the Heartbleed vulnerability a new release of the tomcat java native libraries is being created. Will this release work with older versions of Tomcat 7 such as 7.0.29, or will this ...
0
votes
2answers
636 views

Which versions of win32 tcnative-1.dll are succeptible to heartbleed

We are trying to determine our window of vulnerability for Heartbleed. Does anyone have an idea of how to determine which version of OpenSSL was used to build a given Tomcat Native DLL? Our server ...