Failed Load Module: org.jboss.as.osgi
eloi.rui Jan 31, 2014 10:53 AMI installed Wildfly 8.0 CR1 and the JBossOSGI. In JBossOSGI installation I point to my Wildfly but when I try to run using the command:
- standalone.bat -server-config=standalone-osgi.xml
2014-01-31 13:55:25,985 INFO [org.jboss.modules] (main) JBoss Modules version 1.3.0.Final 2014-01-31 13:55:26,159 INFO [org.jboss.msc] (main) JBoss MSC version 1.2.0.CR1 2014-01-31 13:55:26,219 INFO [org.jboss.as] (MSC service thread 1-6) JBAS015899: WildFly 8.0.0.CR1 "WildFly" starting 2014-01-31 13:55:26,225 DEBUG [org.jboss.as.config] (MSC service thread 1-6) Configured system properties: awt.toolkit = sun.awt.windows.WToolkit file.encoding = Cp1252 file.encoding.pkg = sun.io file.separator = \ java.awt.graphicsenv = sun.awt.Win32GraphicsEnvironment java.awt.printerjob = sun.awt.windows.WPrinterJob java.class.path = C:\Servers\wildfly-8.0.0.CR1\jboss-modules.jar java.class.version = 51.0 java.endorsed.dirs = C:\Program Files\Java\jdk1.7.0_03\jre\lib\endorsed java.ext.dirs = C:\Program Files\Java\jdk1.7.0_03\jre\lib\ext;C:\Windows\Sun\Java\lib\ext java.home = C:\Program Files\Java\jdk1.7.0_03\jre java.io.tmpdir = C:\Users\reloi\AppData\Local\Temp\ java.library.path = C:\Program Files\Java\jdk1.7.0_03\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Microsoft SQL Server\90\Tools\binn\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\;C:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\Calibre2\;C:\Program Files\Java\jdk1.7.0_03\bin;C:\Program Files (x86)\Android\android-sdk\platform-tools;C:\Program Files (x86)\Common Files\Reallusion\CamSuite;C:\Projectos\apache-ant-1.8.4\bin;C:\apache-maven-3.1.1\bin;C:\Program Files\TortoiseSVN\bin;C:\Program Files (x86)\VisualSVN\bin;. java.net.preferIPv4Stack = true java.runtime.name = Java(TM) SE Runtime Environment java.runtime.version = 1.7.0_03-b05 java.specification.name = Java Platform API Specification java.specification.vendor = Oracle Corporation java.specification.version = 1.7 java.util.logging.manager = org.jboss.logmanager.LogManager java.vendor = Oracle Corporation java.vendor.url = http://java.oracle.com/ java.vendor.url.bug = http://bugreport.sun.com/bugreport/ java.version = 1.7.0_03 java.vm.info = mixed mode java.vm.name = Java HotSpot(TM) 64-Bit Server VM java.vm.specification.name = Java Virtual Machine Specification java.vm.specification.vendor = Oracle Corporation java.vm.specification.version = 1.7 java.vm.vendor = Oracle Corporation java.vm.version = 22.1-b02 javax.management.builder.initial = org.jboss.as.jmx.PluggableMBeanServerBuilder javax.xml.datatype.DatatypeFactory = __redirected.__DatatypeFactory javax.xml.parsers.DocumentBuilderFactory = __redirected.__DocumentBuilderFactory javax.xml.parsers.SAXParserFactory = __redirected.__SAXParserFactory javax.xml.stream.XMLEventFactory = __redirected.__XMLEventFactory javax.xml.stream.XMLInputFactory = __redirected.__XMLInputFactory javax.xml.stream.XMLOutputFactory = __redirected.__XMLOutputFactory javax.xml.transform.TransformerFactory = __redirected.__TransformerFactory javax.xml.validation.SchemaFactory:http://www.w3.org/2001/XMLSchema = __redirected.__SchemaFactory javax.xml.xpath.XPathFactory:http://java.sun.com/jaxp/xpath/dom = __redirected.__XPathFactory jboss.home.dir = C:\Servers\wildfly-8.0.0.CR1 jboss.host.name = mjeronimohis jboss.modules.dir = C:\Servers\wildfly-8.0.0.CR1\modules jboss.modules.system.pkgs = org.jboss.byteman jboss.node.name = mjeronimohis jboss.qualified.host.name = mjeronimohis jboss.server.base.dir = C:\Servers\wildfly-8.0.0.CR1\standalone jboss.server.config.dir = C:\Servers\wildfly-8.0.0.CR1\standalone\configuration jboss.server.data.dir = C:\Servers\wildfly-8.0.0.CR1\standalone\data jboss.server.deploy.dir = C:\Servers\wildfly-8.0.0.CR1\standalone\data\content jboss.server.log.dir = C:\Servers\wildfly-8.0.0.CR1\standalone\log jboss.server.name = mjeronimohis jboss.server.persist.config = true jboss.server.temp.dir = C:\Servers\wildfly-8.0.0.CR1\standalone\tmp line.separator = logging.configuration = file:C:\Servers\wildfly-8.0.0.CR1\standalone\configuration/logging.properties module.path = C:\Servers\wildfly-8.0.0.CR1\modules org.jboss.boot.log.file = C:\Servers\wildfly-8.0.0.CR1\standalone\log\server.log org.jboss.resolver.warning = true org.xml.sax.driver = __redirected.__XMLReaderFactory os.arch = amd64 os.name = Windows 7 os.version = 6.1 path.separator = ; program.name = standalone.bat sun.arch.data.model = 64 sun.boot.class.path = C:\Program Files\Java\jdk1.7.0_03\jre\lib\resources.jar;C:\Program Files\Java\jdk1.7.0_03\jre\lib\rt.jar;C:\Program Files\Java\jdk1.7.0_03\jre\lib\sunrsasign.jar;C:\Program Files\Java\jdk1.7.0_03\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.7.0_03\jre\lib\jce.jar;C:\Program Files\Java\jdk1.7.0_03\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.7.0_03\jre\classes sun.boot.library.path = C:\Program Files\Java\jdk1.7.0_03\jre\bin sun.cpu.endian = little sun.cpu.isalist = amd64 sun.desktop = windows sun.io.unicode.encoding = UnicodeLittle sun.java.command = C:\Servers\wildfly-8.0.0.CR1\jboss-modules.jar -mp C:\Servers\wildfly-8.0.0.CR1\modules org.jboss.as.standalone -Djboss.home.dir=C:\Servers\wildfly-8.0.0.CR1 -server-config=standalone-osgi.xml sun.java.launcher = SUN_STANDARD sun.jnu.encoding = Cp1252 sun.management.compiler = HotSpot 64-Bit Tiered Compilers sun.os.patch.level = Service Pack 1 user.country = US user.country.format = PT user.dir = C:\Servers\wildfly-8.0.0.CR1 user.home = C:\Users\reloi user.language = en user.language.format = pt user.name = reloi user.script = user.timezone = Europe/London user.variant = 2014-01-31 13:55:26,226 DEBUG [org.jboss.as.config] (MSC service thread 1-6) VM Arguments: -XX:+UseCompressedOops -Dprogram.name=standalone.bat -Xms64M -Xmx512M -XX:MaxPermSize=256M -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -Dorg.jboss.boot.log.file=C:\Servers\wildfly-8.0.0.CR1\standalone\log\server.log -Dlogging.configuration=file:C:\Servers\wildfly-8.0.0.CR1\standalone\configuration/logging.properties 2014-01-31 13:55:26,686 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) [wildfly-controller-8.0.0.CR1.jar:8.0.0.CR1] at org.jboss.as.server.ServerService.boot(ServerService.java:331) [wildfly-server-8.0.0.CR1.jar:8.0.0.CR1] at org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:256) [wildfly-controller-8.0.0.CR1.jar:8.0.0.CR1] at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_03] 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) [wildfly-controller-8.0.0.CR1.jar:8.0.0.CR1] at org.jboss.as.server.parsing.StandaloneXml.readServerElement_1_4(StandaloneXml.java:434) [wildfly-server-8.0.0.CR1.jar:8.0.0.CR1] at org.jboss.as.server.parsing.StandaloneXml.readElement(StandaloneXml.java:145) [wildfly-server-8.0.0.CR1.jar:8.0.0.CR1] at org.jboss.as.server.parsing.StandaloneXml.readElement(StandaloneXml.java:107) [wildfly-server-8.0.0.CR1.jar:8.0.0.CR1] at org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:110) [staxmapper-1.1.0.Final.jar:1.1.0.Final] at org.jboss.staxmapper.XMLMapperImpl.parseDocument(XMLMapperImpl.java:69) [staxmapper-1.1.0.Final.jar:1.1.0.Final] at org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:104) [wildfly-controller-8.0.0.CR1.jar:8.0.0.CR1] ... 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) [rt.jar:1.7.0_03] at java.util.concurrent.FutureTask.get(FutureTask.java:111) [rt.jar:1.7.0_03] at org.jboss.as.controller.parsing.ExtensionXml.parseExtensions(ExtensionXml.java:147) [wildfly-controller-8.0.0.CR1.jar:8.0.0.CR1] ... 9 more Caused by: javax.xml.stream.XMLStreamException: JBAS014674: Failed to load module at org.jboss.as.controller.parsing.ExtensionXml.loadModule(ExtensionXml.java:196) [wildfly-controller-8.0.0.CR1.jar:8.0.0.CR1] at org.jboss.as.controller.parsing.ExtensionXml.access$000(ExtensionXml.java:69) [wildfly-controller-8.0.0.CR1.jar:8.0.0.CR1] at org.jboss.as.controller.parsing.ExtensionXml$1.call(ExtensionXml.java:127) [wildfly-controller-8.0.0.CR1.jar:8.0.0.CR1] at org.jboss.as.controller.parsing.ExtensionXml$1.call(ExtensionXml.java:124) [wildfly-controller-8.0.0.CR1.jar:8.0.0.CR1] at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) [rt.jar:1.7.0_03] at java.util.concurrent.FutureTask.run(FutureTask.java:166) [rt.jar:1.7.0_03] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.7.0_03] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0_03] at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_03] at org.jboss.threads.JBossThread.run(JBossThread.java:122) [jboss-threads-2.1.1.Final.jar:2.1.1.Final] Caused by: org.jboss.modules.ModuleNotFoundException: org.jboss.osgi.metadata:main at org.jboss.modules.Module.addExportedPaths(Module.java:1181) [jboss-modules.jar:1.3.0.Final] at org.jboss.modules.Module.addPaths(Module.java:1059) [jboss-modules.jar:1.3.0.Final] at org.jboss.modules.Module.link(Module.java:1386) [jboss-modules.jar:1.3.0.Final] at org.jboss.modules.Module.relinkIfNecessary(Module.java:1414) [jboss-modules.jar:1.3.0.Final] at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:242) [jboss-modules.jar:1.3.0.Final] at org.jboss.as.controller.parsing.ExtensionXml.loadModule(ExtensionXml.java:178) [wildfly-controller-8.0.0.CR1.jar:8.0.0.CR1] ... 9 more
Am I missing something?