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
1answer
5 views

Web app running on tomcat not updating when modified

I'm modifiying a web app coded by another guy with AngularJS. This app is fed by csv data files and is running fine in the first place. However, when I'm trying to change some data in the csv files, ...
0
votes
0answers
9 views

Way to kill http nio connections in Tomcat

We have an application that sends messages to users to access our server (Apache tomcat) through an HTTPS connection with their devices. Problem is that this users applications is keeping the ...
11
votes
2answers
4k 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 ...
0
votes
0answers
16 views

tomcat trace request - why does the server respond with a 403

Newbie to tomact here. I've deployed a java application with an embedded tomcat server (8.0) on an ubunto server, and it's working fine over HTTPS. I'm getting a 403 response for one of the API ...
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 ...
2
votes
1answer
1k views

Obscuring tomcat context path in URL

I've setup an Apache reverse proxy to Tomcat that is working, in that I can load my url and get connection to the Tomcat backend. What I'm attempting to do now is rewrite the URL that a user sees in ...
0
votes
1answer
16 views

How to divert request from apache to multiple servers ports (Zope 8080, Tomcat 8081 etc.)?

Hi I am running multiple applications on the same machine like Plone which is using ZOPE application server that is running on port 8080 and Tomcat which is hosting multiple web applications and ...
0
votes
0answers
6 views

How to get tomcat probe sessions to expire and log you out

I managed to setup tomcat and an ldap server to authenticate the connections to tomcat and probe which is great to change the passwords and users in a large amount of servers without actually having ...
-1
votes
0answers
15 views

redirect port with iptable

i have a web server. i used tomcat 8. i done this comment to get it working correctly iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 8080 iptables -A INPUT -m state --state ...
1
vote
1answer
1k views

gzip compression using mod_deflate apache with tomcat

I'm trying to enable gzip compression in my Apache server which is fronting a Tomcat instance using a connector. I tried several variants of the module configuration settings in my httpd.conf. Here is ...
0
votes
4answers
1k 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 -Dcom.sun.management....
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
2answers
2k 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 Location:...
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 ...
0
votes
1answer
25 views

Cannot access tomcat 8 using external ip address

I deployed an web app using Tomcat8 listening to TCP-8080 on a Windows 7. It works fine on my internal network. However, I wanted to access it remotely too, so I searched a little bit for the ...
0
votes
0answers
14 views

Understanding tomcat's access logs for aborted or timeout requests

This might be a very ignorant and stupid question ,but please bear with me. I understand that every request made to any URL behind Tomcat is logged by Tomcat in access logs. I have a Spring Boot REST ...
2
votes
2answers
11k views

Load Balancing and Clustering using mod_proxy_ajp on Apache HTTP Server 2.2.21 and Tomcat 7.0.23

I've been struggling to make load balancing and clustering working using these combination: Apache HTTP Server 2.2.21 (httpd-2.2.21-win32-x86-openssl-0.9.8r) using mod_proxy_ajp with sticky session ...
0
votes
1answer
2k 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 ...
1
vote
1answer
39 views

Window can not find catalina.bat, even catalina is exist

When I try start tomcat in IDEA it gives me the below error message: Error running Tomcat 8.0.35: Cannot run program "D:\Tomcat\apache-tomcat-8.0.35\bin\catalina.bat" (in directory "D:\Tomcat\...
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
2answers
1k views

Installing Tomcat6 on RHEL 6.4

I am missing some packages which Tomcat depends on. But whatever dependency I try to resolve, it all comes down to java-gcj-compat missing which I cannot find on the DVD. Note that I don't have an ...
1
vote
0answers
13 views

IIS and Tomcat: mixed content

I'm trying to setup a site in IIS that is serving a webapp running in Tomcat, as well as content in HTML, PHP and JS. I'd like to have all content available under one domain. I was following this ...
1
vote
3answers
5k 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 ...
1
vote
3answers
2k 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 ...
17
votes
9answers
40k views

How do I disable SSLv3 support in Apache Tomcat?

I am trying to reconfigure my Apache Tomcat server to only use TLSv1. However, it is still falling back to SSLv3 using certain browsers. I setup the <connector> tag with the following settings: ...
6
votes
4answers
7k views

Why doesn't the aws cloud formation install the packages that I specify?

I'm very new to the AWS services. I'm trying to use the AWS cloud formation and I created a template. The template is error free and I am able to create machines using that. But I have added some ...
1
vote
1answer
400 views

Set up 'tomcat' non-root user in Tomcat 8

I've installed Tomcat 8 in Debian 8 and I need to harden the web server. I'm following the official Tomcat documentation guide and in the security considerations section recommends to create another ...
0
votes
1answer
2k 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
2answers
2k views

X-Forwarded-For not showing up in tomcat7 access log

I'm trying to print out the remote client IP on a tomcat running behind an ELB and for some reason it's not being printed out to the access log. my elb configuartion is : 80 -> 8080 443 -> 8080 ...
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 apache....
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
2k 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
1answer
2k 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

elb / apache server latency

I'm running Apache/2.4.7 on m4.larges in AWS behind ELBs. The overwhelming majority of my traffic is simple one off requests from naive clients, not web pages. The configuration is old and time tested,...
0
votes
0answers
17 views

Tomcat 8 catalina.sh not waiting for tomcat to fully stop

We're using Tomcat 8 on Ubuntu and when I stop the server with catalina.sh stop from the command line it returns immediately, before tomcat has actually had a chance to fully stop. I tried catalina.sh ...
10
votes
2answers
9k 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> <...
0
votes
0answers
11 views

Tomcat Manager App configuration

I have the following need: mutiple teams need to have access to a single Tomcat 8 instance to deploy their own war files. However, I would like to allow each user only to deploy/start/stop their own ...
1
vote
2answers
6k 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 http:...
1
vote
2answers
1k views

Apache Reverse Proxy setting for site having Spring Security

I am having a Spring MVC app which uses Spring Security for login. I am using Apache Webserver as Proxy and Tomcat. Below is my /etc/apache2/sites-enabled/example.com.conf file: ServerAdmin admin@...
2
votes
3answers
10k views

Setup Apache Tomcat on Synology

I have an problem setting up an Apache Tomcat on my Synology DS1511+ server. The installing is no problem, but when i try http://"serverAdress":7070 i can't log into the the manage section. I have ...
6
votes
1answer
2k views

Tomcat sessions not expiring

I'm having problems with sessions accumulating. I run an instance of Tomcat 6.0.18 on a Windows server. I have 3 apps. I've been having memory issues (close to heap size, or OOM). When I look ...
1
vote
1answer
2k views

Request Entity Too Large mod_jk

I have setup where there is apache (httpd) and apache tomcat both are connected with ajp and in my http.conf LimitRequestLine 65536 LimitRequestFieldSize 65536 under <VirtualHost> and ...
0
votes
2answers
2k 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 ...
0
votes
1answer
2k views

Verify client certificate CN in Tomcat(APR)

I'm running a tomcat installation with the APR libraries installed (with the OpenSSL HTTPS stack that comes with it). What I'm trying to do is to lock a specific HTTPS connector down to users of a ...
0
votes
1answer
3k 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 http://subdomain.myserver....
0
votes
1answer
2k views

CentOS Apache + Tomcat SSL using mod_jk

I have Apache + Tomcat (using mod_jk) working correctly on a CentOS 6.3 machine. I am trying to set up SSL with Apache. When I browse to the site I get the following output: Forbidden You don't ...
0
votes
2answers
2k 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
1k 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
46 views

Why HTTP 501 error of type JSON presented to UI as text/html instead of application/json?

I have front-end Angular running on Apache with back-end Spring REST API on Tomcat. I wanted to throw 501 error in some error case and want that response to be presented as JSON to UI (Content-Type ...