IBM Support

RS02941: ORACLE URL VALUE IS NOT POPULATING IN THE DATASOURCE

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Customer is installing ODM 8902. They are using the templates
    to
    deploy clusters. Even though they are providing the correct
    information for the ODM Dmgr profile and cluster creation,
    the Oracle URL values are not populating in the ISC in the
    datasource
    connection information.
    

Local fix

  • Go to C:
    \IBM\WebSphere\AppServer\profileTemplates\rules\actions\scripts\
    was\datasource_utils.py
    
    Modify the method createOracleDatasource with the following
    code:
    def createOracleDatasource(jdbcProvider, datasourceName,
    jndiName, dbName, dbHostName, dbPort, dbUser, dbPassword):
        AdminTask.createDatasource(jdbcProvider, '[-name "' +
    datasourceName + '"'
          + ' -jndiName ' + jndiName
          + ' -dataStoreHelperClassName com.ibm.websphere.rsadapter.
    Oracle11gDataStoreHelper'
          + ' -componentManagedAuthenticationAlias'
          + ' -containerManagedPersistence false'
          + ' -configureResourceProperties [[URL java.lang.String
    jdbc:oracle:thin:@'+dbHostName+':'+dbPort+':'+dbName+']]]')
        localizedMessages.printMessageWithParams('GBRPT0007I', [
    datasourceName])
        AdminConfig.save()
    Original method is:
    def createOracleDatasource(jdbcProvider, datasourceName,
    jndiName, dbName, dbHostName, dbPort, dbUser, dbPassword):
        return createGenericDatasource(jdbcProvider,
                                       datasourceName,
                                       jndiName,
                                       dbName,
                                       dbHostName,
                                       dbPort,
                                       dbUser,
                                       dbPassword,
                                       'com.ibm.websphere.rsadapter.
    Oracle11gDataStoreHelper',
                                       'thin')
    

Problem summary

  • When using templates to deploy clusters. Even though the
    correct information are provided for the ODM Dmgr profile and
    cluster creation, those values are not populating in the ISC in
    the datasource connection information.
    The current profile template/ConfigureDCCluster script is using
    datasource custom properties to communicate the setting (URL
    and credentials) to the JDBC driver. It explains why connection
    fields are empty.
    

Problem conclusion

  • The code is fixed.
    

Temporary fix

Comments

APAR Information

  • APAR number

    RS02941

  • Reported component name

    WDS FOR RULES

  • Reported component ID

    5725B6903

  • Reported release

    890

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-10-26

  • Closed date

    2018-02-15

  • Last modified date

    2018-02-15

  • 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

    WDS FOR RULES

  • Fixed component ID

    5725B6903

Applicable component levels

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

Document Information

Modified date:
17 February 2022