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
4k 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
141 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
167 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
147 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
598 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
92 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
705 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
299 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
84 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
730 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
65 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
76 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
606 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
324 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
425 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
236 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
594 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
19 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
11 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
19 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
13 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
148 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 ...
1
vote
0answers
11 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
77 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
33 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
19 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
15 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
232 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
101 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
287 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
195 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
107 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
16 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
300 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
146 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
353 views

Artifactory behind Nginx without directory /artifactory in the url

On our old server (hosted), Artifactory was running behind an Apache proxy. The public url was http://repo.example.com/ Our hosting provider moved us to a new server. A new version of Artifactory ...
1
vote
0answers
160 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
145 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
1k 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
267 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
337 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
249 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 ...
1
vote
0answers
255 views

Squid configuration to allow all https and block all else to and from localhost

I'm attempting to use squid to mock something on my local windows machine for testing purposes. I need to allow local applications and browsers to connect to a tomcat server running on localhost, ...
1
vote
0answers
80 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 ...
1
vote
0answers
286 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
75 views

apache mod_proxy_ajp tomcat incomplete files occasionally

We have an issue where some users are seeing incomplete files returned from the web server that are proxied to Tomcat using mod_proxy_ajp apache 2.4.6 tomcat version 7.0.27 The files in question ...
1
vote
0answers
174 views

Configure ISAPI redirector: worker propreties for IIS and Liferay

I Asked this question on stackOverflow, i didn't get any answers sorry if the questions is somehow duplicated, any way : we have fronted Liferay tomcat server with IIS , and we used ISAPI tomcat ...