IBM Support

PM97076: CLASSNOTFOUNDEXCEPTION DEPLOYING A SERVICE FROM WSDL AS REST

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Environment: windows
    Product name: IBM? Rational? Business Developer
    
    Program Version    :  8.5.1
    Description.
    A ClassNotFoundException is thrown when deploying a service.
    
    Deploying a service as REST is where the exception is observed
    after importing a WSDL as an EGL interface and service skeleton.
    
    During skeleton creation an underscore _service is appended to
    the name by default which causes this issue with the REST
    runtime in escaping the underscore.
    
    Once deployed, running the front end to test the service throws
    the ClassNotFoundException also showing an additional 005f entry
    appended to the name whereas the 'real' referenced name for this
    entry is TestService_005fService_Impl.java eg:
    EGL1603E:EGL1603E An error occurred while loading the
    test.services.TestService_005f005fService_Impl service.
    Error:java.lang.ClassNotFoundException:test.services.TestService
    _005f005fService_Impl.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When invoking REST service, in service provider side, EGL
    REST service runtime will create an instance of LocalProxy
    using the Java reflection, but it appended a duplicated
    alias which is undesirable.
    

Problem conclusion

  • The solution is to remove the duplicated alias
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM97076

  • Reported component name

    RATL BUS DEV

  • Reported component ID

    5724S5000

  • Reported release

    801

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-09-16

  • Closed date

    2014-09-25

  • Last modified date

    2014-09-25

  • 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 BUS DEV

  • Fixed component ID

    5724S5000

Applicable component levels

  • R801 PSN

       UP

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSMQ79","label":"Rational Business Developer"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.0.1","Edition":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Document Information

Modified date:
25 September 2014