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

0
votes
0answers
291 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
22 views

Java application times out in Tomcat 7, not when standalone

A java program is to upload a file to a site. When it runs as standalone it's working, total time its taking is around 2.5 mins. But when the same java program runs under tomcat 7 it is throwing ...
1
vote
1answer
80 views

Growing memory use

Let me start with picture: This is memory usage of our backup Tomcat server. It is just hanging there, processing simple healt check request every couple fo seonds and waiting for main server's ...
0
votes
2answers
417 views

Tomcat and IIS 7 both on different ip's and different ports

I have Tomcat and IIS 7 installed together on a Windows 2008 server. The machine has two IPs (134.133.1.1 and 134.133.2.2). I want Tomcat to handle 134.133.1.1, on port 80, and IIS to handle both ...
0
votes
0answers
32 views

tomcat https static content

We are using tomcat to serve everything over http. BUT, we have a login page which is served over https since we have them enter a password. Recently, chrome has stopped supporting serving non secure ...
0
votes
0answers
160 views

sending tomcat catalina.out to syslog

we're on tomcat 6.4 on centos. I've been trying to get the catalina.out logs in tomcat to syslog. For reasons it's very important that I don't send the raw logs, they have to be tagged with OURTOMCAT: ...
0
votes
1answer
13 views

Is it possible to only restart part of tomcat servlet engine?

I've configured tomcat server to have multiple server instances, each on a separate port. Here is part on server.xml: <Server port="8005" shutdown="SHUTDOWN"> ... </Server> <Server ...
0
votes
1answer
152 views

Port 80 to port 8080 Redirection: Apache with Proxypass Too Slow Whereas Accessing xyz.com:8080 directly is very fast

We are facing a Strange Problem....We have a busy server...and the response time is going about 1 Minute Per Request(very slow).....which is running in front of Tomcat.....if we are accessing site ...
0
votes
1answer
64 views

Tomcat Clustering With Apache-[warn] proxy: No protocol handler was valid for the URL /. If you are using a DSO version of mod_proxy

I am new to apache and tomcat, and trying to implement clustering with mod_proxy and able get run multiple tomcat instances but got stuck. Here is my config: httpd.conf: LoadModule proxy_module ...
1
vote
0answers
133 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 ...
0
votes
0answers
77 views

Apache Tomcat for Windows - cannot get https to work

Environment: Windows 2003 Server 64-bit Running on VMWare ESX 5.5 8GB of Ram Apache Tomcat 6.0.36 Server D:\Program Files\Java\jdk1.6.0_26\jre\bin\server\jvm.dll JDK 1.6 update: 26 Have been able ...
0
votes
0answers
69 views

Tomcat is not starting although JAVA_HOME path is correct

I have linux server in which I run several Tomcats. The current Java I use is 64 bit. All Tomcats use 64 bit java but one. This one Tomcat needs to run with 32 bit Java. If I don't change anything, ...
1
vote
2answers
223 views

Deploying tomcat/mysql application on windows

Our web service software consists of a (precompiled) war file and a mysql database. We provide installation packages to deploy it on Ubuntu or Fedora, in a standard Tomcat7/MySQL/Apache2 setup using ...
-1
votes
2answers
310 views

CENTOS Vs Windows 2008 R2 [duplicate]

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 ...
0
votes
1answer
101 views

Tomcat8 setup port to 80

I followed this http://www.mogilowski.net/lang/en-us/2014/04/22/install-apache-tomcat-8-on-debian-7-wheezy-with-virtual-hosts-and-apache2-integration/ to install tomcat on an VPS, version 8.0.20... ...
1
vote
0answers
35 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 ...
0
votes
0answers
49 views

NGINX configuration with Tomcat Application with session

I am new to NGINX and am trying to configure NGINX to pass requests to a domain address to a web application running in Tomcat. How can I configure nginx to pass domain requests to the application ...
-2
votes
3answers
13k views

Check if tomcat running from command line [closed]

May I ask if someone knows how to check if tomcat is running from command line, unix? Thank you very much
0
votes
1answer
70 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
20 views

Our tomcat just crashed due to classnotfound, not sure how to investigate

Our server has been in production for years without issues, but today it crashed out of the blue. Last in the logs: Exception in thread "main" java.lang.NoClassDefFoundError: ...
0
votes
1answer
47 views

Apache 2 vhost with java tomcat and apache php

OS: Ubuntu2 Servers: Apache2,Tomcat 7 I'm missing knowledge of apache and tomcat configuration. Is it possible to create a vhost example.com <VirtualHost *:80> ServerName ...
0
votes
2answers
859 views

Apache + mod_jk + tomcat: too many apache processes created

I am using Apache + mod_jk + tomcat on my server and when I get many requests, especially with 404 responses (apparently it is scanning), I see many httpd processes started. When I shut down Tomcat ...
-1
votes
1answer
67 views

Tomcat 7 is being unresponsive when I turn on SSL (no SSL handshake) [duplicate]

My question is: why won't tomcat respond when I turn on SSL? I've attempted to migrate a working tomcat7 web application from an Ubuntu 12.10 x64 Server to a fresh Ubuntu 14.04 x64 server. Every ...
2
votes
1answer
637 views

Tomcat7 hangs on deploying apps

I'm having some very strange behavior in Tomcat 7 on Ubuntu 14.04. I created a new VPS, installed default-jdk and other simple stuff. Downloaded and unpacked Tomcat 7. Checked that it runs on ...
0
votes
0answers
20 views

Deploy from Eclipse to Tomcat cluster

I've the following cluster configuration in server.xml on each server (there are two): <Cluster className="org.apache.catalina.ha.tcp.SimpleTcpCluster"> <Deployer ...
0
votes
0answers
48 views

Any benefits to proxying from nginx to tomcat behind cloudfront+elb?

Are there any additional benefits to having nginx sit in front of tomcat on our ec2 instances, when those instances are already only serving dynamic requests behind cloudfront and ELB? I'm thinking ...
1
vote
1answer
70 views

What is causing Apache httpd (+mod_proxy_ajp) to drop connections

I have the following VirtualHost configured (Apache 2.2.22) <VirtualHost *:80> ServerName ************ ProxyRequests Off <Proxy *> Order deny,allow Allow from ...
0
votes
1answer
171 views

EC2 instance running apache tomcat not accessible from outside

I have a 64-bit amazon linux instance in aws. I am running apache tomcat6 running on that machine. sudo fuser -v -n tcp 8080 USER PID ACCESS COMMAND 8080/tcp: ...
0
votes
0answers
27 views

Can Apache mod_proxy_balancer redirect to a specific worker when it fails?

With Apache 2.2 mod_proxy_balancer, I am load balancing 2 tomcat (T1 and T2) instances, and 1 more tomcat (T-HA) for failover. I know that I can set the T-HA with status=+H for that purpose, like the ...
0
votes
0answers
71 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 ...
7
votes
3answers
3k views

Controlling tomcat with supervisor

Is there a way to "gracefully" shutdown tomcat when controlling via supervisor? My understanding is Tomcat's shutdown.sh script talks to tomcat on the shutdown port to initiate a graceful shutdown. ...
3
votes
1answer
3k views

Adding a docBase for Virtual Host using the Tomcat Virtual Host Manager

In the Tomcat Virtual Host Manager there is an option to add a virtual host with options for: Name Aliases App base AutoDeploy DeployOnStartup DeployXML UnpackWARs Manager App However there doesn't ...
3
votes
1answer
44 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
63 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
55 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
117 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
15 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
0answers
159 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 ...
1
vote
4answers
785 views

What's a good setup for running Java and PHP applications with SSL on the same server?

I have one Java- and one PHP-application which I both want to run on the same machine (using Tomcat). As far as I can see, I have two options: Option 1: Do the classic apache-tomcat setup with ...
9
votes
2answers
574 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
223 views

Optimizing performance of Apache Tomcat serving Cognos TM1 application

I have inherited a project to optimize the performance of the Cognos TM1 application for my organization. When running reports from the web server, it takes a very long time (varies from 20-30 ...
0
votes
2answers
83 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
19 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 ...
2
votes
1answer
312 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 ...
0
votes
0answers
30 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 ...
-1
votes
2answers
138 views

Tomcat WAR file which increments JSESSIONID on reload to test session replication [closed]

I'm currently having to configure Tomcat for the first time. For the moment, I think session replication (JSESSIONID) is working, but I have no way of knowing. Note that I've never learned to code ...
0
votes
1answer
69 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
1answer
91 views

Two tomcat instances behind apache

I have three servers. Server A is a Apache Server, Server B and C are Tomcat Servers. I added two new Virtual Hosts to the Apache 1st Host: <VirtualHost *:80> ServerName dev.domain.com ...
0
votes
0answers
76 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
30 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 ...