mod_jk, lb cluster, multiple web servers

2008-03-03 Thread Tim Alberts
I have 3 physical servers, all 3 running tomcat6 and the 2 web applications (one for local, one for www) just fine. Two of these have apache web servers (local and www), both configured and running static content by themselves just fine. Ideally, I want the 3 tomcat6 instances to be a lb

Re: mod_jk, lb cluster, multiple web servers

2008-03-03 Thread Tim Alberts
Rainer Jung wrote: Hi Tim, Tim Alberts schrieb: I have 3 physical servers, all 3 running tomcat6 and the 2 web applications (one for local, one for www) just fine. Two of these have apache web servers (local and www), both configured and running static content by themselves just fine

Tomcat6 on Linux startup on boot..daemon?

2008-02-15 Thread Tim Alberts
I'm setting up Tomcat6 on Linux and want it to start on boot. I use the following init script: #!/bin/sh # description: Tomcat 6.0 web application server # chkconfig: 2345 99 00 case $1 in 'start') export JAVA_HOME=/usr/java/default /opt/apache/apache-tomcat-6.0.16/bin/startup.sh

Multiple Realms in a Context?

2007-06-06 Thread Tim Alberts
I'm in the process of teaching myself the Realms configuration for Tomcat and have a couple questions that after hours of reading and testing I could determine, but this list can hopefully save me some research time. Reading the documentation at:

Re: Load Balance sticky_session=True, am I missing something?

2007-06-01 Thread Tim Alberts
That's what I was missing, thank you. Although I think adding a reference to this in the mod_jk configuration might be helpful? Say somewhere in the page: http://tomcat.apache.org/connectors-doc/generic_howto/loadbalancers.html Rainer Jung wrote: Concerning the load balancer worker: you

Load Balance sticky_session=True, am I missing something?

2007-05-31 Thread Tim Alberts
I have two tomcat servers (5.5.23) and running mod_jk (1.2.20) with load balancing behind apache. I have a web application that needs to maintain session information. What I'm seeing is that the load balance is alternating requests between the servers equally, as expected, but sessions are

Re: Load Balance sticky_session=True, am I missing something?

2007-05-31 Thread Tim Alberts
Well I found one problem with my workers.properties, but it didn't fix my problem. I used the deprecated 'balanced_workers' on my load balancer configuration instead of the balance_workers. So I'm still stuck, any suggestions? Tim Alberts wrote: I have two tomcat servers (5.5.23

Manager deploy uploaded war - doesn't use the /WEB-INF/context.xml

2006-11-15 Thread Tim Alberts
I'm have a tomcat5.5 system running and seems to be working absolutely fine with one exception. When I deploy my .war files with the Manager application it seems to completely ignore the /WEB-INF/context.xml file. What do I do? My context.xml file is in the .war file and contains: ?xml

Re: Manager deploy uploaded war - doesn't use the /WEB-INF/context.xml

2006-11-15 Thread Tim Alberts
Hassan Schroeder wrote: On 11/15/06, Tim Alberts [EMAIL PROTECTED] wrote: When I deploy my .war files with the Manager application it seems to completely ignore the /WEB-INF/context.xml file. What do I do? 1) put it in META-INF/context.xml where it belongs :-) and Sorry, I typed

Re: Manager deploy uploaded war - doesn't use the /WEB-INF/context.xml

2006-11-15 Thread Tim Alberts
As originally stated -- it's the name of the WAR file. Please excuse my ignorance, but you can't make a filename: /path/to/my/webapp/app.war? How do I name the file to add the context or can it be done? - To start a new

Re: Manager deploy uploaded war - doesn't use the /WEB-INF/context.xml

2006-11-15 Thread Tim Alberts
David Smith wrote: As I remember you wanted an involved path -- ie path/to/my/webapp/my.jsp ... Use the path as the war's filename replacing all the / characters with # symbols. Should work Well before we continue, thank you for the help... However it's not going well. I renamed the

Re: Manager deploy uploaded war - doesn't use the /WEB-INF/context.xml

2006-11-15 Thread Tim Alberts
Caldarale, Charles R wrote: From: Tim Alberts [mailto:[EMAIL PROTECTED] Subject: Re: Manager deploy uploaded war - doesn't use the /WEB-INF/context.xml However it's not going well. I renamed the 'app.war' file as 'path#to#myapp#app.war' and the Manager application took it and said

Re: Manager deploy uploaded war - doesn't use the /WEB-INF/context.xml

2006-11-15 Thread Tim Alberts
Caldarale, Charles R wrote: From: Tim Alberts [mailto:[EMAIL PROTECTED] Subject: Re: Manager deploy uploaded war - doesn't use the /WEB-INF/context.xml However it's not going well. I renamed the 'app.war' file as 'path#to#myapp#app.war' and the Manager application took it and said

Re: Manager deploy uploaded war - doesn't use the /WEB-INF/context.xml

2006-11-15 Thread Tim Alberts
Testing. Seem to have some email problems...please disregard. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]