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

0
votes
0answers
31 views

Limit access to manager app with ip address, port and password

I try to set up a Remote Address Filter for my Tomcat8. It works so far but I need a little bit extra security. This is what I have: <?xml version="1.0" encoding="UTF-8"?> <Context ...
0
votes
1answer
42 views

Tomcat crashing with no error

I am running tomcat 7 on debian 7.9 dedicated server with several applications running on it and last time tomcat behavior is really strange. First after tomcat starts it takes all the assigned RAM ...
1
vote
0answers
16 views

Adding an alias for a web app so it works via two context roots

I'm using Tomcat to host a few web apps. They are all running on their respective context roots. Let's call them: A: https://example.com/A B: https://example.com/B I have nothing running at / ...
2
votes
0answers
614 views

Using TLS 1.2 and java 6

We have a legacy web application that runs in a tomcat under java 6 - an upgrade to 7 or 8 is currently infeasible. We now have a requirement to connect, as a client, over TLS 1.2 however java 6 only ...
0
votes
0answers
123 views

Can Tomcat 8 Rewrite Valve be used to forward access to specific ports?

I have a server (server.mycompany.com) which have (among others) several java applications running in tomcat containers, each on it's own port. On port 80 is an Atlassian Confluence wiki, installed in ...
0
votes
1answer
49 views

Configure Tomcat behind reverseproxy

I run a Tomcat 7 server in the local branch of our company. The server was available to public via port 80 and 443. Some days ago the configuration got changed by the HQs admins; Tomcat now needs to ...
0
votes
1answer
64 views

Hide Original URL using mod_proxy

I have been successfully able to use ProxyPass and ProxyPassReverse to reverse-proxy an application running under a Tomcat Server. However, the challenge is that I want to use a fake URL, to ...
1
vote
1answer
27 views

Apache httpd, Tomcat : Load-balancing seems to work between two tomcat, but one stops and service dies

I am working on a task in which I have to load-balance two tomcat-instances such that they share a common session also amongst themselves and when one goes down, the other one can handle the task. ...
0
votes
2answers
28 views

allowing access to Tomcat 6 manager on specific interface only

I have Tomcat 6 installed on a server with multiple network interfaces; one is public-facing, and the other is on our internal network. Is there a way to configure Tomcat such that internal users are ...
0
votes
0answers
75 views

Drools Workbench on Tomcat 9 fails to start with exception

I have been trying to get Drools Workbench running on a clean install of Apache Tomcat/9.0.0.M1 server. Despite following the directions in the README.txt in the kie-drools-wb-6.3.0.Final-tomcat7.war ...
0
votes
0answers
110 views

Nginx + SSL Certificate for Encryption purposes Issue

Sorry I'm not a sys admin. I'm trying to install my SSL Certificate for encrypt purposes and to use Nginx as a frontend of my Tomcat Alfresco application. I just can't reach my domain with HTTPS as ...
3
votes
2answers
212 views

Apache webserver & Tomcat : Runing multiple tomcat webapps and apache webserver app at same time

We have a Debian X64 server which currently has a tomcat instance where we have 3 webapps in WAR file ofcourse. Also, we have an Apache webserver, which has one CMS system running. And one final ...
0
votes
1answer
61 views

Nginx + Tomcat proxyName for more proxies

I'd like to configure tomcat's proxyName for two domains (jira.firstdomain.com, jira.seconddomain.com) proxied by nginx. so for first domain I have this configuration in nginx upstream jira {     ...
0
votes
0answers
34 views

Tomcat freezes for minutes under heavy load (not GC related and no heavy CPU consumption)

I have an app running on a Tomcat 8 on Windows Server 2003 with 4GB RAM. When the number of user is high (I checked the opened sessions in Tomcat Manager app), Tomcats stops serving for 1 to 10 ...
0
votes
1answer
102 views

Best practice for users to scp .war files to tomcat /webapps folder?

I have a tomcat 8 installation on an ubuntu 14 server. I want to give write access to the /opt/tomcat/webapps folder to a few users so they can scp .war files directly there from their local ...
0
votes
0answers
16 views

Can you set Tomcat’s access log directory dynamically?

I am trying to know if it’s possible to have a per-month access log directory in Tomcat 7. After having read the access log Valve documentation it doesn’t seem like it. Ideally, it would be something ...
0
votes
1answer
256 views

The proxy server received an invalid response from an upstream server. The proxy server could not handle the request GET /abcef/report

I am getting below error while trying to do some access website url. The proxy server received an invalid response from an upstream server. The proxy server could not handle the request ...
2
votes
1answer
35 views

Is there a way to write application logs like Tomcat and PostgreSQL to Tenable Log Correlation Engine?

My IT group uses Tenable's Log Correlation Engine and we have our Linux servers writing syslog to LCE. Is there a way to write our Tomcat and PostgreSQL application logs to LCE?
3
votes
1answer
110 views

Tomcat shuts down unexpectidly

I am using Apache Tomcat 8.0.23 with 1 GB RAM on centos 6 OS . I have used servlet and jsp for server side . But after few days it shuts down automatically . I have given memory size as ...
2
votes
2answers
116 views

Basic auth Apache with Tomcat

I have the following server setup: Apache Tomcat 7 running Atlassian's Jira (http:// <server-ip>:8081/tickets) Apache 2.4 web server as reverse proxy serving only the jira application at the ...
0
votes
1answer
110 views

SSL offloading with Apache and tomcat giving infinite looping | mod_proxy_ajp

I am working on a setup with following configurations Load Balancer -> Apache Web server ( 2) -> Application deployed on tomcat ( 5 nodes by clustering) In the deployed application, we do ...
0
votes
0answers
32 views

Implement SSL on Tomcat with IIS as front end

How can I implement SSL on my application after having IIS as a front-end ? My webserver is Tomcat 8 and I have tried the default method but it didn't work. Is there any additional steps? Or am I ...
0
votes
1answer
53 views

Jira over SSL gives a blank page with symbols

My attempts to configure Jira to work over SSL have not been successful so far. I have followed the steps at: https://confluence.atlassian.com/jira/running-jira-over-ssl-or-https-124008.html My ...
2
votes
0answers
235 views

Spring Boot 1.2.7, Tomcat, CSS and Thymeleaf = Very Very slow service

I have a Spring Boot 1.2.7.RELEASE web application (with Tomcat embedded) which needs to handle a very high load spike, ~ 10k connections in 4 to 5 minutes on one server (there is actually a cluster ...
-7
votes
1answer
68 views

Why wont my server start

I'm having real difficulty with a server on our load balance cluster and cant understand why. In the catalina log the following appears. It had been another site before and I removed it to see if that ...
0
votes
0answers
92 views

SMF: Custom method script and automatic restart on Solaris

i'm experiencing problems with automatic service restart with SMF and Solaris 11.3. I had to write my own start/stop method script to start a Tomcat to ensure several prerequisites. The script itself ...
0
votes
0answers
23 views

Display custom error page from load balancer if servers are down

I wish to be able to display a custom error page from the load balancer if there is an issue with the servers. The load balancer is apache2 and the servers are tomcat. Any suggestions or pointers in ...
0
votes
0answers
59 views

How can I load and unload tomcat virtual hosts without restarting it?

I'm running a large number of virtual hosts on my tomcat server and I need to add or remove some virtual hosts repeatedly (by changing server.xml) and everytime I have to restart whole tomcat to ...
0
votes
1answer
70 views

TomCat Page Instead of Jenkins

I've just installed Jenkins on my Ubuntu 15.04. The installation was using 'apt-get' command which ended successfully. But now when I browse 'http://localhost:8080' or 'http://localhost:8080/jenkins' ...
1
vote
1answer
128 views

Separate SSL certificate per webapp under Java app server on a single IP

We have a production Apache Tomcat server over which some websites are served. The sites have started to request valid SSL certificates. We have some limitations on the number of valid IPs on our ...
0
votes
2answers
25 views

Tomcat accepting HTTP from Apache, while Apache accepting HTTPS from user, does tomcat need to be HTTPS enabled too?

My application serves html pages through Apache server to user and it ssl-https enabled. These pages makes ajax request to my backend application running on tomcat container. Tomcat is not ssl enabled ...
1
vote
2answers
105 views

Tomcat webapps eating all the memory up

I am running a few tomcat servers to which we deploy applications that our coders write and implement. Problem is that in some of our servers, especially the ones that have multiple requests, memory ...
1
vote
2answers
270 views

Run Apache http, Apache tomcat and nodejs on same port

I'm a web developer and for a project I need to run tomcat and nodejs without using port. I've seen some posts about proxy module in httpd, so I've created two virtual hosts as follow : ...
1
vote
1answer
64 views

ARR Redirecting Rule (ERROR 404)

Well I'm using ARR to make IIS act as a front-end to Tomcat where my application is. The rule I'm using is working only for the first index page and that would be it. Rule is Patter (Wildcards) ...
0
votes
1answer
65 views

Using Tomcat behind Apache2 Http with different context paths

On our Ubuntu webserver we have a Apache2 HTTP server in conjunction with an JSF application running on an Tomcat8 application server using AJP 1.3 connector and HTTPS/SSL. I want my app which runs on ...
3
votes
2answers
101 views

Self-Signed Certificate With Public and Private IP (Tomcat 7)

I am configuring a server that has both a public and private IP. It doesn't have any associated domain names. Using a self-signed certificate to access the URL below works properly: ...
0
votes
0answers
152 views

why does apache/tomcat reverse proxy give 502 errors?

How do Apache 2.4.6 and tomcat 8 together need to be configured to serve apps that include AngularJS and Spring MVC code on CentOS? Here is the specific situation: A CentOS 7 server has Apache ...
1
vote
0answers
18 views

Redirecting using ARR 400.0 error

I have installed ARR 2.5 + hotfix on IIS 8.5, and I wanted to redirect requests coming to IIS to my Tomcat web application (Example localhost/test). I created rules and it worked successfully, but I'm ...
0
votes
1answer
62 views

Multiple sites one one physical windows server

What I have: Domain, registered by GoDaddy (lets imagine that it named mysite.com) AWS EC2 server instance, Windows Server 2012 R2 Static IP address provided by Amazon Elastic IP and assigned to ...
1
vote
0answers
156 views

Tomcat 8, Kerberos authentication

I'm configuring kerberos for a tomcat server. Before I call the web application support company I would like to know if I'm doing the correct steps since it's my first time. The domain has 2 zones, ...
0
votes
1answer
33 views

Improving high IOps Folder (Tomcat and Vmware)

Good day. We're moving a Tomcat from a physical server to one virtual Server. In the physical, and because the high IOps for the temp folder (¡developers!) we bought a Ramdisk software. My question ...
0
votes
0answers
38 views

Tomcat CSR for 2 servers with SAN ssl cert

I have a requirement to install SSL on Tomcat on two different servers. One server for pre-production the other production. I have been told that I must submit a CSR to my CA to get my certs for my ...
0
votes
1answer
44 views

Tomcat startup with security-manager - CentOS

I've seen this topic before, and the solution given works. However, it doesn't fit in my needs, since it's granting read access to every directory, by setting this catalina.policy: grant { ...
0
votes
1answer
83 views

Disadvantage of multiple tomcat instance in single server

We are Having One single Ubuntu server in cloud and we had planned to deploy Two Tomcat instance in single server. It is advisable to deploy two tomcat Instance in a single server Please tell what are ...
0
votes
1answer
171 views

GitBlit behind nginx keeps adding superfluous /gitblit/ on login/logout operations

I set up Gitblit within Tomcat on a server. I want it to be accessible via https://git.mydomain.tld. So far, this works but it has one little quirk. Whenever a user logs in to Gitblit, it redirects to ...
0
votes
1answer
186 views

Run wordpress with tomcat server

I built website in Java on Tomcat server in Centos 6. My website is running at port 8080 with domain: mywebsite.com. Now I would like to construct a Wordpress blog for my website with another domain ...
0
votes
1answer
267 views

How to generate self-signed cert for use with Tomcat7

Goal: To use a self-signed cert with my dev Tomcat server. Step 1: Create a certificate with openssl following this Ubuntu certificate guide: openssl req -new -key server.key -out server.csr I ...
0
votes
1answer
114 views

Tomcat 8 Permissions Issues (Windows)

I'm currently trying to troubleshoot an issue with a Java web application that is stumping me along with the vendor of the software. We're running on Windows Server 2012 with Tomcat 8. In my scenario, ...
-1
votes
1answer
744 views

java.io.IOException: Too many open files on tomcat server

I have web application which is based on JAVA (GWT Framework). I hosted my web application on Redhat Linux Server 6.0 using Tomcat 8.0.9 in front of apache http server connected using AJP connector ...
1
vote
1answer
25 views

Simple proxy reverse Apache-Tomcat

My intent is very simple, I would like to type example.com and be redirect to example.com:8080/myapp example.com:8080/myapp is a java/tomcat app. <VirtualHost *:80> ServerName ...