incubator-cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sailaja Mada (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CLOUDSTACK-93) Management server failed start with java.sql.SQLException:No suitable driver found for jdbc:mysql:
Date Thu, 13 Sep 2012 11:41:07 GMT

     [ https://issues.apache.org/jira/browse/CLOUDSTACK-93?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sailaja Mada updated CLOUDSTACK-93:
-----------------------------------

    Attachment: management-server.log
    
> Management server failed start with java.sql.SQLException:No suitable driver found for
jdbc:mysql:
> --------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-93
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-93
>             Project: CloudStack
>          Issue Type: Bug
>          Components: Install and Setup
>    Affects Versions: pre-4.0.0
>            Reporter: Sailaja Mada
>            Priority: Critical
>         Attachments: management-server.log
>
>
> Setup : RHEL 6.3 Management Server Platform ,
> Build : Tried with below builds :
> 1. http://jenkins.cloudstack.org/job/build-cloudstack-4.0-rhel6.3/lastSuccessfulBuild/artifact/CloudStack-oss-4.0.12-rhel6.3.tar.gz

> 2. http://jenkins.cloudstack.org/job/build-cloudstack-4.0/lastSuccessfulBuild/artifact/CloudStack-oss-4.0.69-rhel6.3.tar.gz
> Steps:
> 1. Install Management server 
> 2. Install DB
> 3. Set password to DB root user
> 4. Setup DB with cloud-setup-databases
> 5. Setup Cloud Management 
> Verify the log for the management server status:  Management server failed start
> 2012-09-13 16:37:31,980 INFO  [utils.component.ComponentLocator] (main:null) Adding system
integrity checker: DatabaseUpgradeChecker
> 2012-09-13 16:37:32,059 DEBUG [utils.crypt.EncryptionSecretKeyChecker] (main:null) Encryption
Type: file
> 2012-09-13 16:37:32,208 INFO  [cloud.upgrade.DatabaseIntegrityChecker] (main:null) Grabbing
lock to check for database integrity.
> 2012-09-13 16:37:32,342 ERROR [db.Transaction.Transaction] (main:null) Unexpected exception:
> java.sql.SQLException: No suitable driver found for jdbc:mysql://localhost:3306/cloud?autoReconnect=true&prepStmtCacheSize=517&cachePrepStmts=true
>         at java.sql.DriverManager.getConnection(DriverManager.java:640)
>         at java.sql.DriverManager.getConnection(DriverManager.java:200)
>         at org.apache.commons.dbcp.DriverManagerConnectionFactory.createConnection(DriverManagerConnectionFactory.java:48)
>         at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:290)
>         at org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:840)
>         at org.apache.commons.dbcp.PoolingDataSource.getConnection(PoolingDataSource.java:95)
>         at com.cloud.utils.db.Transaction.getStandaloneConnectionWithException(Transaction.java:199)
>         at com.cloud.utils.db.Transaction.getStandaloneConnection(Transaction.java:208)
>         at com.cloud.utils.db.DbUtil.getConnectionForGlobalLocks(DbUtil.java:58)
>         at com.cloud.utils.db.DbUtil.getGlobalLock(DbUtil.java:203)
>         at com.cloud.utils.db.GlobalLock.lock(GlobalLock.java:151)
>         at com.cloud.upgrade.DatabaseIntegrityChecker.check(DatabaseIntegrityChecker.java:228)
>         at com.cloud.utils.component.ComponentLocator.runCheckers(ComponentLocator.java:273)
>         at com.cloud.utils.component.ComponentLocator.parse(ComponentLocator.java:245)
>         at com.cloud.utils.component.ComponentLocator.getLocatorInternal(ComponentLocator.java:836)
>         at com.cloud.utils.component.ComponentLocator.getLocator(ComponentLocator.java:874)
>         at com.cloud.utils.component.ComponentLocator.getComponent(ComponentLocator.java:416)
>         at com.cloud.utils.component.ComponentLocator.getComponent(ComponentLocator.java:409)
>         at com.cloud.servlet.CloudStartupServlet.init(CloudStartupServlet.java:44)
>         at javax.servlet.GenericServlet.init(GenericServlet.java:212)
>         at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1173)
>         at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:993)
>         at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4187)
>         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4496)
>         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:526)
>         at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1041)
>         at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:964)
>         at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)
>         at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)
>         at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)
>         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
>         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
>         at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)
>         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:593)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:616)
> at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
>         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
> 2012-09-13 16:37:32,348 ERROR [utils.db.DbUtil] (main:null) Unable to acquire DB connection
for global lock system
> 2012-09-13 16:37:32,356 ERROR [utils.component.ComponentLocator] (main:null) Problems
with running checker:DatabaseIntegrityChecker
> com.cloud.utils.exception.CloudRuntimeException: Unable to acquire lock to check for
database integrity.
>         at com.cloud.upgrade.DatabaseIntegrityChecker.check(DatabaseIntegrityChecker.java:229)
>         at com.cloud.utils.component.ComponentLocator.runCheckers(ComponentLocator.java:273)
>         at com.cloud.utils.component.ComponentLocator.parse(ComponentLocator.java:245)
>         at com.cloud.utils.component.ComponentLocator.getLocatorInternal(ComponentLocator.java:836)
>         at com.cloud.utils.component.ComponentLocator.getLocator(ComponentLocator.java:874)
>         at com.cloud.utils.component.ComponentLocator.getComponent(ComponentLocator.java:416)
>         at com.cloud.utils.component.ComponentLocator.getComponent(ComponentLocator.java:409)
>         at com.cloud.servlet.CloudStartupServlet.init(CloudStartupServlet.java:44)
>         at javax.servlet.GenericServlet.init(GenericServlet.java:212)
>         at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1173)
>         at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:993)
>         at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4187)
>         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4496)
>         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:526)
>         at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1041)
>         at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:964)
>         at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)
>         at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)
>         at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)
>         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
>         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
>         at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)
>         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:593)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:616)
>         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
>         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message