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



Document information

More support for: Rational Test Workbench

Software version: 8.7

Reference #: PI47722

Modified date: 30 October 2015