Environment
Identity Manager 4.7.x
iManager 3.1.x
Situation
When re-evaluating Role-Based Entitlements with iManager and the IDM 4.7.x plugins, it generates the following exception: org.jdom.input.JDOMParseException
Resolution
The exception is generated because the xml data is getting stripped off. To resolve this, add the following lines within the <web-app> XML tag of the Tomcat web.xml file:
<context-param>
<param-name>param1</param-name>
<param-value>XMLEditor</param-value>
</context-param>
<context-param>
<param-name>param2</param-name>
<param-value>XMLEditor_Packed</param-value>
</context-param>
<context-param>
<param-name>param</param-name>
<param-value>XMLData</param-value>
</context-param>
The default location of the web.xml file on a Linux server is /var/opt/novell/iManager/nps/WEB-INF/web.xml.
Additional Information
This is the full stack trace:
org.jdom.input.JDOMParseException: Error on line 1: The markup in the document preceding the root element must be well-formed.
at org.jdom.input.SAXBuilder.build(SAXBuilder.java:381) at org.jdom.input.SAXBuilder.build(SAXBuilder.java:764)
at com.novell.admin.sharedprofiles.MigrateSPDriver.Migrate(Unknown Source)
at com.novell.admin.sharedprofiles.MigrateSPDriver.execute(Unknown Source)
at com.novell.nps.gadgetManager.BaseGadgetInstance.processRequest(BaseGadgetInstance.java:858)
at com.novell.nps.gadgetManager.BaseGadgetInstance.handleAction(BaseGadgetInstance.java:2384)
at com.novell.nps.gadgetManager.GadgetManager.processInstanceRequest(GadgetManager.java:1609)
at com.novell.nps.gadgetManager.GadgetManager.processServiceRequest(GadgetManager.java:1062)
at com.novell.nps.PortalServlet.handleFrameService(PortalServlet.java:509)
at com.novell.nps.PortalServlet.processRequest(PortalServlet.java:373)
at com.novell.nps.PortalServlet.doPost(PortalServlet.java:279)