IBM Support

PM51630: WSIMPORT.BAT FAILS IF NO PROFILE PRESENT

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Wsimport.bat might fail with the following error if it is run
    in a WebSphere Application Server installation that does not
    contain any profiles:
    
    Exception in thread "main" java.lang.NoClassDefFoundError:
    Caused by: java.lang.ClassNotFoundException:
    at java.net.URLClassLoader.findClass
    at java.lang.ClassLoader.loadClass
    at sun.misc.Launcher$AppClassLoader.loadClass
    at java.lang.ClassLoader.loadClass
    Could not find the main class: .  Program will exit.
    

Local fix

  • no ifix required
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server V8.0 using Microsoft Windows JAX-WS  *
    *                  command line tooling.                       *
    ****************************************************************
    * PROBLEM DESCRIPTION: Wsimport.bat might fail with an error   *
    *                      if no WebSphere profiles are present.   *
    ****************************************************************
    * RECOMMENDATION:  Install a fix pack containing this APAR.    *
    ****************************************************************
    Wsimport.bat contains an internal parameter, "%clientssl%",
    the purpose of which is to pass in a profile's trust store so
    wsdl files retrieved using the https protocol can be accessed.
    If there is no profile, that parameter is undefined, and
    the presence of the empty pair of quote marks causes an error.
    

Problem conclusion

Temporary fix

  • Remove "%clientssl%" from wsimport.bat
    

Comments

APAR Information

  • APAR number

    PM51630

  • 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

    2011-11-06

  • Closed date

    2012-03-30

  • Last modified date

    2012-03-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

    WEBS APP SERV N

  • Fixed component ID

    5724H8800

Applicable component levels

  • R700 PSY

       UP

  • 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