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

Where are defined aliases in Tomcat5

I have an old instance of tomcat5 running on RHEL5. It serves http://myserver/RTT from the files in /RTT/intranet/build, assume that means the target of ant from the directory /RTT/intranet. In addition, there is an apache server but all the link…
MUY Belgium
  • 251
  • 3
  • 17
0
votes
2 answers

Where to put certificates in Tomcat, when app acts as client?

For starters, i have my Tomcat8 configured for https with valid certificated linked in connector xml file. Something like this:
johnymachine
  • 190
  • 1
  • 2
  • 12
0
votes
1 answer

Tomcat view connector settings being used

Is there a way to view what settings are set for a connector at runtime? For instance, I want to see what maxConnections is set to. Pretty much verify all these settings: https://tomcat.apache.org/tomcat-7.0-doc/config/http.html Thanks!
Matt
  • 175
  • 2
  • 10
0
votes
1 answer

Effectively knowing if the service is up

In a typical Load Balancer + Tomcat app servers environment, how do you effectively determine if the service is up ? Currently the load balancer is making TCP checks on a /service endpoint for the app servers and if they get 200 that assumes the…
Novice User
  • 161
  • 1
  • 6
0
votes
1 answer

Restart tomcat using gitlab-runner

I have .gitlab-ci.yml configuration with: deploy-integration: stage: deploy script: - cp target/example.war /var/webapps - service tomcat7 restart But execution wasn't successful because of: $ service tomcat7 restart You need root…
Justas
  • 221
  • 1
  • 6
  • 12
0
votes
0 answers

HAProxy create new sessions in Tomcat

I'am using HAProxy 1.5.18 on CentOS 7.3 and Tomcat 8. HAProxy create a lot of sessions (more 350) on my Tomcat Server! Every 10 seconds, a new session is created. I think it is this line : option httpchk OPTIONS / How can I stop the creation of…
Djé Djé
  • 13
  • 3
  • 7
0
votes
1 answer

HTTPS Reverse proxy old tomcat application

I am trying to put an old Tomcat behind an Apache HTTPS reverse proxy. I configured the https virtual host to perform the actual proxying and the http virtual host to redirect everything to https: https snippet: ProxyRequests Off ProxyPass …
J.B.
  • 315
  • 8
  • 23
0
votes
1 answer

Can't start tomcat as service in redhat

I'm new to Linux but having spent a whole day I Installed Java and Tomcat. My goal is to host an App with this Linux box. I know it all works fine from my windows based machine, but it is my laptop so I'm planning to use the Linux Box as my…
0
votes
3 answers

Applications Cluster with Tomcat on CentOS / Redhat

I am a newbie with cluster... We use a Tomcat application which works on CentOS servers. Does it possible to get a Load Balancing with only 2 servers ? An active/active cluster. I know it's possible with HAProxy but in this case, we have to add a…
Djé Djé
  • 13
  • 3
  • 7
0
votes
1 answer

Apache with tomcat and webapps

I am completely new to configuring tomcat. I'm trying to setup apache in front and just have tomcat act as a servlet. So far everything is working fairly well and I got it all setup, but the only thing I can't figure out is the war files work…
Matt
  • 175
  • 2
  • 10
0
votes
3 answers

cpu 100% with tomcat 7 on Debian 8

I'm having an issue with the default configuration of tomcat 7 on Debian 8. Problem: I got the cpu of my server, due to java process, jump to 100% and stay there for hours making the server slow. If I restart tomcat server the cpu goes again to 1%.…
0
votes
1 answer

tomcat webapp not authenticating to sendmail on migrated server

Issue Overview I'm in the process of a P2V migration and I've run into a snag getting tomcat and sendmail to play nice. I can't get the application to send mail out. The major differences between the two systems are: The OS is being upgraded from…
sparkex
  • 1
  • 3
0
votes
0 answers

Session issue on Load balancing URL Apache Web Server + Tomcat 7.0.54

I'm facing the session issue on the load balancing URL, the session is not getting created but it works fine when I use the Tomcat URL directly. Controller: @RequestMapping(value = "/authenticateUser", method = RequestMethod.POST, consumes =…
0
votes
1 answer

I can't start Apache with module mod_jk

I have installed an Apache HTTP Server in CentOS 7. After installation it runs successfully. Then I tried to add the mod_jk module following these steps. I downloaded the Tomcat Connectors ziped sources file. I tried with v.1.2.35 (this version…
Carlos Durán
  • 11
  • 3
  • 8
0
votes
1 answer

Redirecting from PHP-based web servers to ELB and tomcat applications

I have an AWS deployment where I have a web-server (serving a PHP-based website) and an application server (serving JSP/Tomcat based applications). The redirection from the webserver to the application server is made via AJP over port 8009. This is…
Sriram
  • 201
  • 1
  • 4
  • 8