IBM Support

webMethods Knowlegebase : Support JSF 2.2 with ABE 9.8 (1769746)

Troubleshooting


Problem

Projects in Designer 9.8 (eg. Portlet Application Project or Java Utility Project) use JSF version 2.2 in their build path.

(see <installdir>/common/runtime/bundles/mws-main/eclipse/plugins/org.glassfish.javax.faces_2.2.8.jar).

When a project is built with ABE, JSF version 1.2 is used in the classpath

(see <installdir>/common/lib/ext/jsf-api.jar).

This causes problems, for example:

When a project uses javax.faces.UIComponent#getClientId() the build with ABE fails with compile errors (as JSF 1.2 does not contain this method).

1. A modification of the order of the classpath in /AssetBuildEnvironment/MWS/build.xml is not a valid option

2. Trying the following modification:

<fileset dir="${common.lib.dir}/../runtime/bundles/mws-main/eclipse/plugins" includes="*.jar" erroronmissingdir="false"/> <--! line was moved to 1st position -->

<fileset dir="${common.lib.dir}/ext" includes="*.jar"/>

<fileset dir="${common.lib.dir}" includes="*.jar" excludes="*-components.jar" />

<fileset dir="${common.lib.dir}/glassfish" includes="*.jar"/>

<fileset dir="${common.lib.dir}/../runtime/agent/repository/plugins" includes="*.jar" erroronmissingdir="false"/>

<fileset dir="${common.lib.dir}/../runtime/bundles/wss/eclipse/plugins" includes="*.jar" erroronmissingdir="false"/>

In this case the build is successful, however when JARs are built, the type in ACDLs is set to 'cdp' instead of 'jar'.

Document Location

Worldwide

[{"Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSVYEV","label":"IBM webMethods Integration"},"ARM Category":[{"code":"a8mKe00000000AQIAY","label":"My webMethods Server (MWS)"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Windows 8 Professional Edts"}],"Version":"9.8"},{"Line of Business":{"code":"LOB76","label":"Data Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSAWP1J","label":"IBM webMethods BPM"},"ARM Category":[{"code":"a8mKe00000000AQIAY","label":"My webMethods Server (MWS)"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Windows 8 Professional Edts"}],"Version":"9.8"},{"Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSFIWYE","label":"IBM webMethods B2B"},"ARM Category":[{"code":"a8mKe00000000AQIAY","label":"My webMethods Server (MWS)"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Windows 8 Professional Edts"}],"Version":"9.8"},{"Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSQG2X","label":"IBM webMethods Managed File Transfer"},"ARM Category":[{"code":"a8mKe00000000AQIAY","label":"My webMethods Server (MWS)"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Windows 8 Professional Edts"}],"Version":"9.8"}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
20 March 2025

UID

ibm17214199