我厭倦了在WSO2 6.1.0上部署示例twitter連接器。一旦壓縮文件上傳,我會得到文件上傳成功的消息刷新頁面查看連接器,但連接器列表不顯示連接器。無法在WSO2 6.1.0上部署twitter連接器
在系統日誌我看到以下錯誤
TID [-1234] [EI] [2017年5月17日12:40:03321] ERROR {org.apache.synapse.deployers.LibraryArtifactDeployer} - 部署synapse artifact在C:\ WSO2 Enterprise Integrator \ wso2ei-6.1.0 \ wso2ei-6.1.0 \ repository \ deployment \ server \ synapse-libs \ twitter-connector-1.0.0.zip中失敗:while提取Synapse庫:twitter-connector-1.0.0.zip org.apache.synapse.libraries.util.LibDeployerUtils.extractSynapseLib(LibDeployerUtils.java:426)org.apache.synapse.libraries.util.LibDeployerUtils.createSynapseLibrary(LibDeployerUtils.java :65)org.apache.synapse.deployers.LibraryArtifactDeployer.deploy(LibraryArtifactDeployer.java:60)org.apache.axis2.deployment.repository.util.DeploymentFileData.de ploy(DeploymentFileData.java:136)org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:807)org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144)org。 apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:377)org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254)org.apache.axis2.deployment.RepositoryListener.startListener(RepositoryListener.java: 371)org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(SchedulerTask.java:59)org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask.java:67)org.wso2.carbon.core。部署.CarbonDeploymentSchedulerTask.runAxisDeployment(CarbonDeploymentSchedulerTask.java:93)org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.run(CarbonDeploymentSchedulerTask.java:138)java.util.concurrent.Executors $ RunnableAdapter.call(Executors.java:511) java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)java.ut (ScheduledThreadPoolExecutor.java:180)java.util.concurrent.ScheduledThreadPoolExecutor $ ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) )java.util.concurrent.ThreadPoolExecutor $ Worker.run(ThreadPoolExecutor.java:617)java.lang.Thread.run(Thread.java:745)
我試着建立twitter-connector-1.0.0和2.0。 0。爲1.0.0
`<?xml version="1.0" encoding="UTF-8"?>
<connector>
<component name="twitter" package="org.wso2.carbon.connector">
<dependency component="twitter_config" />
<dependency component="twitter_search" />
<dependency component="twitter_tweets" />
<dependency component="twitter_trends" />
<dependency component="twitter_user" />
<dependency component="twitter_timeline" />
<dependency component="twitter_direct_messages" />
<dependency component="twitter_friends_followers" />
<description>synapse library for twitter connector</description>
</component>
<icon>icon/icon-twitter-small.png</icon>
</connector>
`
連接器文件 連接器文件2.0.0
<connector>
<component name="twitter" package="org.wso2.carbon.connectors">
<dependency component="twitter_config" />
<dependency component="twitter_friends_followers" />
<dependency component="twitter-account"/>
<dependency component="twitter-blocks"/>
<dependency component="twitter-directMessages"/>
<dependency component="twitter-favorites"/>
<dependency component="twitter-help"/>
<dependency component="twitter-lists"/>
<dependency component="twitter-search"/>
<dependency component="twitter-statuses"/>
<dependency component="twitter-trends"/>
<dependency component="twitter-users"/>
<dependency component="twitter-tweets"/>
<description>synapse library for twitter connector</description>
</component>
<icon>icon/icon-twitter-small.png</icon>
</connector>
嗨,請分享你的connector.xml文件 –
爲什麼你不試試從商店的新版本https://store.wso2.com/store/assets/esbconnector/details/e916c772-49b1-44ad-a051-539ee44dd673 –
已更新帖子以包含連接器文件。我也嘗試從商店連接器不起作用。我看到了同樣的行爲。 – Rahul