2016-04-26 48 views
1

將Amazon s3連接器zip(https://store.wso2.com/store/assets/esbconnector/8d95de41-91ee-44b4-a428-81f71d523643)上傳到esb時,我得到帶引號的堆棧跟蹤,並且未添加連接器。我已經嘗試了這兩個乾淨的v4.8.1和一個v4.9.0,都給出了相同的錯誤。將s3連接器上傳到WSO2ESB時部署失敗

任何人都有任何想法是什麼問題/如何解決它?

[2016-04-26 17:20:51,424] ERROR - LibraryArtifactDeployer Deployment of synapse 
artifact failed for synapse libray at : -ESB LOCATION-\repository\deployment\server\synapse-libs\amazons3-connec 
tor-1.0.0.zip : Error when resolving Dependencies for lib : {org.wso2.carbon.con 
nector}amazons3 
org.apache.synapse.deployers.SynapseArtifactDeploymentException: Error when reso 
lving Dependencies for lib : {org.wso2.carbon.connector}amazons3 
     at org.apache.synapse.libraries.util.LibDeployerUtils.searchAndResolveDe 
pendencies(LibDeployerUtils.java:244) 
     at org.apache.synapse.libraries.util.LibDeployerUtils.createSynapseLibra 
ry(LibDeployerUtils.java:80) 
     at org.apache.synapse.deployers.LibraryArtifactDeployer.deploy(LibraryAr 
tifactDeployer.java:60) 
     at org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy 
(DeploymentFileData.java:136) 
     at org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngin 
e.java:807) 
     at org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoL 
ist.java:144) 
     at org.apache.axis2.deployment.RepositoryListener.update(RepositoryListe 
ner.java:377) 
     at org.apache.axis2.deployment.RepositoryListener.checkServices(Reposito 
ryListener.java:254) 
     at org.apache.axis2.deployment.RepositoryListener.startListener(Reposito 
ryListener.java:371) 
     at org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(S 
chedulerTask.java:59) 
     at org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask 
.java:67) 
     at org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.runAxis 
Deployment(CarbonDeploymentSchedulerTask.java:93) 
     at org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.run(Car 
bonDeploymentSchedulerTask.java:138) 
     at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) 
     at java.util.concurrent.FutureTask.runAndReset(Unknown Source) 
     at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask. 
access$301(Unknown Source) 
     at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask. 
run(Unknown Source) 
     at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) 
     at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) 
     at java.lang.Thread.run(Unknown Source) 

回答

0

我覺得這是從商店的網站,你可以通過編譯代碼here得到連接器的zip一個小bug。這對我來說很好。

[2016-04-27 22:43:17,557] INFO - LibraryArtifactDeployer Synapse Library named '{org.wso2.carbon.connector}amazons3' has been deployed from file : /home/rajjaz/Documents/wso2esb-4.9.0/repository/deployment/server/synapse-libs/amazons3-connector-1.0.1-SNAPSHOT.zip 
[2016-04-27 22:43:20,621] INFO - SynapseImportFactory Successfully created Synapse Import: amazons3 
+0

可悲的是,這並不適用於我。你是什​​麼意思的瓶子btw?因爲如果你想添加一個連接器,你需要上傳一個zip(不包含jar)http://i.imgur.com/Nwq32b3.png。或者你以不同的方式做到這一點?另外請注意,我可以部署其他連接器,而不是這個連接器。 – user2405591

+0

對不起,它的zip文件不是罐子 –

+0

好的,謝謝,我通過從源代碼構建它來實現它。 – user2405591