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
8
votes
3 answers

Shell script attack on Apache server, via an cron of unknown origin

While running a project war on Apache tomcat server I found that the server has been compromised. While running the war on an unknown cron is running like this [root@App2 tmp]# crontab -l -u tomcat */11 * * * * wget -O - -q…
Abhishek Patil
  • 185
  • 1
  • 7
8
votes
2 answers

Discerning GoDaddy SSL Certificate Types

I'm following these instructions for installing a GoDaddy Certificate in Apache Tomcat: http://support.godaddy.com/help/article/5239/generating-a-csr-and-installing-an-ssl-certificate-in-tomcat-4x5x6x?locale=en However, in the steps a root…
nybblesAndBits
  • 83
  • 1
  • 1
  • 4
8
votes
3 answers

Is it generally better to compress content on the proxy server or the app server?

We're using an F5 for load balancing and SSL proxying. Behind it we're serving up java applications with Tomcat instances. These are fairly small applications - hundreds of concurrent users. I'd like to compress some of the content, and I'm…
Dan
  • 620
  • 6
  • 18
8
votes
2 answers

How to prevent slow responding Tomcat from making Apache slow to respond?

I have a site that consists mostly of static html pages with occasional ajax requests. The site is running on Apache, ajax is handled by Tomcat. If Tomcat becomes slow to respond (java cannot connect to a database server, or just taking a long time…
serg
  • 245
  • 1
  • 3
  • 7
8
votes
1 answer

Tomcat: possible to exclude jars during app deployment?

By default, Tomcat prevents webapps from loading several .jars which are part of the Tomcat distribution (eg the servlet and JSP APIs) - is it possible to configure others to also be excluded? If it can't be done with configuration alone, does…
Dmitri
  • 181
  • 1
  • 3
8
votes
4 answers

Control SSL Cipher Priority/Order for Tomcat to avoid BEAST attack

With the recent buzz about the SSL BEAST vulnerability I wanted to try to improve the security of an SSL protected web site that is based on Tomcat 6. To that end, I tried the google approach of giving non Cipher Block Chaining (CBC) ciphers…
user967708
8
votes
4 answers

How to make a URL point to a Tomcat instance?

Sorry if this question makes no sense (no expert here), but I understand that tomcat listens to port 8080 and that url are usually addressed to 80. Is there a way to tell DNS that urls should point to 8080? Or how should I solve this issue?
Jérôme Verstrynge
  • 4,787
  • 7
  • 24
  • 35
8
votes
1 answer

ProxyPass entire domain to Tomcat, including root

I have configured my VirtualHost example.com to proxy all requests to a Tomcat server ProxyPass / http://localhost:8088/app ProxyPassReverse / http://localhost:8088/app This works fine for URLs like example.com/page, but for example.com and…
Bart van Heukelom
  • 1,199
  • 6
  • 21
  • 41
7
votes
3 answers

Where is catalina.out in tomcat 9?

I just recently deployed tomcat 9 and I would like to inspect the catalina.out log as it is running, however I notice that when stopped it would dump logging output to a catalina.[date].txt file. Is there some additional configuration to be done to…
Dark Star1
  • 1,385
  • 7
  • 22
  • 37
7
votes
2 answers

Tomcat 8 hangs on startup while deploying webapp. Possibly related to entropy generation

I'm trying to get a tomcat webapp started and while just testing out the server (vanilla tomcat8 download) it seems to be hanging on startup. My guess is that it is hung up on something dealing with the SecureRandom class. I heard that tomcat can…
Sempus
  • 342
  • 1
  • 2
  • 11
7
votes
1 answer

tomcat cannot change port 8080 to 80

I want to change the port 8080 to the default HTTP port (80), to use a Jersey Application as HTTP-Restful API. Therefore I replaced the port from 8080 to 80 (within /etc/tomcat7/server.xml) and configured it to use AUTHBIND (/etc/defaults/tomcat7).…
NaN
  • 335
  • 1
  • 3
  • 10
7
votes
3 answers

http in the Location-header when the original request was made over https

I am currently implementing https on our production environment, but I am scratching my head over a little thing here. SSL is terminated in the load balancer and the flow in our stack is basically like this: Production: Browser <- https -> Load…
pkhamre
  • 6,120
  • 3
  • 17
  • 27
7
votes
2 answers

How to scale up a web server supporting long polling

I am planing to add more web application servers to support increasing clients, deploying HAproxy and Keepalived for load balancing and High availability. My server usage has the following characteristic: Jobs are not CPU intensive. Message are…
Mickey
  • 123
  • 1
  • 8
7
votes
1 answer

permission denied to start tomcat as root

I just started using CentOS. I install Java yum install java-1.7.0-openjdk-devel Added a user: $useradd supersite Downloaded tomcat: $wget http://apache.mirror.anlx.net/tomcat/tomcat-7/v7.0.42/bin/apache-tomcat-7.0.42.zip $unzip…
Dejel
  • 195
  • 1
  • 1
  • 7
7
votes
2 answers

How can I determine the optimal size of the maxThreads of my NIO/APR Connector for Tomcat?

I am using NIO/APR Connector for Tomcat7. E.g.
Michael
  • 183
  • 1
  • 2
  • 8