On 11/17/06, wendy Lee <[EMAIL PROTECTED]> wrote:
Any one can help me how to config the parameter of MySql autoReconnect in
> Jackrabbit.Thank you!
>



you just have to append "?autoReconnect=true" to the jdbc url in your
repository.xml/workpsace.xml.

The following is a fragment from a sample configuration using MySQL:

    <PersistenceManager
class="org.apache.jackrabbit.core.persistence.db.SimpleDbPersistenceManager">
        <param name="driver" value="com.mysql.jdbc.Driver"/>
        <param name="url" value="jdbc:mysql:///test?autoReconnect=true"/>
        <param name="schema" value="mysql"/>
        <param name="schemaObjectPrefix" value="${wsp.name}_"/>
        <param name="externalBLOBs" value="false"/>
    </PersistenceManager>


cheers
stefan

Reply via email to