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.

2216 questions
51
votes
2 answers

difference between _default_:* and *:* in VirtualHost Context

I want to know the difference between "default:*" and "*:*" in VirtualHost Context. #... ServerName host.example.com #... #... ServerName host.example.com …
Luigi Giuseppe
  • 611
  • 1
  • 5
  • 4
48
votes
4 answers

What's the maximum URL length in Tomcat?

And is it configurable? Can I set up Tomcat so that a URL with, say, 200K of query params goes through successfully to the contained servlet? Yes, I know one should use POST when you have lots of data; that's a less pleasant option in this…
Michael Gundlach
  • 1,261
  • 1
  • 9
  • 7
36
votes
3 answers

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 balancer. Is there any way or rule to exclude? Proxy…
Mughil
  • 1,869
  • 1
  • 18
  • 28
36
votes
4 answers

Where to set java heap options (e.g. -Xmx) for Tomcat 6 under Ubuntu 9.04?

I'm running Tomcat using the tomcat6 package from Ubuntu 9.04, which makes a daemon out of Tomcat using jsvc. I'd like to know the proper way to set Java heap options like -Xmx for Tomcat. I'd like to put the configuration wherever is most…
Chris
  • 1,063
  • 4
  • 12
  • 18
32
votes
6 answers

Where are my Tomcat Logs?

I installed Tomcat6 on a Ubuntu 9.04 server using apt-get install tomcat6. I uploaded a WAR using the manager interface and tried to start the application but get a pretty generic error on the Web interface saying it couldn't be started. I am trying…
gav
  • 473
  • 2
  • 7
  • 17
31
votes
8 answers

Is it a Best Industry practice to restart web servers periodically?

We have a web application (developed by a third party) that runs on Tomcat. We have been getting very bad performance from the application. The application developer is claiming that it is an Industry Best Practice to restart web servers every…
Geo
  • 3,061
  • 11
  • 41
  • 52
28
votes
4 answers

How do I disable tomcat caching? I'm having weird static file problems

How do I prevent tomcat from caching? I have css and basic html files that I load and use via ajax, and unless I restart tomcat, the changes do not seem to reflect. Different machines, different browsers, and I don't receive the updated…
Stefan Kendall
  • 1,069
  • 3
  • 17
  • 33
27
votes
4 answers

Configure nginx for jboss/tomcat

In order to pass traffic to JBoss/TomCat on port 80 using Apache we used to install and configure mod_jk. Is there an equivalent for nginx? Basically want all port 80 traffic to be passed to jboss.
user76328
26
votes
1 answer

How to configure Tomcat to only listen to 127.0.0.1?

The environment is Ubuntu 10.04.1 LTS running Tomcat 6 and Apache 2.2 from the repos. Apache is configured to proxy requests to Tomcat, so I really want to turn off Tomcat listening to requests on external IP addresses. I found out how to change the…
Jacob
  • 781
  • 1
  • 6
  • 10
26
votes
7 answers

Why does tomcat like deleting my context.xml file?

I'm developing a web-based Java application at work and (obviously) have to run it locally during development. I've figured out the Tomcat docs and have a suitable context.xml file in /etc/tomcat6/Catalina/localhost/ but every so often, Tomcat…
staticsan
  • 1,529
  • 1
  • 11
  • 14
25
votes
14 answers

Load-balancer options

I am looking at a number of possible options for load-balancing. So far, I am constrained to the following options: DNS server load-balancer, balancing to a cluster of tomcat servers, with terracotta for session replication. Pros - don't have to…
toolkit
  • 402
  • 6
  • 10
23
votes
1 answer

What's the redirect port for in Tomcat?

It's hard to make sense of tomcat documentation and looking at server.xml you will find a salad of ports that may be hard to understand because it's not really explained properly, or extensively, in the documentation. For example, this line in the…
Ulukai
  • 829
  • 2
  • 10
  • 28
22
votes
2 answers

Why does tomcat7 log into both catalina.out and catalina.YYYY-MM-DD.log?

On OpenBSD 5.2, the default installation of tomcat-7.0.29 seems to be logging all errors into both catalina.out and catalina.YYYY-MM-DD.log. Cns# ll /var/tomcat/logs/catalina.* -rw-r--r-- 1 _tomcat _tomcat 3067 Jan 16 20:47…
cnst
  • 12,948
  • 7
  • 51
  • 75
22
votes
7 answers

Apache+Tomcat having problems communicating. Unclear error messages. Bringing down websites hosted under Tomcat

Setup: Fedora 8 Apache 2.2.8 Tomcat 5.5.8 Apache is forwarding requests using AJP. Problem: After a certain period of time (no constant at all, can be between an hour or two, or one or more days) Tomcat will go down. Either it stops responding, or…
Jordy Boom
  • 411
  • 1
  • 3
  • 9
21
votes
9 answers

Unable to connect to mysql through JDBC connector through Tomcat or externally

I've installed a stock mysql 5.5 installation, and while I can connect to the mysql service via the mysql command, and the service seems to be running, I cannot connect to it through spring+tomcat or from an external jdbc connector. I'm using the…
Stefan Kendall
  • 1,069
  • 3
  • 17
  • 33
1
2 3
99 100