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
0answers
4 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
11 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
9 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
15 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
802 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
916 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
19 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
24 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
689 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
18 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
10 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
955 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
862 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
26 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 ...
0
votes
1answer
29 views

mapping a war file on a remote CentOS server to a domain name [closed]

If tomcat is installed in a remote centos 7 dedicated web server, and a war file is placed in the webapps folder, how would you set things up so that http requests originating all over the internet ...
2
votes
2answers
959 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
973 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
12 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
910 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
880 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
189 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
870 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
607 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
51 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 ...
0
votes
1answer
897 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
55 views

How to disable tomcat startup on server boot?

I have a Amazon Linux instance in which Tomcat is starting up during the server start. I want to disable it. Tomcat is not listed in the chkconfig or /etc/rc.local. How to find out, from where it's ...
0
votes
1answer
1k 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, ...
0
votes
0answers
35 views

How to limit the RAM used by Apache Tomcat on AWS micro instance?

I am running Apache Tomcat with Geoserver as a .WAR on an AWS micro server running Ubuntu 14.04 with 1 GB RAM and ~700 MB swap, and I am concerned about my RAM usage because it is overflowing into my ...
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
2answers
18 views

Restrict access to apache tomcat in local network [closed]

I am setting up an apache tomcat webserver for my local network and I want to block any external access from outside of the local network (the internet) for security reasons. Can I configure tomcat ...
0
votes
2answers
20 views

Automatically stop Tomcat if Root context initialization fails

I can't seem to figure out if it's possible to setup Tomcat to stop when the ROOT context initialization fails. Since my Tomcat instance only hosts one application as the ROOT context, it makes no ...
0
votes
2answers
68 views

Tomcat 8 org.apache.catalina.webresources.Cache.getResource

I have just upgraded from 7.0.52 to 8.0.14. I am getting this for lots of static image files: org.apache.catalina.webresources.Cache.getResource Unable to add the resource at ...
0
votes
1answer
851 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 ...
3
votes
1answer
1k 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 ...
1
vote
1answer
838 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 ...