Questions tagged [tomcat]

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.

Apache Tomcat is an open source software implementation of the Java Servlet and JavaServer Pages technologies. The Java Servlet and JavaServer Pages specifications are developed under the Java Community Process. Apache Tomcat is developed in an open and participatory environment and released under the Apache License version 2.

The Tomcat projects started at Sun Microsystems as the reference implementation of the Java Servlet and Java Server Pages Specifications. The Java Community Process (JCP) site contains all the details of those specifications.

The Tomcat code base was donated by Sun to the Apache Software Foundation in 1999, and the first Apache release was version 3.0. Since then, multiple volunteers from Sun and numerous other organizations have contributed to the product. There have been multiple major releases and the product has enjoyed considerable industry adoption as well as a healthy and active community. Each major release is aligned to a version of the Servlet Specification.

In 2005, Tomcat became its own top-level Apache project, leaving the Jakarta umbrella and oversight structure to manage itself.

2232 questions
6
votes
1 answer

setting up AJP secret between Apache and Tomcat

I'm having trouble setting up a secret between Apache (2.4.41) and Tomcat (7.0.99). I think I have it setup correctly in Tomcat (server.xml): When I try to setup the Apache end…
Matt
  • 163
  • 1
  • 1
  • 4
5
votes
2 answers

Tomcat 6 IP address restrictions

I need to protect a certain folder within a web application of mine from access from outside of an defined IP range. With O'Reilly's Tomcat Tips I figured that:
KB22
  • 161
  • 1
  • 5
5
votes
3 answers

How to turn off all tomcat log rotation

I want to manage log rotation on my server using logrotate, however Tomcat performs its own log rotation which interacts badly with logrotate, and I can't find a way to turn it off. My Tomcat instance currently produces 5 types of…
codebox
  • 177
  • 1
  • 2
  • 8
5
votes
0 answers

HAProxy subdomains and path redirection

I'm new to StackExchange and am trying find some assistance with a configuration problem. I need to create a configuration for HAProxy that will allow me to dynamically proxy a Tomcat application context path to a subdomain. The subdomain/path can…
5
votes
2 answers

Disable HTTP Authentication for OPTIONS requests in Tomcat

I have an API protected by HTTP Basic Authentication. When I want to make AJAX requests against the API, the browser send an OPTIONS request which doesn't carry the Authorization header so it gets rejected and thus my AJAX call is not allowed by the…
4e4c52
  • 173
  • 2
  • 6
5
votes
3 answers

Is it necessary to use nginx server to use with tomcat

Is it necessary to install nginx server before using apache tomcat. Can we use only apache tomcat is there any pros cons which choice is better and why. I am using fedora 22 for deploying my application on tomcat 8 for java application
xrcwrn
  • 163
  • 1
  • 2
  • 10
5
votes
4 answers

Glassfish Vs Tomcat (Java app servers)

I am looking at running a java application server on my debian linux webserver, and am looking for a breakdown of the advantages that using either app server would provide me with (or disadvantages). I am using apache 2 as my webserver and have no…
PixelSmack
  • 530
  • 4
  • 8
5
votes
1 answer

ProxyPassReverse Not Working with 302 Redirect

I'm using Apache HTTPD to proxy a local Tomcat server: ProxyPass / http://localhost:8080/ ProxyPassReverse / http://localhost:8080/ Everything works fine except when I have a 302 redirect. For some reason the ProxyPassReverse doesn't rewrite the…
DD.
  • 3,114
  • 11
  • 35
  • 50
5
votes
1 answer

Cron daemon reporting "unknown user 'tomcat6'" every day since I removed tomcat

I'm running Ubuntu 12.04. Since I removed tomcat via aptitude purge the other day, I keep getting the following error from Cron daily: /etc/cron.daily/logrotate: error: tomcat6:7 unknown user 'tomcat6' error: found error in…
theV0ID
  • 153
  • 4
5
votes
4 answers

How do I force Apache to use HTTPS in conjunction with AJP?

We have an Apache web site, with certain portions powered by JBoss. The question is, how can we get Apache to force all HTTP requests to be re-directed to the HTTPS equivalent? On our old server (CentOS 4, Apache 2.0, mod_jk), we have the following…
Matt Solnit
  • 913
  • 2
  • 11
  • 16
5
votes
1 answer

Compression of Tomcat mod_jk results in Apache httpd

I'm developing a web application locally on my system, serving it using Tomcat (tomcat-7.0.52). In production, I want to front the Tomcat with an Apache httpd (Apache/2.2.15). This works and I managed to configure caching as needed. Now I want to…
Blama
  • 173
  • 1
  • 6
5
votes
5 answers

What configuration changes do you make to a new Tomcat installation?

After installing Tomcat 5 what configuration changes/tweaks do you apply, and why? Be specific: name what files you edit, what settings you change and why you do it. Some areas of interest: General configuration changes Best practices with regards…
knorv
  • 1,799
  • 6
  • 19
  • 29
5
votes
2 answers

Why isn't tomcat serving the correct SSL certificate

I configured tomcat with SSL successfully and was using a self-signed certificate. Recently an issue arose where just having the client "Accept/trust" our certificate wasn't easy. We ended up purchasing a verisigin certificate for that server. I've…
Raystorm
  • 161
  • 1
  • 1
  • 5
5
votes
2 answers

SSH unresponsive after stopping Tomcat, many ksoftirqd CPU usage

I have a weird issue. Every time I stop Tomcat, SSH becomes very slow, almost totally unresponsive. It takes a minute or even more for SSH to accept any command. When I finally get Tomcat started again everything goes back to normal. This is…
Paxxil
  • 181
  • 1
  • 10
5
votes
0 answers

Tomcat/CF10/IIS7.5 Connector Tuning Help (503 Errors)

Problem: After a undetermined amount of time, all websites running in an application pool return 503 errors as IIS has stopped pool due to Rapid Failures from the pool. Increasing the number of failures from 5 to 50 still doesn't fix the issue. In…
Leeish
  • 151
  • 4