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
0 answers

Java web app runs slow only on production server

I have a web app I built that has 1 page that loads very slowly only on my production server (RHEL). My local dev (Windows) and test server (Ubuntu) are no where near as powerful but this particular pages literally loads 4x faster. It takes about…
Raymond Holguin
  • 153
  • 1
  • 8
0
votes
0 answers

How to stop Spring Boot project running on Tomcat server to re-depeloy it-self each time I change static resources?

I have Maven Spring Boot Project that I configured to run on Tomcat 8.5 server. I run and develop it in Eclipse Java EE IDE. pom.xml is:
0
votes
1 answer

Deploy from Tomcat text interface fails Invalid context path null was specified

I have an apparently simple situation: a running Tomcat 7.0.54 instance whose host is configured with autoDeploy=false and unpackWars=true and I want to deploy a new web application there without restarting the server. From within the server machine…
watery
  • 143
  • 12
0
votes
0 answers

Tomcat 7 server experiencing a sudden (order of magnitude) increase of the Young GC frequency after upgrade of Ubuntu and OpenJDK

What is the issue? After upgrading instances to Ubuntu 16.04 LTS and OpenJDK 8 the GC frequency can, after hours of normal operation, suddenly increase by orders of magnitude ending up using less than 10% of the HEAP. We have analyzed the GC logs…
0
votes
1 answer

Tomcat + mod_jk blocking mysql connections for other Apache 2 VirtualHost apps

I have responsibility for a legacy Tomcat webapp running as webapps/ROOT. Previously the app was running on a dedicated Linux server, but to save money I was asked to move it to a different Linux server where it shares a MySQL database with a few…
GSP
0
votes
1 answer

Git: server certificate verification failed using Bitbucket Server

I have a Bitbucket server running onprem with a certificate. I added it to the keystore ussing the follwing commands openssl pkcs12 -export -in myurl.com.cer -inkey myurl.com.key -out myurl.com.p12 keytool -importkeystore -srckeystore myurl.com.p12…
quadroid
  • 101
  • 3
0
votes
2 answers

Web application with Hibernate, Spring and Oracle goes up to 99% of the CPU

We have an web application in Linux environment that the CPU sometimes goes up to 99%. Sometimes it takes days, and other times it takes minutes. We are using Hibernate with Spring in a tomcat webapp and an Oracle Database. Checking the logs it…
user28265
0
votes
1 answer

First REST call slow on Apache server

I'm facing this issue on some of the requests. All the first calls of a user (or when some time has passed) take up to 60 seconds to be completed. After that it takes milliseconds. It doesn't matter if I call it on an internet browser or with SOAP…
Edward
  • 21
  • 3
0
votes
1 answer

reverseproxy to connect multiple backened server from single virtual host

I have a apache http server that acts as proxy to connect to backened app servers. e.g. MachineA(https) -> MachineB(reverseproxy) -> MachineCn(App) Here MachineA(Public_lb) port 9002 is mapped with MachineB(internal apache) port 7777. In backened,…
kumarprd
  • 101
  • 4
0
votes
0 answers

Apache Load Balancer 503 gateway error

I have a server with root access. The server hosts a java webapplication, servlet container Tomcat. Nginx is a reverse proxy to Apache. Apache is a reverse Proxy to Tomcat. Single Tomcat node Apache proxy configuration is: ProxyRequests…
Dreggers
  • 1
  • 2
0
votes
1 answer

Is it possible to configure Apache-Tomcat with specific number of cores?

Is it possible to configure an Apache Tomcat (v7) with an specific number of cores? How can I specify it? I'm developing in a machine with 4 cores, but when uploading to the server with 8 cores, the perfomances increases a 800%. I need to check if…
tremendows
  • 103
  • 1
  • 5
0
votes
1 answer

JVM heap is being swapped causing GC go haywire - Tomcat

Info: # of VMs= 4, each with an instance of Tomcat 8.5.* in cluster Apps = 5 war applications- 2 UI applications and 3 Webservices. Java Version = java 1.8.* Configuratin = 2 LTMS and 2 Apache Webservers - 1 LTM on top of tomcat clusters which…
prashma
  • 1
  • 3
0
votes
0 answers

SSH and Telnet connectivity issues. It connects sometimes and sometimes it does not

I have come across a problem with SSH and Telnet wherein the connectivity is slow and drops multiple times. But I see that my network has no problems. When I ping a server, it gives me ttl of 127, packet losses 0% and time is less than 1 ms. This is…
0
votes
0 answers

HaProxy to Tomcat over SSL

I am trying to configure HaProxy - Tomcat communication over HTTPS. That is, I need to configure SSL on both HaProxy and Tomcat. I started with Tomcat and it works fine on port 8443. I imported the client certificate on the browser and it loads…
0
votes
1 answer

Tomcat8 doesn't detect Letsencrypt renewed certificate (but Apache does)

I have an Ubuntu 17.10 Server with Apache 2.4.27 and Tomcat 8.5.21, both serving through HTTPS thanks to a Letsencrypt Certificate. It's been working fine for 3 months and automatic renewal (with default cron) worked. But after the original…
Jordi Nebot
  • 131
  • 1
  • 5