gpt4 book ai didi

mysql - wso2 DAS 使用 mysql + 集群 APIM,无法显示此错误的统计信息

转载 作者:行者123 更新时间:2023-11-28 23:24:22 25 4
gpt4 key购买 nike

1.首先我使用 h2 数据库集群 apim 和 das .APIM 和 DAS 可以很好地相互配合

2.当我换了mysql,APIM也好,但DAS不行,那我就看不到统计了。

    [2016-10-11 17:11:13,335]  INFO {org.wso2.carbon.application.deployer.CappAxis2Deployer} -  Undeploying Faulty Carbon Application On : /home/dgp_aop/tomcat/apim-app/das/repository/deployment/server/carbonapps/API_Manager_Analytics_RDBMS.car
[2016-10-11 17:11:13,336] INFO {org.wso2.carbon.application.deployer.internal.ApplicationManager} - Deploying Carbon Application : API_Manager_Analytics_RDBMS.car...
[2016-10-11 17:11:13,351] ERROR {org.wso2.carbon.application.deployer.internal.ApplicationManager} - Carbon Application : APIM_STAT_CAPP_v1.0.3 already exists. Two applications can't have the same Id. Deployment aborted.
[2016-10-11 17:11:13,351] ERROR {org.wso2.carbon.application.deployer.internal.ApplicationManager} - Error occurred while deploying Carbon Application
org.wso2.carbon.CarbonException: Carbon Application : APIM_STAT_CAPP_v1.0.3 already exists. Two applications can't have the same Id. Deployment aborted.
at org.wso2.carbon.application.deployer.internal.ApplicationManager.deployCarbonApp(ApplicationManager.java:237)
at org.wso2.carbon.application.deployer.CappAxis2Deployer.deploy(CappAxis2Deployer.java:72)
at org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)
at org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:807)
at org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144)
at org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:377)
at org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254)
at org.apache.axis2.deployment.RepositoryListener.startListener(RepositoryListener.java:371)
at org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(SchedulerTask.java:59)
at org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask.java:67)
at org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.runAxisDeployment(CarbonDeploymentSchedulerTask.java:93)
at org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.run(CarbonDeploymentSchedulerTask.java:138)
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)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
[2016-10-11 17:11:13,352] INFO {org.wso2.carbon.application.deployer.internal.ApplicationManager} - Reverting successfully deployed artifcats in this CApp : APIM_STAT_CAPP_v1.0.3

最佳答案

根据 [1],这应该是由于现有的 cApp。当您将数据库更改为 mysql 时,首先您必须删除 DAS_HOME/repository/data 文件夹,以及 DAS_HOME/tmp 目录。

[1] WSO2 Application server CarbonAppUploader will not overwrite existing artifact

关于mysql - wso2 DAS 使用 mysql + 集群 APIM,无法显示此错误的统计信息,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39974054/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com