My Oracle Support Banner

DEMANTRA 7.3 WEB APPICATION WILL NOT CONNECT TO DATABASE (Doc ID 1059462.1)

Last updated on JUNE 28, 2021

Applies to:

Oracle Demantra Demand Management - Version 7.3.0 and later
Information in this document applies to any platform.

Goal


Demantra 7.3 Web App will not connect to database.

Upgrade v7.2.0.2 to v7.3, create a WAR file and deploy to web server (Apache Tomcat 6.0)
JDBC Data Source is showing null values in the connection string so the web server cannot connect to the database.

In colaborator.log file:

FATAL appserver.fatal: The system had failed to establish connection to the configured Demantra data-source (JNDI name: jdbc/DemantraDS). Please verify data-source settings.
org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null'
at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1150)
at org.apache.tomcat.dbcp.dbcp.BasicDataSource.getConnection(BasicDataSource.java:880)
at com.demantra.applicationServer.connection.JDBCConnection.getConnection(JDBCConnection.java:125)
at com.demantra.applicationServer.system.apsparams.ApsParamsLoaderDBImpl.initDBParams(ApsParamsLoaderDBImpl.java:230)
at com.demantra.applicationServer.system.apsparams.ApsParamsLoaderDBImpl.initParams(ApsParamsLoaderDBImpl.java:167)
at com.demantra.applicationServer.services.CommonProp.(CommonProp.java:1172)
at com.demantra.applicationServer.pools.JDBCConnectionPool.(JDBCConnectionPool.java:146)
at com.demantra.applicationServer.pools.JDBCConnectionPool.getInstance(JDBCConnectionPool.java:175)
at com.demantra.applicationServer.start.StarterServlet.init(StarterServlet.java:68)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1172)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:992)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4058)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4371)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:830)
at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:719)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start(StandardService.java:516)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Caused by: java.sql.SQLException: No suitable driver
at java.sql.DriverManager.getDriver(Unknown Source)
at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1143)




Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.