Forum Discussion
Guido_Vosmeer_9
Mar 23, 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;
}
- 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.
- Hamish
Cirrocumulus
Joe, is that version specific? I don't get an error from perl using SOAP::Lite when doing a config sync. - This very well could be fixed in newer versions but I'm not sure.
- Hamish
Cirrocumulus
Guido, what version were you using? I've used 9.4.8 and 10.1.0 without problems. - Guido_Vosmeer_9Historic F5 AccountHi,
- Guido_Vosmeer_9Historic F5 Accountquick update: it was the issue that Joe mentioned.
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