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
9 views

Problems with the tomcat access-logs

I need your help. I want to log the access on my Apache Tomcat webserver on SLES 12. He is running and he is logging normally. But when I visit the site, tomcat is writing 8 lines into the ...
0
votes
1answer
3k views

How to install tomcat for many instances with CHEF?

I would like to install tomcat with a recipe through chef at some folder, like /company/tomcat6.0.45-port8081. But sometimes I have many instances of tomcat, like /company/tomcat7.0.41-port8082, /...
0
votes
0answers
7 views

Can you enable Server-wide web.xml settings for tomcat?

I see a lot of questions out there with a lot of suggestions, yet no one has definitively proven that you can enable a global setting via the web.xml that sits in tomcat/conf/web.xml. So my question ...
2
votes
1answer
1k views

Obscuring tomcat context path in URL

I've setup an Apache reverse proxy to Tomcat that is working, in that I can load my url and get connection to the Tomcat backend. What I'm attempting to do now is rewrite the URL that a user sees in ...
1
vote
1answer
3k views

Tomcat fails to start, no logs or error provided

I have a Centos5 box running tomcat5 (a version before 5.5, there's no bin/version.sh script). When attempting to start tomcat, whether through init.d or service, I get the FAILED message with no ...
0
votes
2answers
2k views

Tomcat logging and mod_proxy

I have Tomcat running on port 8080, and when I send a request directly to Tomcat it works fine: curl -IL http://localhost:8080/myapp HTTP/1.1 302 Moved Temporarily Server: Apache-Coyote/1.1 Location:...
11
votes
2answers
4k views

Tomcat 7 trailing slash issue with webapps

Recently I upgraded my tomcat server from 6.x version to the most recent 7.x version. I came up with little trouble, hoping to get help. I have an application calls MyApp On tomcat6, when I went to ...
0
votes
0answers
20 views

Tomcat 8.5 w/Java 8 and openssl 1.0.1: Can't get port 8443 to respond

Hoping for some help getting the SSL 8443 port to accept https connections. Have the following setup: CentOS: 2.6.32-220.el6.i686 Java: 1.8.0-openjdk-1.8.0.91-3.b14.el6_8.i386 OpenSSL: 1.0....
0
votes
0answers
3 views

Cannot get isapi_redirect.dll to connect to Tomcat

I have a IIS server and a Tomcat server, I'm trying to get IIS setup so that I can connect to my Tomcat application via AJP. The intention is that anything destined for this site goes to Tomcat. ...
2
votes
3answers
4k views

Production Instance : CLOSE_WAIT Connection Issue

I am using 10EC2 Instances behind 1 ELB. And ELB configured 80 to 8080 and 443 to 8080 port. And all 10EC2 instances having installed with Apache Tomcat, total request on ELB around 8000 to 10000 in ...
0
votes
1answer
14 views

How to deploy a WAR in AWS Beanstalk with high availability

I'm using AWS Beanstalk (Tomcat) with two EC2 instances. I have minimum and maximum instances count to 2 and Any 2 in Availability zones. I was expecting high availability when deploying a new WAR ...
0
votes
1answer
9 views

Apache Tomcat Default App

I am using ubuntu-16.04 and have been trying to work with Tomcat. My version is: Apache Tomcat/8.0.36. I have an app in http://localhost:8080/mynewapp which i wanted to access as root app, that means ...
1
vote
3answers
3k views

Extremely slow startup of tomcat

I have a tomcat 7 installation on a Solaris 10 server. My problem is that starting the server (or deploying a new war) is extremely slow. It usually take 30 - 60 minutes. The war application is a ...
-1
votes
0answers
99 views

Cannot connect to ServerEndpoint deployed in Tomcat [migrated]

A lot of people assume that I use an IDE, so let me state this right now: I do not use any IDE. I took the following Java source code, compiled it to Echo.class, then created Echo.war by writing ...
0
votes
1answer
20 views

Apache mod_proxy with Tomcat 8.5 using http2

Is it possible to use mod_proxy in front of an Apache Tomcat 8.5 with the http2 protocol? If yes it would be nice to see an example configuration.
0
votes
2answers
1k views

Installing Tomcat6 on RHEL 6.4

I am missing some packages which Tomcat depends on. But whatever dependency I try to resolve, it all comes down to java-gcj-compat missing which I cannot find on the DVD. Note that I don't have an ...
0
votes
1answer
4k views

Tomcat localhost page showing HTTP500 but I can access the 'sample' war / app but no others - Jenkins installed

I'm trying to set up my server properly so that I can run servlets on it with the help from Jenkins. Within the webapps folder are two war files. One for jenkins and one for the sample from apache....
0
votes
1answer
2k views

Losing JSESSIONID when using ProxyHTMLURLMap

I've setup a reverse proxy between an Apache front-end and multiple Tomcat backends. The below block of code includes the ProxyHTMLURLMap param so that the HTML can be rewritten to remove the Tomcat ...
1
vote
3answers
2k views

Apache reverse proxy with VirtualHost not serving a page

I have an Apache reverse proxy set to move requests to a Tomcat Applet. The config is similar to: <VirtualHost 100.100.100.100:80> ProxyPass /AppName/App http://1.1.1.1/AppName/App ...
1
vote
2answers
2k views

X-Forwarded-For not showing up in tomcat7 access log

I'm trying to print out the remote client IP on a tomcat running behind an ELB and for some reason it's not being printed out to the access log. my elb configuartion is : 80 -> 8080 443 -> 8080 ...
0
votes
1answer
2k views

How to specify path in Apache tomcat catalina for folder on different server?

On apache tomcat C:\Program Files\Apache Software Foundation\Tomcat 6.0\conf\Catalina\localhost\ we can change folders for another by specify it in XML like: THE_FOLDER.xml and in that xml we ...
0
votes
1answer
2k views

Apache tomcat server win8 cannot be accessed outside of local host

I have installed the apache-tomcat server on my local win7. The port I specified is 9999. Additionally, I use the distributed binary version of apache tomcat. Not installing as a windows service. I ...
0
votes
0answers
7 views

Solr multi core installation error

My client has website which uses solr search which I am not expert on. He now needs to change the server. The previous server has two solr cores(ie: core0 and core1). I installed tomcat6 then added ...
1
vote
1answer
2k views

Tomcat mod_jk cluster skip 404 http status

I am trying Tomcat Clustering with mod_jk for months and so far not so bad but facing a problem during deployment. I am using FarmDeployer to copy and deploy the WAR to other nodes in the cluster but ...
0
votes
0answers
9 views

How to configure a Tomcat 7 TLS connector for maximum security

I'm trying to configure a Tomcat 7 TLS connector for best possible security. To test, I'm allowing the Qualsys test to run against my server. However I keep failing on the following points: ...
1
vote
2answers
7k views

IIS 7 + Tomcat 7 - how to reach http://localhost:8080/my_app under e.g. http://my_app.local

In brief: IIS 7 + Apache Tomcat 7 + isapi_redirect.dll: I have a deployed and working Tomcat-application available under http://localhost:8080/my_app. I would like to see the same content under http:...
0
votes
1answer
2k 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
0answers
18 views

“Connection timeout” when accessing application server (CF8.0.1 on redhat) via LAN computer

I have a Coldfusion 8.0.1 server running on a Redhat server on my LAN. It's running on port 8500. I can access the Tomcat landing page if I remote into the server and navigate to http://localhost:8500....
1
vote
1answer
8 views

Tomcat 7 virtual hosts disappear after restart

Currently I am using tomcat 7 to host two websites. To do this, I simply create two virtual hosts using the host-manager (part of tomcat7-admin). But, when I restart the server, the hosts seem to ...
1
vote
2answers
1k views

Apache Reverse Proxy setting for site having Spring Security

I am having a Spring MVC app which uses Spring Security for login. I am using Apache Webserver as Proxy and Tomcat. Below is my /etc/apache2/sites-enabled/example.com.conf file: ServerAdmin admin@...
0
votes
1answer
25 views

How do I stop other users launching a script?

We have this problem where people start the tomcat server as root and that causes start up issues. We have a script and want to force system admins to start tomcat using the script which starts tomcat ...
0
votes
1answer
29 views

Convert Key file and Cer file to keystore [closed]

My boss has used Openssl to buy a certificate and now I have this files: a key file, (yourdomain.key), a csr file (yourdomain.csr), a cer file (my_domain.cer) (IIS SSL Certificate (PKCS#7) received ...
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....
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 ...
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 ...
0
votes
0answers
12 views

IP whitelist method for tomcat

i was looking how to make a whitelist in tomcat7. Depending on the IP that is requesting allow or not the access. I found this http://tomcat.apache.org/tomcat-7.0-doc/config/valve.html#Remote%20Host%...
10
votes
4answers
7k views

Configure IIS 7 Reverse Proxy to connect to TeamCity Tomcat

We have an IIS 7 webserver configured and would like to create a reverse proxy for a TeamCity installation using Tomcat on the same machine. The IIS server site is https://somesite and I would like ...
0
votes
3answers
13k views

Set up HTTP Proxy for Tomcat Web server

Basically, I'm trying to make SOAP calls from a Tomcat server via a corporate proxy/ firewall (which I have no direct control over), I've tried to add info to the catalina.properties file as shown: ...
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
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
2answers
2k views

Can access website but images, css stylesheets and javascript files do not download

i have this problem, not sure about the source of it, Basically the title describes the issue, I can access the webpage and see the html structure, but no resources are being donwloaded nor I have ...
0
votes
1answer
7 views

Supporting different TLS versions by service on a tomcat web application

I have a legacy web application that runs on Tomcat7 with Java6 and makes web service calls to multiple external services. One of those service providers has decided to end support for TLS1. I tried ...
1
vote
1answer
35 views

Way to kill http nio connections in Tomcat

We have an application that sends messages to users to access our server (Apache tomcat) through an HTTPS connection with their devices. Problem is that this users applications is keeping the ...
-1
votes
0answers
13 views

32 Bit Tomcat ISAPI Redirector not working on 64 bit Win Server 2012 R2 [closed]

I have a Web App that uses Tomcat and the ISAPI Redirector DLL to route user requests to my old 32 bit Java app. I copied the app and setup over to my test 64 bit Windows Server 2012 R2 and configured ...
0
votes
0answers
19 views

Load Balancing Using mod_proxy

I am new to Apache and trying to set up load balancing using mod_proxy. For that I installed three tomcat instances and apache 2.4. Everything is installed on my Windows laptop. Here is the ...
0
votes
0answers
14 views

Handling state full requests in load balanced ecosystem

I have a scenario where a web application is running on tomcat server and there is a load balancer that is managing multiple instances of tomcat sharing the same web application, suppose instances are ...
-3
votes
0answers
24 views

Secure tomcat (by ip AND basic auth) [duplicate]

I have a server working with tomcat. Inside webapps i've secured one folder. This folder has basic auth to access, all this works. What i need is to protect this folder in another way. Only people can ...
1
vote
1answer
1k views

Loadbalancing with nginx and tomcat

Hello this should be fairly easy to answer for any system admin, the problem is that I'm not server admin but I have to complete this task, I'm very close but still not managing to do it. Here is what ...
1
vote
2answers
2k views

Apache HTTP Server+Tomcat: Which file generates mod_jk.conf, how to modify generated stuff, and how does httpd reach it?

I'm using XAMPP with Apache HTTP Server and Tomcat Add-On installed. There's a default mod_jk.conf which is generated by Tomcat when starting it. But which file generates this mod_jk.conf file? How ...