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)

3
votes
1answer
16 views

why is Tomcat ajp connection by default enabled

The Tomcat server configuration (server.xml) has AJP connector enabled by default. And so tomcat by default listens at port 8009. Why is this by default enabled ? I thought there will be only few ...
1
vote
2answers
24 views

Load Balancer, EC2 - HTTPS Connection

Ok this might be a rookie question but here's my scenario. I have a loadbalancer managing a single EC2 instance at the moment. I have an application running on that EC2 instance. What I like to ...
0
votes
1answer
12 views

Tomcat 8.15 APR Poller failed with error 610,038

I was testing my server with JMeter but when I reach an Highload the server tends to have this error logged on the console and it keeps a lot of active threads on apparent deadlock : 30-Jan-2015 ...
0
votes
1answer
16 views

How to selectively enable or disable SSL for some URLs in Tomcat 7

I am using SSL in Tomcat 7, create a keystore and configure server.xml, and also config in web.xml as below <security-constraint> <!-- SSL enforced --> ...
0
votes
0answers
4 views

IIS ISAPI filter - Logfile rotate

See http://tomcat.apache.org/connectors-doc/reference/iis.html My settings are log_level=info log_file=C:\Program Files\Apache Software Foundation\Tomcat 8.0\logs\isapi.%Y-%m-%d.log ...
0
votes
1answer
13 views

IIS 7.5 JK connector to Tomcat

I have many Tomcat servers working using an older 32-bit version of the isapi_redirect.dll where I set the Default Application Pool to Enable 32-Bit Applications. On a client's server, they need to ...
0
votes
0answers
39 views

How to reduce Tomcat response time (OR increase throughput)?

I have Tomcat 8 and MySQL 5.6 running in 2 Azure virtual machines (8 cores and 28 GB RAM). My web application provides a REST API to insert several data fields into DB. The application uses a common ...
0
votes
2answers
39 views

Apache mod_rewrite : RewriteRule to pass requests tomcat application [duplicate]

I am having difficulty defining a correct RewriteRule to forward requests to an application running in tomcat. I have apache with mod_rewrite enabled as well as tomcat setup with an application ...
0
votes
1answer
10 views

Tomcat on Windows, starting/stopping service

The Tomcat Windows Service How-To guide lists some commands to run/stop/etc the service from the command line. For example: Tomcat7 //ss// (with whatever parameters) Is there any practical ...
8
votes
2answers
378 views

Disallowing HTTP methods on Tomcat is case sensitive?

I have put the following in the web.xml of my application to attempt to disallow PUT, DELETE, etc.: <security-constraint> <web-resource-collection> <web-resource-name>restricted ...
0
votes
0answers
8 views

Redirecting Particular Server Request to Another Tomcat worker

I am currently using Tomcat, Apache and mod_jk for redirecting calls from 80 to 8080 on a Ubuntu Server. Of recently one of the Servlet request (which behaves more like a heartbeat ping, but gets some ...
0
votes
1answer
15 views

ProxyPassReverse Not Working with 302 Redirect

I'm using Apache HTTPD to proxy a local Tomcat server: ProxyPass / http://localhost:8080/ ProxyPassReverse / http://localhost:8080/ Everything works fine except when I have a 302 redirect. For some ...
0
votes
0answers
11 views

tomcat not logging to catalina.out

We have a server running a tomcat app that's not logging to catalina.out, we've checked the filesystem permissions, everything looks fine there. the logging.properties is the same (md5sum) as on ...
2
votes
1answer
23 views

Tomcat installation, where to set environmantal variables?

I am working my way through the RUNNING.txt file for installing Tomcat. It says: (3.1) Set CATALINA_HOME (required) and CATALINA_BASE (optional) The CATALINA_HOME environment variable should be ...
1
vote
0answers
26 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 ...
2
votes
0answers
42 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 ...
0
votes
0answers
35 views

Ubuntu 14.04: tomcat7 permission denied

I have been running a tomcat7 application on my Ubuntu machine and everything worked fine. Since some time, probably after a system update, I'm getting strange permission denied errors and I'm quite ...
-1
votes
1answer
19 views

JIRA Usage on AWS

I just set up JIRA on my ec2 instance after installing it via .bin installer file. But when I hit the ec2 url: ec2-xxxxx.xxxxx.amazonaws.com It is hitting the test success page for apache2 which I ...
1
vote
0answers
21 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 ...
0
votes
1answer
40 views

Tomcat, Apache, MySQL tuning

I am currently using AWS infrastructure to host my mobile web application. I use Apache Web Server, mod_jk to pass on requests to Tomcat which further communicates with MySQL DB using connection pool. ...
0
votes
1answer
16 views

Why tomcat on linux needs to build APR and not download

I am trying to install APR on Ubuntu Linux. I found that tomcat provides a downloadable APR package for windows but i cannot find a downloadable version for Linux. The tomcat site gives instructions ...
1
vote
0answers
20 views

Tomcat auto deploy before war copy is complete

I have auto deploy enabled on my tomcat 7 server. I deploy the war to the tomcat webapps directory over SCP from my Jenkins server. The problem is that Tomcat sometimes tries to unpack the WAR while ...
-1
votes
0answers
7 views

Development server for java WAR applications from current directory and without sudo [migrated]

In Rails and most modern web frameworks, I can easily develop web applications interactively by running a development server with a single simple command (rails server) and visiting the browser. For ...
3
votes
3answers
87 views

tomcat8 from wheezy-backports fails with configtest.sh

I have installed tomcat8 package from wheezy-backports. I use the default / unmodified installation with the following expections: I use Oracle Java 8 JDK in /etc/default/tomcat8 is added: ...
0
votes
1answer
71 views

Tomcat 8 hangs on startup while deploying webapp. Possibly related to entropy generation

I'm trying to get a tomcat webapp started and while just testing out the server (vanilla tomcat8 download) it seems to be hanging on startup. My guess is that it is hung up on something dealing with ...
0
votes
1answer
17 views

Tomcat service dies on startup

I have added the following arguments to the JVM options for a Tomcat Windows service: -Dcom.sun.management.jmxremote.port=3333 -Dcom.sun.management.jmxremote.ssl=false ...
-1
votes
2answers
44 views

Start Tomcat through cronjob

To make sure that Tomcat is running all the time, I wrote the following shell script #!/bin/bash status="$(curl -s http://www.domain.com/check)" if [ "$status" != "OK" ] then ...
0
votes
0answers
18 views

Umlaut URLs fail in Tomcat when accessed via isapi_redirect

I have some PDF Documents in my Servlet that contain ä,ö,ü,ß, etc. On accessing the documents like this http://hostname:8080/ServletName/test_ä.txt the tomcat initially responded with an 404. After ...
0
votes
1answer
47 views

How to find evidence of outbound network traffic in linux

I have setup a standard web application server in AWS using a bitnami Apache-Tomcat AMI. The instance is running in a public subnet with all Outbound traffic open but only allowing traffic inbound ...
0
votes
1answer
26 views

Prevent Tomcat from shutting down

I'm using CentOS 7 and Tomcat 8 to serve an online shop. After logging into the server via SSH, I usually run ./startup.sh and everything works smoothly, except for one thing: From time to time ...
0
votes
0answers
12 views

How can I add timestamps GC log file names in a Java Service under Windows? [migrated]

I've got a Java Application running against Apache Tomcat, under Windows. There are two ways of running this application - either as a Windows Service, or from a batch file to invoke Tomcat manually. ...
0
votes
1answer
64 views

Apache Tomcat 7.0.57 Cluster & mod_proxy / mod_proxy_ajp

I have set up an Apache Tomcat Cluster with an Apache HTTP server and load balancing on CentOS 6.6 the following way: + 1 VM running HTTP server & 1 Tomcat instance (used for deployment, not ...
1
vote
1answer
54 views

PostgreSQL 9.2 causes CPU utilization to go to 100%

We have a Java EE application (a online digital library portal) with Hibernate 4.3 which connects to a PostGres 9.2 database. Upon load testing with a load of 175 concurrent users logging in and ...
-1
votes
1answer
28 views

Cache Memory Growing very fast Cent Os -Tomcat

i am running Java application on Tomcat-6 on CentOs . JAVA_OPTS Like this : JAVA_OPTS="$JAVA_OPTS -Dorg.apache.catalina.security.SecurityListener.UMASK=`umask` -server -Xms256m -Xmx2536m ...
1
vote
1answer
53 views

Nginx and Tomcat Reverse Proxy not Working

I had trouble configuring Nginx and Tomcat Server on Cent OS. Here's the nginx.conf: server { listen 80; server_name subdomain.test.com; root ...
0
votes
1answer
62 views

tomcat7 hangs on deploying apps

I faced very strange behavior of tomcat7.(Ubuntu 14.04) I created new VPS. Installed default-jdk and other simple stuff. Downloaded and unpacked tomcat7. Checked that it runs via myIp:8080 and saw ...
0
votes
0answers
52 views

mod_proxy_ajp (70007)The timeout specified has expired: ajp_ilink_receive() can't receive header

I am using mod_proxy_ajp with Tomcat and I receive the following error: (70007)The timeout specified has expired: ajp_ilink_receive() can't receive header How do I fix this?
0
votes
0answers
12 views

Is “deployer” a reserved username in Tomcat?

I just found a curious situation with Apache Tomcat. When I tried to deploy my web application to tomcat via maven. I found that username deployer doesn't work yet username deploy works. Is the ...
0
votes
0answers
22 views

Make Multiple MOD_JK environment aware of each other

I have 2 web servers utilising mod_jk to load balance requests to 3 tomcat servers. The current configurations have to allow the usage of sticky sessions to pass returning requests back to the same ...
1
vote
1answer
73 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
33 views

Virtual Hosts, apache, mod-jk and tomcat

I have a tomcat(running on 8080) application on my cent os server and i can access it with the url: SERVER_IP:8080/myapp and I have my admin panel on SERVER_IP:8080/myapp/admin and I have an ...
1
vote
0answers
22 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?
0
votes
0answers
23 views

tomcat6 on centos 6.2 fail to start

i just installed tomcat6 through yum, but service tomcat6 start = OK, but service tomcat6 status = fail i found this post ...
0
votes
0answers
59 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 ...
0
votes
0answers
151 views

VirtualHost for httpd SSL reverse proxy server for tomcat on CentOS 7

A CentOS 7 web server on the web will be configured to only accept SSL connections from a small number of known users. The server has one ip and only one domain name. As part of that configuration, ...
0
votes
1answer
44 views

Deployment with tomcat7 manager, change directory for uploaded war

I am fighting with .war deployments using tomcat manager, it is starting webapp twice because I have defined hosts under server.xml. So it deployes one app for example.com and other one for /example. ...
0
votes
1answer
86 views

Stale Network connections to Tomcat AJP port

I have Tomcat Application server connected with Apache server using mod_jk connector. Both are running on different servers. Apache ----->------ Firewall ----->------ Tomcat For the last couple of ...
0
votes
1answer
30 views

Tomcat threads are increasing but never decreasing

We are using new relic to monitor tomcat threads. The graph shows increase of thread count,but it never decreased even the application is idle. We noticed that when it increase CPU also increased and ...
0
votes
0answers
31 views

windows single sign on tomcat through IIS Url rewrite

I'm facing a difficult setup where I have to configure single sign on, based on the logged in used on my tomcat application. I already took some steps which allow me to login via single sign on ...
-1
votes
1answer
47 views

Tomcat is unresponsive intermittently

Tomcat is unresponsive and throwing 504 intermittently. But there is not much CPU usage. We suspected it could happen we receive many number of requests and made tomcat unresponsive. We gave 400 as ...