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
1answer
12 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
4 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 ...
0
votes
0answers
6 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
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 ...
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
1k 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
1k 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
0answers
6 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 ...
1
vote
2answers
88 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
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
15 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
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
0answers
18 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
1answer
20 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 ...
0
votes
0answers
5 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 ...
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 ...
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
1answer
23 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
39 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
43 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
686 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
9 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 ...
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 ...
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, ...
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 ...
0
votes
2answers
1k 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 ...
1
vote
2answers
39 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
7 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
1answer
1k views

gzip compression using mod_deflate apache with tomcat

I'm trying to enable gzip compression in my Apache server which is fronting a Tomcat instance using a connector. I tried several variants of the module configuration settings in my httpd.conf. Here is ...
1
vote
0answers
71 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 ...
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 ...
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 ...
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
0answers
10 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: ...
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 ...
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
25 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
1answer
2k views

Problem running Apache-Tomcat on every web browser installed in Windows 7

I'm working on a web application in JSP and my web container is Apache Tomcat 7.0.2 (Its portable cross-platform version). As I've made extensive use of HTML5-CSS3 and my target browser is Google ...
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
1answer
3k 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 ...
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 ...
0
votes
0answers
11 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 ...
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
0answers
14 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 ...
1
vote
2answers
1k 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
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
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 ...
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 ...
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 ...
2
votes
2answers
104 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 ...