// save the persisted form in the source directory
out.putNextEntry(new ZipEntry("META-INF/config.ser"));
ObjectOutputStream objectOutputStream = null;
try {
objectOutputStream = new ObjectOutputStream(out);
configurationGBeanData.writeExternal(objectOutputStream);
} catch (IOException e) {
throw e;
} catch (Exception e) {
throw new InvalidConfigException("Unable to save configuration state", e);
} finally {