IBM Support

PI26284: PLUGIN GENERATION FAILS WITH NOSUCHMETHODERROR DUE TO THE CLASS CONFLICT OF THE WEBSERVICES CLASSES.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Plugin generation fails with NoSuchmethodError due to a class
    conflict of the WebServices classes.
    
    Classes conflict due to the duplicate classes exist in both
    <was_home>/plugins and its subdirectories. By default, the
    property  "ws.ext.search.plugins.reverse" is false in the
    GenPluginCfg script,  classes in the subdirectories (i.e.
    <was_home>/plugins/.../...) will  appear on the classpath
    before those in the root directory  (<was_home>/plugins). By
    setting the property  "ws.ext.search.plugins.reverse" to true,
    the classes in  <was_home>/plugins appear first, will solve
    this issue.
    
    Error details:
    WSWS7027E: JAX-WS
    Service Descriptions could not be correctly built because of
    the  following error: java.lang.NoSuchMethodError:
    
    WebSphere Application Server V8.5
    Distributes Operating Systems
    

Local fix

  • NA
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  IBM WebSphere Application Server users of   *
    *                  JAX-WS web services.                        *
    ****************************************************************
    * PROBLEM DESCRIPTION: Classes conflict when running           *
    *                      GenPluginCfg.bat or GenPluginCfg.sh.    *
    ****************************************************************
    * RECOMMENDATION:  Install a fix pack containing this APAR.    *
    ****************************************************************
    When running GenPluginCfg.bat or GenPluginCfg.sh a class
    conflict happens due to duplicate classes existing in both
    <was_home>/plugins and its subdirectories. By default, classes
    in the subdirectories (<was_home>/plugins/.../...) will appear
    on the classpath before those in the root directory
    (<was_home>/plugins). So the wrong duplicate class in
    <was_home>/plugins subdirectory will be loaded prior to the
    correct class in <was_home>/plugins directory. That will cause
    the classes conflict.
    Example exception stacks as follow:
    WSWS7027E: JAX-WS Service Descriptions could not be correctly
    built because of the following
    error::java.lang.NoSuchMethodError:
    org/slf4j/spi/LocationAwareLogger.log(Lorg/slf4j/Marker;Ljava/la
    ng/String;ILjava/lang/String;[Ljava/lang/Object;Ljava/lang/Throw
    able;)V
    at
    org.apache.commons.logging.impl.SLF4JLocationAwareLog.debug(SLF4
    JLocatio nAwareLog.java:133)
    at
    org.apache.axiom.om.util.StAXUtils.getXMLInputFactory_perClassLo
    ader(StAXUtils.java:560)
    at
    org.apache.axiom.om.util.StAXUtils.getXMLInputFactory(StAXUtils.
    java:172)
    ......
    

Problem conclusion

  • Fixed this problem by adding a new property
    "ws.ext.search.plugins.reverse". This needs to be set to true
    in GenPluginCfg.bat or GenPluginCfg.sh. When this property is
    true, the classes in the root directory (<was_home>/plugins)
    load first. It will solve this class conflict issue.
    
    The fix for this APAR is currently targeted for inclusion in
    fix pack 8.5.5.5.  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

    PI26284

  • Reported component name

    WEBSPHERE APP S

  • Reported component ID

    5724J0800

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-09-23

  • Closed date

    2014-12-11

  • Last modified date

    2014-12-11

  • 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

    WEBSPHERE APP S

  • Fixed component ID

    5724J0800

Applicable component levels

  • R850 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.5","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
28 April 2022