IBM Support

PM60908: STACK ERROR RECEIVED WHEN LAUNCHING WASSERVICEHELPER.BATTOOL IN A MICROSOFT WINDOWS ENVIRONMENT

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Stack error occurs when client attempts to launch WebSphere
    Application Server V8 wasservicehelper.bat in a Microsoft
    Windows environment from WAS_HOME\bin\
    or from profile_root\bin\ :
    ----------------------------------------------------------------
    This stack trace appears when attempting to invoke
    WASServiceHelper.bat:
    java.lang.ExceptionInInitializerError
    at
    java.lang.J9VMInternals.initialize(J9VMInternals.java:227)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
    Method)
    at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessor
    Impl.jav
    a:60)
    at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethod
    Accessor
    Impl.java:37)
    at java.lang.reflect.Method.invoke(Method.java:611)
    at
    com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:269)
    Caused by: java.lang.NegativeArraySizeException
    at
    com.ibm.ws.management.ostools.windows.WASServiceCmd.exit(WASServ
    iceCmd.java:1492
    at
    com.ibm.ws.management.ostools.windows.WASServiceCmd.<clinit>(WAS
    ServiceCws.management.ostools.windows.WASServiceCmd.<clinit>(WAS
    md.java:65)
    at java.lang.J9VMInternals.initializeImpl(Native Method)
    at
    java.lang.J9VMInternals.initialize(J9VMInternals.java:205)
    ... 5 more
    ----------------------------------------------------------------
    The wasservicehelper.bat utility is encountering an
    UnsatifiedLinkError while attempting to load the wasservicecmd
    library ( around line 65 of WASServiceCmd.java ) that is causing
    it to log an error message to the screen and exit. Around line
    1492 it is erroneously allocating an array the size of the error
    code which is -1
    .
    To address the UnsatisfiedLinkError, wasservicehelper.bat should
    be referencing WAS_HOME\bin\ in the PATH.
    .
    The change will be to write a config action to modify the
    wasservicehelper.bat script or tool during the Fix Pack update.
    

Local fix

  • Use WASServiceCmd.exe utility or do the following in WSAS v8:
    1.  Edit the WASServiceHelper.bat file
    2.  Locate the line with this text:
        set CLASSPATH=%WAS_CLASSPATH%
    3.  Under that line, insert this text:
        set PATH=%WAS_PATH%
    4.  Try running the utility again
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  IBM WebSphere Application Server V8.0       *
    *                  Microsoft Windows users                     *
    ****************************************************************
    * PROBLEM DESCRIPTION: If you use the wasservicehelper tool    *
    *                      from the profiles directory, the tool   *
    *                      will be unable to load.                 *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The tool is looking for a module in the WAS_HOME\bin directory
    but when started outside the WAS_HOME\bin directory, it can
    not find the module.
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PM60908

  • Reported component name

    WEBS APP SERV N

  • Reported component ID

    5724H8800

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-03-21

  • Closed date

    2012-04-12

  • Last modified date

    2012-04-12

  • 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

[{"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.0","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
28 October 2021