WebSphere Application Server - Node synchronization, Java API?

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Application Server > May 2005 > Node synchronization, Java API?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Node synchronization, Java API?

2005-05-18, 6:05 pm

I built a custom Java program that deploys EAR's
using IBM's AdminClient class and AppManagement class

How can I control node synchronization from a Java program?

I am deploying 5 EAR’s in a group and I’d like to have the file synchronization occur after my program finishes installing the fifth EAR.

Does IBM provide a Java API that I can use?

Is there any example Java code for controlling synchronization?

Thanks in advance.

-Sean

p.s. – I am using Websphere 6.0.1

2005-05-19, 5:53 pm

I received a private reply from Ajay Apte:

[quote]
you can invoke sync operation on NodeSync Mbean for that node. You will run an MBean query to get MBean (type=NodeSync,node=yourNodeName,*) for NodeSync and then invoke either requestSync or sync method. The requestSync operation returns immediately after
kicking off the sync while sync returns after the configuration has been sync'ed.
[endquote]

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2009 webservertalk.com