Re: Apache AJP to 4 TCs

2010-09-13 Thread Andrew Bruno
: -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 steps in http://bruniglobal.blogspot.com/2010/09/load-balancing-4

Re: Apache AJP to 4 TCs

2010-09-10 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: Apache AJP to 4 TCs

2010-09-09 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]

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

Re: Apache AJP to 4 TCs

2010-09-08 Thread Andrew Bruno
all 4 workers. Does anyone have any hints or 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 rainer.j...@kippdata.de wrote: See remarks inline. On 07.09.2010 10:01, Andrew Bruno

Re: Apache AJP to 4 TCs

2010-09-08 Thread Andrew Bruno
%Y] JkMount /* loadbalancer AB On Wed, Sep 8, 2010 at 11:06 PM, Andrew Bruno andrew.br...@gmail.com 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 possible

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

Re: Apache AJP to 4 TCs

2010-09-07 Thread Andrew Bruno
: On 07/09/2010 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 # # First worker # worker.1.host=206

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

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: Engine name=Catalina defaultHost=localhost

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 rainer.j...@kippdata.de wrote: On 15.07.2010 10:08, Andrew Bruno wrote: Hello all, I am having problems in getting

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 katt@gmail.com wrote:

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 chuck.caldar...@unisys.com wrote: From: Andrew Bruno

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: question for sso session replication in tomcat 6.0.26

2010-06-21 Thread Andrew Bruno
: Andrew Bruno [mailto:andrew.br...@gmail.com] Sent: Monday, June 21, 2010 9:18 PM To: Tomcat Users List Subject: Re: question for sso session replication in tomcat 6.0.26 Looking at the code I think this is wrong if (!_ssoSessionId.contains(. + jvmRoute)) {   _ssoSessionId += . + jvmRoute

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 andrew.br...@gmail.com wrote: Hi Yasushi In your serverl.xml have you added the jvmroute to the Engine? i.e. Engine name=Catalina

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 personal20002...@yahoo.com 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

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 cnapag...@gmail.com 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

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 eric.robin...@psmnv.com wrote: We run 150+ instances of tomcat on one

Re: Session clustering across different contexts

2010-06-15 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 ma...@apache.org wrote: On 15/06/2010 06:21, Andrew Bruno wrote: I am testing this on my laptop, windows 7 64bit, tomcat 6 If I use the same

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: 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 theaz...@hotmail.com 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

Re: Session clustering across different contexts

2010-06-14 Thread Andrew Bruno
this 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 p...@pidster.com wrote: On 10/06/2010 06:13, Andrew Bruno wrote: Hello, I have managed to get session clustering

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

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 matt.peter...@une.edu.au wrote: Lambda Probe is stale. It has been forked to Psi Probe which has regular activity: http://code.google.com/p/psi-probe/

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

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,

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 :

Re: AJP java client

2010-03-31 Thread Andrew Bruno
...@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 server to redirect to. As far as I know, Apache AJP can

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 andrew.br...@gmail.com 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 filter