IBM Support

RS03476: [DC REST API] DECISIONCENTER-API.WAR DOES NOT DEPLOY ON TOMCAT

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • decisioncenter-api fails during startup on tomcat
    both teamserver and decisioncenter start up correctly and are
    fully functional (you can log in, ....)
    
    
    ------------------------------------------ with 8.9.2.1
    ------------------------------------------
    Sep 20, 2019 11:19:54 AM
    org.springframework.boot.diagnostics.LoggingFailureAnalysisRepor
    ter report
    SEVERE:
    
    ***************************
    APPLICATION FAILED TO START
    ***************************
    
    Description:
    
    Cannot determine embedded database driver class for database
    type NONE
    
    Action:
    
    If you want an embedded database please put a supported one on
    the classpath. If you have database settings to be loaded from
    a particular profile you may need to active it (no profiles are
    currently active).
    
    20-Sep-2019 11:19:54.457 SEVERE [localhost-startStop-1]
    org.apache.catalina.core.ContainerBase.addChildInternal
    ContainerBase.addChild: start:
    org.apache.catalina.LifecycleException: Failed to start
    component
    [StandardEngine[Catalina].StandardHost[localhost].StandardContex
    t[/decisioncenter-api]]
            at
    org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:
    167)
            at
    org.apache.catalina.core.ContainerBase.addChildInternal(Containe
    rBase.java:754)
            at
    org.apache.catalina.core.ContainerBase.addChild(ContainerBase.ja
    va:730)
            at
    org.apache.catalina.core.StandardHost.addChild(StandardHost.java
    :734)
           [...]
    Caused by:
    org.springframework.beans.factory.BeanCreationException: Error
    creating bean with name 'dataSource' defined in class path
    resource
    [org/springframework/boot/autoconfigure/jdbc/DataSourceConfigura
    tion$Tomcat.class]: Bean instantiation via factory method
    failed; nested exception is
    org.springframework.beans.BeanInstantiationException: Failed to
    instantiate [org.apache.tomcat.jdbc.pool.DataSource]: Factory
    method 'dataSource' threw exception; nested exception is
    org.springframework.boot.autoconfigure.jdbc.DataSourceProperties
    $DataSourceBeanCreationException: Cannot determine embedded
    database driver class for database type NONE. If you want an
    embedded database please put a supported one on the classpath.
    If you have database settings to be loaded from a particular
    profile you may need to active it (no profiles are currently
    active).
            at
    org.springframework.beans.factory.support.ConstructorResolver.in
    stantiateUsingFactoryMethod(ConstructorResolver.java:599)
            at
    org.springframework.beans.factory.support.AbstractAutowireCapabl
    eBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapab
    leBeanFactory.java:1173)
            at
    org.springframework.beans.factory.support.AbstractAutowireCapabl
    eBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFacto
    ry.java:1067)
            at
    org.springframework.beans.factory.support.AbstractAutowireCapabl
    eBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.jav
    a:513)
            at
    org.springframework.beans.factory.support.AbstractAutowireCapabl
    eBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:
    483)
            at
    org.springframework.beans.factory.support.AbstractBeanFactory$1.
    getObject(AbstractBeanFactory.java:306)
            at
    org.springframework.beans.factory.support.DefaultSingletonBeanRe
    gistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
            at
    org.springframework.beans.factory.support.AbstractBeanFactory.do
    GetBean(AbstractBeanFactory.java:302)
           [...]
            ... 10 more
    Caused by:
    org.springframework.beans.BeanInstantiationException: Failed to
    instantiate [org.apache.tomcat.jdbc.pool.DataSource]: Factory
    method 'dataSource' threw exception; nested exception is
    org.springframework.boot.autoconfigure.jdbc.DataSourceProperties
    $DataSourceBeanCreationException: Cannot determine embedded
    database driver class for database type NONE. If you want an
    embedded database please put a supported one on the classpath.
    If you have database settings to be loaded from a particular
    profile you may need to active it (no profiles are currently
    active).
            at
    org.springframework.beans.factory.support.SimpleInstantiationStr
    ategy.instantiate(SimpleInstantiationStrategy.java:189)
            at
    org.springframework.beans.factory.support.ConstructorResolver.in
    stantiateUsingFactoryMethod(ConstructorResolver.java:588)
            ... 31 more
    Caused by:
    org.springframework.boot.autoconfigure.jdbc.DataSourceProperties
    $DataSourceBeanCreationException: Cannot determine embedded
    database driver class for database type NONE. If you want an
    embedded database please put a supported one on the classpath.
    If you have database settings to be loaded from a particular
    profile you may need to active it (no profiles are currently
    active).
            at
    org.springframework.boot.autoconfigure.jdbc.DataSourceProperties
    .determineDriverClassName(DataSourceProperties.java:247)
            at
    org.springframework.boot.autoconfigure.jdbc.DataSourceProperties
    .initializeDataSourceBuilder(DataSourceProperties.java:184)
    [...]
    
    ------------------------------------------ with 8.10.2
    ------------------------------------------
    19-Sep-2019 19:40:50.170 SEVERE [localhost-startStop-1]
    org.apache.catalina.core.ContainerBase.addChildInternal
    ContainerBase.addChild: start:
    org.apache.catalina.LifecycleException: Failed to start
    component
    [StandardEngine[Catalina].StandardHost[localhost].StandardContex
    t[/decisioncenter-api]]
            at
    org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:
    167)
            at
    org.apache.catalina.core.ContainerBase.addChildInternal(Containe
    rBase.java:754)
            at
    org.apache.catalina.core.ContainerBase.addChild(ContainerBase.ja
    va:730)
            at
    org.apache.catalina.core.StandardHost.addChild(StandardHost.java
    :734)
            at
    org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java
    :985)
            [...]
    Caused by:
    org.springframework.beans.factory.BeanCreationException: Error
    creating bean with name 'dataSource' defined in class path
    resource
    [org/springframework/boot/autoconfigure/jdbc/DataSourceConfigura
    tion$Tomcat.class]: Bean instantiation via factory method
    failed; nested exception is
    org.springframework.beans.BeanInstantiationException: Failed to
    instantiate [org.apache.tomcat.jdbc.pool.DataSource]: Factory
    method 'dataSource' threw exception; nested exception is
    org.springframework.boot.autoconfigure.jdbc.DataSourceProperties
    $DataSourceBeanCreationException: Failed to determine a
    suitable driver class
            at
    org.springframework.beans.factory.support.ConstructorResolver.in
    stantiateUsingFactoryMethod(ConstructorResolver.java:590)
            at
    org.springframework.beans.factory.support.AbstractAutowireCapabl
    eBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapab
    leBeanFactory.java:1256)
            at
    org.springframework.beans.factory.support.AbstractAutowireCapabl
    eBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFacto
    ry.java:1105)
            at
    org.springframework.beans.factory.support.AbstractAutowireCapabl
    eBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.jav
    a:543)
            at
    org.springframework.beans.factory.support.AbstractAutowireCapabl
    eBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:
    503)
            at
    org.springframework.beans.factory.support.AbstractBeanFactory.la
    mbda$doGetBean$0(AbstractBeanFactory.java:317)
            at
    org.springframework.beans.factory.support.AbstractBeanFactory$$L
    ambda$108.0000000019F0A460.getObject(Unknown Source)
           [...]
            ... 10 more
    Caused by:
    org.springframework.beans.BeanInstantiationException: Failed to
    instantiate [org.apache.tomcat.jdbc.pool.DataSource]: Factory
    method 'dataSource' threw exception; nested exception is
    org.springframework.boot.autoconfigure.jdbc.DataSourceProperties
    $DataSourceBeanCreationException: Failed to determine a
    suitable driver class
            at
    org.springframework.beans.factory.support.SimpleInstantiationStr
    ategy.instantiate(SimpleInstantiationStrategy.java:185)
            at
    org.springframework.beans.factory.support.ConstructorResolver.in
    stantiateUsingFactoryMethod(ConstructorResolver.java:582)
            ... 32 more
    Caused by:
    org.springframework.boot.autoconfigure.jdbc.DataSourceProperties
    $DataSourceBeanCreationException: Failed to determine a
    suitable driver class
            at
    org.springframework.boot.autoconfigure.jdbc.DataSourceProperties
    .determineDriverClassName(DataSourceProperties.java:236)
    [...]
    

Local fix

  • N/A
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Users working on Tomcat.                                     *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * decisioncenter-api fails during startup on tomcat.           *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • Fixed by excluding Spring Boot Automatic Datasource
    Configuration.
    

Temporary fix

Comments

APAR Information

  • APAR number

    RS03476

  • Reported component name

    WS DECISION CTR

  • Reported component ID

    5725B6900

  • Reported release

    892

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2019-09-30

  • Closed date

    2019-11-26

  • Last modified date

    2019-11-26

  • 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

    WS DECISION CTR

  • Fixed component ID

    5725B6900

Applicable component levels

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

Document Information

Modified date:
03 November 2021