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

Setting up SSL for tomcat

I am using tomcat as my web server and servlet container using eclipse. My web app is fine on port 8080 that I set up for HTTP, but I need encryption and hence have decided to set up HTTPS (using ...
1
vote
1answer
16 views

Small queries wait for large queries to resolve MYSQL PHP on Centos 6.5

I have a Centos 6.5, and I'm running Vaadin on Tomcat, This application has really heavy queries for reports and stuffs. My problem is, when I'm connect to MYSQL from PHP, when I made a small query, ...
4
votes
4answers
15k views

How to compress and clean logs with logrotate but not rotate them

I have a Tomcat server which create access logs via a valve (org.apache.catalina.valves.FastCommonAccessLogValve). This valve takes care of rotating the access log file, but not of compressing them ...
0
votes
1answer
182 views

Apache forward JSP pages to Tomcat?

I have an Apache Server, in which my website running. But there are some JSP pages in my website. I have to forward my JSP pages and servlet to Tomcat. How can I make that possible?
0
votes
0answers
7 views

Deploying a SOS WAR file gives me a 404 Status Code on Tomcat?

I am trying to deploy a SOS WAR file from 52 north into the Tomcat, I put this WAR file in the webapps folder, but I got a 404 Status code, and I don't know how to solve this problem now. Is there ...
1
vote
1answer
2k views

Apache mod_proxy_balancer + Tomcat load balancing - Should not redirect until web applications are ready

I am using apache2 mod_proxy and mod_proxy_balancer to balance the load to 4 seperate tomcat8 instances on different servers. I am using different AJP ports for each tomcat instance and using jvmRoute ...
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
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
125 views

How to deploy a Tomcat application with Manager URL API when using custom context XML

My application context is defined as an XML file located in my/path/to/Tomcat/conf/Catalina/localhost/my-app.xml. <Context docBase='/my/path/to/myApp/myAppWarFile.war'> <Environment ...
0
votes
0answers
5 views

Tomcat requested resource not available error even though file present

I have a dashboard that is hosted on an apache tomcat server on a centos machine. I kept the files that needed to be downloaded onclick in the following path project_name/resources/filename So ...
0
votes
0answers
4 views

Tomcat 7 auth constraint role name active directory

I integrated waffle into my tomcat 7. I need to define the users in the active directory group that can visit the site, web.xml looks like: <security-constraint> <display-name>not ...
0
votes
0answers
8 views

http_process_state_prepend - Invalid action:0x109010 (Server side:

I am getting a blank page on my Web App which is running with F5 & apache + Tomcat backend. I am getting intermittent errors in the F5 logs like belw http_process_state_prepend - Invalid ...
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
2answers
994 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
2answers
22 views

Apache 2.2 reverse proxy connection to tomcat hangs then returns 502 Proxy Error

I am running: Apache/2.2.15 (Unix) on CentOS release 6.6 (Final) I am running a reverse proxy that forwards requests on to a tomcat server running on localhost:8080. My config looks like this: ...
0
votes
2answers
6k 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 ...
0
votes
0answers
11 views

Tomcat 8 / Websockets mod_proxy_wstunnel / Bitnami

I guess this is more of a configuration question, I understand what I'm trying to do, but I am a bit unfamiliar with the way Bitnami Tomcat configuration is laid out. I see that the module I need is ...
1
vote
1answer
998 views

starting tomcat remotely fails to start

When I run my start command via ssh it tells me that its started but it is in fact not the case. Catalina logs does not seem to capture any events either. However stop and status works. ssh -t ...
0
votes
1answer
1k 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 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 ...
0
votes
1answer
1k 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

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

Locked Out of Tomcat Periodically

Every few days my tomcat application breaks down. I can make requests but anything requiring access to the mysql database returns an error. I checked catalina.out and am seeing a lot of these: Jan ...
2
votes
1answer
18 views

Tomcat Parallel Deployment, automatically undeploy old applications

I've been using Tomcat 8's Parallel Deployment as part of a zero-downtime continuous deployment setup for a while now. When the test gauntlet has been run, the CI server automatically renames the ...
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
19 views

Tomcat: Redirect 403 to 404

I am running Tomcat 8.0.30, and want to redirect all requests that result in a 403 (Forbidden) to 404 (Not Found). The idea is that if someone uses something like DirBuster, it will look like any ...
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
0answers
69 views

ERR_SSL_VERSION_OR_CIPHER_MISMATCH

I have set up my SSL configuration in an Azure Ubuntu VM using Tomcat8. The service seems to be running on port 8443. I have created an endpoint on Azure from public port 443 to 8443. However, when ...
0
votes
1answer
7 views

Cyclos4 - Apache as frontend for a Tomcat app

I just install Cyclos4 software into my server. I can access to the app via: http://IP:8080/cyclos Now I'm trying to access to the app without having to write the port and the /cyclos. I follow ...
0
votes
1answer
2k 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
2answers
24 views

Tomcat 7 installation didn't require configure, make and make install commands

I recently installed apache tomcat 7.0.67 on rhel 6 64-bit platform. All I did was simply unzipping tar.gz file into a specified directory where I have read/write access. I was able to deploy a web ...
0
votes
3answers
36 views

Running Apache Tomcat 8 on port 80

I wants to install/configure apache tomcat on port 80 instead of 8080. I am running Nginx on port 80 and I made Nginx service stopped. I changed Shutdown , Connector port from 8005 to 8008 and 8080 ...
0
votes
1answer
16 views

Configure Database Properties for Tomcat Webapp

I setup a sample application in Tomcat but have trouble getting the database connection working. It is a standard WAR package written in Spring framework and uses a MySQL database. The application is ...
0
votes
3answers
43 views

Forward port 80 to 8081 in Tomcat8

I have installed Tomcat8 in my Ubuntu 14.04, and deployed an app (Shibboleth) on it. The app is accessible on URL http://localhost:8081/idp/status, but I would like it to run from ...
0
votes
0answers
20 views

Tomcat7 issues on azure ubuntu14 after installing Tomcat8

I have tomcat7 installed on my ubuntu vm. port 8080 is open and in my server.xml I have it set to <Connector port="8080" protocol="HTTP/1.1" address="0.0.0.0" ...
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
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
25 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 ...
0
votes
1answer
9 views

tomcat mapping domain name

How to config tomcat mapping domain name? This is what I try, but it doesn't work: server.xml: <Host name="api.example.com" appBase="webapps" unpackWARs="true" autoDeploy="true" ...
2
votes
2answers
3k views

Why isn't tomcat serving the correct SSL certificate

I configured tomcat with SSL successfully and was using a self-signed certificate. Recently an issue arose where just having the client "Accept/trust" our certificate wasn't easy. We ended up ...
0
votes
0answers
18 views

How to I diagnose downloads slowing over time?

I am trying to track down a strange networking problem. Basically, a http download from a tomcat server is slowing down over time. For example, the download speed starts at 700kb, then slows to 650, ...
0
votes
1answer
32 views

Accessing Tomcat 8 on AWS EC2

I know there are similar questions on Tomcat and EC2 alredy but unfortunately I cannot find anything that solves my apparently simple issue. I have installed Tomcat 8 on an EC2 instance (HVM edition ...
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
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
3answers
23k views

Setting CATALINA_OPTS for tomcat6 on windows doesn’t work

(I've copied this from Stack Overflow here, after someone suggested I post the question here) I'm trying to setup Tomcat6 to work with JMX on Windows Vista 64. To do that I need to pass the ...
10
votes
2answers
3k 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 ...
1
vote
0answers
19 views

How do you allow all non-standard port traffic via forward proxy?

when the proxy is set for http and https traffic (say on a tomcat app), is this only for standard 80/443 traffic? I was wondering what ports you have access to when you set the following attributes ...
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 ...
1
vote
1answer
22 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
0answers
33 views

Tomcat7 starting before networking comes up

So I am having an issue with Tomcat7 on centos/rhel On this server we have 2 tomcat instances and to separate them we bind the HTTP and HTTPS connectors to an IP address. What seems to be happening ...