IBM Support

PM90272: Executing a webservice might result in a HTTP 404 error when running with resource within workspace

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Abstract:
    
    Attempts to execute a webservice might result in a HTTP 404
    error when the application is published to WebSphere Application
    Server with the publishing option set to run with resources
    within the workspace.
    
    Problem:
    
    You created the simple web service in a web project and moved
    all the web-service related class to the another java project to
    use it as utility library.
    
    When you publish this application to a WebSphere Application
    Server instance with 'Run server with resource within the
    workspace' option and run it you notice a HTTP 404 error in the
    client.
    
    Steps to create the test project'
    
    1. Create MyWAR (dynamic web project) in  MyEAR (EAR project).
    2. Create MyJAR (Java project)
    3. Create java bean for web service in MyWAR
    4. Generate JAX-WS webservice for class created on step3.
    5. Moving the all the classes in MyWAR to MyJAR
    6. Set the classpath dependency from MyWAR to MyJAR
    7. Deploy the app using the publishing option 'Run server with
    resource within the workspace'
    8. Run the webservice using the Generic Service Client
    
    Local fix:
    
    Run the application with 'Run Server with resource on Server'
    setting in server's publishing setting.
    

Local fix

Problem summary

  • The looseconfig file has the loosechildren element in an
    undesired format.
    

Problem conclusion

  • Code change to make sure the loosechildren URI has the correct
    format.
    
    The fix for this APAR is included in Rational Application
    Developer v8.0.4.3.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM90272

  • Reported component name

    RATL APP DEV WI

  • Reported component ID

    5724J1901

  • Reported release

    804

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-06-03

  • Closed date

    2013-10-28

  • Last modified date

    2013-10-28

  • 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

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

Document Information

Modified date:
28 October 2013