IBM Support

PM77291: Republish of application causes uninstall and reinstall of application

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Headline:
    Republish of application causes uninstall and reinstall of
    application
    
    APAR Error Description:
    Abstract: Republish of application causes uninstall and
    reinstall of application when application name is the prefix of
    another application name
    Problem:
    1. Create a new Dynamic Web project with project name MyWeb
    within EAR MyEAR targeting WebSphere Application Server 7.0
    2. Create a new Dynamic Web project with project name MyWeb2
    within EAR MyEAR2 targeting WebSphere Application Server 7.0
    3. Create a Java project Util targeting JavaSE-1.6, create a
    class Util with a method sayHello printing a simple text like
    Test
    4. Create a Servlet Test within Web and reference sayHello in
    the doGet method
    5. Publish the application MyEAR and MyEAR2 to the WebSphere
    Application Server 7.0
    6. Open the WebSphere Application Server Administrative Console,
    create a shared library Util pointing to the Java Output folder
    of the project Util and reference the shared library from the
    application MyEAR
    7. Select the servlet Test within project MyWeb and run it on
    the server
    Result:
    The simple Test is printed
    8. Add a method to the servlet Test, republish to the server,
    select the servlet Test within project MyWeb and run it on the
    server
    Result:
    The application MyEAR and MyEAR2 get uninstalled and reinstalled
    and the shared library is uninstalled
    The class Util is not found anymore
    
    Local fix:
    Rename applications which have a name that is a prefix of
    another application name
    

Local fix

Problem summary

  • If application 1 has a name that starts with the same name as
    application 2 (e.g. application 1's name is Hello and
    application 2's name is HelloWorld) then if both applications
    are published on the server and application 1 is republished,
    application 1 will have the incorrect behaviour of being
    uninstalled and re-installed.
    

Problem conclusion

  • The problem has been fixed to ensure the application name is
    checked properly to avoid an uninstall and re-install of the
    application on a republish.
    The fix for this APAR is included in Rational Application
    Developer v8.5.5.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM77291

  • Reported component name

    RATL APP DEV WI

  • Reported component ID

    5724J1901

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-11-16

  • Closed date

    2013-10-15

  • Last modified date

    2013-10-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

  • R900 PSY

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

Document Information

Modified date:
15 October 2013