尝试执行迁移命令时:
java -jar oak-upgrade-1.4.1.jar D:/data/temp/jackrabbit mongodb://localhost:27017/oak
产生未能复制内容错误;
在 repository.xml 参考是:
<PersistenceManager class="org.apache.jackrabbit.core.persistence.pool.DerbyPersistenceManager">
<param name="url" value="jdbc:derby:D:/data/jackrabbit/workspaces/default/db;create=true"/>
<param name="schemaObjectPrefix" value="default_"/>
<param name="bundleCacheSize" value="256"/>
<param name="consistencyCheck" value="false"/>
<param name="minBlobSize" value="16384"/>
<param name="driver" value="org.apache.derby.jdbc.EmbeddedDriver"/>
<param name="user" value=""/>
<param name="password" value=""/>
<param name="errorHandling" value=""/>
<param name="derbyStorageInitialPages" value="32"/>
<param name="derbyStorageMinimumRecordSize" value="256"/>
<param name="derbyStoragePageCacheSize" value="4096"/>
<param name="derbyStoragePageReservedSpace" value="40"/>
<param name="derbyStoragePageSize" value="32768"/>
</PersistenceManager>
由于 Derby 是嵌入的并且在迁移期间,oak 期望 derby 服务器启动并运行;
请就迁移选项提出建议。
注意:在jackrabbit论坛上也提出了同样的问题,但没有回应。