不要在wso2 api manager中通过svn进行同步

时间:2014-02-24 12:28:44

标签: svn wso2

我创建了svn-repository:# svnadmin create apigw,

存储库可用,并且API管理器在存储库中创建了一个空目录。

# svn co svn://repo-server/apigw
A    apigw/-1234
Checked out revision 1.

# ll /opt/wso2am/repository/components/lib/trilead_ssh2_1.0.0_build215_1.0.0.jar
-rw-r--r-- 1 root root 227983 фев 21 17:41
/opt/wso2am/repository/components/lib/trilead_ssh2_1.0.0_build215_1.0.0.jar

# ll /opt/wso2am/repository/components/dropins/svnkit-bundle-1.0.0.jar 
-rw-r--r-- 1 root root 2954568 фев 24 15:23
opt/wso2am/repository/components/dropins/svnkit-bundle-1.0.0.jar

但是同步不起作用。 wso2carbon.log中有一些错误:

  

TID:[0] [AM] [2014-02-24 16:21:44,104] ERROR {org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask} - 租户-1234的部署同步提交失败

     

{org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask}   java.lang.RuntimeException:org.wso2.carbon.deployment.synchronizer.DeploymentSynchronizerException:将工件提交到SVN存储库时出错           at org.wso2.carbon.deployment.synchronizer.internal.DeploymentSynchronizerServiceImpl.commit(DeploymentSynchronizerServiceImpl.java:116)           在org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.deploymentSyncCommit(CarbonDeploymentSchedulerTask.java:173)           在org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.run(CarbonDeploymentSchedulerTask.java:114)           at java.util.concurrent.Executors $ RunnableAdapter.call(Executors.java:471)           at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)           at java.util.concurrent.ScheduledThreadPoolExecutor $ ScheduledFutureTask.access $ 301(ScheduledThreadPoolExecutor.java:178)           at java.util.concurrent.ScheduledThreadPoolExecutor $ ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)           在java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)           at java.util.concurrent.ThreadPoolExecutor $ Worker.run(ThreadPoolExecutor.java:615)           在java.lang.Thread.run(Thread.java:744)

     

引起:org.wso2.carbon.deployment.synchronizer.DeploymentSynchronizerException:将工件提交到SVN存储库时出错           at org.wso2.carbon.deployment.synchronizer.subversion.SVNBasedArtifactRepository.handleException(SVNBasedArtifactRepository.java:744)           at org.wso2.carbon.deployment.synchronizer.subversion.SVNBasedArtifactRepository.commit(SVNBasedArtifactRepository.java:365)           在org.wso2.carbon.deployment.synchronizer.internal.DeploymentSynchronizer.commit(DeploymentSynchronizer.java:145)           在org.wso2.carbon.deployment.synchronizer.internal.DeploymentSynchronizerServiceImpl.commit(DeploymentSynchronizerServiceImpl.java:114)           ... 9更多

     

引起:org.tigris.subversion.svnclientadapter.SVNClientException:org.tigris.subversion.javahl.ClientException:svn:'/ opt / wso2am / repository / deployment / server'不是工作副本           at org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter.cleanup(AbstractJhlClientAdapter.java:2069)           at org.wso2.carbon.deployment.synchronizer.subversion.SVNBasedArtifactRepository.commit(SVNBasedArtifactRepository.java:339)           ......还有11个

     

引起:org.tigris.subversion.javahl.ClientException:svn:'/ opt / wso2am / repository / deployment / server'不是工作副本           at org.tigris.subversion.javahl.JavaHLObjectFactory.throwException(JavaHLObjectFactory.java:777)           at org.tmatesoft.svn.core.javahl.SVNClientImpl.throwException(SVNClientImpl.java:1850)           在org.tmatesoft.svn.core.javahl.SVNClientImpl.cleanup(SVNClientImpl.java:863)           at org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter.cleanup(AbstractJhlClientAdapter.java:2066)           ......还有12个

     

引起:org.tmatesoft.svn.core.SVNException:svn:'/ opt / wso2am / repository / deployment / server'不是工作副本           在org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:64)           在org.tmatesoft.svn.core.internal.wc.admin.SVNAdminAreaFactory.open(SVNAdminAreaFactory.java:163)           at org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.doOpen(SVNWCAccess.java:364)           在org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.open(SVNWCAccess.java:272)           在org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.open(SVNWCAccess.java:265)           at org.tmatesoft.svn.core.wc.SVNWCClient.doCleanup(SVNWCClient.java:521)           在org.tmatesoft.svn.core.wc.SVNWCClient.doCleanup(SVNWCClient.java:480)           在org.tmatesoft.svn.core.javahl.SVNClientImpl.cleanup(SVNClientImpl.java:861)

1 个答案:

答案 0 :(得分:0)

如果使用java-libs svnkit-bundle,基于WSO2 SVN的Deployment Synchronizer不使用subversion-1.7.13并使用subversion-1.6.11。 但它通过本机系统颠覆工作1.7。*