Share your knowledge at the LQ Wiki.
Go Back > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.


  Search this Thread
Old 10-10-2005, 03:55 PM   #1
LQ Newbie
Registered: Oct 2004
Posts: 15

Rep: Reputation: 0
tomcat5 +

Hi, everyone.

I have a problem find info about

I'm trying to setup clustering/session replication with Tomcat 5 + Apache2 +Susse 9.3 + mod_jk + java 1.4.2

According to the official document, I need to:
1. All your session attributes must implement
2. Uncomment the Cluster element in server.xml
3. Uncomment the Valve(ReplicationValve) element in server.xml
4. If your Tomcat instances are running on the same machine, make sure the tcpListenPort attribute is unique for each instance.
5. Make sure your web.xml has the <distributable/> element

I done with step 2-5, but not step 1. I cannot find any info about What is it and how to implement it? (a link to the document would be good)

Can anyone successfully implement clustering with Tomcat 5 and Apache2 offer me some help please?

Thank you very much,
Old 10-28-2005, 07:26 PM   #2
Registered: Feb 2004
Posts: 140

Rep: Reputation: 15
In many cases no work needs to be done for 1. Do you or your developers control the source code? If so You just must make sure that the objects placed in the users session HttpSession are all serializable. By serializable they mean the object can be written to an arbitrary output stream and not lose state. The objects must implement the interface. This is a code specific item not an administrative on.


Note many standard objects impliment Serilaizable see:

Not this section in the above link
public final class String
extends Object
implements Serializable, Comparable<String>, CharSequence



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
can't start tomcat5 on suse 9.3 letrout Linux - Software 3 03-22-2007 04:00 AM
Why is tomcat5 still unstable?!!!!! Mathsniper Debian 1 08-28-2005 05:04 AM
Installing Tomcat5 Randvegeta Linux - Software 1 05-07-2005 05:32 AM
Problem in Apache2 + Tomcat5 Dexter2004 Linux - Networking 1 08-06-2004 04:13 PM
MFC file serialization t1mc00per Programming 2 03-16-2003 02:58 AM > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 02:32 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration