尝试执行迁移命令时:
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是嵌入式的,并且在迁移过程中,橡树期待德比服务器启动并运行;
请提供有关迁移选项的建议。
注意:在jackrabbit论坛中也要求同样的问题,但是没有回应。