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

Apache 2 vhost with java tomcat and apache php

OS: Ubuntu2 Servers: Apache2,Tomcat 7 I'm missing knowledge of apache and tomcat configuration. Is it possible to create a vhost example.com <VirtualHost *:80> ServerName ...
-1
votes
0answers
18 views

Tomcat 8 ssl configuration hangs during handshake

I'm setting up a ssl connector on my tomcat8 my connector looks like this <Connector port="8443" protocol="org.apache.coyote.http11.Http11NioProtocol" SSLEnabled="true" ...
0
votes
2answers
847 views

Apache + mod_jk + tomcat: too many apache processes created

I am using Apache + mod_jk + tomcat on my server and when I get many requests, especially with 404 responses (apparently it is scanning), I see many httpd processes started. When I shut down Tomcat ...
1
vote
2answers
2k views

Apache & Tomcat Load balancing via Mod_jk issue

I hope this finds you all in the best of your health and spirits. I have an issue with a new setup where I currently have 1 APACHE 2.2.15 & Tomcat 6.0.14 on RHEL. Mod_JK version 1.2.30. Ill add ...
-1
votes
1answer
41 views

Tomcat 7 is being unresponsive when I turn on SSL (no SSL handshake) [duplicate]

My question is: why won't tomcat respond when I turn on SSL? I've attempted to migrate a working tomcat7 web application from an Ubuntu 12.10 x64 Server to a fresh Ubuntu 14.04 x64 server. Every ...
2
votes
1answer
206 views

Tomcat7 hangs on deploying apps

I'm having some very strange behavior in Tomcat 7 on Ubuntu 14.04. I created a new VPS, installed default-jdk and other simple stuff. Downloaded and unpacked Tomcat 7. Checked that it runs on ...
0
votes
0answers
11 views

Deploy from Eclipse to Tomcat cluster

I've the following cluster configuration in server.xml on each server (there are two): <Cluster className="org.apache.catalina.ha.tcp.SimpleTcpCluster"> <Deployer ...
0
votes
2answers
980 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
0answers
22 views

Any benefits to proxying from nginx to tomcat behind cloudfront+elb?

Are there any additional benefits to having nginx sit in front of tomcat on our ec2 instances, when those instances are already only serving dynamic requests behind cloudfront and ELB? I'm thinking ...
1
vote
1answer
39 views

What is causing Apache httpd (+mod_proxy_ajp) to drop connections

I have the following VirtualHost configured (Apache 2.2.22) <VirtualHost *:80> ServerName ************ ProxyRequests Off <Proxy *> Order deny,allow Allow from ...
0
votes
1answer
1k 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
1k views

Tomcat is closing randomly

We are using Tomcat 7.0.21 for production. Server is hanging randomly for last week. It creates files like hs_err_pid4528.log under bin folder. There are two parts in logs. JRE version: 7.0_21-b11 ...
1
vote
1answer
3k views

IIS 7.5 , Tomcat 7 - Isapi redirector - Fail Over - sticky sessions

I have two instances of Tomcat 7.0.8 running in the same machine (Tomcat7A and Tomcat7B) and IIS 7.5 acting as front-end load-balancer with isapi-redirector 1.2.31, running on Windows 2008 R2. When i ...
0
votes
1answer
45 views

EC2 instance running apache tomcat not accessible from outside

I have a 64-bit amazon linux instance in aws. I am running apache tomcat6 running on that machine. sudo fuser -v -n tcp 8080 USER PID ACCESS COMMAND 8080/tcp: ...
0
votes
2answers
993 views

fedora tomcat log file path

My log file is inside: kamil@localhost tomcat$ grep "logs/" ./* ./log4j.properties:log4j.appender.R.File=${catalina.home}/logs/tomcat.log my CATALINA_HOME is kamil@localhost tomcat$ sudo grep ...
0
votes
1answer
1k 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
1answer
2k views

Unable to link IIS8 and Tomcat7 by ISAPI on Windows Server 2012

Firstly, I am completely new to IIS and Windows Server. Previously I used to work only on Apache and Linux. I want to link IIS8 and Tomcat 7.0.34 under a subdomain, such that when someone visits ...
0
votes
0answers
14 views

Can Apache mod_proxy_balancer redirect to a specific worker when it fails?

With Apache 2.2 mod_proxy_balancer, I am load balancing 2 tomcat (T1 and T2) instances, and 1 more tomcat (T-HA) for failover. I know that I can set the T-HA with status=+H for that purpose, like the ...
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 ...
0
votes
0answers
38 views

Artifactory behind Nginx without directory /artifactory in the url

On our old server (hosted), Artifactory was running behind an Apache proxy. The public url was http://repo.example.com/ Our hosting provider moved us to a new server. A new version of Artifactory ...
0
votes
2answers
979 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
2answers
4k 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
2answers
1k 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 ...
5
votes
3answers
3k views

Controlling tomcat with supervisor

Is there a way to "gracefully" shutdown tomcat when controlling via supervisor? My understanding is Tomcat's shutdown.sh script talks to tomcat on the shutdown port to initiate a graceful shutdown. ...
3
votes
1answer
2k views

Adding a docBase for Virtual Host using the Tomcat Virtual Host Manager

In the Tomcat Virtual Host Manager there is an option to add a virtual host with options for: Name Aliases App base AutoDeploy DeployOnStartup DeployXML UnpackWARs Manager App However there doesn't ...
0
votes
0answers
28 views

Accessing Tomcat manager on a server with multiple domains

I'm having a hard time accessing the Tomcat Manager on our multi domain setup. I keep getting a 404 when I load intra.domain.com/manager/html. Note, I can reach /docs without any issues. File: ...
1
vote
1answer
897 views

Tomcat Redirect Issue - Extra “/” after hostname - Help Please

All, We are running into a peculiar issue. We have Tomcat 6.0.24 front-ended by Apache2.2.3. We have a VirtualHost serving port 80 and a ServerAlias. Apache simply hands off "/" to Tomcat's ...
3
votes
1answer
28 views

why is Tomcat ajp connection by default enabled

The Tomcat server configuration (server.xml) has AJP connector enabled by default. And so tomcat by default listens at port 8009. Why is this by default enabled ? I thought there will be only few ...
1
vote
2answers
45 views

Load Balancer, EC2 - HTTPS Connection

Ok this might be a rookie question but here's my scenario. I have a loadbalancer managing a single EC2 instance at the moment. I have an application running on that EC2 instance. What I like to ...
0
votes
1answer
36 views

Tomcat 8.15 APR Poller failed with error 610,038

I was testing my server with JMeter but when I reach an Highload the server tends to have this error logged on the console and it keeps a lot of active threads on apparent deadlock : 30-Jan-2015 ...
0
votes
1answer
835 views

Tomcat web application intermittent freeze

I have a Grails web application (just a standard war file) deployed on a Ubuntu 10.10 server running on tomcat 6. My database is postgresql. The problem is that every so often (once or twice a day ...
0
votes
1answer
41 views

IIS 7.5 JK connector to Tomcat

I have many Tomcat servers working using an older 32-bit version of the isapi_redirect.dll where I set the Default Application Pool to Enable 32-Bit Applications. On a client's server, they need to ...
0
votes
0answers
8 views

IIS ISAPI filter - Logfile rotate

See http://tomcat.apache.org/connectors-doc/reference/iis.html My settings are log_level=info log_file=C:\Program Files\Apache Software Foundation\Tomcat 8.0\logs\isapi.%Y-%m-%d.log ...
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
0answers
77 views

How to reduce Tomcat response time (OR increase throughput)?

I have Tomcat 8 and MySQL 5.6 running in 2 Azure virtual machines (8 cores and 28 GB RAM). My web application provides a REST API to insert several data fields into DB. The application uses a common ...
1
vote
4answers
752 views

What's a good setup for running Java and PHP applications with SSL on the same server?

I have one Java- and one PHP-application which I both want to run on the same machine (using Tomcat). As far as I can see, I have two options: Option 1: Do the classic apache-tomcat setup with ...
8
votes
2answers
434 views

Disallowing HTTP methods on Tomcat is case sensitive?

I have put the following in the web.xml of my application to attempt to disallow PUT, DELETE, etc.: <security-constraint> <web-resource-collection> <web-resource-name>restricted ...
0
votes
0answers
190 views

Optimizing performance of Apache Tomcat serving Cognos TM1 application

I have inherited a project to optimize the performance of the Cognos TM1 application for my organization. When running reports from the web server, it takes a very long time (varies from 20-30 ...
0
votes
2answers
57 views

Apache mod_rewrite : RewriteRule to pass requests tomcat application [duplicate]

I am having difficulty defining a correct RewriteRule to forward requests to an application running in tomcat. I have apache with mod_rewrite enabled as well as tomcat setup with an application ...
0
votes
1answer
12 views

Tomcat on Windows, starting/stopping service

The Tomcat Windows Service How-To guide lists some commands to run/stop/etc the service from the command line. For example: Tomcat7 //ss// (with whatever parameters) Is there any practical ...
2
votes
1answer
287 views

Error while installing jasperserver

I am about to install a jasperserver instance on my server. This is not my first jasperserver installation and I did this already on my host system and on a lxc. But now for some reason I get ...
0
votes
0answers
24 views

Redirecting Particular Server Request to Another Tomcat worker

I am currently using Tomcat, Apache and mod_jk for redirecting calls from 80 to 8080 on a Ubuntu Server. Of recently one of the Servlet request (which behaves more like a heartbeat ping, but gets some ...
-1
votes
2answers
113 views

Tomcat WAR file which increments JSESSIONID on reload to test session replication [closed]

I'm currently having to configure Tomcat for the first time. For the moment, I think session replication (JSESSIONID) is working, but I have no way of knowing. Note that I've never learned to code ...
0
votes
1answer
29 views

ProxyPassReverse Not Working with 302 Redirect

I'm using Apache HTTPD to proxy a local Tomcat server: ProxyPass / http://localhost:8080/ ProxyPassReverse / http://localhost:8080/ Everything works fine except when I have a 302 redirect. For some ...
0
votes
1answer
89 views

Two tomcat instances behind apache

I have three servers. Server A is a Apache Server, Server B and C are Tomcat Servers. I added two new Virtual Hosts to the Apache 1st Host: <VirtualHost *:80> ServerName dev.domain.com ...
0
votes
0answers
28 views

tomcat not logging to catalina.out

We have a server running a tomcat app that's not logging to catalina.out, we've checked the filesystem permissions, everything looks fine there. the logging.properties is the same (md5sum) as on ...
1
vote
0answers
40 views

Tomcat auto deploy before war copy is complete

I have auto deploy enabled on my tomcat 7 server. I deploy the war to the tomcat webapps directory over SCP from my Jenkins server. The problem is that Tomcat sometimes tries to unpack the WAR while ...
2
votes
1answer
25 views

Tomcat installation, where to set environmantal variables?

I am working my way through the RUNNING.txt file for installing Tomcat. It says: (3.1) Set CATALINA_HOME (required) and CATALINA_BASE (optional) The CATALINA_HOME environment variable should be ...
1
vote
0answers
40 views

Apache reverse proxy context to Tomcat without a context

I have an Apache instance and two Tomcat instances. Apache is public facing https://public_url/app1 and https://public_url/app2 and should pass each context to the respective Tomcat instance. One of ...
2
votes
0answers
96 views

Efficient setup for fronting application servers with Apache

I have to front various application servers (in the beginning this will be JBoss 6, Tomcat 8 standalone and Tomcat 8 embedded into spring boot 1.2 apps) with an Apache 2.4. Because of this I decided ...