IBM Support

PK66515: PRESENCE OF ANNOTATION SUPPORT IS INCORRECTLY DETERMINED USING EXISTENCE OF ANNOTATION BUILDER RATHER THAN ANNOTATION FACET

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Prepare for Deployment terminates with the following
    error when the annotation builder is enabled but there is no
    gen/src folder.  The webservice deployer is incorrectly using
    the existence of the annotation builder to determine if
    annotation support is enabled.  The facet support should
    instead determine if the functionality is enabled or disabled.
    
    *** ERROR ***: Mon May 19 15:36:58 PDT 2008
    org.eclipse.core.runtime.CoreException:
         at
    com.ibm.ast.ws.deployer.WSDeployer.runWSDeploy(WSDeployer.java:2
    83)
         at
    com.ibm.ast.ws.deployer.WSDeployer.processModuleComponent(WSDepl
    oyer.jav
    a:359)
         at
    com.ibm.ast.ws.deployer.WSDeployer.execute(WSDeployer.java:341)
         at
    org.eclipse.jst.j2ee.internal.deploy.J2EEDeployOperation.deploy(
    J2EEDepl
    oyOperation.java:134)
         at
    org.eclipse.jst.j2ee.internal.deploy.J2EEDeployOperation.execute
    (J2EEDep
    loyOperation.java:102)
    

Local fix

  • If annotation support is not required, the annotation builder
    may be removed from the project properties "Builder" page.
    
    If annotation support is required, select "Add WebSphere XDoclet
    support" facet to the project facet properties page.  This will
    result in the creation of the gen/src output folder that is
    expected by the webservice deployer.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of WebSphere Application Server   *
    *                  Toolkit v6.1.1 and Rational Application     *
    *                  Developer v7.0                              *
    ****************************************************************
    * PROBLEM DESCRIPTION: The existence of the annotation         *
    *                      builder on a project was being used     *
    *                      to determine if annotation support is   *
    *                      enabled.                                *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    If the annotation builder is enabled on a project but the
    WebSphere Application Server annotation facet is not then it's
    possible to have a project without the gen/src source folder.
    The WebSphere Application Server webservice code generation
    tool was using the existence of the annotation builder to
    determine if annotation support is enabled and defaulting to
    the gen/src folder as the folder to generate the service code
    into.  The gen/src folder is only ever created if the
    WebSphere Application Server annotation facet ('WebSphere
    XDoclet Support') is enabled and since this facet is not
    enabled then the deployment fails.
    

Problem conclusion

  • The webservice deployment will now use the existence of the
    'WebSphere XDoclet Support' facet to determine if annotation
    support is enabled.
    
    The fix for this APAR is currently targeted for inclusion in
    the WebSphere Application Server Toolkit fixpack 6.1.1.8 and
    Rational Application Developer fixpack 7.0.0.8.  Please refer
    to the following Recommended Updates page for WebSphere
    Application Server Toolkit delivery information:
    http://www.ibm.com/support/docview.wss?uid=swg27004980
    and the following Recommended Updates page for Rational
    Application Developer delivery information:
    http://www.ibm.com/support/docview.wss?uid=swg27007823
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK66515

  • Reported component name

    WEBAPP SERVER A

  • Reported component ID

    5724J0820

  • Reported release

    600

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2008-05-23

  • Closed date

    2008-05-29

  • Last modified date

    2008-05-29

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    WEBAPP SERVER A

  • Fixed component ID

    5724J0820

Applicable component levels

  • R610 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.0","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
23 October 2021