IBM Support

Compilation error within projects targeting a WebSphere Application Server V6.1

Troubleshooting


Problem

Compilation errors might be present after upgrading IBM WebSphere Application Server V6.1 install to Fix Pack 11 (6.1.0.11)

Symptom

If an IBM WebSphere Application Server Version 6.1 Feature Pack for Web Services install is being used by products such as IBM Rational Application Developer V7.0.0.3 and IBM Application Server Toolkit for WebSphere Application Server V6.1.1.3, then compilation errors might occur after updating this install to Fix Pack 11 (6.1.0.11) or later. The compilation errors happen because of missing classes that are provided by this WebSphere Application Server Version 6.1 Feature Pack for Web Services install.

Resolving The Problem

The IBM WebSphere Application Server Version 6.1 Feature Pack for Web Services has refactored existing JAR files in the V6.0.1.11 WebSphere Application Server Fix Pack. As a consequence the Java™ Build Path for projects in the product's workspace might not contain a reference to any newly created JAR files done in the V6.1.0.11 WebSphere Application Server Fix Pack, therefore causing compilation problems for any projects that requires access to these refactored classes.
To work-around this problem the following JAR file needs to be manually adding to the Java Build Path for any project requiring it's classes for compilation:

WAS_HOME/plugins/com.ibm.jaxb.tools_1.0.0.jar

This can be accomplished by doing the following tasks:

  1. Right-click on the project and select Properties.

  2. On the Properties dialog for the project select the Java Build Path page followed by the Libraries tab.

  3. Select the Add External JARs... button and locate the WAS_HOME/plugins/com.ibm.jaxb.tools_1.0.0.jar file.

  4. Click OK to close the Properties dialog for the project.

  5. If needed, perform a build to ensure that the classes from the newly added JAR file are utilized by this projects content.

This problem is scheduled to be corrected in the V6.1.1.4 Fix Pack for IBM Application Server Toolkit for WebSphere Application Server and the V7.0.0.4 Fix Pack for IBM Rational Application Developer.

[{"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Application Server Toolkit (AST)","Platform":[{"code":"PF016","label":"Linux"},{"code":"PF033","label":"Windows"}],"Version":"6.1.1.3","Edition":"","Line of Business":{"code":"LOB36","label":"IBM Automation"}},{"Product":{"code":"SSRTLW","label":"Rational Application Developer for WebSphere Software"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Web Services Development","Platform":[{"code":"PF033","label":"Windows"},{"code":"PF016","label":"Linux"}],"Version":"7.0.0.3;7.0.0.4","Edition":"All Editions","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
15 June 2018

UID

swg21268467