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
1answer
848 views

Tomcat web application intermittent freeze

I have a Grails web application (just a standard war file) deployed on a Ubuntu 10.10 server running on tomcat 6. My database is postgresql. The problem is that every so often (once or twice a day ...
1
vote
2answers
3k views

error ocuuring ::: failed to install tomcat 7 service

While I'm trying to install Tomcat(apache-tomcat-7.0.23.exe) on my system (Windows XP SP3), which is in company's network, it is showing me the following error: failed to install tomcat 7 service ...
0
votes
2answers
3k views

Start and shutdown tomcat via ssh

Updated I find out that the path of jdk it using is wrong. eval: 1: /opt/Java/jdk1.6.0_25/jre/bin/java: not found the Java should be lower case java, how is that happen? When I run this script ...
0
votes
1answer
156 views

Tomcat 8.0 Rewrite Valve

I am trying to use the RewriteValve in Tomcat 8.0 http://tomcat.apache.org/tomcat-8.0-doc/rewrite.html In $CATALINA_HOME/conf/server.xml, I added <Valve ...
0
votes
0answers
200 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
1answer
2k 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, ...
1
vote
1answer
1k 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
16 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 ...
0
votes
1answer
864 views

Error in tomcat 7 start up

I am facing problem in starting up the tomcat zip file. I am totally new to jsp and servlets. I have installed tomcat 7.0.52 and set the path and java_home both. In one of my system its working fine ...
1
vote
1answer
60 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
382 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
27 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
2answers
883 views

Make Tomcat use X-Real-IP

I'm configuring nginx as a reverse proxy in front of Tomcat 7. I added the following lines to nginx configuration: set_real_ip_from 127.0.0.1; ... location / { proxy_pass http://tomcat; ...
1
vote
3answers
2k views

Tomcat: how to change location of manager and host-manager to a subdirectory

I'm running a Tomcat 6.0.28 at port 8080 in a Debian Squeeze box. I'm a newbie in tomcat. I would like to change the location of manager and host-manager applications. That is, instead of going to: ...
0
votes
1answer
1k 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
58 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
10 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 ...
2
votes
1answer
4k views

Starting Tomcat 7 as a user - init.d script can't write pid

I want to run Tomcat 7 as a user on CentOS 6. I've created a user tomcat:tomcat and changed the ownership under /var/lib/apache-tomcat* etc... There are lots of docs online on how to do that but I ...
0
votes
1answer
94 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
23 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
2answers
6k views

How to make Tomcat 7 log debugging info?

Tomcat 7 takes more than 21 minutes to start: ene 09, 2013 10:01:39 AM org.apache.catalina.startup.Catalina start INFO: Server startup in 1290787 ms When it finishes it says that it's scanning JARs ...
1
vote
1answer
1k views

Tomcat 7 ClassNotFoundException: org.apache.tomcat.JarScanner

When I try and start my app I get this error. I have verified that JarScanner exists in the CATALINA_HOME directory so I dont know why it cant find it. Is there anything that could lead to this issue ...
1
vote
0answers
77 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
47 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
44 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
220 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 ...
0
votes
2answers
861 views

How do I find out why Tomcat service is shutting down?

I've installed a tomcat instance on a clean Windows 2003 machine (VM running on an ESX cluster). I have an IIS background and I'm not familiar with tomcat. I'm hosting a single java/jsp based vendor ...
-1
votes
2answers
285 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
64 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
19 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
42 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
11k 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
53 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
74 views

(103) Software caused connection abort: proxy: pass request body failed

The following errors are being logged in our proxy Apache logs while processing the request with Tomcat Server: (103)Software caused connection abort: proxy: pass request body failed proxy: pass ...
0
votes
0answers
17 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
35 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
853 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
54 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
358 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
16 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
34 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
55 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
82 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
19 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
46 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 ...
5
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
2k 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 ...
0
votes
0answers
43 views

Accessing Tomcat manager on a server with multiple domains

I'm having a hard time accessing the Tomcat Manager on our multi domain setup. I keep getting a 404 when I load intra.domain.com/manager/html. Note, I can reach /docs without any issues. File: ...
3
votes
1answer
36 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
50 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 ...