RE: Session sharing/load balancing multiple tomcat instances W/O Apache Web Server

2004-03-26 Thread Shapira, Yoav

Hola,

Is this possible to do?  I've configured load balancing with apache and
that worked as desired, but since then I've determined that the apache
server was unnecessary in my configuration.  If it is possible, can you
please provide a sample jk2.properties file, or at least step me in the
right direction.

How did you determine Apache is not necessary when you're load-balancing
with mod_jk2 which requires Apache? ;)

Yoav Shapira



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Session sharing/load balancing multiple tomcat instances W/O Apache Web Server

2004-03-26 Thread Adam Fowler
I think (hope) he means one apache httpd instance load balancing to several
tomcat instances. Your guess as to what he means is as good as mine tho! 8o)

Adam.

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: 26 March 2004 16:36
To: Tomcat Users List
Subject: RE: Session sharing/load balancing multiple tomcat instances
W/O Apache Web Server



Hola,

Is this possible to do?  I've configured load balancing with apache and
that worked as desired, but since then I've determined that the apache
server was unnecessary in my configuration.  If it is possible, can you
please provide a sample jk2.properties file, or at least step me in the
right direction.

How did you determine Apache is not necessary when you're load-balancing
with mod_jk2 which requires Apache? ;)  

Yoav Shapira



This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential, proprietary
and/or privileged.  This e-mail is intended only for the individual(s) to
whom it is addressed, and may not be saved, copied, printed, disclosed or
used by anyone else.  If you are not the(an) intended recipient, please
immediately delete this e-mail from your computer system and notify the
sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


_

This email and any files attached is intended for the addressee only and may contain 
information that is confidential and/or legally privileged. Unauthorised use is 
strictly prohibited and may be unlawful. If you are not the addressee, you should not 
read, copy, disclose or otherwise use this message, including any attachment, except 
for the purpose of delivery to the addressee.

We make every effort to keep our network free from viruses. However, you do need to 
verify this e-mail and any attachments to it to be virus free as we can take no 
responsibility for any computer virus which might be transferred by way of this e-mail.

Scanning of this message and addition of this footer is performed by SurfControl 
E-mail Filter software in conjunction with virus detection software.





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Session sharing/load balancing multiple tomcat instances W/O Apache Web Server

2004-03-26 Thread Jeremy Nix
I've misphrased.  What documentation I've come across indicates that
Apache (or IIS) is necessary to configure tomcat as a cluster.  It very
well may be possible, which is why I'm asking the list.  The main
feature that I'm looking for in this configuration is the session
failover ability.  I have a hardware load-balancer, so load-balancing is
not exactly what I was looking for...just the session sharing.


_
Jeremy Nix
Senior Application Developer
Southwest Financial Services, LTD.
(513) 621-6699 x1158
www.sfsltd.com



-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 26, 2004 11:36 AM
To: Tomcat Users List
Subject: RE: Session sharing/load balancing multiple tomcat instances
W/O Apache Web Server



Hola,

Is this possible to do?  I've configured load balancing with apache and

that worked as desired, but since then I've determined that the apache 
server was unnecessary in my configuration.  If it is possible, can you

please provide a sample jk2.properties file, or at least step me in the

right direction.

How did you determine Apache is not necessary when you're load-balancing
with mod_jk2 which requires Apache? ;)  

Yoav Shapira



This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential,
proprietary and/or privileged.  This e-mail is intended only for the
individual(s) to whom it is addressed, and may not be saved, copied,
printed, disclosed or used by anyone else.  If you are not the(an)
intended recipient, please immediately delete this e-mail from your
computer system and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Session sharing/load balancing multiple tomcat instances W/O Apache Web Server

2004-03-26 Thread Shapira, Yoav

Hi,
One alternative to balancing traffic without Apache, using only a tomcat
cluster, is to use the balancer webapp that ships with tomcat 5.  It's
not a load balancer in the strict sense of the definition, as it doesn't
replicate anything or allow for sticky sessions, but defacto it works.

Yoav Shapira
Millennium Research Informatics


-Original Message-
From: Adam Fowler [mailto:[EMAIL PROTECTED]
Sent: Friday, March 26, 2004 11:40 AM
To: 'Tomcat Users List'
Subject: RE: Session sharing/load balancing multiple tomcat instances
W/O
Apache Web Server

I think (hope) he means one apache httpd instance load balancing to
several
tomcat instances. Your guess as to what he means is as good as mine
tho!
8o)

Adam.

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: 26 March 2004 16:36
To: Tomcat Users List
Subject: RE: Session sharing/load balancing multiple tomcat instances
W/O Apache Web Server



Hola,

Is this possible to do?  I've configured load balancing with apache
and
that worked as desired, but since then I've determined that the apache
server was unnecessary in my configuration.  If it is possible, can
you
please provide a sample jk2.properties file, or at least step me in
the
right direction.

How did you determine Apache is not necessary when you're
load-balancing
with mod_jk2 which requires Apache? ;)

Yoav Shapira



This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential,
proprietary
and/or privileged.  This e-mail is intended only for the individual(s)
to
whom it is addressed, and may not be saved, copied, printed, disclosed
or
used by anyone else.  If you are not the(an) intended recipient, please
immediately delete this e-mail from your computer system and notify the
sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


_

This email and any files attached is intended for the addressee only
and
may contain information that is confidential and/or legally privileged.
Unauthorised use is strictly prohibited and may be unlawful. If you are
not
the addressee, you should not read, copy, disclose or otherwise use
this
message, including any attachment, except for the purpose of delivery
to
the addressee.

We make every effort to keep our network free from viruses. However,
you do
need to verify this e-mail and any attachments to it to be virus free
as we
can take no responsibility for any computer virus which might be
transferred by way of this e-mail.

Scanning of this message and addition of this footer is performed by
SurfControl E-mail Filter software in conjunction with virus detection
software.





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Session sharing/load balancing multiple tomcat instances W/O Apache Web Server

2004-03-26 Thread Jeremy Nix
That doesn't exactly accomplish what I'm looking to do.  Like I said, I
need session replication amongst the tomcat instances...I guess theres
always the idea of managing session data in some other medium (DB).


_
Jeremy Nix
Senior Application Developer
Southwest Financial Services, LTD.
(513) 621-6699 x1158
www.sfsltd.com



-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 26, 2004 11:42 AM
To: Tomcat Users List
Subject: RE: Session sharing/load balancing multiple tomcat instances
W/O Apache Web Server



Hi,
One alternative to balancing traffic without Apache, using only a tomcat
cluster, is to use the balancer webapp that ships with tomcat 5.  It's
not a load balancer in the strict sense of the definition, as it doesn't
replicate anything or allow for sticky sessions, but defacto it works.

Yoav Shapira
Millennium Research Informatics


-Original Message-
From: Adam Fowler [mailto:[EMAIL PROTECTED]
Sent: Friday, March 26, 2004 11:40 AM
To: 'Tomcat Users List'
Subject: RE: Session sharing/load balancing multiple tomcat instances
W/O
Apache Web Server

I think (hope) he means one apache httpd instance load balancing to
several
tomcat instances. Your guess as to what he means is as good as mine
tho!
8o)

Adam.

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: 26 March 2004 16:36
To: Tomcat Users List
Subject: RE: Session sharing/load balancing multiple tomcat instances 
W/O Apache Web Server



Hola,

Is this possible to do?  I've configured load balancing with apache
and
that worked as desired, but since then I've determined that the apache

server was unnecessary in my configuration.  If it is possible, can
you
please provide a sample jk2.properties file, or at least step me in
the
right direction.

How did you determine Apache is not necessary when you're
load-balancing
with mod_jk2 which requires Apache? ;)

Yoav Shapira



This e-mail, including any attachments, is a confidential business 
communication, and may contain information that is confidential, 
proprietary and/or privileged.  This e-mail is intended only for the 
individual(s)
to
whom it is addressed, and may not be saved, copied, printed, disclosed
or
used by anyone else.  If you are not the(an) intended recipient, please

immediately delete this e-mail from your computer system and notify the

sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


_

This email and any files attached is intended for the addressee only
and
may contain information that is confidential and/or legally privileged.

Unauthorised use is strictly prohibited and may be unlawful. If you are
not
the addressee, you should not read, copy, disclose or otherwise use
this
message, including any attachment, except for the purpose of delivery
to
the addressee.

We make every effort to keep our network free from viruses. However,
you do
need to verify this e-mail and any attachments to it to be virus free
as we
can take no responsibility for any computer virus which might be 
transferred by way of this e-mail.

Scanning of this message and addition of this footer is performed by 
SurfControl E-mail Filter software in conjunction with virus detection 
software. 




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential,
proprietary and/or privileged.  This e-mail is intended only for the
individual(s) to whom it is addressed, and may not be saved, copied,
printed, disclosed or used by anyone else.  If you are not the(an)
intended recipient, please immediately delete this e-mail from your
computer system and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Session sharing/load balancing multiple tomcat instances W/O Apache Web Server

2004-03-26 Thread Tony Requist

 That doesn't exactly accomplish what I'm looking to do.  Like I said, I
 need session replication amongst the tomcat instances...I guess theres
 always the idea of managing session data in some other medium (DB).

Coincidentally, I just got that working -- but it required a full day of
writing code to get around bugs in PersistentValve (I'm going to describe
this soon).  So unless you want to hack Tomcat, I would suggest avoiding
session replication via DB right now (with coding changes it does seem to
work great).

- tony



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Session sharing/load balancing multiple tomcat instances W/O Apache Web Server

2004-03-26 Thread Antonio Fiol BonnĂ­n
Jeremy Nix wrote:

I've misphrased.  What documentation I've come across indicates that
Apache (or IIS) is necessary to configure tomcat as a cluster.  It very
well may be possible, which is why I'm asking the list.  The main
feature that I'm looking for in this configuration is the session
failover ability.  I have a hardware load-balancer, so load-balancing is
not exactly what I was looking for...just the session sharing.
 

Does your hardware load balancer support sticky sessions?

If it does, you can use Tomcat's HTTP connector, and configure your 
balancer as if Tomcat were a web server (which it is, when you use that 
connector).

If it doesn't I personally recommend getting one that does ;-) or using 
Apache + mod_jk / mod_jk2. Use the hardware balancer and 2 Apache for 
high availability.

Other than that, there is in-memory or JDBC session clustering 
(uncomment two elements from your server.xml, and you are mostly done). 
That implies that objects stored in sessions need to be Serializable. 
Performance impact will depend on your webapp design, so YMMV. I only 
tried in-memory a few months ago, and performance dropped seriously, but 
it worked without problem. Most likely our webapp's fault. You may 
encounter issues with frames and similar constructs. See the docs.

HTH,

Antonio Fiol

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]