IBM Support

PK77254: ClassCastException error occurs when swiching tabs in an Applica tion Deployment descriptor

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Using Rational Application Developer V7.5.0 iFix001
    User gets java.lang.ClassCastException: com.ibm.ejs.models.base.
    resources.jdbc.impl.JDBCProviderImpl incompatible with com.ibm.e
    js.models.base.resources.j2c.J2CResourceAdapter error when switc
    hing from the Extended Services to the Deployment tab of the App
    lication Deployment Descriptor.
    
    Error stack trace:
    java.lang.ClassCastException: com.ibm.ejs.models.base.resources.
    jdbc.impl.JDBCProviderImpl incompatible with com.ibm.ejs.models.
    base.resources.j2c.J2CResourceAdapter
    at com.ibm.ws.ast.st.enhanced.ear.internal.config.J2CEmbeddedCon
    figurationModel.getAvailJ2CResourceAdapter(Unknown Source)
    at com.ibm.ws.ast.st.enhanced.ear.ui.internal.editor.J2CEmbedded
    Section.resetPageFields(Unknown Source)
    at com.ibm.ws.ast.st.enhanced.ear.ui.internal.editor.PageApplica
    tionServer.enter(Unknown Source)
    at com.ibm.etools.emf.workbench.ui.presentation.ArtifactEditMult
    iPageEditorPart.pageChange(Unknown Source)
    ...
    
    Steps to reproduce:
    
    1.- Start RAD 7.5 and create a blank workspace.
    2.- Create a Enterprise Application Project for WebSphere 6.0
    3.- Edit generated application.xml file.
    4.- Select Deployment tab.
    5.- Change WAR classloader policy to APPLICATION for example
    6.- Select Extended Services tab.
    7.- Come back to Deployment tab.
    8.- Check .log file and after executing step 7 you will get the
     above mentioned exception.
    

Local fix

Problem summary

  • A java.lang.ClassCastException may occur while switching
    from  Extended Services tab to the Deployment tab of the
    Application Deployment Descriptor.
    

Problem conclusion

  • Fix delivered in Rational Application Developer V7.5.2
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK77254

  • Reported component name

    RATL APP DEV WI

  • Reported component ID

    5724J1901

  • Reported release

    750

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2008-12-10

  • Closed date

    2009-04-02

  • Last modified date

    2009-04-02

  • 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

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

Document Information

Modified date:
02 April 2009