I am Parthasarathi. Right now i am working in tomcat5.5 clustering.In my application i displayed the session Id.After configured the server.xml and web.xml(Myapplication set <distributable/> tag) I have started my two tomcat instances.I ran my application.I am getting the session Id of first instance.If i shutdown that connected server(first instance) i got one message in second tomcat instance like replication member disappeared.If i clciked the refresh button i got the same session id.Its working fine.But i would like to share some datas(not session data).If i shut down first one that time i should send my application status from first instance to second one.But i couldn't get it.If i get it the fail over node is working fine.I posted in some forums.They replied check the multicasting.I checked my multicasting its not worked.184.108.40.206 is not pinging.then how can i add into my machine.I searched in web but i did not get anything.my machine os is windows 2000.then how can i do this?
Well, if you put spaces after the full stop at the end of sentences and capitalized usage of the word "I", it would make it a lot easier for us to understand what you're asking.
But what it SOUNDS like you're asking is for 2 servers to share data that's not in sessions.
The only way to do that is to safe the data out to a mutually-accessible place like a database.
Only session-scope data is automatically clustered between servers. And then only to the degree that the data items are serializable. Any other data, whether in application scope, request scope, page scope, or just general class member or static data is local only to the one server it was created on and no other server will be able to share it unless they make their own arrangements to do so,
Sometimes the only way things ever got fixed is because people became uncomfortable.
Do you know how to enable multicasting in windows 2000? If yes, let me know.
I started two servers.After starting the server I ran my application.My application was connected to the first server.After a while my first server was failed.Then without losing my data how can i continue my application with second server?
I did not use the sessions and databases in my application.