在我们的单个服务器上,在默认安装WSO2 API Manager(1.6.0)后,我们看到一个启动错误:ConcurrentModificationException
TID: [0] [AM] [2014-01-02 11:02:15,313] ERROR {org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask} - Error while running deployment scheduler.. {org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask}
java.util.ConcurrentModificationException
at java.util.HashMap$HashIterator.nextEntry(HashMap.java:926)
at java.util.HashMap$EntryIterator.next(HashMap.java:966)
at java.util.HashMap$EntryIterator.next(HashMap.java:964)
at org.apache.axis2.deployment.RepositoryListener.loadOtherDirectories(RepositoryListener.java:270)
at org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:253)
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:79)
at org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.run(CarbonDeploymentSchedulerTask.java:124)
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:744)
任何想法如何解决此错误?这是axis2.xml或carbon.xml中的配置问题吗?
答案 0 :(得分:0)
每次启动API Manager时都会看到这个吗?这被报告为间歇性问题,并不是由于配置问题。有关详细信息,请参阅https://wso2.org/jira/browse/CARBON-14471。