In your position I'd triple check my JDBC settings
org.opencastproject.db.jdbc.url=$ org.opencastproject.db.jdbc.user=$ org.opencastproject.db.jdbc.pass=$ I've seen hidden and/or blank characters in the properties files preventing MH to run properly while for example counting a trailing empty character as part of user name or password. J. On Apr 3, 2012, at 9:05 AM, Leszek Zieleznik wrote: > > For some reason I can not connect to the MySQL database and I am getting the > error message at MH startup as below. > The installation is done on Ubuntu 10.10, MH rel. 1.3 and MySQL ver 5.1.61 > for Ubuntu (server + client). > MySQL was installed following instruction on the: > http://opencast.jira.com/wiki/display/MHDOC/Configure+Matterhorn+Database+v1.3 > I can access the MySQL and see matterhorn database from the terminal as a > root and as matterhornclient. > > Any suggestion what could possible be wrong? > > Leslaw > > > 16:16:13 ERROR (Activator:100) - Connection attempt to > jdbc:mysql://localhost/matterhorn failed > 16:16:13 ERROR (Activator:101) - Exception: > java.sql.SQLException: Connections could not be acquired from the underlying > database! > at com.mchange.v2.sql.SqlUtils.toSQLException(SqlUtils.java:106) > at > com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:529) > at > com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.getConnection(AbstractPoolBackedDataSource.java:128) > at org.opencastproject.db.Activator.start(Activator.java:97) > at > org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:629) > at org.apache.felix.framework.Felix.activateBundle(Felix.java:1904) > at org.apache.felix.framework.Felix.startBundle(Felix.java:1822) > at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:927) > at > org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:1175) > at > org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:1153) > at > org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:458) > at > org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:263) > Caused by: com.mchange.v2.resourcepool.CannotAcquireResourceException: A > ResourcePool could not acquire a resource from its primary factory or source. > at > com.mchange.v2.resourcepool.BasicResourcePool.awaitAvailable(BasicResourcePool.java:1319) > at > com.mchange.v2.resourcepool.BasicResourcePool.prelimCheckoutResource(BasicResourcePool.java:557) > at > com.mchange.v2.resourcepool.BasicResourcePool.checkoutResource(BasicResourcePool.java:477) > at > com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:525) > ... 10 more > > > _______________________________________________ > Matterhorn-users mailing list > [email protected] > http://lists.opencastproject.org/mailman/listinfo/matterhorn-users _______________________________________________ Matterhorn-users mailing list [email protected] http://lists.opencastproject.org/mailman/listinfo/matterhorn-users
