IBM Support

IV40790: NOSUCHMETHODERROR WHEN USING WSRR COMMAND LINE INTERFACE AGAINST WAS 8.0

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When invoking the WSRR CLI on WSRR 8.0, the CLI exits with the
    following error:
    
    File "scripts\connectTest.py", line 33, in ?
    java.lang.NoSuchMethodError:
    com/ibm/ws/bootstrap/WsLogManager.isHpelEnabled()Z
    

Local fix

  • This problem can be resolved by manually change the order of
    importing com.ibm.ws.webservices.thinclient_8.0.0.jar and
    com.ibm.ws.admin.client_8.0.0.jar. On Windows, edit
    WSRRCLI.bat to update the below: set
    mCLASSPATH=%mCLASSPATH%;"%mWAS_HOME%\runtimes\com.ibm.ws.ad
    min.client_8.0.0.jar" set
    mCLASSPATH=%mCLASSPATH%;"%mWAS_HOME%\runtimes\com.ibm.ws.we
    bservices.thinclient_8.0.0.jar" set
    mCLASSPATH=%mCLASSPATH%;"%mWAS_HOME%\plugins\com.ibm.ws.sec
    ur ity.crypto.jar" On Linux, change WSRRCLI.sh, update
    the oder of CLASSPATH as below:
    CLASSPATH=$CLASSPATH:$WAS_HOME/runtimes/com.ibm.ws.admin.cl
    ient_8.0.0.0.jar
    CLASSPATH=$CLASSPATH:$WAS_HOME/runtimes/com.ibm.ws.webservi
    ces.thinclient_8.0.0.jar
    CLASSPATH=$CLASSPATH:$WAS_HOME/runtimes/com.ibm.ws.security
    .crypto.jar
    

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    Users of the WebSphere Service Registry and Repository (WSRR)
    Command Line Interface (CLI).
    
    ****************************************************************
    PROBLEM SUMMARY:
    
    The version of the class in the
    com.ibm.ws.admin.client_8.0.0.jar has many methods which are
    not found in the com.ibm.ws.webservices.thinclient_8.0.0.jar.
    In some situations, the class loader cannot load the required
    class. This will result in the NoSuchMethodError.
    

Problem conclusion

  • The CLASSPATH used by the CLI was fixed.
    
    This fix is targeted for inclusion in WSRR v8.0.0.2.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV40790

  • Reported component name

    SERVICE REGISTR

  • Reported component ID

    5724N7200

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2013-04-26

  • Closed date

    2013-04-30

  • Last modified date

    2013-04-30

  • 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

    SERVICE REGISTR

  • Fixed component ID

    5724N7200

Applicable component levels

  • R800 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSWLGF","label":"WebSphere Service Registry and Repository"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.0","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
30 April 2013