0
我正在試驗WSO2AM的升級過程,因此我在新機器上部署了版本1.10.0,創建併發布了一個簡單的API(一種POST方法),並且然後按照here所述的升級說明進行操作。WSO2AM 2.1.0無法從1.10.0加載API XML
然而,啓動時2.1.0(在鏈接「升級API管理器2.1.0」,步驟4b)在給定的順序,每次我得到以下錯誤:
[2017-04-02 16:53:33,051] ERROR - ClassMediatorFactory Error loading class : org.wso2.carbon.apimgt.usage.publisher.APIMgtResponseHandler - Class not found
java.lang.ClassNotFoundException: org.wso2.carbon.apimgt.usage.publisher.APIMgtResponseHandler cannot be found by synapse-core_2.1.7.wso2v10
<long stack trace here, let me know if it's of any value>
[2017-04-02 16:53:33,056] ERROR - ApiDeployer API deployment from the file : /home/gabel/wso2am-2.1.0/repository/deployment/server/synapse-configs/default/api/admin--VPP_REST_v1.0.xml : Failed.
org.apache.synapse.SynapseException: Error loading class : org.wso2.carbon.apimgt.usage.publisher.APIMgtResponseHandler - Class not found
<long stack trace here, let me know if it's of any value>
[2017-04-02 16:53:33,062] ERROR - AbstractSynapseArtifactDeployer Deployment of the Synapse Artifact from file : /home/gabel/wso2am-2.1.0/repository/deployment/server/synapse-configs/default/api/admin--VPP_REST_v1.0.xml : Failed!
org.apache.synapse.deployers.SynapseArtifactDeploymentException: API deployment from the file : /home/gabel/wso2am-2.1.0/repository/deployment/server/synapse-configs/default/api/admin--VPP_REST_v1.0.xml : Failed.
<long stack trace here, let me know if it's of any value>
[2017-04-02 16:53:33,067] INFO - AbstractSynapseArtifactDeployer The file has been backed up into : NO_BACKUP_ON_WORKER.INFO
[2017-04-02 16:53:33,067] ERROR - AbstractSynapseArtifactDeployer Deployment of synapse artifact failed. Error reading /home/gabel/wso2am-2.1.0/repository/deployment/server/synapse-configs/default/api/admin--VPP_REST_v1.0.xml : API deployment from the file : /home/gabel/wso2am-2.1.0/repository/deployment/server/synapse-configs/default/api/admin--VPP_REST_v1.0.xml : Failed.
org.apache.axis2.deployment.DeploymentException: API deployment from the file : /home/gabel/wso2am-2.1.0/repository/deployment/server/synapse-configs/default/api/admin--VPP_REST_v1.0.xml : Failed.
<long stack trace here, let me know if it's of any value>
Caused by: org.apache.synapse.deployers.SynapseArtifactDeploymentException: API deployment from the file : /home/gabel/wso2am-2.1.0/repository/deployment/server/synapse-configs/default/api/admin--VPP_REST_v1.0.xml : Failed.
<long stack trace here, let me know if it's of any value>
[2017-04-02 16:53:33,083] INFO - DeploymentEngine org.apache.axis2.deployment.DeploymentException: API deployment from the file : /home/gabel/wso2am-2.1.0/repository/deployment/server/synapse-configs/default/api/admin--VPP_REST_v1.0.xml : Failed.
當然,當我按照給定順序執行所有命令並轉到發佈者時,名爲VPP_REST的API不在那裏。我錯過了什麼?
的系統:
- OS:Ubuntu服務器14.04 64位
- JDK:1.8.0_121