IBM Support

PI81699: UPDATE THE MANIFEST FILE FOR COM.IBM.JAXWS.TOOLS.JAR TO IMPORT JAVAX.ENTERPRISE.INJECT

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • This APAR fixes the following error:
    
    WSModuleDescr E   WSWS7027E: JAX-WS Service Descriptions could
    not be correctly built because of the following error:
    javax.xml.ws.WebServiceException: WSWS7054E: The Web Services
    Description Language (WSDL) file could not be generated for the
    * Web service implementation class because of the following
    error: java.lang.ArrayStoreException
    at com.ibm.ws.websvcs.wsdl.WASWSDLGenerator
       .generateWsdl(WASWSDLGen erator.java:268)
    
    The root cause of the ArrayStoreException is the failure to
    load the class "javax.enterprise.inject.Any", which is required
    by the class
    "org.apache.deltaspike.jpa.api.transaction.Transactional".
    
    The JVM tries to load this class when
    sun.reflect.annotation.AnnotationParser.parseClassArray() calls
    sun.reflect.annotation.AnnotationParser.parseClassValue(),
    which then
    calls sun.reflect.annotation.AnnotationParser.parseSig().
    
    When the class cannot be found a TypeNotPresentExceptionProxy
    object is created instead of the javax.enterprise.inject.Any
    class. The TypeNotPresentExceptionProxy is then returned to the
    sun.reflect.annotation.AnnotationParser.parseClassArray()
    method, which tries to place it in a Class array (the array is
    generically typed and
    is presumably expecting a javax.enterprise.inject.Any class).
    This type mismatch triggers the ArrayStoreException.
    
    The issue occurred because com.ibm.jaxws.tools.jar does not
    import javax.enterprise.inject in its package manifest, and it
    appears that the wsgen call is triggering a class load from
    there.
    
    The fix will update the manifest file for
    com.ibm.jaxws.tools.jar to import javax.enterprise.inject
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server                                      *
    ****************************************************************
    * PROBLEM DESCRIPTION: In some cases,                          *
    *                      java.lang.ArrayStoreException           *
    *                      occurs when                             *
    *                      building the Web Services Description   *
    *                      Language (WSDL) file.                   *
    ****************************************************************
    * RECOMMENDATION:  Install a fixpack that includes fix for     *
    *                  this APAR                                   *
    ****************************************************************
    In some cases, the Web services code fails with the following
    exception when building the Web Services
    Description Language (WSDL) file.
    WSWS7054E: The Web Services Description Language (WSDL) file
    could not be generated for the Web service implementation class
    because of the following error: java.lang.ArrayStoreException.
    

Problem conclusion

  • This problem occurred because the wsgen command failed to load
    the java class javax.enterprise.inject.Any that is required for
    generating the WSDL file.
    The problem was fixed by updating com.ibm.jaxws.tools.jar to
    import the javax.enterprise.inject package in the manifest
    file of the jar file.
    
    The fix for this APAR is currently targeted for inclusion in
    fix pack 9.0.0.5, 8.5.5.13 and 8.0.0.14.  Please refer to the
    Recommended
    Updates
    page for delivery information:
    http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI81699

  • Reported component name

    WEBS APP SERV N

  • Reported component ID

    5724H8800

  • Reported release

    900

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-05-16

  • Closed date

    2017-08-22

  • Last modified date

    2017-08-22

  • 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

    WEBS APP SERV N

  • Fixed component ID

    5724H8800

Applicable component levels

  • R800 PSY

       UP

  • R850 PSY

       UP

  • R900 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud \u0026 Data Platform"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"900","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
18 October 2021