3 Replies Latest reply on Jan 20, 2014 6:02 AM by Thomas Diesler

    org.jboss.osgi.metadata missing?

    Andrew Scully Newbie

      Hello,

       

      This is somewhat of a follow up to Shipping Wildfly with Jboss OSGI

       

      If I install the patch which can be found at...

      Index of /nexus/content/groups/public-jboss/org/jboss/osgi/wildfly/jbosgi-wildfly-build/2.1.1/

      ...to my copy of Wildfly 8.0.0.CR1, I get an exception saying the org.jboss.osgi.metadata module cannot be found.

       

      The exception (below) seems to be correct: if I go to modules ... org\jboss\osgi I can see only these directories:

      deployment

      framework

      provision

      repository

      resolver

      spi

      vfs

       

      No "metadata" module, although there are plenty of places in the various jbosgi module.xml files mentioning org.jboss.osgi.metadata, so I sense I'm missing something.

       

      I couldn't see metadata within jbosgi-wildfly-build-2.1.1-patch-1.zip.

       

      I note that there used to be such a metadata folder in that directory in JBOSS AS 7.2.

       

      Any help greatly appreciated.

       

      Cheers, Andy.

       

       

      2014-01-16 15:14:39,320 ERROR [org.jboss.as.server](Controller Boot Thread) JBAS015956: Caught exception during boot: org.jboss.as.controller.persistence.ConfigurationPersistenceException: JBAS014676: Failed to parse configuration

          at org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:112)

          at org.jboss.as.server.ServerService.boot(ServerService.java:331)

          at org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:256)

          at java.lang.Thread.run(Thread.java:724)

      Caused by: javax.xml.stream.XMLStreamException: JBAS014674: Failed to load module org.jboss.as.osgi

          at org.jboss.as.controller.parsing.ExtensionXml.parseExtensions(ExtensionXml.java:155)

          at org.jboss.as.server.parsing.StandaloneXml.readServerElement_1_4(StandaloneXml.java:434)

          at org.jboss.as.server.parsing.StandaloneXml.readElement(StandaloneXml.java:145)

          at org.jboss.as.server.parsing.StandaloneXml.readElement(StandaloneXml.java:107)

          at org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:110)

          at org.jboss.staxmapper.XMLMapperImpl.parseDocument(XMLMapperImpl.java:69)

          at org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:104)

          ... 3 more

      Caused by: java.util.concurrent.ExecutionException: javax.xml.stream.XMLStreamException: JBAS014674: Failed to load module

          at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:252)

          at java.util.concurrent.FutureTask.get(FutureTask.java:111)

          at org.jboss.as.controller.parsing.ExtensionXml.parseExtensions(ExtensionXml.java:147)

          ... 9 more

      Caused by: javax.xml.stream.XMLStreamException: JBAS014674: Failed to load module

          at org.jboss.as.controller.parsing.ExtensionXml.loadModule(ExtensionXml.java:196)

          at org.jboss.as.controller.parsing.ExtensionXml.access$000(ExtensionXml.java:69)

          at org.jboss.as.controller.parsing.ExtensionXml$1.call(ExtensionXml.java:127)

          at org.jboss.as.controller.parsing.ExtensionXml$1.call(ExtensionXml.java:124)

          at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)

          at java.util.concurrent.FutureTask.run(FutureTask.java:166)

          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)

          at org.jboss.threads.JBossThread.run(JBossThread.java:122)

      Caused by: org.jboss.modules.ModuleNotFoundException: org.jboss.osgi.metadata:main

          at org.jboss.modules.Module.addExportedPaths(Module.java:1181)

          at org.jboss.modules.Module.addPaths(Module.java:1059)

          at org.jboss.modules.Module.link(Module.java:1386)

          at org.jboss.modules.Module.relinkIfNecessary(Module.java:1414)

          at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:242)

          at org.jboss.as.controller.parsing.ExtensionXml.loadModule(ExtensionXml.java:178)

          ... 9 more