IBM Support

PI47722: RECORDING DB2 DATASOURCES IN WAS APPLICATION FAILS

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Create a DB2 universal datasource in Websphere. Create an
    application to use that datasource. A sample snippet would be:
    
    ...
    Context initContext = new InitialContext();
    DataSource ds = (DataSource)initContext.lookup("DB2DS");
    Connection conn = ds.getConnection();
    ...
    
    Enable the GH datasource on it and try to record it in RIT. It
    fails and the exception stack is like:
    Caused by: javax.resource.ResourceException: Required driverType
    property was not specifed or is invalid. The driverType property
    is null
    at
    com.ibm.ws.rsadapter.spi.InternalDB2UniversalDataStoreHelper.set
    Properties(InternalDB2UniversalDataStoreHelper.java:371)
    at
    com.ibm.ws.rsadapter.spi.WSRdbDataSource.<init>(WSRdbDataSource.
    java:1215)
    at
    com.ibm.ws.rsadapter.spi.WSManagedConnectionFactoryImpl.setDataS
    ourceProperties(WSManagedConnectionFactoryImpl.java:2644)
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All users of Rational Integration Tester recording DB2       *
    * databases that were running in WebSphere Application Server. *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * In a regression from version 8.7.0, recording DB2 databases  *
    * that were running in WebSphere Application Server caused a   *
    * ResourceException error.  The error was the result of the    *
    * driver type not being properly set.                          *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • A fix was provided in Rational Integration Tester 8.7.0.3 and
    the driver type is now set correctly.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI47722

  • Reported component name

    RATL INTEGRA TE

  • Reported component ID

    5725G79IT

  • Reported release

    870

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-08-27

  • Closed date

    2015-10-30

  • Last modified date

    2015-10-30

  • 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 INTEGRA TE

  • Fixed component ID

    5725G79IT

Applicable component levels

  • R800 PSN

       UP

  • R801 PSN

       UP

  • R850 PSN

       UP

  • R851 PSN

       UP

  • R860 PSN

       UP

  • R870 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSBLQQ","label":"Rational Test Workbench"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.7","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
17 October 2021