Forum Discussion
Guido_Vosmeer_9
Mar 22, 2010Historic F5 Account
Java Config Sync errors
Hi,
My customer is writing a Java tool for syncing the config in a pair of BIGIP's. They get a 500 error from the BIGIP with the following script (written in Java). Could anybody tell me what is wrong with it?
public boolean syncconf(SystemFailoverBindingStub foverstub) {
boolean syncconfsuccess = false;
SystemConfigSyncBindingStub stub = null;
try {
stub = (iControl.SystemConfigSyncBindingStub)
new iControl.SystemConfigSyncLocator().getSystemConfigSyncPort(new java.net.URL(m_endpoint));
SystemConfigSyncSyncMode scssm = null;
if (sync.equals("all")){
scssm = SystemConfigSyncSyncMode.fromString("CONFIGSYNC_ALL");
} else {
scssm = SystemConfigSyncSyncMode.fromString("CONFIGSYNC_BASIC");
}
stub.synchronize_configuration(scssm);
syncconfsuccess = true;
} catch (Exception ex) {
ex.printStackTrace(System.out);
}
return syncconfsuccess;
}
7 Replies
- Hamish
Cirrocumulus
Could you provide a dump of the SOAP request and response... - This is a known issue. A Config Sync action forces a restart of the httpd server which in turn truncates the iControl connection. I believe we are working on a way to avoid this but in the mean time, you'll have to catch this error.
-Joe - Hamish
Cirrocumulus
Joe, is that version specific? I don't get an error from perl using SOAP::Lite when doing a config sync.
H - This very well could be fixed in newer versions but I'm not sure.
-Joe - Hamish
Cirrocumulus
Guido, what version were you using? I've used 9.4.8 and 10.1.0 without problems.
H - Guido_Vosmeer_9Historic F5 AccountHi,
Thanks for your comments.
I think that my customer was testing the Java on v10.1 but I will check again to make sure.
I also tested with Perl and soap::lite and did not see any issues. The known issue you mentioned is this one right?
SOL10132: ConfigSync via iControl API Fails
Regards - Guido_Vosmeer_9Historic F5 Accountquick update: it was the issue that Joe mentioned.
my customer tested on 10.1 and config was synced successfully
thanks all for the support!
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects