IBM Support

PM66143: Extra leading slashes for some of the generated directories are added by WebSphere Application Server EJBDeploy

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Abstract:
    
    Attempts to use ejbdeploy from WebSphere Application Server 8.5
    cause the generated JAR to contain absolute paths for some of
    the directories in the generated code.
    
    Problem:
    
    When invoking ejbdeploy on the command line as follows:
    
    $WAS_HOME/ejbdeploy.sh  'path'/Test.jar 'path'/working directory
    'path'/NewTest.jar -keep -trace
    
    followed by $JAVA_HOME\bin\java\jar -tvf NewTest.jar
    
    then you will see absolute paths generated for some of the
    package directories:
    
    0 Sat Jun 02 02:29:28 EDT 2012 com/
    0 Sat Jun 02 02:29:28 EDT 2012 /com/ibm/
    0 Sat Jun 02 02:29:28 EDT 2012 /com/ibm/ejs/
    0 Sat Jun 02 02:29:28 EDT 2012 /com/ibm/ejs/container/
    2697 Sat Jun 02 02:29:28 EDT 2012
    com/ibm/ejs/container/_EJSRemoteWrapp
    .class
    2342 Sat Jun 02 02:29:28 EDT 2012
    com/ibm/ejs/container/_EJSRemoteWrapp
    class
    4116 Sat Jun 02 02:29:28 EDT 2012
    com/ibm/ejs/container/_EJSWrapper_Tie
    0 Sat Jun 02 02:29:28 EDT 2012 /com/ibm/websphere/
    0 Sat Jun 02 02:29:28 EDT 2012 /com/ibm/websphere/csi/
    2499 Sat Jun 02 02:29:28 EDT 2012
    com/ibm/websphere/csi/_CSIServant_Stu
    
    468 Sat Jun 02 02:29:28 EDT 2012
    com/ibm/websphere/csi/_TransactionalOtub.class
    0 Sat Jun 02 02:29:28 EDT 2012 org/
    0 Sat Jun 02 02:29:28 EDT 2012 /org/omg/
    0 Sat Jun 02 02:29:28 EDT 2012 /org/omg/stub/
    0 Sat Jun 02 02:29:28 EDT 2012 /org/omg/stub/java/
    0 Sat Jun 02 02:29:28 EDT 2012 /org/omg/stub/java/lang/
    4337 Sat Jun 02 02:29:28 EDT 2012
    org/omg/stub/java/lang/_Appendable_Sts
    0 Sat Jun 02 02:29:28 EDT 2012 /org/omg/stub/javax/
    0 Sat Jun 02 02:29:28 EDT 2012 /org/omg/stub/javax/ejb/
    
    It is not possible to extract the contents of the JAR due to
    those extra leading slashes.
    
    Local fix:
    
    If the input EJB JAR file already contains the deployment files
    then calling ejbdeploy to re-generate will not cause any extra
    leading slashes to be generated in those directories.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Absolute paths are generated for some of the package
    directories created by the EJBDeploy process.  As a result
    it is not possible to extract the contents of the JAR due to
    those extra leading slashes.
    

Problem conclusion

  • The fix for this APAR is included in Rational Application
    Developer v8.0.4.2.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM66143

  • Reported component name

    RATL APP DEV WI

  • Reported component ID

    5724J1901

  • Reported release

    803

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-06-04

  • Closed date

    2012-12-15

  • Last modified date

    2012-12-15

  • 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

    RATL APP DEV WI

  • Fixed component ID

    5724J1901

Applicable component levels

  • R803 PSN

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSRTLW","label":"Rational Application Developer for WebSphere Software"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.0.3","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
15 December 2012