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
2answers
179 views

How to distinguish multiple Tomcat clusters from one another?

OS: Ubuntu 12.04 LTS amd64 HTTP Server: Apache 2.2x Tomcat: Apache 7.x JVM: openJDK 1.7 We need to create a clustered Tomcat 7 environment. We have have been doing a lot of reading and need ...
-3
votes
4answers
626 views

How to redirect traffic from port 80 to port 8080

Currently, in a local system there is Apache Tomcat on port 8080 and Apache 2 on port 80. I'm unable to start both the servers at the same time. We need to stop apache2 to have tomcat running in the ...
0
votes
1answer
53 views

Detect if the original node failed in tomcat cluster

I have two nodes in a cluster. Node1 initially servers requests. Loadbalancer redirects the request to node 2 if the first node fails. I would like to know if there is a way for the Node 2 to detect ...
0
votes
1answer
113 views

How to configure Tomcat to log requests before they are executed?

We have Tomcat instance running on Ubuntu server. It runs a web service, open to the internet. Sometimes it has a sudden spike of traffic and goes down. There is nothing unusual in Tomcat access ...
0
votes
1answer
148 views

Session replication in Tomcat

I have setup my cluster with one loadbalancer and 2 nodes with sticky session. I am using mod_jk for loadbalancing. I am having problem with proper session replication. I am using Tomcat 6. When I ...
0
votes
0answers
12 views

How to sent the request to all server at same time behind proxy balancer?

Is there any way to sent the request to all server behind the balancer at the same time. That is from Apache to Four tomcat server's behind proxy balancer at the same time
0
votes
1answer
53 views

Tomcat access logs - are failed requests included?

We have a RESTful web service (Java, hosted in Tomcat on Ubuntu on Amazon EC2). From time to time it fails (not every week). When it fails, Java CPU consumption goes to 100% and it takes all available ...
0
votes
3answers
260 views

Why are Full GCs not running on my gcInterval I set?

ColdFusion 10 Update 10 Windows Server 2008 R2 Java 1.7.0_21 I am trying to figure Full GCs to run every 10 minutes. I have used the gcInterval JVM arg in the past on earlier versions of ...
0
votes
1answer
120 views

Apache httpd.conf redirection. How to “balance” app

This is probably a simple problem but I just can't seem to solve it! I have a website running 2 Apache Tomcats on different ports (e.g. 8080, 8085). However since my customers cannot access specific ...
0
votes
2answers
594 views

How to Exclude an URL for Apache Mod_proxy?

We have two Apache server as front-end and 4 tomcat server as back-end configured using mod_proxy module as load balancer. Now, we want to exclude an single tomcat url from the mod_proxy load ...
0
votes
0answers
74 views

How to Deploy a Directory or WAR in TOMCAT6 using ANT?

I want to deploy directory which is extraction of .war file using ANT in Tomcat6. I have build.xml like <property name="WAR_PATH" value="E:/18-06-2013/TEST"/> <property ...
1
vote
1answer
602 views

WARNING: Context manager doesn't exist

I have cluster setup with session replication. I have one load balancer with 2 tomcat instances as the worker nodes. In one of the node I am getting the WARNING. NOt sure what it really means. Session ...
1
vote
3answers
706 views

mod_jk produces Error smh errno=13

I am trying to use mod_jk for load balancing. Loadbalancer 172.17.8.189 (HTTPD+mod_jk) Node1 172.17.8.193 (apache tomcat instance 1) Node2 172.17.8.196 (apache tomcat instance 2) I checked my tomcat ...
0
votes
0answers
76 views

Apache + Tomcat not sending cookie for JSESSIONID

I have an Apache HTTPD with a ProxyPass to a Tomcat server in production that is not sending a cookie when a session is created in a servlet. In context.xml the cookies attribute is set to true. ...
0
votes
1answer
51 views

Tomcat upgrade from v6.0.29 to 6.0.37 requirement

There is not much to say in apache's document on how to migration from one version to another within V6, should I simply replace all files? (Redhat 64bit) ...
0
votes
0answers
149 views

Tomcat with SSL - java.io.IOException: Keystore was tampered with, or password was incorrect

I am trying to use tomcat setup over SSL. I generated the keystore using this command $JAVA_HOME/bin/keytool -genkey -alias tomcat -keyalg RSA -keystore /home/user/.keystore Then I used the ...
0
votes
1answer
214 views

Logging X-Forwarded-For IP in Shibboleth's Audit Logs

This is a follow up from my earlier question on capturing the X-Forwarded-For IP address in across multiple proxies. Now, I'm looking to capture the Client's IP in the application's (Shibboleth's IdP) ...
1
vote
0answers
109 views

TOMCAT Disable org.apache.http.wire logging

I need to shut up the org.apache.http.wire logging level because its logging every single HTTP request and it produces Gigabytes of logging, I'm using the default logging of tomcat6 which I think it ...
0
votes
0answers
29 views

Understanding Tomcat and Connector Workers

If I understand correctly, Tomcat spawns a new thread (up to a particular limit) when it receives a request. A Tomcat "Connector," such as mod_jk, consists of "workers" that route requests to ...
0
votes
0answers
31 views

Debugging Slowness in Apache

My web app uses Apache, Tomcat and mod_jk (single worker) on Red Hat. Due to slowness, I added logging to Apache and Tomcat. For a handful of samples, the request spends most of its time in Apache. ...
1
vote
2answers
527 views

Install Tomcat5 on CentOS 6.4

I'm trying to port an old application to a new server and need to install Tomcat5 on CentOS 6.4. This is apparently not a straightforward task. When I try: yum install tomcat5 tomcat5-admin-webapps ...
0
votes
1answer
39 views

Tomcat / httpd URL Mapping

My application is running in Tomcat. If you go to http://realtimerater.com:8080/rtrSite it all works perfectly. I'm trying to get it to work for realtimerater.com. I tried to use the example that was ...
0
votes
1answer
237 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; ...
0
votes
1answer
129 views

Firebug shows slow waiting times

Looking at my Net tab in Firebug, I see that some requests have Waiting times above 5 seconds. This is unexpected since I'm running Tomcat with 2 - 10 GB of RAM (-xms and -xmx settings). Additionally, ...
0
votes
0answers
45 views

using SSL certificate

I have created one web application and setup SSL configuration as follows: 1) I have created SSl certificate as follow: C:\Program Files\Java\jdk1.6.0_31\bin>keytool -genkey -alias pravin ...
2
votes
0answers
237 views

Tuning Tomcat 7 on windows (for Alfresco)

I have installed Tomcat7 as a service on a windows server 64bit 2008 R2 to run Alfresco (4.2.c). I have 48G of ram. I have read Tomcat tuning tutorial with the JVM settings for memory. To edit the ...
0
votes
1answer
52 views

Two tomcat 7 instance running on same machine not accepting requests on AJP connector

I have setup a tomcat cluster with session replication running on same machine. I have modified the connector and shutdown ports as node1 --http 8080 --ajp 8009 --shutdown 8005 node2 ...
0
votes
2answers
128 views

How do I deploy files to Apache Tomcat in a similar fashion to Apache Webserver, ftp

I need to deploy some files to a Tomcat App Server, is it possible to access the root directory of an application, and upload files to a folder? I have only used Apache WebServer thus far, and I can ...
-1
votes
1answer
102 views

Stateful vs stateless architecture for web server [closed]

I am building a server that will support web apps and mobile apps. Should I use stateless or stateful server, and what is a good sample architecture? The rest of this information is to give you an ...
0
votes
1answer
239 views

How to redirect HTTP post request

Hi I am currently using the below code in my apache httpd.conf file to redirect from HTTP to HTTPS <VirtualHost 10.1.2.91:80> Redirect 302 /GladQE/link https://glad-test.com/GladQE/link.do ...
0
votes
1answer
235 views

Tomcat 6.0 fails to read symlink symbolic link file

This is what I have my /tomcat/conf/context.xml <Context> <Resource name="jdbc/black" driverClassName="oracle.jdbc.OracleDriver" auth="Container" ...
0
votes
1answer
103 views

Tomcat - deployed .war file does not show

I'm running a TomCat 7.0.11 everything worked fine, till I deployed a new .war file. Using the manager the only message I get is OK but after refreshing the List of Applications no App ...
0
votes
1answer
50 views

“Manage Jenkins” sub-site cannot be accessed

With the help of apt-get, I installed Jenkins version 1.447.2+dfsg-3. I managed to put the jenkins.war under the directory /var/lib/tomcat7/webapps. When I connect to http://localhost:8080/jenkins, I ...
0
votes
2answers
1k views

Basic auth for a Tomcat app (JIRA) with Nginx as reverse proxy

I have several subdomains running the Atlassian Tomcat apps (jira.example.com, confluence.example.com, stash.example.com) and I would want to know if it is possible to password protect all of them ...
0
votes
0answers
157 views

Apache Tomcat 7: Reverse Proxy

I need to you Apache Tomcat as a reverse proxy (this is a requirement) for 2 other services (sonar and jenkins) that are running on their standalone modes each one on a different port. My client wants ...
3
votes
2answers
527 views

Configuring nginx as tomcat / uWSGI proxy

i'm in the process of configuring an amazon EC2 machine for java and django development. The stack we've chosen is nginx as the top level listener on :80 port, and passing the requests to the ...
0
votes
0answers
50 views

Check IP Blocking on Windows Server 2008

When I login to google webmaster tools, from last 5-6 days I am getting error regarding Google connectivity issue. It says googlebot is not able to access the site. When I set User agent in firefox ...
1
vote
0answers
142 views

mod_jk tomcat error handling

I have a strange problem with my tomcat cluster. The cluster consists of 1 Apache with mod_jk and 6 Tomcat servers - each tomcat server is a own virtual machine. The cluster works as expected, ...
0
votes
1answer
123 views

Tomcat7 Crashed and can not restart

My Tomcat7 crashed suddenly and sudo service tomcat7 status ends up with the following error message. tomcat7 dead but subsys locked. And sudo serice tomacat7 restart fails with the ...
0
votes
0answers
89 views

Tomcat SSL only in path

I want to configure Tomcat so that: It uses SSL only in a specific path; e.g. /admin. The rest of the site shall be accessible via http only (not https). As for now I have done part 1. Is there a ...
0
votes
0answers
214 views

Configure Metro on Tomcat 7

I am trying to start a webapplication (Oxalis) that depends on Metro for it's functionality. As far as I can tell the installation of Metro was successful and I can deploy the WAR file via Tomcat ...
1
vote
0answers
99 views

Create jks for tomcat using .key ,.ca and .cert file

I have three file sample.cert, sample.CA,sample.key provided by Verisign. I need to create keystore for tomcat. As I searched I cannot use .key file directly to create keystore. The command I used ...
2
votes
2answers
166 views

Archetypical user setup for capistrano to tomcat deployment on Linux box

I'm relatively new to the CD and DevOps topics and I am trying to setup automatic deployments with capistrano, which works well on my local add hoc test environment. I wonder however how one would ...
0
votes
0answers
148 views

Tomcat on Linux - won't close socket

When I keep sending http requests to my webserver, it stops responding and I'm stuck in a white screen saying, 'waiting for xxx'. It goes unresponsive. This only happens on Linux. Also I don't see ...
0
votes
0answers
80 views

Apache + Tomcat: Difference of socket_timeout and request_timeout of mod_jk

I'm connecting Apache to Tomcat using mod_jk. There is many timeout settings. I couldn't get difference of socket_timeout and request_timeout. It seems to me no need to use request_timeout if we are ...
0
votes
1answer
23 views

redeploy code on Tomcat Server

I am having 2 applications deployed on Tomcat 7 Server. What should i do after redeploying java code on server Restart application using Tomcat Manager Restart Tomcat, but that will restart both ...
0
votes
2answers
53 views

Deploying my site on tomcat 6

I am trying to serve my website www.mywebsite.com using tomcat. I am not using apache and using tomcat as my webserver only. I have defaulted port to 80 and currently I have mywebsite.war lying in ...
0
votes
0answers
56 views

tomcat treats my JSF2 application as HTML

I have a JSF2 application I can access my application @ http://tvmteleshopping.com/faces/ui/manageProfile.xhtml But when i use http://tvmteleshopping.com/ui/manageProfile.xhtml (without /faces/ ) ...
0
votes
1answer
490 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
3answers
4k views

How to fix Solr - Server is shutting down issue?

I was having a running Solr 4.1 on Windows Server 2008 R2. The Solr is deployed on Tomcat. However, today it stops suddenly, and while accessing Solr it gives following error. HTTP Status 503 - ...