[
http://opencast.jira.com/browse/MH-6749?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=24718#comment-24718
]
Josh Holtzman commented on MH-6749:
-----------------------------------
This happens when the matterhorn-db bundle starts, asks for a database
connection to ensure that connections can be made, and the database server does
not provide a connection before the timeout. The bundle therefore throws an
exception and fails to start.
Fileinstall will find the matterhorn-db bundle on the next scan, and since the
bundle was not started on the last scan, Fileinstall will try to start the
bundle again. If the database server is able to provide a connection this
time, the bundle will start, and any other bundles depending on a datasource
(e.g. JPA, and everything that uses it) will also start. This is the story
that the log snippet above is telling.
With the exception of your mysql server not providing a connection in a timely
manner, this seems like the right behavior to me. RĂ¼diger, do you want to try
changing the settings on ComboPooledDataSource in
org.opencastproject.db.Activator to increase the timeout? Other than reducing
mysql's latency, I'm not sure what else can be done.
> 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]
_______________________________________________