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

4
votes
0answers
1k views

Tomcat/CF10/IIS7.5 Connector Tuning Help (503 Errors)

Problem: After a undetermined amount of time, all websites running in an application pool return 503 errors as IIS has stopped pool due to Rapid Failures from the pool. Increasing the number of ...
4
votes
0answers
5k views

Tomcat fails to find a key entry in keystore

I am installing a SSL cert in my Tomcat server, but it fails to find the key entry in my keystore file. If I don't specify keyAlias="mykey" it shows me the following error message: ...
3
votes
0answers
203 views

Nginx: strip cookie from cached content

Trying to replace Apache by Nginx as a web proxy in front of some Tomcat servers, dealing with Set-Cookie JSESSIONID is proving to be challenging. Our Tomcat content is served with Cache-Control and ...
3
votes
0answers
202 views

Tomcap APR native libraries

I have a Solaris 10 box on which I have successfully built the tomcat native libraries from source which include apr-1.5.2.tar.gz, openssl-1.0.2a.tar.gz, and tomcat-native-1.1.33-src.tar.gz. I can ...
2
votes
0answers
34 views

ELB to tomcat https redirecting to http

So we have tomcat servers behind a AWS ELB. Everything is working fine with https except if we manually type in this address: https://example.com/web/ This works fine... https://example.com/web ...
2
votes
0answers
615 views

Using TLS 1.2 and java 6

We have a legacy web application that runs in a tomcat under java 6 - an upgrade to 7 or 8 is currently infeasible. We now have a requirement to connect, as a client, over TLS 1.2 however java 6 only ...
2
votes
0answers
235 views

Spring Boot 1.2.7, Tomcat, CSS and Thymeleaf = Very Very slow service

I have a Spring Boot 1.2.7.RELEASE web application (with Tomcat embedded) which needs to handle a very high load spike, ~ 10k connections in 4 to 5 minutes on one server (there is actually a cluster ...
2
votes
0answers
776 views

Efficient setup for fronting application servers with Apache

I have to front various application servers (in the beginning this will be JBoss 6, Tomcat 8 standalone and Tomcat 8 embedded into spring boot 1.2 apps) with an Apache 2.4. Because of this I decided ...
2
votes
0answers
95 views

Enabling mod_spdy with mod_proxy_ajp to Tomcat

I am using mod_proxy_ajp to Tomcat. If I enable mod_spdy... Will this mean that connections over the proxy will be SPDY enabled?
2
votes
0answers
788 views

How to enable CORS on Glassfish?

Cross-Origin Resource Sharing is a mechanism that enables cross-origin requests[1]. As you can see in the link [1], It is easy to enable CORS in Apache Tomcat 7. Just a configuration in the file ...
2
votes
0answers
335 views

How to monitor clustered tomcat 7 with javaMelody

I would like to monitor my server health. I have deployed my web app in tomcat 7. I am using 4 instances of Tomcat 7 running on the same machine. individually I am unable to monitor each tomcat ...
2
votes
0answers
85 views

Lack of OutOfMemory Exceptions in Tomcat 7

This is an odd question. I'm a Sys Admin and I've been maintaining several Tomcat instances for a few years now. We have been running our webapps in Tomcat 5, 5.5, 6, and now 7. I have monitoring ...
2
votes
0answers
796 views

Tuning Tomcat 7 on windows (for Alfresco)

I have installed Tomcat7 as a service on a windows server 64bit 2008 R2 to run Alfresco (4.2.c). I have 48G of ram. I have read Tomcat tuning tutorial with the JVM settings for memory. To edit the ...
2
votes
0answers
66 views

Scaling large numbers of small customer J2EE webapps

We're allowing customers to create websites on our SaaS app. We currently use Jetty as the app server, but we could use anything J2EE. I'd like to be able to scale customer webapps across our ...
2
votes
0answers
77 views

Flipping between databases

I have inherited a tomcat application running on RHEL that connects to a local postgres database. We have a total of 8 servers in multiple states running this. Each server actually has two different ...
2
votes
0answers
654 views

SSL connection alert hanshake failure

I'm having problem establishing the connection between the client and the Server .I'm using my own signed certificate on client and on server. I'm using the SSL ciphers SSLCipherSuite ...
2
votes
0answers
348 views

How to use JMAP with Tomcat when Tomcat is running as a service?

I want to grab some memory snapshots of a Tomcat instance in production. This is on a Windows 2008 server. I can run JMAP against Tomcat when I start it with startup.bat but the client is using ...
2
votes
0answers
138 views

ColdFusion 10 Servlet Issues

I'm currently experiencing problems with ColdFusion finding my servlet. In ColdFusion 9, I would simply put it under the wwwroot/WEB-INF/classes/ directory and ColdFusion would serve when requested. ...
2
votes
0answers
1k views

Tomcat Unable to Connect

I have done a fresh install of Tomcat 7 on CentOS 6.2 system. Tomcat starts successfully without any errors in logs, but I am not able to access it on mydomain.com:8080. I get "cannot connect" ...
2
votes
0answers
450 views

Make Tomcat 7.0 flush logs to disk?

How do I get Apache Tomcat 7.0, running as a service on Windows Server 2008, to flush its logs to disk without restarting the service daemon? I did find delay on tomcat writing to logs in windows ...
2
votes
0answers
246 views

Can't connect Tomcat via JMX

I couldn't connect to one Tomcat server via JMX in a Linux virtual machine. There was no firewall running. All seemed ok. By searching on the web I found out that I have to use the ...
2
votes
0answers
633 views

In tomcat, how to redirect console output of the web apps to logfile?

I am running Tomcat 7 inside Netbeans in windows. Is there any way of redirecting System.out.println to log file? Right now I'm getting it on my console. Is there any way I can change the logging ...
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 ...
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 ...
1
vote
0answers
98 views

Apache, Tomcat : How to use multiple SSL certificates on a single server

I am working on our Debian X64 server which is the endpoint for 5 domain-names. One of the domain-names is utilized by a web-project running on Apache web server. The remaining 4 domains have ...
1
vote
0answers
18 views

socket_keepalive configuration for mod_jk

I have Apache httpd with mod_jk. I have issue with killed connections after long idling period: Apache stops to respond and each HTTP request hangs for 15 minutes. I tried turn off mod_jk connection ...
1
vote
0answers
39 views

AWS ELB is adding http absolute path

We have tomcats running a Spring Security webapp. The https is terminated at the ELB (443), then forwarded to tomcat on 8080. However, when we log in, a successful login redirects us to ...
1
vote
0answers
37 views

How do you allow all non-standard port traffic via forward proxy?

when the proxy is set for http and https traffic (say on a tomcat app), is this only for standard 80/443 traffic? I was wondering what ports you have access to when you set the following attributes ...
1
vote
0answers
28 views

Tomcat 7: how to log x509 cert dn with AccessLogValve

I have Tomcat7 running on RHEL6 with mutual authentication using x509 certificates for the entire container. From the user point of view in the browser, everything seems to work fine with a cert ...
1
vote
0answers
43 views

Enable x509 Authentication in Tomcat on Openshift

I have a web application deployed on Tomcat 7 running on Openshift. I managed to enable HTTP-to-HTTPS redirection on the server (instruction). I don't have valid certificate. So I have to use the ...
1
vote
0answers
16 views

Adding an alias for a web app so it works via two context roots

I'm using Tomcat to host a few web apps. They are all running on their respective context roots. Let's call them: A: https://example.com/A B: https://example.com/B I have nothing running at / ...
1
vote
0answers
18 views

Redirecting using ARR 400.0 error

I have installed ARR 2.5 + hotfix on IIS 8.5, and I wanted to redirect requests coming to IIS to my Tomcat web application (Example localhost/test). I created rules and it worked successfully, but I'm ...
1
vote
0answers
156 views

Tomcat 8, Kerberos authentication

I'm configuring kerberos for a tomcat server. Before I call the web application support company I would like to know if I'm doing the correct steps since it's my first time. The domain has 2 zones, ...
1
vote
0answers
36 views

What would cause an Active Directory connection attempt to a workstation?

I'm trying to troubleshoot a freezing issue with our git server. We're running Atlassian Stash on a dedicated Windows Server 2012 R2 Standard virtual machine. The server will sometimes (a few times ...
1
vote
0answers
21 views

Tomcat Sending Invalid SSL Certificate to Client

I am trying to install SSL certificates on tomcat on Windows 2012 R2 server . I followed the normal procedure: created keystore generated csr got certificates from Godaddy imported certificates ...
1
vote
0answers
18 views

Java Webapp on Tomcat6 using libservlet3

I am quite new to all this Java stuff. I Installed a bunch of War-Packed Webapps on a Ubuntu Machine with tomcat6. One of them does not work (skos-play), apparently because it needs libservlet3 and ...
1
vote
0answers
281 views

Jenkins Tomcat Ubuntu - hudson/WebAppMain : Unsupported major.minor version 51.0

The title sums the setup. I know the Error means the Java versions does not match, between the one tomcat is using and the one Jenkins is compiled. If I run java -version I get: java version ...
1
vote
0answers
159 views

Adding mysql driver to tomcat openshift

I have deployed my war file on openshift tomcat. As suggested to deploy war file directly we need to remove the src and pom.xml before coping the war file in webapps folder. pre compiled java ...
1
vote
0answers
370 views

Set up 'tomcat' non-root user in Tomcat 8

I've installed Tomcat 8 in Debian 8 and I need to harden the web server. I'm following the official Tomcat documentation guide and in the security considerations section recommends to create another ...
1
vote
0answers
239 views

How to start tomcat with faketime within a docker container?

I use docker to deploy a Java web application in tomcat. For testing purposes, I want to force the system date to a specific value. With Docker it is not possible to change the container date without ...
1
vote
0answers
123 views

Distinguishing called URL for response rewriting for tomcat app via IIS ARR reverse proxy

Hi to the community at Serverfault! I have an issue while trying to configure my IIS to open the respective manager APP on two Tomcat Servers on the same machine. When I call the sites directly via ...
1
vote
0answers
17 views

Php load balancing questions

I have a custom written ecommerce app that runs on it's own dedicated server. All of it's constants (such as database connections, file paths etc..) are defined in a single _constants.php file. The ...
1
vote
0answers
354 views

Disabled SSLv3 in Tomcat, but Still Showing POODLE Vulnerability

I have a Windows 2008 server with Tomcat 7.0.59 & Java 8u31 & I am trying to ensure that SSLv3 is disabled. Looking at the changelog for Java, SSL3 should no longer be supported and the Java ...
1
vote
0answers
213 views

Using JkMount in a LocationMatch directive in Apache 2.2

I'm on Debian Wheezy with Apache 2.2.2. I previously had all requests for a VirtualHost forwarding to Tomcat using: JkMount / ajp13_worker JkMount /* ajp13_worker Now, I want to exclude one ...
1
vote
0answers
195 views

Apache reverse proxy context to Tomcat without a context

I have an Apache instance and two Tomcat instances. Apache is public facing https://public_url/app1 and https://public_url/app2 and should pass each context to the respective Tomcat instance. One of ...
1
vote
0answers
163 views

IIS Reverse Proxy to Tomcat uppercase path

We have an application being served by Tomcat 7 on port 8080. We want users to use SSL. So we are using IIS 8 as a Reverse Proxy to proxy connection from port 443 to port 8080. This is what we are ...
1
vote
0answers
2k views

mod_jk losing connection with tomcat

I'm running an Apache tomcat + mod_jk 1.2.40 behind an apache web server. Everything has been setup and works properly for some amount of time since a tomcat startup (measurable in days/weeks); then ...
1
vote
0answers
285 views

Disable SSL3 on tomcat4

I have a very old web application that uses tomcat4. B/c of the poodle vulnerability I need to disable SSL3 and disable a bunch of weak ciphers. My connector looks like this, but apparently ...
1
vote
0answers
358 views

How to protect tomcat application - user authentication with fail2ban?

AFAIK tomcat6 does not use Apache std .htaccess auth, but has own user authentication method. My question is: How to protect it against brute force attack with fail2ban ?
1
vote
0answers
289 views

Java Spring application working on one system, dying on almost identical one

Introduction I'm running a third party Java Spring application on RHEL, that refuses to run on machines cloned from a certain RHEL 6.5 template. It just dies on startup with a bogus exception (see ...