Hi,
Today we noticed a strange issue because of which the plugin doen't come up after download. After download the plugin fails to start because of the following exception
[2017-03-27T12:47:39.430-05:00] [ERROR] region-dm-7 com.cisco.ucs.vcplugin.service.XMLFilePersistor javax.xml.bind.UnmarshalException
- with linked exception:
[java.io.FileNotFoundException: /com/cisco/ucs/vcplugin/service/VcPluginPolicyDefault.xml (No such file or directory)]
The code that fails is as below
p = SomeClass.class.getResource(something.xml);
Object o = jaxbUnmarshaller.unmarshal(new File(p.getPath()));
In our labsa suffix is added to the path during the getResource call. The XML file is within the same jar. Example file path in a working scenario where the suffix is added is /usr/lib/vmware-vsphere-client/server/work/deployer/s/global/127/0/ucs-vcplugin-service.jar/com/cisco/ucs/vcplugin/service/VcPluginPolicyDefault.xml.
This is happening on two vCenters with same software stack. Need your help to proceed further. Please let us know if there is a known bug in the version or if there is a known jre issue that has an alternate to getResource call.
Will attach the client virgo log.
Thanks much
Manoj