1. Error description
Critical: "Org.apache.tomcat.dbcp.dbcp.SQLNestedException" Exception thrown: Cannot create JDBC driver of class ' for connect URL ' null ' stack: Org.apache.tomcat.dbcp.dbcp.BasicDataSource.createConnectionFactory (1452). Org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource (1371). Org.apache.tomcat.dbcp.dbcp.BasicDataSource.getConnection (1044). Com.tansuosoft.discoverx.db.Database.getConnection (129). Com.tansuosoft.discoverx.dao.DBRequest.getConnection ( 199). Com.tansuosoft.discoverx.dao.DBRequest.sendRequest (512). Com.tansuosoft.discoverx.web.app.message.UrgeContext.init (96). Com.tansuosoft.discoverx.web.app.message.urgecontext.<init> (50). Com.tansuosoft.discoverx.web.app.message.UrgeContext.getInstance (107). Com.tansuosoft.discoverx.web.ContextListener.contextInitialized (113). Org.apache.catalina.core.StandardContext.listenerStart (5017). Org.apache.catalina.core.StandardContext.startInternal (5531). Org.apache.catalina.util.LifecycleBase.start (150) . org.apache.catalina.core.ContainerBase.addChildInternal (901).Org.apache.catalina.core.ContainerBase.addChild (877). Org.apache.catalina.core.StandardHost.addChild (652). Org.apache.catalina.startup.HostConfig.deployDescriptor (677). org.apache.catalina.startup.hostconfig$ Deploydescriptor.run (1912). Java.util.concurrent.executors$runnableadapter.call (511). Java.util.concurrent.FutureTask.run (266). Java.util.concurrent.ThreadPoolExecutor.runWorker (1142). Java.util.concurrent.threadpoolexecutor$worker.run (617). Java.lang.Thread.run (745). Info: Exception occurred while executing SQL statement:, Reason: Cannot Create JDBC driver of class ' for connect URL ' null ' September 07, 2015 4:36:04 pm com.tansuosoft.discoverx.dao.DBRequest sendreq uest Info: SQL execution Error: "Cannot create JDBC driver of class ' for connect URL ' null '", SQL statement = "Critical: Thrown" org.apache.tomcat.dbcp.dbcp. Sqlnestedexception "Exception: Cannot create JDBC driver of class ' for connect URL ' null ' Stack: org.apache.tomcat.dbcp.dbcp.BasicDataSource.createConnectionFactory (1452). Org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource (1371). Org.apache.tomcat.dbcp.dbcp.BasicDAtasource.getconnection (1044). Org.apache.catalina.core.StandardContext.listenerStart (5017). Org.apache.catalina.core.StandardContext.startInternal (5531). Org.apache.catalina.util.LifecycleBase.start (150) . org.apache.catalina.core.ContainerBase.addChildInternal (901). Org.apache.catalina.core.ContainerBase.addChild ( 877). Org.apache.catalina.core.StandardHost.addChild (652). Org.apache.catalina.startup.HostConfig.deployDescriptor (677). org.apache.catalina.startup.hostconfig$ Deploydescriptor.run (1912). Java.util.concurrent.executors$runnableadapter.call (511). Java.util.concurrent.FutureTask.run (266). Java.util.concurrent.ThreadPoolExecutor.runWorker (1142). Java.util.concurrent.threadpoolexecutor$worker.run (617). Java.lang.Thread.run (745). September 07, 2015 4:36:04 pm Org.apache.catalina.core.StandardContext listenerstart Severity: Exception sending context initialized event to listener Instance of class Com.tansuosoft.discoverx.web.ContextListenercommon.exception.DBException: Org.apache.tomcat.dbcp.dbcp.SQLNestedExcEption:cannot Create JDBC driver of class ' for connect URL ' null ' at org.apache.catalina.core.StandardContext.listenerSt Art (standardcontext.java:5017) at Org.apache.catalina.core.StandardContext.startInternal (Standardcontext.java : 5531) at Org.apache.catalina.util.LifecycleBase.start (lifecyclebase.java:150) at Org.apache.catalina.core.ContainerBase.addChildInternal (containerbase.java:901) at Org.apache.catalina.core.ContainerBase.addChild (containerbase.java:877) at Org.apache.catalina.core.StandardHost.addChild (standardhost.java:652) at Org.apache.catalina.startup.HostConfig.deployDescriptor (hostconfig.java:677) at Org.apache.catalina.startup.hostconfig$deploydescriptor.run (hostconfig.java:1912) at Java.util.concurrent.executors$runnableadapter.call (executors.java:511) at Java.util.concurrent.FutureTask.run ( futuretask.java:266) at Java.util.concurrent.ThreadPoolExecutor.runWorker (threadpoolexecutor.java:1142) at Java.util.concurrent.threadpoolexecutor$worker.run (threadpoolexecutor.java:617) at JaVa.lang.Thread.run (thread.java:745) caused by:org.apache.tomcat.dbcp.dbcp.SQLNestedException:Cannot create JDBC Driver of class ' for connect URLs ' null ' at Org.apache.tomcat.dbcp.dbcp.BasicDataSource.createConnectionFactory ( basicdatasource.java:1452) at Org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource (Basicdatasource.java : 1371) at Org.apache.tomcat.dbcp.dbcp.BasicDataSource.getConnection (basicdatasource.java:1044) ... morecaused By:java.sql.SQLException:No suitable Driverat java.sql.DriverManager.getDriver (drivermanager.java:315 ) at Org.apache.tomcat.dbcp.dbcp.BasicDataSource.createConnectionFactory (basicdatasource.java:1437) ... $ September 07, 2015 4:36:04 pm org.apache.catalina.core.StandardContext startinternal severity: One or more listeners failed to St Art. Full details would be found in the appropriate container log file September 07, 2015 4:36:04 pm org.apache.catalina.core.StandardCo ntext startinternal severity: Context [/osp] startup failed due to previous errors September 07, 2015 4:36:04 PM COM.tansuosoft.discoverx.web.contextlistener fireevent Info: Event handlers that trigger the "Onsystemshutdown" type: September 07, 2015 4:36:04 pm Com.tansuosoft.discoverx.db.Database ExecuteScalar Info: Exception occurred while executing SQL statement: Reason: Cannot create JDBC driver of class ' for connect U RL ' null ' critical: Thrown "org.apache.tomcat.dbcp.dbcp.SQLNestedException" exception: Cannot create JDBC driver of class ' for Connect URL ' Null ' stack: org.apache.tomcat.dbcp.dbcp.BasicDataSource.createConnectionFactory (1452). Org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource (1371). Org.apache.tomcat.dbcp.dbcp.BasicDataSource.getConnection (1044). Org.apache.catalina.core.StandardContext.listenerStop (5064). Org.apache.catalina.core.StandardContext.stopInternal (5726). Org.apache.catalina.util.LifecycleBase.stop (232). Org.apache.catalina.util.LifecycleBase.start (org.apache.catalina.core.ContainerBase.addChildInternal) (901) . Org.apache.catalina.core.ContainerBase.addChild (877). Org.apache.catalina.core.StandardHost.addChild (652). Org.apache.catalina.startup.HostConfig.deployDescrIptor (677). Org.apache.catalina.startup.hostconfig$deploydescriptor.run (1912). java.util.concurrent.executors$ Runnableadapter.call (511). Java.util.concurrent.FutureTask.run (266). Java.util.concurrent.ThreadPoolExecutor.runWorker (1142). Java.util.concurrent.threadpoolexecutor$worker.run (617 ). Java.lang.Thread.run (745). Info: Exception occurred while executing SQL statement: Reason: Cannot create JDBC driver of class ' for connect URL ' null ' critical: Thrown "Org.ap Ache.tomcat.dbcp.dbcp.SQLNestedException "Exception: Cannot create JDBC driver of class ' for connect URL ' null ' Stack: org.apache.tomcat.dbcp.dbcp.BasicDataSource.createConnectionFactory (1452). Org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource (1371). Org.apache.tomcat.dbcp.dbcp.BasicDataSource.getConnection (1044). Org.apache.catalina.core.StandardContext.listenerStop (5064). Org.apache.catalina.core.StandardContext.stopInternal (5726). Org.apache.catalina.util.LifecycleBase.stop (232). Org.apache.catalina.util.LifecycleBase.start (org.apache.catalina.core.ContainerBase.addChildInternal) (901) . oRg.apache.catalina.core.ContainerBase.addChild (877). Org.apache.catalina.core.StandardHost.addChild (652). Org.apache.catalina.startup.HostConfig.deployDescriptor (677). org.apache.catalina.startup.hostconfig$ Deploydescriptor.run (1912). Java.util.concurrent.executors$runnableadapter.call (511). Java.util.concurrent.FutureTask.run (266). Java.util.concurrent.ThreadPoolExecutor.runWorker (1142). Java.util.concurrent.threadpoolexecutor$worker.run (617). Java.lang.Thread.run (745). September 07, 2015 4:36:05 pm Com.tansuosoft.discoverx.web.ContextListener fireevent Critical: "Java.lang.RuntimeException" Exception thrown: unable to initialize " Totalaccesscount "corresponding self-growing serial number! Stack: Org.apache.catalina.core.StandardContext.listenerStop (5064). Org.apache.catalina.core.StandardContext.stopInternal (5726). Org.apache.catalina.util.LifecycleBase.stop (232). Org.apache.catalina.util.LifecycleBase.start (org.apache.catalina.core.ContainerBase.addChildInternal) (901) . Org.apache.catalina.core.ContainerBase.addChild (877). Org.apache.catalina.core.StandardHost.addChild (652). Org.apache.catalina.startup.HostConfig.deployDescriptor (677). org.apache.catalina.startup.hostconfig$ Deploydescriptor.run (1912). Java.util.concurrent.executors$runnableadapter.call (511). Java.util.concurrent.FutureTask.run (266). Java.util.concurrent.ThreadPoolExecutor.runWorker (1142). Java.util.concurrent.threadpoolexecutor$worker.run (617). Java.lang.Thread.run (745). Critical: Thrown out " Org.apache.tomcat.dbcp.dbcp.SQLNestedException "Exception: Cannot create JDBC driver of class ' for connect URL ' null ' Stack: org.apache.tomcat.dbcp.dbcp.BasicDataSource.createConnectionFactory (1452). Org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource (1371). Org.apache.tomcat.dbcp.dbcp.BasicDataSource.getConnection (1044). Org.apache.catalina.core.StandardContext.listenerStop (5064). Org.apache.catalina.core.StandardContext.stopInternal (5726). Org.apache.catalina.util.LifecycleBase.stop (232). Org.apache.catalina.util.LifecycleBase.start (org.apache.catalina.core.ContainerBase.addChildInternal) (901) . Org.apache.catalina.core.ContAinerbase.addchild (877). Org.apache.catalina.core.StandardHost.addChild (652). Org.apache.catalina.startup.HostConfig.deployDescriptor (677). org.apache.catalina.startup.hostconfig$ Deploydescriptor.run (1912). Java.util.concurrent.executors$runnableadapter.call (511). Java.util.concurrent.FutureTask.run (266). Java.util.concurrent.ThreadPoolExecutor.runWorker (1142). Java.util.concurrent.threadpoolexecutor$worker.run (617). Java.lang.Thread.run (745). Info: An exception occurred while executing the SQL statement: Reason: Cannot Create JDBC driver of class ' for connect URL ' null ' Information: SQL execution error: ' Cannot create JDBC driver of class ' for connect URL ' n Ull ' ", Critical: Throws a" org.apache.tomcat.dbcp.dbcp.SQLNestedException "exception: Cannot create JDBC driver of class ' for connect URL ' Nu ll ' Stack: org.apache.tomcat.dbcp.dbcp.BasicDataSource.createConnectionFactory (1452). Org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource (1371). Org.apache.tomcat.dbcp.dbcp.BasicDataSource.getConnection (1044). Org.apache.catalina.core.StandardContext.listenerStop (5064). Org.apache.catalina.Core. Standardcontext.stopinternal (5726). Org.apache.catalina.util.LifecycleBase.stop (232). Org.apache.catalina.util.LifecycleBase.start (org.apache.catalina.core.ContainerBase.addChildInternal) (901) . Org.apache.catalina.core.ContainerBase.addChild (877). Org.apache.catalina.core.StandardHost.addChild (652). Org.apache.catalina.startup.HostConfig.deployDescriptor (677). org.apache.catalina.startup.hostconfig$ Deploydescriptor.run (1912). Java.util.concurrent.executors$runnableadapter.call (511). Java.util.concurrent.FutureTask.run (266). Java.util.concurrent.ThreadPoolExecutor.runWorker (1142). Java.util.concurrent.threadpoolexecutor$worker.run (617). Java.lang.Thread.run (745). September 07, 2015 4:36:05 pm Org.apache.catalina.core.StandardContext listenerstop Severity: Exception sending context destroyed event to listener instance of class Com.tansuosoft.discoverx.web.ContextListenercommon.exception.DBException: Org.apache.tomcat.dbcp.dbcp.SQLNestedException:Cannot Create JDBC driver of class ' for connect URL ' nulL ' at org.apache.catalina.core.StandardContext.stopInternal (standardcontext.java:5726) at Org.apache.catalina.util.LifecycleBase.stop (lifecyclebase.java:232) at Org.apache.catalina.util.LifecycleBase.start (lifecyclebase.java:160) at Org.apache.catalina.core.ContainerBase.addChildInternal (containerbase.java:901) at Org.apache.catalina.core.ContainerBase.addChild (containerbase.java:877) at Org.apache.catalina.core.StandardHost.addChild (standardhost.java:652) at Org.apache.catalina.startup.HostConfig.deployDescriptor (hostconfig.java:677) at Org.apache.catalina.startup.hostconfig$deploydescriptor.run (hostconfig.java:1912) at Java.util.concurrent.executors$runnableadapter.call (executors.java:511) at Java.util.concurrent.FutureTask.run ( futuretask.java:266) at Java.util.concurrent.ThreadPoolExecutor.runWorker (threadpoolexecutor.java:1142) at Java.util.concurrent.threadpoolexecutor$worker.run (threadpoolexecutor.java:617) at Java.lang.Thread.run ( thread.java:745) caused by:org.apache.tomcat.dbcp.dbcp.SQLNestEdexception:cannot Create JDBC driver of class ' for connect URL ' null ' at ORG.APACHE.TOMCAT.DBCP.DBCP.BASICDATASOURCE.CR Eateconnectionfactory (basicdatasource.java:1452) at Org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource (basicdatasource.java:1371) at Org.apache.tomcat.dbcp.dbcp.BasicDataSource.getConnection (Basicdatasource.java : 1044) ... morecaused By:java.sql.SQLException:No suitable Driverat java.sql.DriverManager.getDriver (drivermanager.java:315 ) at Org.apache.tomcat.dbcp.dbcp.BasicDataSource.createConnectionFactory (basicdatasource.java:1437) ... More than September 07, 2015 4:36:05 pm org.apache.catalina.startup.HostConfig deploydescriptor Info: Deployment of configuration desc Riptor E:\apache-tomcat-7.0.63\conf\Catalina\localhost\osa.xml have finished in 5,836 MS
2. Cause of Error
When the MySQL database is connected, the database driver and MySQL connection path, account number and password are all empty resulting in an error.
3. Solutions
Configure database driver, account, password, and database connection paths in the configuration file
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
Cannot create JDBC driver of class ' for connect URL ' null '