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

Increasing timeout for mod_proxy_ajp connections

I've got my apache (2.2.3) talking to tomcat 6.something through mod_proxy_ajp. I have some ridiculously long lived requests (2-6 minutes) and I think we're hitting some default timeout somewhere... where is the correct place to bump that up? here…
danb
  • 173
  • 1
  • 3
  • 6
6
votes
1 answer

Ubuntu 18.04.2 build of Tomcat 9 not writing to catalina.out, but in systemd status

So I'm having a problem with Tomcat 9 in Ubuntu 18.04.2. Tomcat 8 worked fine, it logged Java stack traces to /var/log/catalina.out fine. Tomcat 9 is unfortunately only logging GET and POST requests with the default Ubuntu configuration via apt. I…
user3260912
  • 193
  • 2
  • 6
6
votes
3 answers

systemctl stops Tomcat service immediately after start

I asked first this question on StackOverflow, but it seems that this site is a better fit. I am setting up a web app environment to run Java apps. The environment is supposed to be: AWS EC2 Ubuntu 18 Java 8 Tomcat 9 I launched an EC2 instance and…
yateam
  • 101
  • 1
  • 1
  • 7
6
votes
2 answers

SSL_ERROR_NO_CYPHER_OVERLAP error with signed certifcate

My company has supplied a Tomcat/MySQL based application to a customer that by default uses http. At the request of the customer I enabled this to use https by creating a self-signed certificate. This worked subject to the expected browser error…
Darren
  • 331
  • 3
  • 4
  • 13
6
votes
4 answers

mod_jk or mod_proxy

I tried googling and the only articles I found comparing these two were from 2005 down to 2002. I just set up my first Tomcat instance to run Jira for a project I'm doing. I want to proxy this through port 80 and apache. From what I can tell, I…
brad
  • 502
  • 1
  • 10
  • 22
6
votes
4 answers

which JVM is best for Tomcat?

I have Tomcat 6.0 up and running. I went to tweak the memory sizes and realized that I have it running on the Sun JDK 1.6 client JVM. I don't have the Sun server JVM installed: C:\>java -client -version java version "1.6.0_16" Java(TM) SE Runtime…
Jason S
  • 626
  • 1
  • 16
  • 28
6
votes
2 answers

mkdir: "no space left on device" on specific folders after Apache Tomcat reached max-file ulimit

The question: I have a tomcat running a java application that occasionally accumulates socket handles and reaches the ulimit we configured (both soft and hard) for max-open-files, which is 100K. When this happens, the java appears to still be alive,…
6
votes
3 answers

tomcat8 from wheezy-backports fails with configtest.sh

I have installed tomcat8 package from wheezy-backports. I use the default / unmodified installation with the following expections: I use Oracle Java 8 JDK in /etc/default/tomcat8 is added: JAVA_HOME=/usr/lib/jvm/java-8-oracle I can start/stop…
rmuller
  • 175
  • 1
  • 8
6
votes
2 answers

Linux: How to get average CPU utilization of a process over specified period of time?

I'm trying measure the concurrency efficiency of my web application (running in TomCat) during load testing. I'm looking for a way to get the average CPU utilization of my process spanning the start and end of load testing. What utility can I use to…
lairtech
  • 417
  • 7
  • 13
6
votes
4 answers

mod_jk produces Error smh errno=13

I am trying to use mod_jk for load balancing. Loadbalancer: 172.17.8.189 (HTTPD+mod_jk) Node1: 172.17.8.193 (apache tomcat instance 1) Node2: 172.17.8.196 (apache tomcat instance 2) I checked my tomcat instances and both of them are listening at…
nth
  • 89
  • 2
  • 3
  • 9
6
votes
3 answers

Basic auth for a Tomcat app (JIRA) with Nginx as reverse proxy

I have several subdomains running the Atlassian Tomcat apps (jira.example.com, confluence.example.com, stash.example.com) and I would want to know if it is possible to password protect all of them with basic_auth with .htpasswd. Nginx it is working…
sdude
  • 291
  • 1
  • 2
  • 10
6
votes
7 answers

How can I prevent that a server admin can see data?

I am running Apache Tomcat on a Windows 2003 Server and I have data stored in a mySQL database. How can I prevent that a server admin can see any data?
CL23
  • 163
  • 3
6
votes
4 answers

tomcat6 on CentOS 6: cannot stop/restart service

I have this problem with stopping and starting tomcat6 (package from the repos). I've seen with several CentOS 6 and RHEL 6 boxes. The symptoms are that when I want to restart or stop tomcat6 it just fails. This seems to be only happening after it…
aairey
  • 61
  • 1
  • 1
  • 2
6
votes
1 answer

Need Tomcat5 configured to listen on all interfaces

I have tomcat5 installed on CentOS. which is configured to listen only from 127.0.0.1. How do I configure Tomcat to listen from all interfaces. Connector port config is as under:
Asghar
  • 203
  • 1
  • 6
  • 14
6
votes
1 answer

How to re-activate disabled Apache 2.2 AJP connections?

I don't use AJP for load-balancing; I have a single Apache 2.2 instance that proxies some URLs to a single Tomcat 7 instance via AJP. When Tomcat is down, the AJP proxy becomes disabled on the first failed request, and is not re-enabled when Tomcat…
rustyx
  • 1,676
  • 3
  • 21
  • 30