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)

0
votes
1answer
783 views

Tomcat Redirect Issue - Extra “/” after hostname - Help Please

All, We are running into a peculiar issue. We have Tomcat 6.0.24 front-ended by Apache2.2.3. We have a VirtualHost serving port 80 and a ServerAlias. Apache simply hands off "/" to Tomcat's ...
0
votes
0answers
8 views

get tomcat worker status from jkmanager

We have 3 Machines mod_jk with load balancer first Worker on tomcat8 2nd Worker on tomcat8 everything works as expected but, when one of the tomcat is being shutting down the status page on the ...
1
vote
1answer
1k views

Unable to link IIS8 and Tomcat7 by ISAPI on Windows Server 2012

Firstly, I am completely new to IIS and Windows Server. Previously I used to work only on Apache and Linux. I want to link IIS8 and Tomcat 7.0.34 under a subdomain, such that when someone visits ...
0
votes
0answers
12 views

How to profile how much memory my tomcat server needs?

I'm running a tomcat server on my own for the first time and I was shocked by how much memory Java apps need compared to apps in other languages. Since I am paying a web host, I want to determine how ...
1
vote
3answers
1k 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
53 views

Generate a certificate with Openssl and import the same certificate using keytool

I have a question about the SSL during the use of CAS in LIferay. I have generate the certificate using Openssl (I flollowed this tutorial) on my CAS Server and now I would to import the certificate ...
1
vote
0answers
19 views

How to troubleshoot an unresponsive server

I'm performance testing my Java based web application (Grails) that is deployed on Tomcat. The server has the below services running on it: Apache HTTPD Apache Tomcat MySql RabbitMQ Even though I ...
0
votes
2answers
2k 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 ...
1
vote
1answer
57 views

404 in Tomcat manager with AJP connector

I'm trying to configure Tomcat 7 on CentOS 6 with Apache mod_jk, SSL, and an AJP connector. The JK module is installed under Apache: $ sudo httpd -M | grep jk jk_module (shared) Syntax OK Tomcat ...
0
votes
1answer
5k views

Why - Could not find worker with name 'jk-manager' in uri map post processing?

I am using apache2 + mod_jk(ajp protocol) + tomcat7. but I always get the error below: [Sat Mar 30 17:30:54.691 2013] [25238:3074365824] [info] init_jk::mod_jk.c (3365): mod_jk/1.2.37 initialized ...
-1
votes
1answer
21 views

Tomcat app behind Apache, htaccess auth

Please help to set up a protection for Tomcat app with .htaccess. I want to use mod_proxy ProxyPass and ProxyPassReverse My tomcat app: www.example.com:8085 What I want is to make it impossible to ...
1
vote
1answer
1k views

Can't connect to localhost on port 8443 for tomcat https

I've installed tomcat and it is running perfectly fine. However, I can't access it via https layer. Port 8080 works fine: curl -IL http://localhost:8080 HTTP/1.1 200 OK Server: Apache-Coyote/1.1 ...
0
votes
4answers
3k views

how do I know tomcat is running on Windows

I'm on Windows, went to %CATALINA_HOME%\bin\ and ran startup. I did see another commandline window popup and tomcat was loading some webapps that were there before (I had run webapp inside my IDE ...
-1
votes
0answers
9 views

Configuring An Opensource Control panel to use with Tomcat 7 in linux or centos

I have a vps with cent os 5.x installed and a kloxo cp installed with it. What I need is how to configure tomcat 7.0 to use side by side by kloxo panel, for example, I can sell a jsp hosting, that ...
1
vote
1answer
751 views

Connection from Apache to Tomcat via mod_jk not working

I would like to connect apache to tomcat via mod_jk (same machine). The ajp connector in tomcat is listening on port 8009, the worker settings are: worker.worker1.port=8009 ...
1
vote
2answers
75 views

Tomcat crashing after a few hours

I'm running a CentOS 6.5 64 bit OS with Tomcat and one web application. I use Apache (httpd) as a reverse proxy (ProxyPass) to the application. Until recently, it (Tomcat) has been running fine ...
0
votes
0answers
15 views

Starting a second tomcat instance with a user other than root on redhat linux

I am running RHEL Server 6.1 After intalling tomcat6 using yum install tomcat6, I needed a different tomcat instance on the same server. Following instructions on ...
0
votes
0answers
9 views

Can't connect to Tomcat

I an new to Tomcat and having some problems - I have installed Tomcat 7 and it is running and set to use port 8080 in server.xml. I have opened port 8080 in iptables (and saved iptables) but I cannot ...
0
votes
2answers
26 views

Hide/mask tomcat from open access

How to mask tomcat app adress from public access easily. Let's say we run it on default port 8080. So myapp.com:8080 is easy to scan, whatever port we use it's no problem. Lockoutrealm that tomcat ...
-3
votes
0answers
22 views

How to find the URL of unknown tomcat app name

For example I have app: myapp.com:8080/xyz123 How to access to this app thru browser without knowing "xyz123" app folder name in webapps. Is that possible at all?
1
vote
0answers
37 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 ...
0
votes
1answer
112 views

AWS RDS Mysql with beanstalk Hibernate app: Character encoding issue

I'm running a webapp from amazon rds with tomcat 7 and spring, which uses hibernate as the persistence layer. The application and utf-8 encoding work properly on localhost, but for some reason when I ...
2
votes
2answers
2k views

Which AMI to to use for Java/Tomcat/MySQL in Amazon EC2?

I originally posted this on stackoverflow.com and it was suggested serverfault.com might be a better place to ask this question. So here goes: I'm trying to determine which Amazon Machine Image ...
0
votes
1answer
450 views

Load balancing using mod_cluster with httpd and Tomcat only?

Is it possible to design a load balancer using Apache Httpd with mod_cluster and Tomcat only (No JBossAS or JBossWeb)?
1
vote
3answers
2k views

Production Instance : CLOSE_WAIT Connection Issue

I am using 10EC2 Instances behind 1 ELB. And ELB configured 80 to 8080 and 443 to 8080 port. And all 10EC2 instances having installed with Apache Tomcat, total request on ELB around 8000 to 10000 in ...
0
votes
1answer
773 views

How to specify path in Apache tomcat catalina for folder on different server?

On apache tomcat C:\Program Files\Apache Software Foundation\Tomcat 6.0\conf\Catalina\localhost\ we can change folders for another by specify it in XML like: THE_FOLDER.xml and in that xml we ...
0
votes
0answers
28 views

Mobile URL Rewriting for a specific Server Path

I have a website running on www.example.com using a Tomcat web server. On this tomcat the website is running in the root directory. Now I have a mobile web app which is located under ...
1
vote
1answer
1k 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 ...
7
votes
1answer
1k views

Tomcat 7 trailing slash issue with webapps

Recently I upgraded my tomcat server from 6.x version to the most recent 7.x version. I came up with little trouble, hoping to get help. I have an application calls MyApp On tomcat6, when I went to ...
2
votes
1answer
128 views

Tomcat 7: Include virtual host definitions from a directory?

I'm setting up a new Tomcat 7.0.33 server, and I'm looking for a simple way to include a directory full of virtual host definition XML files for configuration. I've found that it's possible to do XML ...
0
votes
1answer
733 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
votes
2answers
35 views

How do I set up TLS-PSK with Tomcat [on hold]

The Tomcat people won't help me, so I'm hoping someone here will come through. I can't figure out how to set up Tomcat to use pre-shared keys. All the SSL/TLS guides for it assume certificates. Please ...
0
votes
2answers
134 views

Tomcat 5.5: “Exception processing JAR at resource path” leads to java.lang.OutOfMemoryError

We have an old server running Tomcat 5.5. Yesterday we deployed a war file, and then it started to crash. Looking at catalina.date.log I found some java.util.zip.ZipException and then ...
0
votes
0answers
28 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
1answer
779 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 ...
0
votes
0answers
29 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
0answers
21 views

High CPU Utilization from apache tomcat

In our environment, we have two tomcat servers on a windows environment which are load balanced. Server 1 has normal CPU utilization whereas Server 2 has almost/more than double the CPU utilization of ...
1
vote
1answer
26 views

Tomcat Still Displaying :8080 after configuration changes

I looked around the site and tried to follow the recommendations. I specified that Tomcat use port 80, changed the connector listening port, and restarted the server each time. However, when I try to ...
1
vote
1answer
999 views

Which JMX statistics to watch out for in Catalina/Tomcat?

I have configured OpenNMS to collect all kinds of numeric data coming out of tomcat7 jmx. There are a lot of things. I am interested in monitoring this tomcat instance so that I can avoid down time ...
-2
votes
5answers
2k views

How to add symbolic link as webapp to webapps in Tomcat 7 on Linux?

Setup I use Apache Tomcat 7 on an Arch linux distribution, and my webapps directory is located at /usr/share/tomcat7/webapps. In this directory one should create a directory, and put META-INF and ...
0
votes
3answers
642 views

Howto find Tomcat current thread count

On my Linux server I run tomcat as root and when I run ps aux it gives the following output. root 25667 0.1 29.2 4574004 306980 ? Sl Apr27 33:57 /usr/local/java/bin/java ...
1
vote
2answers
2k 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 ...
0
votes
1answer
2k views

Simple setup for load-balanced and fail-over tomcat?

Being new to Tomcat infrastructure, I am wondering what an advisable setup would be to have two physical machines each running a tomcat instance to be load-balanced and capable of failover to each ...
-1
votes
0answers
28 views

can only access tomcat (running on centos) locally not from machine on same subnet

I have an app installed (one that i have installed several times) on centos 6.5 it runs a version of tomcat (7.0.54) that is currently configured on port 8888 .. i cannot access this page from any ...
0
votes
1answer
855 views

Keytool ServerAlternateName

I'm trying to get the certificates just right for our Jira/Confluence deployments in house. People access them differently, either from the hostname or the FQDN. I'm using Java 7's keytool so I have ...
1
vote
1answer
2k views

Tomcat fails to start, no logs or error provided

I have a Centos5 box running tomcat5 (a version before 5.5, there's no bin/version.sh script). When attempting to start tomcat, whether through init.d or service, I get the FAILED message with no ...
1
vote
0answers
22 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, ...
4
votes
1answer
1k views

using wildcards in host-aliases for Tomcat's virtual hosts

I want to do the following with Tomcat 5.5: *.mydomain.com should go to my webapp, located at the virtual host mydomain.com. So I have a virtual host mydomain.com, and I want all *.mydomain.com also ...
1
vote
1answer
37 views

Service Tomcat7 Restart vs Stop and Start [closed]

Is there any difference to doing: service tomcat7 restart vs service tomcat7 stop service tomcat7 start Thanks
0
votes
1answer
756 views

How to use mod_proxy to let my index of Apache go to Tomcat ROOT and be able to browse my other Apache sites

I am trying to use my Tomcat application (deployed at ROOT) to be viewed from Apache port 80. To do this, I used mod_proxy, since mod_jk made me try harder. I used sth like this in httpd.conf: ...