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.

learn more… | top users | synonyms

6
votes
1answer
2k views

Tomcat sessions not expiring

I'm having problems with sessions accumulating. I run an instance of Tomcat 6.0.18 on a Windows server. I have 3 apps. I've been having memory issues (close to heap size, or OOM). When I look ...
1
vote
1answer
2k views

Request Entity Too Large mod_jk

I have setup where there is apache (httpd) and apache tomcat both are connected with ajp and in my http.conf LimitRequestLine 65536 LimitRequestFieldSize 65536 under <VirtualHost> and ...
0
votes
2answers
2k views

how to install ssl on tomcat 7?

I know this question might sound too easy and I should had read all docs available on internet, the true is that I did, and I had no luck, its kinda confusing for me, I have installed many times this ...
0
votes
1answer
2k views

Verify client certificate CN in Tomcat(APR)

I'm running a tomcat installation with the APR libraries installed (with the OpenSSL HTTPS stack that comes with it). What I'm trying to do is to lock a specific HTTPS connector down to users of a ...
0
votes
1answer
3k views

.htaccess Rewriting Tomcat Server

I am writing a website using Railo. My code is to be deployed on a Railo Server running on Tomcat, overlayed on a regular Apache+PHP server. I need to send all requests to http://subdomain.myserver....
0
votes
1answer
2k views

CentOS Apache + Tomcat SSL using mod_jk

I have Apache + Tomcat (using mod_jk) working correctly on a CentOS 6.3 machine. I am trying to set up SSL with Apache. When I browse to the site I get the following output: Forbidden You don't ...
0
votes
1answer
1k views

How to redirect HTTP post request

Hi I am currently using the below code in my apache httpd.conf file to redirect from HTTP to HTTPS <VirtualHost 10.1.2.91:80> Redirect 302 /GladQE/link https://glad-test.com/GladQE/link.do ...
0
votes
1answer
47 views

Why HTTP 501 error of type JSON presented to UI as text/html instead of application/json?

I have front-end Angular running on Apache with back-end Spring REST API on Tomcat. I wanted to throw 501 error in some error case and want that response to be presented as JSON to UI (Content-Type ...
0
votes
0answers
17 views

SSL Cipher Mismatch Tomcat RHEL

I'm deploying a Tomcat web server with an SSL certificate. I've created the keystore and have received and installed the certificate back from the certificate vendor. However, I receive '...
0
votes
3answers
2k views

Zero downtime deployment (Tomcat), Nginx or HAProxy, behind hardware LB - how to “starve” old server?

Currently we have the following setup. Hardware Load Balancer (LB) Box A running Tomcat on 8080 (TA) Box B running Tomcat on 8080 (TB) TA and TB are running behind LB. For now it's pretty ...
1
vote
0answers
17 views

Inconsistent CPU load on debian

This server runs Apache2, Tomcat6 and MySQL.(if that makes any difference you tell me :) Using htop i can see the cpu load on each of the 4 cores. What I do not understand is witch processes are ...
0
votes
0answers
64 views

ProxyPass unknown Worker parameter

I'm new in Apache and I have a RedHat6 server with apache2.2 and tomcat6. I'm trying to configure the parameter connectiontimeout, like the below configuration: ProxyRequests Off ...
0
votes
0answers
55 views

Tomcat/apache2 application - virtual host issue. Welcome.action URL not found. Possible mod_rewrite issue

Im having some issues setting up a tomcat application to work with apache2. My KonaKart tomcat application is running on port 8783. And I'm trying to access it publicly on port 443. I created the ...
0
votes
0answers
22 views

How to make a 301 Redirect before proxy?

I have apache in front of tomcat. I have this proxy settings: <IfModule mod_proxy.c> <Proxy *> Allow from 127.0.0.1 </Proxy> ProxyPreserveHost On ProxyPassMatch ^/(.+\.cf[cm])(/.*)?$...
-1
votes
1answer
20 views

how to install two versions of tomcat 6 and 7 with java 6 and 7 respectively on same ubuntu server

Can any one help me to configure a server with two tomcat instances i.e. tomcat 6 with java 6 and tomcat 7 with java 7 versions on a same ubuntu server?
0
votes
1answer
50 views

Apache Tomcat requires an abnormal amount of time to start in CentOS 7

I am experiencing a weird issue on a CentOS 7 virtual machine and I can't see what is causing it. I created the VM on Digital Ocean and set it up as follows: 1) modified /etc/hostname with ...
0
votes
1answer
25 views

What is the latest patched version of Tomcat7?

I am running on tomcat version 7.0.52 , i know this is a old version. I looked into https://tomcat.apache.org/security-7.html, according to this page , the latest version is 7.0.68 , so i am in ...
0
votes
0answers
20 views

Tomcat instance inadvertently down in amazon ec2

I am running a tomcat instance in my ec2-instance, and it is frequently down for some reason. I checked the logs at {tomcatinstance}/logs/ , like catalina.out, localhost*.log, myapplication.log; but ...
0
votes
0answers
20 views

AJP Connection Failure

The other night a Apache load balanced cluster of Tomcat instances because to fail when attempting to communicate over AJP. I can not figure out why this occurred nor can I get apache to comminucate ...
0
votes
1answer
30 views

Application GUI on a heavy load tomcat doesn't respond

We have a backend webapp installed on tomcat 8 that has a GUI part written in Apache wicket MVC (version 1.4) - the wicket GUI fails to respond the moment the server starts doing heavy processing. ...
0
votes
1answer
57 views

Apache timeout - large file downloads

A website I manage has to occasionally serve up large files over the internet, and this usually results in a failed HTTP 500 Internal Server error. However, I can reproduce this issue locally by ...
0
votes
0answers
33 views

Issues with a fresh dev OneOps instance

I followed the instructions here: https://github.com/oneops/setup.git and was able to bring up an OneOps instance. I am able to create a user and log-in, however I am not able to create organizations. ...
0
votes
1answer
78 views

How to actually disable SSL3 on a ubuntu 14.04 LTS

I am running a server which has tomcat7 and apache2 on it. I issue the following command via another remote host: openssl s_client -connect my_site:443 -ssl3 This returns: CONNECTED(00000003) ...
0
votes
0answers
49 views

Tomcat IP whitelist on conf/web.xml

I have a tomcat 7 installation on a EC2 server on Amazon. I have also a webapp deployed as a root in the webapp folder. I need to be able to block all the requests from any IP addresses for the path ...
2
votes
3answers
8k views

Setting up tomcat autostart on Linux?

So I have a java web app on tomcat installed on the server. How can I setup auto start for it so that it starts up automatically when the server is restarted?
0
votes
0answers
39 views

Can't increase Java heap in Debian

I'm setting up an environment to run some web apps developed in Grails, and deployed in Tomcat. I made the default configuration and the first web app deployed just fine, but after logging in, the ...
1
vote
0answers
54 views

Apache/Tomcat Webserver using AJP Proxy - How to rewrite/redirect URL

I have a web server running Jaspersoft Server on Tomcat, using Apache with AJP Proxy for SSL. Right now, when we navigate to the serverhostname, it redirects us to https://serverhostname. Instead I ...
0
votes
2answers
43 views

Remote parallel deployment in Tomcat

We're deploying an app to several Jelastic Tomcat environments using Maven on a TeamCity build server. This works well and has done so for quite some time. Now, we want to move closer to zero-...
1
vote
1answer
49 views

Memory problems with Tomcat on Solaris 10

I have a server running Solaris 10. It reports 70+ GiB free RAM. I am attempting to start Tomcat 7.0.68 using Java 1.7.0_80 in 64-bit mode. The server is claiming that it is not able to allocate ...
-1
votes
1answer
16 views

What can be turned into a docker image?

Assume I have the the following VM: -Centos -JRE 1.8 -Tomcat -Jar dependencies -My WAR file + all the server configuration files Now can I turn this whole thing into one Docker image, excluding the ...
0
votes
1answer
25 views

How to create a *.crt file out of keystore? (SSL / Tomcat)

to use https (ssl) with tomcat i build a keystore with this commands: $JAVA_HOME/bin/keytool -genkey -alias [youralias] -keyalg RSA -keystore [/preferred/keystore/path] $JAVA_HOME/bin/keytool -...
0
votes
0answers
36 views

tomcat 8 silent install on windows as service

I'd like to create installer for my application. I need to install tomcat 8 as service on windows host. Is there any possibility to install it in silent mode and provide parameters to configure ports, ...
0
votes
0answers
69 views

Tomcat7.exe vs Tomcat7w.exe and Windows NAS drive

I am still fighting with how to make Tomcat installed as a Windows service (Windows server 2012 or experimenting with Windows 8) see mounted NAS drive. I tried various approaches from http://...
1
vote
2answers
105 views

JIRA becomes inaccessible after adding “address=127.0.0.1” in Tomcat connector

I have JIRA and Nginx running on the same server with Nginx installed to serve as a reverse proxy. From what I learnt from various sources, in the server.xml file, I must add an address="127.0.0.1" ...
0
votes
1answer
25 views

importing self signed certificates mysql/mariadb and tomcat how to?

trying to use certs for securing connections between Tomcat 8.x and mysql/mariadb. I'm going to use a self-signed cert. What follows is what i think i should be going and appreciate you to jump in and ...
0
votes
0answers
39 views

Why my websockets application deployed on tomcat is not getting the shibboleth headers?

My stack looks like this: Apache httpd server 2.4.12: with mod_shibd, mod_proxy_http & mod_proxy_wstunnel Shibboleth 2.5 Apache Tomcat 7.0.54 Our scenario looks like this: --------- ...
0
votes
0answers
10 views

Authentication failed for user: null

I have an API "Vignette Collab" that is running on an Apache stack with Java, I inherited a legacy codebase and need to find where this error is coming from apparently the last developer built a ...
0
votes
1answer
24 views

Linux: Mismatch between the threads the tomcat application created and the run queue length

Linux: 16gb ram, 2cpus On Linux machine running tomcat with around 800 threads which I got using jvisualVM, but in run queue length I am getting only 50 because CPU is 100%, and no blocked threads ...
1
vote
1answer
91 views

Connect to a Tomcat Server from nginx as reverse proxy

I have a Tomcat server serving a web application and I have a Nginx server running in front of it as a reverse proxy. As an answer to my earlier question (Tomcat server behind nginx reverse proxy - ...
0
votes
1answer
69 views

Tomcat server behind nginx reverse proxy - how to block direct access to the server?

This may be a noob question but I'm still learning about web servers and reverse proxy setups. I have two servers running on the same network - one Tomcat and another one Nginx which I intend to use a ...
0
votes
2answers
850 views

ELB Https with HTTP on backend using Tomcat without nginx or haproxy

I want to setup ELB to terminate SSL at load balancer and communicate with backend instances over HTTP. I have uploaded valid certificate on ELB. When I set up following configuration ELB - HTTPS ...
0
votes
0answers
15 views

forward request from one tomcat to other tomcat

I know that what I'm asking can be processed with some webserver(apache/nginx), but in my scenario I can't install it. I've got one tomcat instance running on port 8080 and second on 9080. Only port ...
1
vote
2answers
67 views

Tomcat webapp failing to start when Tomcat started as a service

I have a webapp that is failing to start in Tomcat on a Linux install. The app works on a different Tomcat installs on different machines and on the same machine when using a standalone Tomcat. The ...
0
votes
0answers
10 views

Unable to redirect 3 different domains to different apps deployed on Tomcat, from Apache

I have "Apache HTTP" and "Apache Tomcat" both installed on the same server. Apache is running on port 80 and Tomcat is running on port 8080. The 3 website come on Tomcat at the below URLs. ...
1
vote
0answers
108 views

Apache, Tomcat : How to use multiple SSL certificates on a single server

I am working on our Debian X64 server which is the endpoint for 5 domain-names. One of the domain-names is utilized by a web-project running on Apache web server. The remaining 4 domains have ...
0
votes
0answers
12 views

Error with security constraint in Tomcat

I have a problem setting up a login with password in a web application, but returns me a 404 error when I try to access the website. My first step was add a new role and user in tomcat-users.xml: &...
4
votes
1answer
4k views

Apache SSL reverse proxy to a Embed Tomcat

I'm trying to put in place a reverse proxy for an application that is running a tomcat embed server over SSL. The application needs to run over SSL on the port 9002 so I have no way of "disabling SSL" ...
0
votes
1answer
28 views

Oracle 8.x what combination of JDBC driver, Hibernate and Spring? [closed]

I'm working to a small project which must run on Tomcat6. It's a small web application, that will use an old DB server which run HP-UX and Oracle8. Now, after several combining config, I'm stuck at ...
0
votes
0answers
16 views

Can I run Tomcat with mod_proxy_ajp and rolling upgrade automatically?

I have 4 Tomcat servers and 1 Apache HTTPD server and run mod_proxy_ajp: <Proxy balancer://cluster> BalancerMember ajp://10.27.1.21:8009 BalancerMember ajp://10.27.1.21:9009 ...
0
votes
0answers
24 views

apache 2.4 ajp and virtual host not working

I have Centos 7 , Httpd Apache 2.4 and Tomcat 8 my goal is to connect to my site1.com which is on tomcat throw 80 port. Now if I go to site1.com I am redirected to site2.com which is on httpd apache ...