IBM Support

Integration Framework – WebLogic Web Services

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.

[{"Product":{"code":"SSLKT6","label":"IBM Maximo Asset Management"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"MEA: Generic","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"7.1;7.1.1","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}},{"Product":{"code":"SSWK4A","label":"Maximo Asset Management Essentials"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}},{"Product":{"code":"SSLKTY","label":"Maximo Asset Management for IT"},"Business Unit":{"code":"BU053","label":"Cloud \u0026 Data Platform"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}},{"Product":{"code":"SSLKYL","label":"Maximo Enterprise Adapter"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

Modified date:
25 September 2022

UID

swg21458409