You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Kommuru, Bhaskar" <Bh...@standardbank.co.za> on 2004/06/01 17:15:46 UTC

Jk2 compiling problem sorted ..Do you know.. How?

Hi Dale and Igor

Thanks for helping me out. At last we sorted our jk2 connector compilation.
There was a problem with our "Make" command that came with solaris2.8. I
have down loaded latest and it worked smoothly.

Now web application (in tomcat) availability is the problem! While tomcat is
still loading, mod_jk directs the calls to tomcat and web-app is not ready
yet. I see this is a missing feature from ajp13 (documented some where). 
Any clues on sorting this problem alternately?

Cheers
Bhaskar


-----Original Message-----
From: Dale, Matt [mailto:Matt.Dale@beCogent.com]
Sent: Tuesday, June 01, 2004 4:50 PM
To: Tomcat Users List
Subject: RE: Clustering / Load Balancer / Session Cookie



Just a quick post to say thanks, we went live using pen and 3 clustered
instances of 5.0.25 today and its working a treat. Load is spread almost
perfectly. The only feature I would have as a "nice to have" would be to
apply wieghtings to the target hosts but other than that spot on and no
problems whatsoever so far.

Ta
Matt

-----Original Message-----
From: Filip Hanik - Dev [mailto:devlists@hanik.com]
Sent: 29 April 2004 15:47
To: Tomcat Users List
Subject: Re: Clustering / Load Balancer / Session Cookie


http://siag.nu/pen
http://balance.sourceforge.net

pen is my favorite, performs best and works on both windows and unix

Filip
----- Original Message -----
From: "Dale, Matt" <Ma...@beCogent.com>
To: "Tomcat Users List" <to...@jakarta.apache.org>
Sent: Thursday, April 29, 2004 8:51 AM
Subject: RE: Clustering / Load Balancer / Session Cookie


Thanks for the quick reply.

So the supplied tomcat load balancer isnt of any use for stateful sessions
where the cluster is spread accross several machines?

-----Original Message-----
From: Peter Lin [mailto:tcw00lfel@yahoo.com]
Sent: 29 April 2004 14:44
To: Tomcat Users List
Subject: Re: Clustering / Load Balancer / Session Cookie



to paraphrase, you want to have it look like the same machine to the browser
(ie user).

the easiest way is to use a hardware load balancer. I've use this approach a
couple times in the past and it works well.

peter lin



"Dale, Matt" <Ma...@beCogent.com> wrote:

Hi,

I'm currently testing a setup up on 3 machines.

2 have tomcat 5.0.19, these 2 are clustered with session replication and
have a simple test app.

The other, also 5.0.19, runs the supplied balancer app.

I've written a simple round robin rule which passes the requests back and
forth as it should, I can see the sessions being
replicated fine in the logs so all is ok there.

BUT my problem is accessing the same session on both machines. Basically I'm
stumped, I know its not accessing the same session
because the redirected URL is different but how can I get around this?

I've tried a using an HTML frame on the balancer machine but that was
clutching at straws and obviously didnt work.

Any ideas would be appreciated.

Ta
Matt

Any opinions expressed in this E-mail may be those of the individual and not
necessarily the company. This E-mail and any files
transmitted with it are confidential and solely for the use of the intended
recipient. If you are not the intended recipient or the
person responsible for delivering to the intended recipient, be advised that
you have received this E-mail in error and that any use
or copying is strictly prohibited. If you have received this E-mail in error
please notify the beCogent postmaster at
postmaster@becogent.com
Unless expressly stated, opinions in this email are those of the individual
sender and not beCogent Ltd. You must take full
responsibility for virus checking this email and any attachments.
Please note that the content of this email or any of its attachments may
contain data that falls within the scope of the Data
Protection Acts and that you must ensure that any handling or processing of
such data by you is fully compliant with the terms and
provisions of the Data Protection Act 1984 and 1998.


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org

---------------------------------
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs



----------------------------------------------------------------------------
----


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


__________________________________________________________________________________________________________________________________

For information about the Standard Bank group visit our web site <www.standardbank.co.za>
__________________________________________________________________________________________________________________________________
	
Disclaimer and confidentiality note 
Everything in this e-mail and any attachments relating to the official business of Standard Bank Group Limited  is proprietary to the group. 
It is confidential, legally privileged and protected by law. 
Standard Bank does not own and endorse any other content. Views and opinions are those of the sender unless clearly stated as being that of the group. 
The person addressed in the e-mail is the sole authorised recipient. Please notify the sender immediately if it has unintentionally reached you and do not read, 
disclose or use the content in any way.
Standard Bank can not assure that the integrity of this communication has been maintained nor that it is free of errors, virus, interception or interference.
___________________________________________________________________________________________________________________________________

Re: Jk2 compiling problem sorted ..Do you know.. How?

Posted by Nikola Milutinovic <Ni...@ev.co.yu>.
Filip Hanik - Dev wrote:

>>Any clues on sorting this problem alternately?
> 
> don't start apache until tomcat is up and running

Which is an event not trivial to catch. I know of hacks, like tailing 
"catalina.out" log and seeing when the "last of the Mohicans" has 
loaded, but, again, it is not trivial to catch. Or better said, it is 
particualr to each setup. You would have to tailor your own hacks.

I wish there was a way to query Tomcat and see if it loaded ALL it's 
stuff. Or at least the engine... Could we trail logs for that?

Nix.

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Jk2 compiling problem sorted ..Do you know.. How?

Posted by Filip Hanik - Dev <de...@hanik.com>.
>Any clues on sorting this problem alternately?
don't start apache until tomcat is up and running

----- Original Message -----
From: "Kommuru, Bhaskar" <Bh...@standardbank.co.za>
To: "'Tomcat Users List'" <to...@jakarta.apache.org>
Sent: Tuesday, June 01, 2004 10:15 AM
Subject: Jk2 compiling problem sorted ..Do you know.. How?


Hi Dale and Igor

Thanks for helping me out. At last we sorted our jk2 connector compilation.
There was a problem with our "Make" command that came with solaris2.8. I
have down loaded latest and it worked smoothly.

Now web application (in tomcat) availability is the problem! While tomcat is
still loading, mod_jk directs the calls to tomcat and web-app is not ready
yet. I see this is a missing feature from ajp13 (documented some where).
Any clues on sorting this problem alternately?

Cheers
Bhaskar


-----Original Message-----
From: Dale, Matt [mailto:Matt.Dale@beCogent.com]
Sent: Tuesday, June 01, 2004 4:50 PM
To: Tomcat Users List
Subject: RE: Clustering / Load Balancer / Session Cookie



Just a quick post to say thanks, we went live using pen and 3 clustered
instances of 5.0.25 today and its working a treat. Load is spread almost
perfectly. The only feature I would have as a "nice to have" would be to
apply wieghtings to the target hosts but other than that spot on and no
problems whatsoever so far.

Ta
Matt

-----Original Message-----
From: Filip Hanik - Dev [mailto:devlists@hanik.com]
Sent: 29 April 2004 15:47
To: Tomcat Users List
Subject: Re: Clustering / Load Balancer / Session Cookie


http://siag.nu/pen
http://balance.sourceforge.net

pen is my favorite, performs best and works on both windows and unix

Filip
----- Original Message -----
From: "Dale, Matt" <Ma...@beCogent.com>
To: "Tomcat Users List" <to...@jakarta.apache.org>
Sent: Thursday, April 29, 2004 8:51 AM
Subject: RE: Clustering / Load Balancer / Session Cookie


Thanks for the quick reply.

So the supplied tomcat load balancer isnt of any use for stateful sessions
where the cluster is spread accross several machines?

-----Original Message-----
From: Peter Lin [mailto:tcw00lfel@yahoo.com]
Sent: 29 April 2004 14:44
To: Tomcat Users List
Subject: Re: Clustering / Load Balancer / Session Cookie



to paraphrase, you want to have it look like the same machine to the browser
(ie user).

the easiest way is to use a hardware load balancer. I've use this approach a
couple times in the past and it works well.

peter lin



"Dale, Matt" <Ma...@beCogent.com> wrote:

Hi,

I'm currently testing a setup up on 3 machines.

2 have tomcat 5.0.19, these 2 are clustered with session replication and
have a simple test app.

The other, also 5.0.19, runs the supplied balancer app.

I've written a simple round robin rule which passes the requests back and
forth as it should, I can see the sessions being
replicated fine in the logs so all is ok there.

BUT my problem is accessing the same session on both machines. Basically I'm
stumped, I know its not accessing the same session
because the redirected URL is different but how can I get around this?

I've tried a using an HTML frame on the balancer machine but that was
clutching at straws and obviously didnt work.

Any ideas would be appreciated.

Ta
Matt

Any opinions expressed in this E-mail may be those of the individual and not
necessarily the company. This E-mail and any files
transmitted with it are confidential and solely for the use of the intended
recipient. If you are not the intended recipient or the
person responsible for delivering to the intended recipient, be advised that
you have received this E-mail in error and that any use
or copying is strictly prohibited. If you have received this E-mail in error
please notify the beCogent postmaster at
postmaster@becogent.com
Unless expressly stated, opinions in this email are those of the individual
sender and not beCogent Ltd. You must take full
responsibility for virus checking this email and any attachments.
Please note that the content of this email or any of its attachments may
contain data that falls within the scope of the Data
Protection Acts and that you must ensure that any handling or processing of
such data by you is fully compliant with the terms and
provisions of the Data Protection Act 1984 and 1998.


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org

---------------------------------
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs



----------------------------------------------------------------------------
----


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


__________________________________________________________________________________________________________________________________

For information about the Standard Bank group visit our web site <www.standardbank.co.za>
__________________________________________________________________________________________________________________________________

Disclaimer and confidentiality note
Everything in this e-mail and any attachments relating to the official business of Standard Bank Group Limited  is proprietary to
the group.
It is confidential, legally privileged and protected by law.
Standard Bank does not own and endorse any other content. Views and opinions are those of the sender unless clearly stated as being
that of the group.
The person addressed in the e-mail is the sole authorised recipient. Please notify the sender immediately if it has unintentionally
reached you and do not read,
disclose or use the content in any way.
Standard Bank can not assure that the integrity of this communication has been maintained nor that it is free of errors, virus,
interception or interference.
___________________________________________________________________________________________________________________________________



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org