Flashes (Alerts)
Abstract
The 7.1.1.8 Fix Pack introduced a new version of the Axis2 Web Service engine (version 1.4.1) to solve other Web Service-related issues. Bundled with this new engine is a newer version of the StAX parser (version 1.1). If you are running a 9.2.x version of Weblogic, you may get errors due to the StAX parser being leveraged by Weblogic.
Content
The 7.1.1.8 Fix Pack introduced a new version of the Axis2 Web Service engine (version 1.4.1) to solve other Web Service-related issues APAR IZ80901 (Internal Issue 10-16510, 10-16467). Bundled with this new engine is a newer version of the StAX parser (version 1.1). If you are running 7.1.1.8 Fix Pack and 9.2.x version of Weblogic, you will get errors due to the StAX parser being leveraged by Weblogic. The error messages may appear as the following:
The web services call returned the following response:
java.lang.IllegalArgumentException: Unable to access unsupported property javax.xml.stream.supportDTD
To avoid this error, you need to have the newer version of the StAX parser (provided in 7.1.1.8 Fix Pack) to take precedence over the parser provided by Weblogic. To do this, you need to update the weblogic-application.xml (located in application folder: ... applications\maximo\META-INF) as described below.
<!DOCTYPE weblogic-application PUBLIC "-//BEA Systems, Inc.//DTD WebLogic Application 8.1.0//EN" "http://www.oracle.com/technology/weblogic/servers/wls810/dtd/weblogic-application_2_0.dtd">
<weblogic-application>
<prefer-application-packages>
<!--package-name>javax.xml.stream.*</package-name>
<package-name>javax.xml.stream.events.*</package-name>
<package-name>javax.xml.stream.util.*</package-name-->
<package-name>org.python.*</package-name>
</prefer-application-packages>
<security>
<security-role-assignment>
<role-name>maximouser</role-name>
<principal-name>maximousers</principal-name>
</security-role-assignment>
</security>
</weblogic-application>
The lines in bold need to be un-commented: remove '!--' and '--'. Once this is completed, save the file and then rebuild and redeploy the Maximo application file.
Was this topic helpful?
Document Information
Modified date:
25 September 2022
UID
swg21458409