[
http://opencast.jira.com/browse/MH-6749?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=24326#comment-24326
]
Josh Holtzman edited comment on MH-6749 at 2/11/11 11:53 AM:
-------------------------------------------------------------
RĂ¼diger, if I'm reading the log correctly, the connection pool was initially
unable to borrow a database connection, so it failed to start. Then, when the
bundle was started again, it was able to connect to the database. The other
services depending on the database seem to have started as well, so in the end,
this appears to be an infrastructure problem (and a cosmetic logging problem).
Can you try changing the connection pool settings in
org.opencastproject.db.Activator.java ? Perhaps asking for fewer initial
connections might fix this? For example:
pooledDataSource.setInitialPoolSize(1);
pooledDataSource.setMinPoolSize(1);
See http://www.mchange.com/projects/c3p0/index.html for more configuration
options.
was (Author: jholtzman):
RĂ¼diger, if I'm reading the log correctly, the connection pool was
initially unable to borrow a database connection, so it failed to start. Then,
when the bundle was started again, it was able to connect to the database. The
other services depending on the database seem to have started as well, so in
the end, this appears to be an infrastructure problem (and a cosmetic logging
problem).
Can you try changing the connection pool settings in
org.opencastproject.db.Activator.java ? Perhaps asking for fewer initial
connections might fix this? For example:
pooledDataSource.setInitialPoolSize(1);
pooledDataSource.setMinPoolSize(1);
See http://www.mchange.com/projects/c3p0/index.html#initialPoolSize for more
configuration options.
> startup error on worker server: Connection attempt to mysql-db failed
> ---------------------------------------------------------------------
>
> Key: MH-6749
> URL: http://opencast.jira.com/browse/MH-6749
> Project: Matterhorn Project
> Issue Type: Bug
> Components: Architecture & Services
> Affects Versions: 1.1
> Reporter: Ruediger Rolf
> Assignee: Ruediger Rolf
>
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
Matterhorn mailing list
[email protected]
http://lists.opencastproject.org/mailman/listinfo/matterhorn
To unsubscribe please email
[email protected]
_______________________________________________