Options for setting context path

2011-03-10 Thread Ari King
Hi, I'd appreciate help in clarifying the following: 1. What options do I have for setting the context path, aside from naming the war file, i.e. "context-path-name.war", and modifying the server.xml file? What is the recommended/best practice? 2. What options do I have for setting the DEFAULT c

Restricting access to tomcat via httpd proxy only

2010-11-09 Thread Ari King
Hi all, I have an httpd proxy in front of my tomcat servers/instances, and I'd like to restrict access to those tomcat servers/instances to be through the httpd proxy. This is in a lab settings so I'd prefer to use tomcat configurations, rather than use something like a firewall. Anyone have any s

Re: Secondary instance of Tomcat on single server does not process requests

2010-11-07 Thread Ari King
. > > I have sleep statements in my script since this is for a cluster and I > don't > define a port in the Receiver element of the cluster. This allows Tomcat to > find > open ports for cluster communication. > > . . . . just my two cents > > /mde/ > >

Re: Secondary instance of Tomcat on single server does not process requests

2010-11-04 Thread Ari King
On Thu, Nov 4, 2010 at 1:09 PM, Konstantin Kolinko wrote: > 2010/11/4 Ari King : > > |-- conf > > |-- server.xml > > |-- web.xml > > Those two files are not sufficient. > > Note, that the conf folder is read only from the second instance. > (The files

Secondary instance of Tomcat on single server does not process requests

2010-11-04 Thread Ari King
Hi all, My secondary instance of Tomcat 6 does not process requests -- it simply times out for everything. The only log is catalina.out and there are not errors in it. Anyone know what could be wrong? I'm using Tomcat 6, Java 1.6.0_20, on Centos 5.5 Final. I've set the secondary instance to use p