IBM Support

RS03096: XU CONNECTION LOST WHEN DATASOURCE NOT AVAILABLE

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When executing rules in RES j2se if the datasource is not
    resolved properly it might be null and break the error
    management. In this scenario the connection is not released and
    eventually the pool is empty.
    
    java.lang.NullPointerException
    at
    ilog.rules.res.persistence.impl.jdbc.IlrDataSourceConnectionProv
    ider.getConnection(IlrDataSourceConnectionProvider.java:136)
    at
    ilog.rules.res.persistence.impl.jdbc.IlrDAOConfigurator.createIn
    stance(IlrDAOConfigurator.java:108)
     at
    ilog.rules.res.persistence.impl.jdbc.IlrDataSourceDAOFactory.get
    DAO(IlrDataSourceDAOFactory.java:29)
     at
    ilog.rules.res.persistence.impl.IlrRepositoryDAOFactoryImpl.getD
    ataSourceRepositoryDAO(IlrRepositoryDAOFactoryImpl.java:64)
     at
    ilog.rules.res.xu.persistence.internal.IlrDatasourcePersistenceI
    mpl.createDataProvider(IlrDatasourcePersistenceImpl.java:42)
     at
    ilog.rules.res.xu.persistence.internal.IlrDAOXUPersistence.getDa
    taProvider(IlrDAOXUPersistence.java:58)
     at
    ilog.rules.res.xu.persistence.internal.IlrDAOXUPersistence.solve
    CanonicalRulesetPath(IlrDAOXUPersistence.java:104)
     at
    com.ibm.rules.res.xu.persistence.internal.Persistence.getCanonic
    alRulesetPath(Persistence.java:107)
     at
    com.ibm.rules.res.xu.persistence.internal.Persistence.getRuleset
    ArchiveInformation(Persistence.java:280)
     at
    ilog.rules.res.xu.spi.IlrManagedXUConnection.createEngineManager
    (IlrManagedXUConnection.java:1421)
     at
    ilog.rules.res.xu.spi.IlrManagedXUConnection.associateEngineMana
    ger(IlrManagedXUConnection.java:1298)
     at
    ilog.rules.res.xu.spi.IlrManagedXUConnection.getEngineManager(Il
    rManagedXUConnection.java:1269)
     at
    ilog.rules.res.xu.spi.IlrManagedXUConnection.getXURulesetArchive
    Information(IlrManagedXUConnection.java:1232)
     at
    ilog.rules.res.xu.cci.IlrXUConnection.getXURulesetArchiveInforma
    tion(IlrXUConnection.java:869)
     at
    com.ibm.rules.res.xu.client.internal.DirectXURuleEngineSession.g
    etRulesetArchiveProperties(DirectXURuleEngineSession.java:171)
     at
    ilog.rules.res.session.impl.IlrStatefulSessionBase.<init>(IlrSta
    tefulSessionBase.java:130)
     at
    ilog.rules.res.session.impl.j2se.IlrStatefulSessionJ2SE.<init>(I
    lrStatefulSessionJ2SE.java:45)
     at
    ilog.rules.res.session.impl.j2se.IlrStatelessSessionJ2SE.createS
    tatefulSession(IlrStatelessSessionJ2SE.java:57)
     at
    ilog.rules.res.session.impl.IlrStatelessSessionBase.execute(IlrS
    tatelessSessionBase.java:61)
    

Local fix

Problem summary

  • When executing rules in executionserver J2SE and the datasource
    is not resolved properly a NullPointerException is raised. The
    xu connection is not released and the connection pool is empty.
    

Problem conclusion

  • The code is fixed.
    

Temporary fix

Comments

APAR Information

  • APAR number

    RS03096

  • Reported component name

    WS DECISION CTR

  • Reported component ID

    5725B6900

  • Reported release

    881

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2018-04-13

  • Closed date

    2018-06-13

  • Last modified date

    2018-06-13

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Modules/Macros

  • 999
    

Fix information

  • Fixed component name

    WS DECISION CTR

  • Fixed component ID

    5725B6900

Applicable component levels

  • R881 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSQP76","label":"IBM Operational Decision Manager"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"881","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
03 November 2021