You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2009/01/09 09:01:59 UTC

[jira] Resolved: (SMX4KNL-163) Provide default jdbc lock impl for master/slave deployments

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

Guillaume Nodet resolved SMX4KNL-163.
-------------------------------------

    Resolution: Fixed

Adding         main/src/main/java/org/apache/servicemix/kernel/main/DefaultJDBCLock.java
Sending        main/src/main/java/org/apache/servicemix/kernel/main/Lock.java
Adding         main/src/main/java/org/apache/servicemix/kernel/main/LockMonitor.java
Sending        main/src/main/java/org/apache/servicemix/kernel/main/Main.java
Sending        main/src/main/java/org/apache/servicemix/kernel/main/SimpleFileLock.java
Adding         main/src/main/java/org/apache/servicemix/kernel/main/Statements.java
Transmitting file data ......
Committed revision 732947.

Thanks a lot for this awesome patch, Jamie!
Would you mind taking a few minutes and add some documentation about that in the ServiceMix Kernel's User's Guide ?

> Provide default jdbc lock impl for master/slave deployments
> -----------------------------------------------------------
>
>                 Key: SMX4KNL-163
>                 URL: https://issues.apache.org/activemq/browse/SMX4KNL-163
>             Project: ServiceMix Kernel
>          Issue Type: New Feature
>         Environment: All
>            Reporter: Jamie Goodyear
>            Assignee: Jamie Goodyear
>             Fix For: 1.1.0
>
>         Attachments: for-discussion-only.txt, smx4knl-163.txt, smx4knl-163a.txt, smx4knl-163b.txt
>
>
> Provide default jdbc lock impl for master/slave deployments.
> From note on SMX4KNL-106:
> By default, a file based locking mechanism is used. There is an interface that can be implemented to allow other locking mechanisms such as JDBC. This would require setting a system property for the class name of the lock (it can be done in etc/system.properties) and changing the shell script to add the needed jars to the boot classpath.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.