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

0
votes
2answers
1k views

Tomcat logging and mod_proxy

I have Tomcat running on port 8080, and when I send a request directly to Tomcat it works fine: curl -IL http://localhost:8080/myapp HTTP/1.1 302 Moved Temporarily Server: Apache-Coyote/1.1 ...
0
votes
0answers
9 views

Using SSL with mod_jk where SSL file is keystore file

I am working on adding Load-balancing and failover to our server. I was successful in doing so when not using https, but with https, it is not working. I only get Unable to connect, but the URL has ...
1
vote
1answer
1k views

Loadbalancing with nginx and tomcat

Hello this should be fairly easy to answer for any system admin, the problem is that I'm not server admin but I have to complete this task, I'm very close but still not managing to do it. Here is what ...
2
votes
3answers
4k 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 ...
1
vote
2answers
2k views

Apache HTTP Server+Tomcat: Which file generates mod_jk.conf, how to modify generated stuff, and how does httpd reach it?

I'm using XAMPP with Apache HTTP Server and Tomcat Add-On installed. There's a default mod_jk.conf which is generated by Tomcat when starting it. But which file generates this mod_jk.conf file? How ...
0
votes
1answer
3k 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
31 views

Traceroute an IP address with apache tomcat

Is it possible to get the traceroute from an incoming http request in tomcat? What I would like to get is a list of all routing points that a http request took. Is that somehow technically possible ...
0
votes
1answer
1k views

Problem running Apache-Tomcat on every web browser installed in Windows 7

I'm working on a web application in JSP and my web container is Apache Tomcat 7.0.2 (Its portable cross-platform version). As I've made extensive use of HTML5-CSS3 and my target browser is Google ...
1
vote
0answers
11 views

Tomcat 7: how to log x509 cert dn with AccessLogValve

I have Tomcat7 running on RHEL6 with mutual authentication using x509 certificates for the entire container. From the user point of view in the browser, everything seems to work fine with a cert ...
0
votes
0answers
8 views

Socket Exceptions for no network hops

We have a Tomcat server that is in one case, responding to a web service and in another attempting to call a web service. In both cases the caller and end point are running on the local box. Yet ...
1
vote
3answers
3k 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 ...
0
votes
1answer
2k views

Apache tomcat server win8 cannot be accessed outside of local host

I have installed the apache-tomcat server on my local win7. The port I specified is 9999. Additionally, I use the distributed binary version of apache tomcat. Not installing as a windows service. I ...
1
vote
1answer
531 views

Deploying web services on a RHEL 5 box using Apache/Tomcat/Axis/Java

I am new to the Web services scene. I currently have access to a RHEL5 box and i need to deploy a java web service on it. It runs apache and i know this because i have a website hosted on this ...
3
votes
1answer
3k 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 ...
1
vote
1answer
1k views

Unable to connect to remoteJMX but able to Telnet on same port after setting Dcom.sun.management.jmxremote environment variables?

I am rather perplexed at this point as we have a need to connect through remotejxm to monitor the JDK on a server through a monitoring application but I am repeatedly being told when trying to connect ...
0
votes
0answers
21 views

Can't connect Tomcat 7 manager outside of my lan

I am trying to deploy new .war files outside of my network but when I try to access http://myServer.domain:7422/manager I still get a login dialog. I enter my credentials -- which works when I use the ...
0
votes
1answer
25 views

Loading whole cert chain into keystore for Tomcat 7

Environment: Tomcat 7.0 on Windows 2008 R2 What to accomplish Get Tomcat 7.0 to use a specific wildcard certificate with accompanying cert chain so customers' browsers do not throw errors. The ...
1
vote
1answer
3k 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
1answer
3k 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
votes
1answer
30 views

tomcat not shutting down in CentOS [closed]

I was trying to shutdown tomcat but giving me following error. /opt/apache-tomcat-7.0.67/bin/catalina.sh: line 439: /usr/local/jdk/bin/java: No such file or directory This is the full output, ...
0
votes
3answers
2k views

how to shutdown application in tomcat?

I have a server running many JAVA application's with tomcat 6.0.18, i need to know how can i scheduele a shutdown of just 'X' application and keep other's running. I'll appreciate your ideas thanks
2
votes
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
vote
3answers
932 views

Httpd process consuming loads of memory

I have a server which is giving me headaches. It hosts a couple of sites: these are either php based, or java based. I have a setup that uses apache2 + suPhp for the php sites, and apache2 + mod_proxy ...
1
vote
0answers
17 views

Enable x509 Authentication in Tomcat on Openshift

I have a web application deployed on Tomcat 7 running on Openshift. I managed to enable HTTP-to-HTTPS redirection on the server (instruction). I don't have valid certificate. So I have to use the ...
0
votes
0answers
49 views

Nginx reverse proxy with Tomcat randomly drops session cookie from request

I am running a nginx as a reverse proxy in-front of Tomcat. For some reason a single random requests comes through the pipe without sessionid cookie value. Tracing traffic throug the stack I can see ...
0
votes
0answers
15 views

Limit access to manager app with ip address, port and password

I try to set up a Remote Address Filter for my Tomcat8. It works so far but I need a little bit extra security. This is what I have: <?xml version="1.0" encoding="UTF-8"?> <Context ...
0
votes
5answers
8k views

Timestamp in Tomcat logs is wrong

For some reason, the timestamp in my Tomcat logs is off. The system clock is correct, and set to PST, but the Tomcat logs appear to be using GMT. I haven't been able to find this setting ...
1
vote
2answers
9k 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 ...
3
votes
2answers
559 views

tomcat6 behind xinetd - real client ip

In server.xml, at the Connector I specify proxyPort as 80. Here's the xinetd service: service http { socket_type = stream protocol = tcp user = tomcat6 ...
2
votes
4answers
2k 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; ...
3
votes
1answer
64 views

Tomcat shuts down unexpectidly

I am using Apache Tomcat 8.0.23 with 1 GB RAM on centos 6 OS . I have used servlet and jsp for server side . But after few days it shuts down automatically . I have given memory size as ...
1
vote
0answers
13 views

Adding an alias for a web app so it works via two context roots

I'm using Tomcat to host a few web apps. They are all running on their respective context roots. Let's call them: A: https://example.com/A B: https://example.com/B I have nothing running at / ...
0
votes
1answer
33 views

Configure Tomcat behind reverseproxy

I run a Tomcat 7 server in the local branch of our company. The server was available to public via port 80 and 443. Some days ago the configuration got changed by the HQs admins; Tomcat now needs to ...
0
votes
3answers
935 views

Tomcat : Where to configure jmx JAVA_OPTS or CATALINA_OPTS

I have Tomcat installed on ubuntu. I want to enable JMX for monitoring so in catalina.sh I modified JAVA_OPTS as: JAVA_OPTS="$JAVA_OPTS -Dcom.sun.management.jmxremote=true ...
2
votes
0answers
132 views

Using TLS 1.2 and java 6

We have a legacy web application that runs in a tomcat under java 6 - an upgrade to 7 or 8 is currently infeasible. We now have a requirement to connect, as a client, over TLS 1.2 however java 6 only ...
0
votes
0answers
38 views

Can Tomcat 8 Rewrite Valve be used to forward access to specific ports?

I have a server (server.mycompany.com) which have (among others) several java applications running in tomcat containers, each on it's own port. On port 80 is an Atlassian Confluence wiki, installed in ...
0
votes
1answer
26 views

Jira over SSL gives a blank page with symbols

My attempts to configure Jira to work over SSL have not been successful so far. I have followed the steps at: https://confluence.atlassian.com/jira/running-jira-over-ssl-or-https-124008.html My ...
0
votes
1answer
37 views

Hide Original URL using mod_proxy

I have been successfully able to use ProxyPass and ProxyPassReverse to reverse-proxy an application running under a Tomcat Server. However, the challenge is that I want to use a fake URL, to ...
1
vote
1answer
25 views

Apache httpd, Tomcat : Load-balancing seems to work between two tomcat, but one stops and service dies

I am working on a task in which I have to load-balance two tomcat-instances such that they share a common session also amongst themselves and when one goes down, the other one can handle the task. ...
0
votes
2answers
22 views

allowing access to Tomcat 6 manager on specific interface only

I have Tomcat 6 installed on a server with multiple network interfaces; one is public-facing, and the other is on our internal network. Is there a way to configure Tomcat such that internal users are ...
0
votes
0answers
40 views

Drools Workbench on Tomcat 9 fails to start with exception

I have been trying to get Drools Workbench running on a clean install of Apache Tomcat/9.0.0.M1 server. Despite following the directions in the README.txt in the kie-drools-wb-6.3.0.Final-tomcat7.war ...
2
votes
3answers
4k views

Configuring jdbc-pool (tomcat 7)

i'm having some problems with tomcat 7 for configuring jdbc-pool : i`ve tried to follow this example: http://www.tomcatexpert.com/blog/2010/04/01/configuring-jdbc-pool-high-concurrency so i have: ...
2
votes
2answers
126 views

Apache webserver & Tomcat : Runing multiple tomcat webapps and apache webserver app at same time

We have a Debian X64 server which currently has a tomcat instance where we have 3 webapps in WAR file ofcourse. Also, we have an Apache webserver, which has one CMS system running. And one final ...
3
votes
1answer
109 views

Tomcat to WebSphere - Server Contexts

I have a line that defines the location of reports and images in my Tomcat setup that has the following data: <?xml version='1.0' encoding='utf-8'?> <Context ...
0
votes
0answers
84 views

Nginx + SSL Certificate for Encryption purposes Issue

Sorry I'm not a sys admin. I'm trying to install my SSL Certificate for encrypt purposes and to use Nginx as a frontend of my Tomcat Alfresco application. I just can't reach my domain with HTTPS as ...
1
vote
1answer
1k views

403 error trying to access admin panel on tomcat 7

Im having trouble accessing my tomcat admin panel. Ive configured everything correctly as far as i can see (adding an admin/manager user to tomcat-users.xml). I can log into manager/html and enter my ...
0
votes
1answer
32 views

Nginx + Tomcat proxyName for more proxies

I'd like to configure tomcat's proxyName for two domains (jira.firstdomain.com, jira.seconddomain.com) proxied by nginx. so for first domain I have this configuration in nginx upstream jira {     ...
0
votes
0answers
8 views

Tomcat freezes as paged pool/nonpaged pool increases

In a Windows Server 2003 with only 4GB, I run a Tomcat8 and Oracle9i. Together they consume about half the physical memory. When the number of users increase during the day, Tomcat freezes for some ...
0
votes
0answers
21 views

Tomcat freezes for minutes under heavy load (not GC related and no heavy CPU consumption)

I have an app running on a Tomcat 8 on Windows Server 2003 with 4GB RAM. When the number of user is high (I checked the opened sessions in Tomcat Manager app), Tomcats stops serving for 1 to 10 ...
0
votes
1answer
42 views

Best practice for users to scp .war files to tomcat /webapps folder?

I have a tomcat 8 installation on an ubuntu 14 server. I want to give write access to the /opt/tomcat/webapps folder to a few users so they can scp .war files directly there from their local ...