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
0
votes
1 answer

Tomcat thowing NoSuchMethodError for Nio2Endpoint.setSocketOptions after start serving

I have just updated a server where an exception started to happen after the application starts and tomcat starts serving requests. I changed the connection to verify if there was an isue with it as well but the same happened: 19-Apr-2018…
Victor
  • 121
  • 1
  • 7
0
votes
0 answers

Tomcat not accepting connections, Apache using up all available workers

We run two separate tomcat-servers (tomcat 7) behind a load-balancer and an Apache (v. 2.2) working as proxy (on the same host). Every server runs about 70 microservices which are accessed from a remote Liferay system and another server-cluster…
jannis
  • 1
  • 1
  • 2
0
votes
1 answer

Configuring an intermediate SSL cert on Apache Tomcat

I have a website that's using a Let's Encrypt SSL wildcard certificate which is working great. I now want to take this certificate and install it in another server I'm using. My other server is running Tomcat on AWS. I've extracted the Base-64…
Sander Smith
  • 111
  • 4
0
votes
1 answer

Tomcat Server Shuts Down with no trace

We have a couple of critical Java Web Apps running on a bunch of Apache Tomcat 7 servers, on top of Centos 6.x. From time to time, once or twice a week, one of the Tomcat instances suddenly shuts down, with no trace, no OutOfMemory Exceptions, no…
0
votes
1 answer

Redirect tomcat default page to directly open application

I want to redirect tomcat to directly open my application. Example: http://localhost:8080/myapp should directly open as http://localhost:8080/. I read various articles and solutions from the web and tried to change the context path in server.xml,…
Shravan
  • 1
  • 1
  • 1
  • 1
0
votes
0 answers

Issues with TomEE on Amazon AWS EC2 Linux

I've recently tried to run a tomee server on AWS EC2 Linux and ran into Address already in use issues for my port, even though the port is not in use when I try to start the server. And I were unable to find any solution to this via google etc, and…
0
votes
1 answer

Prevent Tomcat connector from binding to port 8080 too early

It seems that Tomcat's connectors by default start listening before the server is fully started. The result is that in a HA setup some HTTP requests appear "hanging" for a considerable duration of time (30-60 seconds). Is there a setting to delay…
rustyx
  • 1,676
  • 3
  • 21
  • 30
0
votes
0 answers

Page not displaying CSS and JavaScript behind SSL apache reverse proxy

I have two web app running on two different servers.(198.168.40.23)server-1 and (198.168.40.20)server-2. server-1 is running a PHP application hosted on an Apache,on a centos7 and )server-2 is running Java spring hosted on Apache Tomcat 7 both of…
0
votes
1 answer

Apache, Redirecting html root to Tomcat(Updated)

I have just moved my apache2/Tomcat9 server from windows to ubuntu. ProxyPass and ProxyPassReverse are working fine. Known tomcat webapp urls are all passing through. However, when I just enter the www.myservername.com it goes to the default var/www…
Jake
  • 101
  • 2
0
votes
1 answer

Installing Tomcat SSL certificate fails

I want to setup a website that uses SSL. I use tomcat 8 and I already successfully setup the https with a self signed certificate, which of course, makes trouble when accessing the website with a common browser. However it works well but not really…
Tom Tom
  • 27
  • 1
  • 7
0
votes
1 answer

How to create tomcat keystore from existing Godaddy .key and .crt file

I have existing SSL file for a domain which being used in Nginx and Apache. How I can create tomcat keystore from existing GoDaddy .key and .crt file. I tried below keytool -import -alias tomcat -keystore k.key -file k.crt I got below…
Ramratan Gupta
  • 127
  • 1
  • 12
0
votes
1 answer

How can I get Tomcat that is in a Docker container and OpenShift to work together

I've got a Docker container which runs Tomcat that is hosting Ozone Widget Framework. If I start OpenShift and then try to start the Docker image that contains Tomcat/OWF I get a port conflict. If I try to start OpenShift while the Docker image is…
DemiSheep
  • 151
  • 1
  • 1
  • 6
0
votes
1 answer

httpd ProxyPass with sticky sessions and DNS RR

I'm using apache httpd with ProxyPass and DNS RR and sticky Java sessions for Tomcat. It's not working. My apache config is: ProxyPass "/" "balancer://mycluster/" stickysession=JSESSIONID|jsessionid scolonpathdelim=On
mikeb
  • 306
  • 1
  • 4
  • 12
0
votes
1 answer

Tomcat in docker remote shutdown

In order to shutdown a Tomcat docker container gracefully, is it possible to issue a remote SHUTDOWN command? rather than setting up docker to catch the kill request, and shutting down gracefully. Default server.xml:
atlas_scoffed
  • 183
  • 1
  • 7
0
votes
1 answer

How do I make IIS isapi redirector forward client certificate to Tomcat via AJP

I have an isapi_redirect component v.1.2.42 installed as an ISAPI filter on IIS and I want to forward requests from IIS to Tomcat via AJP. The problem I'm facing now is that if I use client certificates, the requests that are being forwarded over…
username
  • 249
  • 1
  • 4
  • 18