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)

1
vote
1answer
2k 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 ...
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 ...
-4
votes
0answers
14 views

Tomcat8.0 causes “Failed to open access log file … java.io.FileNotFoundException: … t_access_log.2014-12-21.txt (Access is denied)” [on hold]

Dec 21, 2014 12:43:28 PM org.apache.catalina.startup.VersionLoggerListener log INFO: Server version: Apache Tomcat/8.0.15 Dec 21, 2014 12:43:28 PM ...
1
vote
2answers
4k 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
15 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 ...
0
votes
1answer
1k views

Losing JSESSIONID when using ProxyHTMLURLMap

I've setup a reverse proxy between an Apache front-end and multiple Tomcat backends. The below block of code includes the ProxyHTMLURLMap param so that the HTML can be rewritten to remove the Tomcat ...
-3
votes
0answers
15 views

Tune tomcat + mongoDB on ubuntu digitalocean [on hold]

I have a cloud sever in DigitalOcean running ubuntu with 512 ram. I will be running a rest java app (sessionless) together with mongodb. What will be the best configuration for tomcat? -Xms????m ...
0
votes
1answer
972 views

Load balancing using Httpd mod_cluster and tomcat not working

I am trying to setup a load balancer using Httpd, mod_cluster and Tomcat. My Httpd is running on the same server with IP 192.168.9.73 where the tomcat is running. Here is my Httpd configuration- ...
2
votes
1answer
1k 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 ...
0
votes
0answers
14 views

tomcat 6.0.28 is working with sslEnabledProtocols [closed]

Can anyone please help me to resolve my query: [Problem] Why "sslEnabledProtocols" attribute used in "" tag under "server.xml" file is working in tomcat version 6.0.28? It is supported in 6.0.38 ...
1
vote
2answers
6k 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
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 ...
0
votes
0answers
9 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?
5
votes
1answer
4k views

Apache Solr Admin on Tomcat Deployed in WebApps Directory

I am trying to get Apache Solr to work on Redhat6 and Tomcat6 (using these instructions), but get this error when browsing to the admin section, http://localhost:8080/solr-example/admin: HTTP ...
0
votes
0answers
14 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 ...
4
votes
1answer
2k 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 ...
0
votes
1answer
16 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
10 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
18 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 ...
2
votes
5answers
26k views

How can I configure TomCat Java options in a config file?

I'm trying to configure Java options passed into TomCat for a 3rd party application that I'm deploying. The instructions that the app provides are: Open the Tomcat configuration tool from the ...
0
votes
1answer
805 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: ...
8
votes
2answers
2k 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 ...
6
votes
1answer
2k views

Restart a single tomcat 7 webapp at a specific time?

Tomcat 7 is running on a Windows System. I need to restart one of the deplyoed web applications each day at a specific time. Is there an option to do that via script or (even better) does tomcat ...
0
votes
1answer
1k views

Why Tomcat7 gives 404 for localhost:8080/

I had Tomcat working on my PC, it stopped working, couldn't debug. So, did a reinstall but it doesn't seem to work yet. I have installed ver 7.0.52 and have startup script taken from here. The ...
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 ...
0
votes
2answers
918 views

Apache reverse proxy with VirtualHost not serving a page

I have an Apache reverse proxy set to move requests to a Tomcat Applet. The config is similar to: <VirtualHost 100.100.100.100:80> ProxyPass /AppName/App http://1.1.1.1/AppName/App ...
0
votes
0answers
37 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
29 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 ...
1
vote
2answers
1k views

Apache & Tomcat Load balancing via Mod_jk issue

I hope this finds you all in the best of your health and spirits. I have an issue with a new setup where I currently have 1 APACHE 2.2.15 & Tomcat 6.0.14 on RHEL. Mod_JK version 1.2.30. Ill add ...
0
votes
2answers
701 views

forward port 80 to 8080 failed

I am trying to forward a port from 80 to 8080 (default to tomcat). below is what I added to the httpd file. <VirtualHost www.example.com:80> ProxyPreserveHost On ProxyRequests Off ...
-2
votes
0answers
20 views

What are the correct memory settings for Tomcat 7 under java 8?

How is memory set in tomcat-8 with java-8 as jvm? In java-7 using java-7 i would create a file with contetnts as below #!/bin/sh export JAVA_OPTS="-Xms1000m -Xmx6000m" /tomcat/bin/startup.sh How ...
0
votes
0answers
13 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 ...
0
votes
1answer
963 views

Tomcat is closing randomly

We are using Tomcat 7.0.21 for production. Server is hanging randomly for last week. It creates files like hs_err_pid4528.log under bin folder. There are two parts in logs. JRE version: 7.0_21-b11 ...
0
votes
1answer
872 views

.htaccess Rewriting Tomcat Server

I am writing a website using Railo. My code is to be deployed on a Railo Server running on Tomcat, overlayed on a regular Apache+PHP server. I need to send all requests to ...
0
votes
2answers
29 views

Cannot access tomcat's manager webapp

This question has been asked at least 5 times here or at stackoverflow, but in virtually all cases either a pre tomcat7 version causes trouble or the tomcat-users.xml is syntactically incorrect. I'd ...
2
votes
2answers
1k views

difference between _default_:* and *:* in VirtualHost Context

I want to know the difference between "default:*" and "*:*" in VirtualHost Context. <VirtualHost _default_:*> #... ServerName host.example.com #... </VirtualHost> ...
1
vote
1answer
3k views

IIS 7.5 , Tomcat 7 - Isapi redirector - Fail Over - sticky sessions

I have two instances of Tomcat 7.0.8 running in the same machine (Tomcat7A and Tomcat7B) and IIS 7.5 acting as front-end load-balancer with isapi-redirector 1.2.31, running on Windows 2008 R2. When i ...
-1
votes
1answer
30 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 ...
0
votes
1answer
990 views

Tomcat localhost page showing HTTP500 but I can access the 'sample' war / app but no others - Jenkins installed

I'm trying to set up my server properly so that I can run servlets on it with the help from Jenkins. Within the webapps folder are two war files. One for jenkins and one for the sample from ...
1
vote
3answers
2k views

Extremely slow startup of tomcat

I have a tomcat 7 installation on a Solaris 10 server. My problem is that starting the server (or deploying a new war) is extremely slow. It usually take 30 - 60 minutes. The war application is a ...
-1
votes
0answers
13 views

How to optimize Tomcat for small JSON payloads

I'm currently running an API which returns < 1kb JSON & XML messages from a GET Request. Secondarily it also accepts ~3MB data files via a Put request about once a week. I'm running Tomcat ...
0
votes
2answers
914 views

fedora tomcat log file path

My log file is inside: kamil@localhost tomcat$ grep "logs/" ./* ./log4j.properties:log4j.appender.R.File=${catalina.home}/logs/tomcat.log my CATALINA_HOME is kamil@localhost tomcat$ sudo grep ...
0
votes
2answers
889 views

Starting Automatically Tomcat 7 Monitor Windows 7 / Vista

Anybody knows how is possible to start automatically Tomcat's Monitor? Tomcatw.exe with the service's Tomcat? I tried but, it does not start. I was trying to install like windows Services manually, ...
1
vote
2answers
194 views

Sometimes Tomcat doesn't re-deploy on startup

The infamous rm -rf command is something we would rather avoid in Production, even if it's scripted. So if you have a war file named mywebapp.war and a directory its deployed to under webapps/ that is ...
0
votes
2answers
4k views

IIS 7 + Tomcat 7 - how to reach http://localhost:8080/my_app under e.g. http://my_app.local

In brief: IIS 7 + Apache Tomcat 7 + isapi_redirect.dll: I have a deployed and working Tomcat-application available under http://localhost:8080/my_app. I would like to see the same content under ...
0
votes
2answers
877 views

how to install ssl on tomcat 7?

I know this question might sound too easy and I should had read all docs available on internet, the true is that I did, and I had no luck, its kinda confusing for me, I have installed many times this ...
1
vote
2answers
609 views

Tomcat-workers: Session management without stickiness

I am learning Tomcat session control and I have 2 workers with sticky_session=1. But I want to remove stickiness to a particular worker yet maintain the session for users. I found the following ...
1
vote
0answers
53 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
1answer
2k 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
2answers
1k views

Can access website but images, css stylesheets and javascript files do not download

i have this problem, not sure about the source of it, Basically the title describes the issue, I can access the webpage and see the html structure, but no resources are being donwloaded nor I have ...