IBM Support

PI25851: CF2 APPLY-FIX FAILS ON SQL SERVER IF DEFAULT DATABASE NOT SPECIFIED

 

APAR status

  • Closed as program error.

Error description

  • Installing 8.5 CF2 on SQL Server will fail with the below error
    if the JCR Db user does not have a default database specified.
    
    /opt/IBM/WebSphere/PortalServer/wcm/prereq
    .wcm/config/includes/db_mig_cfg.xml:258:
    com.microsoft.sqlserver.jdbc.SQLServerException: Cannot open
    user default database. Login failed.
    ClientConnectionId:ab6ed529-21b3-4565-9a08-7ed06d59d804
    at org.apache.tools.ant.taskdefs.JDBCTask
    .getConnection(JDBCTask
    .java:314)
    at org.apache.tools.ant.taskdefs.SQLExec.execute(SQLExec
    .java:346)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement
    .java:275)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    at org.apache.tools.ant.Target.execute(Target.java:341)
    

Local fix

Problem summary

  • Installing 8.5 CF2 on SQL Server will fail with the below error
    if the JCR Db user does not have a default database specified.
    
    
    
    /opt/IBM/WebSphere/PortalServer/wcm/prereq
    
    .wcm/config/includes/db_mig_cfg.xml:258:
    
    com.microsoft.sqlserver.jdbc.SQLServerException: Cannot open
    
    user default database. Login failed.
    
    ClientConnectionId:ab6ed529-21b3-4565-9a08-7ed06d59d804
    
    at org.apache.tools.ant.taskdefs.JDBCTask
    .getConnection(JDBCTask
    .java:314)
    
    at org.apache.tools.ant.taskdefs.SQLExec.execute(SQLExec
    
    .java:346)
    
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement
    
    .java:275)
    
    at org.apache.tools.ant.Task.perform(Task.java:364)
    
    at org.apache.tools.ant.Target.execute(Target.java:341)
    

Problem conclusion

  • Analysis: One of WCM's database migration scripts was connecting
    to the jcr.adminURL which requires that the user have a default
    database specified.
    
    
    Solution: Modified the script to use the full jcr.dbURL which
    bypasses this issue
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI25851

  • Reported component name

    LOTUS WEB CONT

  • Reported component ID

    5724I2900

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2014-09-16

  • Closed date

    2015-02-05

  • Last modified date

    2015-02-05

  • 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

    LOTUS WEB CONT

  • Fixed component ID

    5724I2900

Applicable component levels

  • R850 PSY

       UP

[{"Business Unit":{"code":"BU051","label":"N\/A"},"Product":{"code":"SUPPORT","label":"IBM Web Content Manager"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"850","Line of Business":{"code":"LOB33","label":"N\/A"}}]

Document Information

Modified date:
21 December 2021