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

SSL Cipher Mismatch Tomcat RHEL

I'm deploying a Tomcat web server with an SSL certificate. I've created the keystore and have received and installed the certificate back from the certificate vendor. However, I receive ...
0
votes
3answers
2k 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
vote
0answers
14 views

Inconsistent CPU load on debian

This server runs Apache2, Tomcat6 and MySQL.(if that makes any difference you tell me :) Using htop i can see the cpu load on each of the 4 cores. What I do not understand is witch processes are ...
0
votes
0answers
16 views

ProxyPass unknown Worker parameter

I'm new in Apache and I have a RedHat6 server with apache2.2 and tomcat6. I'm trying to configure the parameter connectiontimeout, like the below configuration: ProxyRequests Off ...
11
votes
2answers
4k 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
0answers
22 views

Tomcat/apache2 application - virtual host issue. Welcome.action URL not found. Possible mod_rewrite issue

Im having some issues setting up a tomcat application to work with apache2. My KonaKart tomcat application is running on port 8783. And I'm trying to access it publicly on port 443. I created the ...
2
votes
1answer
1k views

Obscuring tomcat context path in URL

I've setup an Apache reverse proxy to Tomcat that is working, in that I can load my url and get connection to the Tomcat backend. What I'm attempting to do now is rewrite the URL that a user sees in ...
0
votes
1answer
3k views

How to install tomcat for many instances with CHEF?

I would like to install tomcat with a recipe through chef at some folder, like /company/tomcat6.0.45-port8081. But sometimes I have many instances of tomcat, like /company/tomcat7.0.41-port8082, ...
0
votes
0answers
12 views

How to divert request from apache to multiple servers ports (Zope 8080, Tomcat 8081 etc.)?

Hi I am running multiple applications on the same machine like Plone which is using ZOPE application server that is running on port 8080 and Tomcat which is hosting multiple web applications and ...
0
votes
0answers
19 views

How to make a 301 Redirect before proxy?

I have apache in front of tomcat. I have this proxy settings: <IfModule mod_proxy.c> <Proxy *> Allow from 127.0.0.1 </Proxy> ProxyPreserveHost On ProxyPassMatch ...
-1
votes
1answer
15 views

how to install two versions of tomcat 6 and 7 with java 6 and 7 respectively on same ubuntu server

Can any one help me to configure a server with two tomcat instances i.e. tomcat 6 with java 6 and tomcat 7 with java 7 versions on a same ubuntu server?
2
votes
3answers
4k 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 ...
1
vote
1answer
1k views

Loadbalancing with nginx and tomcat

Hello this should be fairly easy to answer for any system admin, the problem is that I'm not server admin but I have to complete this task, I'm very close but still not managing to do it. Here is what ...
0
votes
1answer
30 views

Apache Tomcat requires an abnormal amount of time to start in CentOS 7

I am experiencing a weird issue on a CentOS 7 virtual machine and I can't see what is causing it. I created the VM on Digital Ocean and set it up as follows: 1) modified /etc/hostname with ...
0
votes
1answer
20 views

What is the latest patched version of Tomcat7?

I am running on tomcat version 7.0.52 , i know this is a old version. I looked into https://tomcat.apache.org/security-7.html, according to this page , the latest version is 7.0.68 , so i am in ...
1
vote
1answer
3k 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 ...
0
votes
2answers
1k views

Tomcat logging and mod_proxy

I have Tomcat running on port 8080, and when I send a request directly to Tomcat it works fine: curl -IL http://localhost:8080/myapp HTTP/1.1 302 Moved Temporarily Server: Apache-Coyote/1.1 ...
1
vote
1answer
1k views

gzip compression using mod_deflate apache with tomcat

I'm trying to enable gzip compression in my Apache server which is fronting a Tomcat instance using a connector. I tried several variants of the module configuration settings in my httpd.conf. Here is ...
0
votes
0answers
19 views

Tomcat instance inadvertently down in amazon ec2

I am running a tomcat instance in my ec2-instance, and it is frequently down for some reason. I checked the logs at {tomcatinstance}/logs/ , like catalina.out, localhost*.log, myapplication.log; but ...
0
votes
2answers
1k views

Installing Tomcat6 on RHEL 6.4

I am missing some packages which Tomcat depends on. But whatever dependency I try to resolve, it all comes down to java-gcj-compat missing which I cannot find on the DVD. Note that I don't have an ...
0
votes
1answer
2k views

Problem running Apache-Tomcat on every web browser installed in Windows 7

I'm working on a web application in JSP and my web container is Apache Tomcat 7.0.2 (Its portable cross-platform version). As I've made extensive use of HTML5-CSS3 and my target browser is Google ...
0
votes
0answers
14 views

AJP Connection Failure

The other night a Apache load balanced cluster of Tomcat instances because to fail when attempting to communicate over AJP. I can not figure out why this occurred nor can I get apache to comminucate ...
1
vote
3answers
3k 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 ...
0
votes
0answers
34 views

Why HTTP 501 error of type JSON presented to UI as text/html instead of application/json?

I have front-end Angular running on Apache with back-end Spring REST API on Tomcat. I wanted to throw 501 error in some error case and want that response to be presented as JSON to UI (Content-Type ...
0
votes
1answer
25 views

Application GUI on a heavy load tomcat doesn't respond

We have a backend webapp installed on tomcat 8 that has a GUI part written in Apache wicket MVC (version 1.4) - the wicket GUI fails to respond the moment the server starts doing heavy processing. ...
0
votes
1answer
2k views

Apache tomcat server win8 cannot be accessed outside of local host

I have installed the apache-tomcat server on my local win7. The port I specified is 9999. Additionally, I use the distributed binary version of apache tomcat. Not installing as a windows service. I ...
0
votes
1answer
37 views

Apache timeout - large file downloads

A website I manage has to occasionally serve up large files over the internet, and this usually results in a failed HTTP 500 Internal Server error. However, I can reproduce this issue locally by ...
0
votes
1answer
3k views

Tomcat localhost page showing HTTP500 but I can access the 'sample' war / app but no others - Jenkins installed

I'm trying to set up my server properly so that I can run servlets on it with the help from Jenkins. Within the webapps folder are two war files. One for jenkins and one for the sample from ...
1
vote
2answers
2k views

X-Forwarded-For not showing up in tomcat7 access log

I'm trying to print out the remote client IP on a tomcat running behind an ELB and for some reason it's not being printed out to the access log. my elb configuartion is : 80 -> 8080 443 -> 8080 ...
0
votes
0answers
21 views

Issues with a fresh dev OneOps instance

I followed the instructions here: https://github.com/oneops/setup.git and was able to bring up an OneOps instance. I am able to create a user and log-in, however I am not able to create organizations. ...
17
votes
9answers
39k views

How do I disable SSLv3 support in Apache Tomcat?

I am trying to reconfigure my Apache Tomcat server to only use TLSv1. However, it is still falling back to SSLv3 using certain browsers. I setup the <connector> tag with the following settings: ...
0
votes
1answer
2k 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
3answers
1k 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 ...
0
votes
1answer
69 views

How to actually disable SSL3 on a ubuntu 14.04 LTS

I am running a server which has tomcat7 and apache2 on it. I issue the following command via another remote host: openssl s_client -connect my_site:443 -ssl3 This returns: CONNECTED(00000003) ...
0
votes
0answers
28 views

Tomcat IP whitelist on conf/web.xml

I have a tomcat 7 installation on a EC2 server on Amazon. I have also a webapp deployed as a root in the webapp folder. I need to be able to block all the requests from any IP addresses for the path ...
2
votes
3answers
8k views

Setting up tomcat autostart on Linux?

So I have a java web app on tomcat installed on the server. How can I setup auto start for it so that it starts up automatically when the server is restarted?
1
vote
1answer
2k 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
0answers
37 views

Can't increase Java heap in Debian

I'm setting up an environment to run some web apps developed in Grails, and deployed in Tomcat. I made the default configuration and the first web app deployed just fine, but after logging in, the ...
1
vote
2answers
6k 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
vote
2answers
1k views

Apache Reverse Proxy setting for site having Spring Security

I am having a Spring MVC app which uses Spring Security for login. I am using Apache Webserver as Proxy and Tomcat. Below is my /etc/apache2/sites-enabled/example.com.conf file: ServerAdmin ...
0
votes
1answer
2k 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 ...
6
votes
1answer
2k views

Tomcat sessions not expiring

I'm having problems with sessions accumulating. I run an instance of Tomcat 6.0.18 on a Windows server. I have 3 apps. I've been having memory issues (close to heap size, or OOM). When I look ...
1
vote
0answers
38 views

Apache/Tomcat Webserver using AJP Proxy - How to rewrite/redirect URL

I have a web server running Jaspersoft Server on Tomcat, using Apache with AJP Proxy for SSL. Right now, when we navigate to the serverhostname, it redirects us to https://serverhostname. Instead I ...
0
votes
2answers
31 views

Remote parallel deployment in Tomcat

We're deploying an app to several Jelastic Tomcat environments using Maven on a TeamCity build server. This works well and has done so for quite some time. Now, we want to move closer to ...
1
vote
1answer
47 views

Memory problems with Tomcat on Solaris 10

I have a server running Solaris 10. It reports 70+ GiB free RAM. I am attempting to start Tomcat 7.0.68 using Java 1.7.0_80 in 64-bit mode. The server is claiming that it is not able to allocate ...
-1
votes
1answer
14 views

What can be turned into a docker image?

Assume I have the the following VM: -Centos -JRE 1.8 -Tomcat -Jar dependencies -My WAR file + all the server configuration files Now can I turn this whole thing into one Docker image, excluding the ...
0
votes
1answer
20 views

How to create a *.crt file out of keystore? (SSL / Tomcat)

to use https (ssl) with tomcat i build a keystore with this commands: $JAVA_HOME/bin/keytool -genkey -alias [youralias] -keyalg RSA -keystore [/preferred/keystore/path] $JAVA_HOME/bin/keytool ...
0
votes
0answers
15 views

tomcat 8 silent install on windows as service

I'd like to create installer for my application. I need to install tomcat 8 as service on windows host. Is there any possibility to install it in silent mode and provide parameters to configure ports, ...
0
votes
1answer
3k views

.htaccess Rewriting Tomcat Server

I am writing a website using Railo. My code is to be deployed on a Railo Server running on Tomcat, overlayed on a regular Apache+PHP server. I need to send all requests to ...