Tomcat clustering problems

2009-02-20 Thread Stanimir Komitov
Hi, I`m having 2 clustered tomcats with jk configuration like this: worker.list=bloader worker.node1.port=12345 worker.node1.host=1.1.1.1 worker.node1.type=ajp13 worker.node1.lbfactor=1 worker.node1.fail_on_status=500, 503 worker.node2.port=12346 worker.node2.host=1.1.1.1 worker.node2.type=ajp13

Re: How to exclude some classes to being serialized in sharing session with clustered tomcats?

2009-02-11 Thread Stanimir Komitov
Ok, I`m using jsf and have managed beans with session scope and properties other managed beans. Most of them have application scoped beans references as properties, which makes connection to DB...and... these fields are defined as transient to prevent serialization. eg. class TestBean implements S

How to exclude some classes to being serialized in sharing session with clustered tomcats?

2009-02-10 Thread Stanimir Komitov
Hi, How to exclude some classes to being serialized in sharing session with clustered tomcats? I`m using hibernate, spring, java mail, apache commons dbcp, pool ... and to serialize/deserialize sessions all the classes must implement Serializable (or Externalizable), and I think that it`s not a so