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

Running some benchmarks using ab, and tomcat starts to really slow down

I'm running some benchmarks using apache bench for a java app that is running on tomcat. Say I run a test like: ab -c 10 -n 10000 http://localhost:8080/hello/world It will run just fine. If I follow it with: ab -c 50 -n 50000…
codecompleting
  • 513
  • 1
  • 4
  • 14
6
votes
1 answer

RemoteIpValve not doing it's job

i have several Tomcat servers, behind a NetScaler load-balancer, which does SSL offloading. i've added the following line to server.xml on all of them:
boazg
  • 61
  • 1
  • 2
6
votes
1 answer

How to reduce the memory used by Tomcat?

I bought a virtual server with 1gb of memory to run java web site application. I have installed Tomcat 6.0.33 . Each time i run tomcat, it s taking around 450 mb of memory. I tried everything to reduce that, i set up the CATALINA_OPS as export…
stunaz
  • 161
  • 1
  • 1
  • 3
6
votes
5 answers

How do I fix a 'Failed to retrieve RMIServer stub' JMX error?

I just completed a migration from Windows server 2008 R2 to Ubuntu 10.04. I manage a java application (Java 6, Tomcat) that is having some performance issues. I'd like to use JMX to try and troubleshoot, but I can't seem to get jvisualvm to…
GregB
  • 1,382
  • 2
  • 13
  • 22
6
votes
1 answer

What's the best practice for hot-redeployment of WARs to Tomcat?

What's the best practice for hot-redeployment of WARs to Tomcat? Say that I have a webapp that serves a long-running type of user (logs in in the morning, uses all say), and want non-stop redeployment of the app where the current users can continue…
6
votes
3 answers

Apache2 reverse proxy seems to intermittently freeze?

Apache2 reverse proxy seems to intermittently freeze when proxying a tomcat web app. The problem is that every so often (once or twice a day usually after inactivity) when I try to log into this proxied web application it just freezes. The…
tinny
  • 491
  • 2
  • 5
  • 11
6
votes
1 answer

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 at the Tomcat manager, I see 500-1000 sessions in…
Will Glass
  • 927
  • 2
  • 12
  • 21
6
votes
2 answers

shutting down tomcat process smoothly in Linux

This has been bugging me for a while. In my JSF development cycle, I do a lot of tomcat reload and sometimes to the point of restarting tomcat. I notice that at times, shutting down tomcat using shutdown.sh doesn't work, because when starting it via…
Bertie
  • 173
  • 1
  • 1
  • 7
6
votes
3 answers

Mapping hudson to a subdomain through nginx proxying

I'm now trying to setup nginx as a reverse proxy for Hudson so it can be access on http://build.example.com directly. I've already installed Hudson on Tomcat and verified that I can access Hudson on http://127.0.0.1:8080/hudson It was pretty…
odie
  • 63
  • 1
  • 4
6
votes
2 answers

how to add multiple Context elements to conf/context.xml in tomcat6

my existing conf/context.xml file has already a element; WEB-INF/web.xml I would like to add another to allow localhost access to the /manager/status location to my monitoring, however adding a new Context element like…
Tom
  • 11,176
  • 5
  • 41
  • 63
6
votes
2 answers

Configuring nginx for use with Tomcat and SSL

I have Googled and looked at various sample SSL configurations and it seems like I've got things set up right, but there are two problems: When I load https://mysite.com, the lock that should appear in the upper right corner of the browser window…
Janine Ohmer
  • 257
  • 1
  • 5
  • 8
6
votes
4 answers

Is Tomcat Shared Session / Cluster between two machine possible?

I have a setup of several Tomcat servers distributed between a few servers, all running the same thing. Apache is on top of Apache and a loadbalancer in front of the Apache servers. I want to cluster the Tomcats using Shared Session to minimize…
Snorri
  • 111
  • 1
  • 3
6
votes
3 answers

Apache + Tomcat VS Stand Alone Tomcat or GlassFish

I am setting up a Debian server to serve Java web applications. I have done quite a bit of research for several weeks now. Tomcat's web site says it is better to use stand alone Tomcat for speed if you are not clustering. However, I have seen many…
TonyZ
  • 143
  • 1
  • 2
  • 8
6
votes
7 answers

Apache load balancer limits with Tomcat over AJP

I have Apache acting as a load balancer in front of 3 Tomcat servers. Occasionally, Apache returns 503 responses, which I would like to remove completely. All 4 servers are not under significant load in terms of CPU, memory, or disk, so I am a…
6
votes
2 answers

HTTP compression in IIS 6.0 causing problems with certain users

We're getting a few sporadic customer calls (less than 0.1% of our users) complaining of not being able to access my company's website - either they get a blank page (if they use IE), or a "Content Encoding Error" that says the page uses an invalid…
gharper
  • 5,425
  • 4
  • 29
  • 35