Re: Apache AJP to 4 TCs

2010-09-13 Thread Andrew Bruno
topherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Andrew, > > On 9/10/2010 2:52 AM, Andrew Bruno wrote: > > Thank you for the responses. I have gone about and installed a fresh > Apache > > (on a seperate box), and have documented my st

Re: Apache AJP to 4 TCs

2010-09-09 Thread Andrew Bruno
Hi Mark & Chris, Thank you for the responses. I have gone about and installed a fresh Apache (on a seperate box), and have documented my steps in http://bruniglobal.blogspot.com/2010/09/load-balancing-4-tomcats-with-apache-22.html So far so good. I can load balance across all 4 tomcats, BUT I

Re: Tomcat Load Balancing Not working and Apache URL is giving 500 error

2010-09-09 Thread Andrew Bruno
Hi Amol, I am trying to do the exact same thing. It works for two workers, but fails as soon as I add one worker. Can you please try these alternatives, and let me know if it works for you? worker.loadbalancer.balanced_workers=tomcat1,tomcat2 worker.loadbalancer.balanced_workers=tomcat1,tomcat

Re: Apache AJP to 4 TCs

2010-09-08 Thread Andrew Bruno
Here is the mod_jk log requested [Wed Sep 08 22:57:36 2010] [6912:6336] [debug] jk_util.c (459): Pre-processed log time stamp format is '[%a %b %d %H:%M:%S %Y] ' [Wed Sep 08 22:57:36 2010] [6912:6336] [debug] jk_uri_worker_map.c (770): rule map size is 1 [Wed Sep 08 22:57:36 2010] [6912:6336] [deb

Re: Apache AJP to 4 TCs

2010-09-08 Thread Andrew Bruno
%M:%S %Y] " JkMount /* loadbalancer AB On Wed, Sep 8, 2010 at 11:06 PM, Andrew Bruno wrote: > With 2 workers, the system has been working well for months. > > I now wanted to add an extra two workers, i.e. a total of 4 tomcats, > and load balance across all 4.   Is this possibl

Re: Apache AJP to 4 TCs

2010-09-08 Thread Andrew Bruno
links, samples on how I can get Apache talking to more than 2 tomcat workers? It is possible, right? Regards Andrew On Tue, Sep 7, 2010 at 6:15 PM, Rainer Jung wrote: > See remarks inline. > > On 07.09.2010 10:01, Andrew Bruno wrote: >> >> Fair enough Pid, here it is: >

Re: Apache AJP to 4 TCs

2010-09-07 Thread Andrew Bruno
08:44, Andrew Bruno wrote: >> Hello, >> >> I am trying to add two extra workers, totaling 4 workers, but Apache >> fails to restart. >> >> This worker file works: >> >> # List the workers name >> worker.list=1,2,loadbalancer >> >> #

Apache AJP to 4 TCs

2010-09-07 Thread Andrew Bruno
Hello, I am trying to add two extra workers, totaling 4 workers, but Apache fails to restart. This worker file works: # List the workers name worker.list=1,2,loadbalancer # # First worker # worker.1.host=206.xx.xxx.xxx worker.1.port=8019 worker.1.type=ajp13 wor

Re: Procrun problems with Tomcat 6 on Windows 64-bit

2010-08-11 Thread Andrew Bruno
Hi Kevin, Personally I do not use the "w.exe" gui. I manage all tomcats via Services, and update the service.bat file if any registry/config settings etc need to be changed, so that we can manage changes/roll backs via SVN. This also makes it simpler since we have many TCs on same OS. So, I rec

Re: No members active in cluster group

2010-07-15 Thread Andrew Bruno
>Are both instances running on the same host Yes, both running on same host. I will upgrade, and see how it goes. Thanks On Thu, Jul 15, 2010 at 8:31 PM, Rainer Jung wrote: > On 15.07.2010 10:08, Andrew Bruno wrote: >> >> Hello all, >> >> I am having problems in

No members active in cluster group

2010-07-15 Thread Andrew Bruno
Hello all, I am having problems in getting clustering to work in a windows server 2008 environment using tomcat 6.0.20 java 1.5 I get the "No members active in cluster group" message on both tomcats. The engine element on the first tomcat is:

Re: Tomcat 6 64 bits, Java 6 64 bits and -Djava.library.path

2010-06-22 Thread Andrew Bruno
Yes, that's true. You can also use the GUI. Personally, I like the script, because it can be committed to repository(SVN, etc), and its easier to replicate and maintain. AB On Tue, Jun 22, 2010 at 11:28 PM, Caldarale, Charles R wrote: >> From: Andrew Bruno [mailto:andrew.br..

Re: Tomcat 6 64 bits, Java 6 64 bits and -Djava.library.path

2010-06-22 Thread Andrew Bruno
Everything can be set up via service.bat You should modify this file only. This way when you install the service or remove the service, it works gracefully, and all libs, memory requirements, etc. are recorded in the registry. On Fri, Jun 18, 2010 at 12:44 AM, Katt wrote: > Hi all, > > I have

Re: question for sso session replication in tomcat 6.0.26

2010-06-21 Thread Andrew Bruno
Oh sorry, I re-read your answer. Not sure why SSO is not working, be interested to find out though.. AB On Tue, Jun 22, 2010 at 3:04 PM, Andrew Bruno wrote: > Hi Yasushi > > In your serverl.xml have you added the jvmroute to the Engine? > > i.e. > > > > Andrew >

Re: question for sso session replication in tomcat 6.0.26

2010-06-21 Thread Andrew Bruno
vmroute info, but only jsessionid has > jvmroute.  So, session replication upon failover is working fine, but > singlesionon upon failover is not working on tomcat 6.0.x (including 6.0.26). > > yasushi > > -Original Message- > From: Andrew Bruno [mailto:andrew.br...@g

Re: question for sso session replication in tomcat 6.0.26

2010-06-21 Thread Andrew Bruno
Looking at the code I think this is wrong if (!_ssoSessionId.contains("." + jvmRoute)) { _ssoSessionId += "." + jvmRoute; response.addCookie(new Cookie(_SSO_SESSION_COOKIE_NAME, _ssoSessionId)); } The original sessionId will already have the "."+_any_other_jvmRoute included, so you need to

Re: recommend a host please.

2010-06-18 Thread Andrew Bruno
I've been very happy with http://www.rosehosting.com/virtserv.html On 18/06/2010, at 6:08 PM, Camy wrote: http://www.eapps.com http://www.eapps.com is a good choice if you are searching for Tomcat 6. In what regards your DNS these have to be changed usually at the current registrar if

Re: Setting the Right Amount of Memory

2010-06-16 Thread Andrew Bruno
Hi Eric, Just wondering, what tools do you use to manage all the instances? Also, what do you use to look for the OutOfMemory in logs? I am looking at Splunk too. Andrew On Thu, Jun 17, 2010 at 12:42 AM, Robinson, Eric wrote: > > We run 150+ instances of tomcat on one server. To optimize memo

Re: Single Sign-On in two server

2010-06-16 Thread Andrew Bruno
Have a look at CAS http://www.jasig.org/cas On Wed, Jun 16, 2010 at 8:17 PM, Chandana Napagoda wrote: > Hi, > > > >  I have two tomcat instance, frist one run on https://localhost:8080  and > secound one run on https://localhost:9090. each server i have deployed Admin > and User web application

Re: Perfomance analysis

2010-06-15 Thread Andrew Bruno
Is jmeter on same box as app? On 15/06/2010, at 7:05 PM, Michael Oullion wrote: hello, I'm doing some benchmark on Web service's Call and I have some strange results. First of all, My web service is on a Axis2 1.5.1 framework, I use a Apache Tomcat 6.0.20 / JRE (server mode) 1.6.0_20-b02

Re: redirect some requests to another tomcat.

2010-06-15 Thread Andrew Bruno
This is pretty much what I have been working on. As a few hints, you'll need Apache in front, and setup AJP on tomcat. I have set up loadbalancing, and have the two tomcats doing session sharing, and use the jvmroute to route to respected tomcat. You might need to change your server webapp "java

Re: Session clustering across different contexts

2010-06-14 Thread Andrew Bruno
OK, that's cool. Thanks for confirming. I'll have to try via Apache redirects/aliasing/rewrites... /AB On Tue, Jun 15, 2010 at 4:32 PM, Mark Thomas wrote: > On 15/06/2010 06:21, Andrew Bruno wrote: >> >> I am testing this on my laptop, windows 7 64bit, tomcat

Re: Re: how to calculate a memory tomcat

2010-06-14 Thread Andrew Bruno
Also have a look at http://www.jmanage.org/wiki/index.php/Introduction_to_jManage On Tue, Jun 15, 2010 at 8:42 AM, Matthew Peterson wrote: > Lambda Probe is stale. It has been forked to Psi Probe which has regular > activity: http://code.google.com/p/psi-probe/ > > > -Original Message-

Support multiple apache contexts via one tomcat webapp context

2010-06-14 Thread Andrew Bruno
I am trying to setup Apache with JkMount to tomcat to dynamically handle different contexts in Apache, but always use the same context in Tomcat. e.g. http://apachefrontenddomain.com.au/a/customer-1.com -> jk ajp to -> http://tomcatserver:8009/webapp http://apachefrontenddomain.com.au/a/customer-

Re: Session clustering across different contexts

2010-06-14 Thread Andrew Bruno
warning: org.apache.catalina.ha.session.ClusterSessionListener messageReceived WARNING: Context manager doesn't exist:localhost#/r2 /AB On Thu, Jun 10, 2010 at 7:16 PM, Pid wrote: > On 10/06/2010 06:13, Andrew Bruno wrote: >> Hello, >> >> I have managed to get sessi

Session clustering across different contexts

2010-06-09 Thread Andrew Bruno
Hello, I have managed to get session clustering working when using the same context. I need to get session replication working across different contexts. Does anyone know if this is possible? I get these warnings at the moment. 10/06/2010 3:08:20 PM org.apache.catalina.ha.session.ClusterSession

Re: AJP java client

2010-03-31 Thread Andrew Bruno
http://randomcoder.com/articles/jsessionid-considered-harmful On Thu, Apr 1, 2010 at 7:39 AM, Andrew Bruno wrote: > Thanks for the pointers to the jMeter AJP client and also the URL session & > jvm route idea. > > If I used the jSession idea, I am assuiming I could

Re: AJP java client

2010-03-31 Thread Andrew Bruno
r Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Andrew, > > On 3/31/2010 3:02 AM, Andrew Bruno wrote: > > I would like to split the web app up, so that the front end server has > > smarts to know which backend tomcat serve

Re: Hide JSP name using web.xml

2010-03-31 Thread Andrew Bruno
do you want the other names to be default? e.g. http://domain.com/folder/soepage.jsp ==> http://domain.com/folder/ if so, you can add soepage.jsp to the list of default pages in web.xml On Wed, Mar 31, 2010 at 8:16 PM, Karthik Nanjangude < karthik.nanjang...@xius-bcgi.com> wrote: > Hi > > SPEC

AJP java client

2010-03-31 Thread Andrew Bruno
Hello all, I have a situation where I wish to break up my web application, but wish to maintain the same domain as the front end URL. All customers log in via a single domain using their email address as a username. The email address gives them access to their customer repository data (lucene, e