Cannot export bundle/policy using zman command

  • 7012169
  • 18-Apr-2013
  • 18-Apr-2013

Environment

Novell ZENworks Configuration Management 11.2 Zman

Situation

Zman throws the following exception while trying to export bundle/policy:
[DEBUG] [2/04/13 10:02:00 AM] [] [CommandRunner] [1] [] [java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
    ...
Caused by: com.novell.zenworks.zman.exceptions.ZManException: org.jdom.input.JDOMParseException: Error on line 1: The prefix "xsi" for attribute "xsi:nil" associated with an element type "ns2:SatelliteServers" is not bound.
at com.novell.zenworks.zman.commands.BundleHandler.exportBundleToFile(BundleHandler.java:2734)
...
Caused by: org.jdom.input.JDOMParseException: Error on line 1: The prefix "xsi" for attribute "xsi:nil" associated with an element type "ns2:SatelliteServers" is not bound.
at com.novell.zenworks.datamodel.utils.jdom.SAXBuilder.build(SAXBuilder.java:470)
...
Caused by: org.xml.sax.SAXParseException: The prefix "xsi" for attribute "xsi:nil" associated with an element type "ns2:SatelliteServers" is not bound.
...

Resolution

1) Check for any inconsistency in the bundle/policy content replication, for example satellite servers which have been demoted and still showing up in the bundle/policy content replication tab.

2) If bundle/policy has a custom content replication setting, try reverting it to the zone configuration, then configure it back to the custom configuration. This will force a re-computation of satellites' replication settings for the bundle/policy. This can also be done at an upper level folder that holds custom content replication settings.