2016-11-09 70 views
2

我在Windows筆記本電腦上安裝了帶分析功能的wso2 API Manager。 我得到下面的異常,當我運行該批處理文件wso2具有分析功能的API Manager

TID: [-1234] [] [2016-11-08 20:31:02,357] INFO {org.wso2.carbon.analytics.spark.core.SparkScriptCAppDeployer} - Deploying spark script: APIM_LAST_ACCESS_TIME_SCRIPT.xml for tenant : -1234 {org.wso2.carbon.analytics.spark.core.SparkScriptCAppDeployer} 
TID: [-1234] [] [2016-11-08 20:31:02,473] INFO {org.wso2.carbon.ntask.core.impl.AbstractQuartzTaskManager} - Task scheduled: [-1234][ANALYTICS_SPARK][APIM_LAST_ACCESS_TIME_SCRIPT] {org.wso2.carbon.ntask.core.impl.AbstractQuartzTaskManager} 
TID: [-1234] [] [2016-11-08 20:31:02,478] ERROR {org.wso2.carbon.application.deployer.internal.ApplicationManager} - Error while deploying stored cApp : org.wso2.carbon.appl[email protected]74bf5355 {org.wso2.carbon.application.deployer.internal.ApplicationManager} 
java.lang.RuntimeException: Invalid input path generated, the input cannot contain backtracking path elements 
    at org.wso2.carbon.analytics.datasource.core.util.GenericUtils.checkAndReturnPath(GenericUtils.java:787) 
    at org.wso2.carbon.analytics.dataservice.core.AnalyticsDataPurgingDeployer.registerPurgingTasks(AnalyticsDataPurgingDeployer.java:147) 
    at org.wso2.carbon.analytics.dataservice.core.AnalyticsDataPurgingDeployer.deployArtifacts(AnalyticsDataPurgingDeployer.java:79) 
    at org.wso2.carbon.application.deployer.internal.ApplicationManager.deployCarbonApp(ApplicationManager.java:263) 
    at org.wso2.carbon.application.deployer.internal.ApplicationManager.tryDeployPendingCarbonApps(ApplicationManager.java:131) 
    at org.wso2.carbon.application.deployer.internal.ApplicationManager.registerDeploymentHandler(ApplicationManager.java:122) 
    at org.wso2.carbon.application.deployer.internal.AppDeployerServiceComponent.setAppHandler(AppDeployerServiceComponent.java:153) 
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) 
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 
    at java.lang.reflect.Method.invoke(Method.java:606) 
    at org.eclipse.equinox.internal.ds.model.ComponentReference.bind(ComponentReference.java:376) 
    at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.bindReference(ServiceComponentProp.java:444) 
    at org.eclipse.equinox.internal.ds.InstanceProcess.dynamicBind(InstanceProcess.java:416) 
    at org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:334) 
    at org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222) 
    at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107) 
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861) 
    at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) 
    at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148) 
    at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819) 
    at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771) 
    at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130) 
    at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214) 
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433) 
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:451) 

第二次,我試圖wso2server.bat -Dsetup和我仍然得到同樣的問題。

這是已知問題嗎?如何解決這個問題。

+0

請發佈您的整個錯誤跟蹤。 – Bee

+0

更新了原始請求中的日誌 – user2913809

+0

我認爲這是wso2 api管理器中的一個錯誤,包含分析 – user2913809

回答

0

這是APIM-分析一個已知的問題在Windows Server。 DAS 3.1.0中的相同問題是fixed,但不在APIM-Analytics 2.0.0中。

但是,你有3種選擇,以擺脫這一點。

1)使用DAS 3.1.0,而不是APIM式分析服務器,並configure it for APIM analytics。然後你可以在其中安裝汽車文件。

2)通過註釋掉車文件中的./artifacts.xml<!-- purging -->部分禁用清除。請注意,禁用清除會隨着時間積累數據。

3)使用API​​管理器的在線版本 - WSO2 API Cloud - 不具有這個問題。