This week's giveaway is in the OCPJP forum.
We're giving away four copies of Practice Tests for OCP Java 17 Certification Exam (1Z0-829) and have Paul Anilprem on-line!
See this thread for details.
Win a copy of Practice Tests for OCP Java 17 Certification Exam (1Z0-829) this week in the OCPJP forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Scott Selikoff
Bartenders:
  • Piet Souris
  • Jj Roberts
  • fred rosenberger

Tomcat 5.5 Clustering

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Hello All,
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.228.0.0.4 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?




Regards,
P.Parthasarathi
mail: parthasarathi@touchpointindia.com
 
Saloon Keeper
Posts: 25608
183
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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,
 
parthasarathi pandiyan
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sorry for the typos...

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.


Regards,
P.Parthasarathi.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic