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
12
votes
2 answers

Tomcat 8 org.apache.catalina.webresources.Cache.getResource

I have just upgraded from 7.0.52 to 8.0.14. I am getting this for lots of static image files: org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/base/1325/WA6144-150x112.jpg] to the cache because there was…
iainmac999
  • 223
  • 1
  • 2
  • 4
12
votes
3 answers

Good Free Tomcat Log Analyser?

Could someone recommend a good and free program for analysing Apache Tomcat logs. I don't need real-time analysis or anything like that. I have a log and I just want a quick and easy way to get some usage statistics from it. The stats don't even…
Bart B
  • 3,457
  • 6
  • 31
  • 42
12
votes
1 answer

Apache httpd error "proxy: ap_get_scoreboard_lb" with ProxyPass

I set up apache to proxy for tomcat but I am getting the following error when I target the page. I sometimes get a blank page or a 503: [Error] [Mon Dec 03 04:58:16 2012] [error] proxy: ap_get_scoreboard_lb(2) failed in child 29611 for worker…
Dark Star1
  • 1,385
  • 7
  • 22
  • 37
12
votes
4 answers

Configure IIS 7 Reverse Proxy to connect to TeamCity Tomcat

We have an IIS 7 webserver configured and would like to create a reverse proxy for a TeamCity installation using Tomcat on the same machine. The IIS server site is https://somesite and I would like the TeamCity to appear as https://somesite/teamcity…
Cynicszm
  • 121
  • 1
  • 1
  • 4
11
votes
4 answers

What exactly is going on when I go to localhost:8080 in my web browser? (Apache Tomcat)

I've spent my career doing all local application programming (C++ applications and whatnot). I'm trying to dig my feet into the web world now, however. I'm using Eclipse (Mars) and Apache Tomcat 8.0.23 to try and set up an envoirnment in which I…
softeng
  • 113
  • 1
  • 1
  • 4
11
votes
5 answers

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; proxy_set_header Host $host; proxy_set_header…
Kerb
  • 383
  • 1
  • 3
  • 11
11
votes
4 answers

Keytool SubjectAlternativeName

I'm trying to get the certificates just right for our Jira/Confluence deployments in house. People access them differently, either from the hostname or the FQDN. I'm using Java 7's keytool so I have access to the server alternate name…
Tawm
  • 193
  • 1
  • 1
  • 11
11
votes
1 answer

How Do I Install Gerrit Under Tomcat with LDAP?

I'm trying to find good instructions for installing Gerrit under Tomcat with LDAP support. I need this installed on a Windows 2008 Server, preferably. However, I can opt for Linux if not possible. The Gerrit instructions only cover install under…
Jason Huntley
  • 1,253
  • 3
  • 10
  • 22
11
votes
1 answer

Restart a single tomcat 7 webapp at a specific time?

Tomcat 7 is running on a Windows System. I need to restart one of the deployed web applications each day at a specific time. Is there an option to do that via script or (even better) does tomcat offer a feature to do so? Is it possible to use Curl…
jalu
  • 113
  • 1
  • 1
  • 6
11
votes
7 answers

How to block access to a file from being served by Tomcat?

We have a few tomcat servers and we just discovered that some files that we don't want public to have access to those files. To exemplify: Let say we have a folder /var/www/html/ that we are publishing through tomcat, but we don't want to expose…
Geo
  • 3,071
  • 11
  • 42
  • 52
10
votes
1 answer

Firewall trouble when deploying Tomcat at CentOS

I am trying to deploy a Tomcat server in a CentOS environment, but it is not receiving requests. Executing startup.sh works properly and the logs show that tomcat is running 16-Dec-2016 13:36:58.440 INFO [main]…
Jared Rox
  • 101
  • 6
10
votes
5 answers

How can I configure TomCat Java options in a config file?

I'm trying to configure Java options passed into TomCat for a 3rd party application that I'm deploying. The instructions that the app provides are: Open the Tomcat configuration tool from the Windows menu at Start > All Programs > Apache Tomcat…
Kip
  • 3,480
  • 3
  • 23
  • 14
10
votes
1 answer

Tomcat Parallel Deployment, automatically undeploy old applications

I've been using Tomcat 8's Parallel Deployment as part of a zero-downtime continuous deployment setup for a while now. When the test gauntlet has been run, the CI server automatically renames the .war file to application##{version-number}.war and…
Martin Cron
  • 203
  • 2
  • 6
10
votes
3 answers

Tomcat7 hangs on deploying apps

I'm having some very strange behavior in Tomcat 7 on Ubuntu 14.04. I created a new VPS, installed default-jdk and other simple stuff. Downloaded and unpacked Tomcat 7. Checked that it runs on [myIP]:8080, and saw Tomcat's index page. Once I…
Asprelis
  • 225
  • 1
  • 2
  • 7
10
votes
1 answer

mod_proxy_ajp (70007)The timeout specified has expired: ajp_ilink_receive() can't receive header

I am using mod_proxy_ajp with Tomcat and I receive the following error: (70007)The timeout specified has expired: ajp_ilink_receive() can't receive header How do I fix this?
DD.
  • 3,114
  • 11
  • 35
  • 50