2 Replies Latest reply on Feb 24, 2015 4:15 AM by andrew_scully

    Startup exception

    andrew_scully

      Hello,

       

      For your information, I get several exceptions like the following when starting up JBOSS OSGI 2.1.1 on Wildfly 8.0.0.Final.

       

      2014-02-14 16:24:38,273 ERROR [org.jboss.msc.service.fail](MSC service thread 1-2) MSC000001: Failed to start service jboss.deployment.unit."vcs-configuration-api-1.0.0-SNAPSHOT.jar".REGISTER: org.jboss.msc.service.StartException in service jboss.deployment.unit."vcs-configuration-api-1.0.0-SNAPSHOT.jar".REGISTER: JBAS018733: Failed to process phase REGISTER of deployment "vcs-configuration-api-1.0.0-SNAPSHOT.jar"

          at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:166)

          at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)

          at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)

          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:724)

      Caused by: java.util.ConcurrentModificationException

          at java.util.LinkedHashMap$LinkedHashIterator.nextEntry(LinkedHashMap.java:370)

          at java.util.LinkedHashMap$KeyIterator.next(LinkedHashMap.java:381)

          at java.util.AbstractCollection.addAll(AbstractCollection.java:333)

          at java.util.LinkedHashSet.<init>(LinkedHashSet.java:169)

          at org.jboss.osgi.resolver.spi.AbstractEnvironment$1.hasNext(AbstractEnvironment.java:198)

          at org.jboss.osgi.framework.internal.BundleManagerPlugin.getBundles(BundleManagerPlugin.java:383)

          at org.jboss.osgi.framework.internal.BundleManagerPlugin.getBundleByLocation(BundleManagerPlugin.java:426)

          at org.jboss.osgi.framework.internal.BundleManagerPlugin.installBundleRevision(BundleManagerPlugin.java:475)

          at org.jboss.as.osgi.deployment.BundleInstallProcessor.deploy(BundleInstallProcessor.java:82)

          at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:159)

          ... 5 more

       

      Cheers, Andy.