IBM Support

PM99378: ALLOW LIBERTY PROFILE TO RETURN JAR URLS RATHER THAN WSJAR URLS FROM CLASSLOADERS.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Some open source frameworks such as Jersey and Hadoop build
    dependancies cannot cope with non-jar urls. Some symptoms:
    
    com.sun.jersey.core.spi.scanning.ScannerException: The URI
    scheme wsjar of the URI wsjar:file:
    /wlp/usr/servers/waslp-server/apps/myWar.
    war/WEB-INF/lib/myjar-0.5.1-tests.jar!
    /org/apache/hadoop/chukwa/rest/resource is not supported. Pac
    scanning deployment is not supported for such URIs.
    
    
    2013-10-07 00:39:22,901 ERROR [Default Executor-thread-5] org.a
    hadoop.hbase.mapreduce.TableMapReduceUtil: url=wsjar:file:
    /mylibraries/lib/zookeeper.jar!
    /org/apache/zookeeper/ZooKeeper.class
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server Liberty Profile version 8.5.5.0 and  *
    *                  8.5.5.1                                     *
    ****************************************************************
    * PROBLEM DESCRIPTION: Liberty profile server does not allow   *
    *                      "jar:" URLs to be returned from         *
    *                      classloaders.                           *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Some open source frameworks throw errors when trying to
    process "wsjar:" URIs and WebSphere Application Server Liberty
    profile server does not provide a mechanism to return to
    "jar:" URIs.
    Typical error seen will be similar to:
    com.sun.jersey.core.spi.scanning.ScannerException: The URI
    scheme wsjar of the URI wsjar:file:
    /wlp/usr/servers/waslp-server/apps/myWar.
    war/WEB-INF/lib/myjar-0.5.1-tests.jar!
    /org/apache/hadoop/chukwa/rest/resource is not supported. Pac
    scanning deployment is not supported for such URIs.
    2013-10-07 00:39:22,901 ERROR [Default Executor-thread-5] org.a
    hadoop.hbase.mapreduce.TableMapReduceUtil: url=wsjar:file:
    /mylibraries/lib/zookeeper.jar!
    /org/apache/zookeeper/ZooKeeper.class
    

Problem conclusion

  • The configuration element below can be added to the server.xml
    file to enforce the JVM wide usage of "jar:" rather than
    "wsjar:".
    
    <classloading useJarUrls="true"/>
    
    The fix for this APAR is currently targeted for inclusion in
    fix pack 8.5.5.2. 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

    PM99378

  • Reported component name

    LIBERTY PROFILE

  • Reported component ID

    5724J0814

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-10-17

  • Closed date

    2013-11-20

  • Last modified date

    2013-11-20

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

    PI32444

Fix information

  • Fixed component name

    LIBERTY PROFILE

  • Fixed component ID

    5724J0814

Applicable component levels

  • R850 PSY

       UP

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

Document Information

Modified date:
06 September 2021