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
43 views

Tomcat not able to access outside the server

I have installed Tomcat 7 in windows 2008 server R2. I am able to Tomcat home page by the url http://localhost:8080/But not able to access outside the server using IP Address. The same setup i done ...
0
votes
1answer
342 views

How can I determine the optimal size of the maxThreads of my NIO/APR Connector for Tomcat?

I am using NIO/APR Connector for Tomcat7. E.g. <Connector port="8080" protocol="org.apache.coyote.http11.Http11AprProtocol" connectionTimeout="3000" redirectPort="8443" ...
1
vote
1answer
67 views

tomcat server not running after uncommenting servlet tags in web.xml

I am running tomcatserver and i need to execute a perl script. I searched online and found out that i need to uncomment in conf/web.xml <servlet> ...
0
votes
1answer
71 views

Tomcat 7.0.42 crashes many times a day

I have a Tomcat7 server running and it crashes and shows sometimes a memory warning that there is not enough Heap Space. What do I have to do here? My server has 4GB RAM, 4CPU and runs on ubuntu ...
1
vote
0answers
1k views

How to access Apache Tomcat running on Windows Server 2012 (alongside Microsoft SMTP service)

I am running Apache Tomcat as my only HTTP server on Windows Server 2012. Tomcat has been installed as a service and is bound to port 80. The server.xml file has had address="0.0.0.0" added to the ...
2
votes
0answers
60 views

Lack of OutOfMemory Exceptions in Tomcat 7

This is an odd question. I'm a Sys Admin and I've been maintaining several Tomcat instances for a few years now. We have been running our webapps in Tomcat 5, 5.5, 6, and now 7. I have monitoring ...
1
vote
0answers
95 views

Diagnosing the cause of high Apache “Busy Servers” count

Apologies in advance for a slightly wordy question. We provide hosting and application management of a J2EE web application. The technology stack is CentOS 5.9 64 bit, Apache 2.2.17, Tomcat 5, ...
-1
votes
1answer
73 views

Is it possibel to get that “Padlock” symbol in the address bar for a localhost https connection that uses a self signed certificate? [closed]

I am currently implemented SSL for my Web App in tomcat using a self signed certificate using java Keystore tool. I am using the web app in my machine as localhost. When I visit the url ...
0
votes
2answers
72 views

capistrano-started tomcat dies immediately, ssh'ing the exact same command succeeds

so I was playing around with capistrano and a local dummy raring vm in vbox. everything was fine and my attention shifted to deployments on real machines. A couple of days later I want to deploy to my ...
1
vote
1answer
299 views

haproxy/apache/tomcat - no trailing slash results in a 301 redirection

I have this configuration in place: haproxy(80,443) --> httpd(8443) --> tomcat(8096) Going to https://websrv1/test will result in a 301 redirect to the httpd port for which haproxy should be ...
0
votes
1answer
977 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
1answer
306 views

Is it still best practice to run Tomcat behind Apache HTTPD?

Is it still considered best practice to run Apache Tomcat behind an HTTP proxy like Apache HTTPD or Nginx on a Linux server? A decade ago I was told it was necessary as Tomcat 3 was slow at serving ...
1
vote
0answers
135 views

Setting up balancer-manager with mod_status on load balancing apache machine

I am setting up a Centos machine with Apache running on it for load balancing between two application webservers. Normally I would do all this with an F5 (or other hardware LB) but the customer is not ...
0
votes
1answer
49 views

Apache to Tomcat proxy what to do when i redirected to file not in proxyPass

I have configured a proxy from apache2 to tomcat6 All working, plain and simple, but I have a problem when from my tomcat app I need to redirect to a JSP that is outside of the directory I configured ...
-1
votes
1answer
260 views

Tomcat - How to stop, start, restart

I installed Tomcat7 from source on a debain. However, based on the information online I should be able to start and stop the service using the following command: service tomcat7 stop/start However ...
1
vote
0answers
218 views

Not able to access Tomcat from another machine in LAN

I have two web applications running under Apache HTTP server and these applications use ports 8080 and 100. Recently I have installed Apache Tomcat 7.0.42 and I have changed the port number in ...
2
votes
1answer
291 views

Tomcat not getting data from TCP recv-Q, hanging

I have a program which is essentially a tomcat server with postgreSQL DB running on CentOS Linux 6.3. When a client submits a larger amount of data (~10MB) to the server, which should be received on ...
-4
votes
1answer
38 views

Website not accessible when user doesn't have admin rights [closed]

I have two websites hosted on a computer with Windows 7. One is hosted on IIS 7 and the other is hosted on Apache Tomcat 7. These websites are accessible from other machines on the network. If I lose ...
-1
votes
1answer
52 views

Tomcat can't start on CentsOS

Tomcat 6 installed via yum. When i try to start it, catalina.out contain: Error occurred during initialization of VM Could not reserve enough space for object heap Could not create the Java virtual ...
0
votes
2answers
51 views

How to change what a web address displays by server settings?

I'm not too familiar with server configuration especially CentOS or Redhat based server configuration. The problem that I am currently having is that I have Tomcat6 installed. When I go to my website ...
1
vote
1answer
465 views

How to make Tomcat restrict access to a single jsp page by IP

I have a website running on Server 2008 R2 machine and I would like to restrict access for a specific jsp page to a single IP address. Within Tomcat's context.xml file, I figured out how to restrict ...
0
votes
1answer
189 views

SSL Certificate Domain Name Mismatch

Retina is complaining that the SSL certificate running on my Tomcat server does not return the fully qualified domain name (fqdn) but rather the IP. I connected to my Tomcat server on port 443 using ...
0
votes
1answer
165 views

need help in redirect from Apache to Tomcat with mod_proxy_ajp

Im using mod_proxy_ajp to redirect from Apache to Tomcat. Apache is runnig on port 80 and tomcat ajp connector set on port 8081. here is my virtual host configuration: <virtualHost *:80> ...
1
vote
2answers
323 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
779 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
64 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
155 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
374 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
1answer
65 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
377 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
176 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
1k 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 ...
1
vote
1answer
1k 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
1k 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
1answer
59 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
267 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
450 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
192 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 ...
1
vote
2answers
757 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
45 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
2answers
430 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
182 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, ...
2
votes
0answers
311 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
84 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
181 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
203 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
326 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
401 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
172 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
63 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 ...