IBM Support

PQ98935: MIGRATING STRUTS PROJECTS FROM WSAD V5.X TO RAD V6 WILL CAUSE AN ERROR ON THE SERVER WHEN RUNNING THE EAR.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as fixed if next.

Error description

  • If you try migrating an existing struts project that was created
    in WSAD v5.x into RAD v6 and then run it on WAS v6 you will most
    likely see this error upon starting the EAR:
    
    TRAS0014I: The following exception was logged
    java.net.MalformedURLException: SRVE0238E: Resource paths should
    have a leading slash
    
    followed by a long stack trace.
    
    In WSAD v5.x when you create a struts project, the Action
    servlet's config parameter will be set to
    "WEB-INF/struts-config.xml".
    
    This seems to be a problem for WAS v6 and RAD v6 has accounted
    for that when you create a new project, however if you are
    migrating there is no warning.
    

Local fix

  • To fix the problem change the parameter to
    "/WEB-INF/struts-config.xml"
    

Problem summary

  • Documentation defect, should be updated in next release
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PQ98935

  • Reported component name

    APP DEV V6 WIN

  • Reported component ID

    5724J1901

  • Reported release

    600

  • Status

    CLOSED FIN

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2004-12-30

  • Closed date

    2004-12-31

  • Last modified date

    2004-12-31

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

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

Modules/Macros

  •    DEFSRXXX
    

Fix information

Applicable component levels

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

Document Information

Modified date:
31 December 2004