juddi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Toufic Arabi <tar...@redhat.com>
Subject Re: Deploying Juddy over WildFly 8.1
Date Thu, 28 Aug 2014 19:27:10 GMT
Seems that you have an XML parsing exception in your module.xml for the module: org.jboss.as.jpa.openjpa
and org.jboss.as.jpa 

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

Caused by: org.jboss.modules.ModuleLoadException: Error loading module from C:\Java\AS\wildfly-8.1.0.Final\modules\system\layers\base\org\jboss\as\jpa\openjpa\m


Seems more like a JBoss issue than a Judy issue... 

Toufic 

----- Original Message -----

From: "Daniel Ferreira Castro" <dfcastro@gmail.com> 
To: juddi-dev@apache.org 
Sent: Thursday, August 28, 2014 10:34:10 AM 
Subject: Deploying Juddy over WildFly 8.1 

Hi guys, 

I am doing what is told in this link - http://juddi.apache.org/docs/3.2/juddi-guide/html_single/#_jbossas_7_x_jbosseap_6_x
where it says " 

This section describes how to deploy juddi to JBossAS 7, WildFly and JBossEAP 6 " 

I understand that I may need to download some jar libs of JPA, but I would like to make it
use what already exists in JBoss. 
Here is what I have 

- C:\Java\AS\wildfly-8.1.0.Final\modules\system\layers\base\javax\persistence\api\main\hibernate-jpa-2.1-api-1.0.0.Final.jar

- C:\Java\AS\wildfly-8.1.0.Final\modules\system\layers\base\org\apache\openjpa\main\jipijapa-openjpa-1.0.1.Final.jar

- C:\Java\AS\wildfly-8.1.0.Final\modules\system\layers\base\org\jboss\as\jpa\main\wildfly-jpa-8.1.0.Final.jar


But even doing the 3 configurations for the modules I still get an exception. And I am not
deploying the WAR file because I did not put the war file inside standalone/deployments folder.
I am just starting the Wildfly. 

11:31:54,185 INFO [org.jboss.modules] (main) JBoss Modules version 1.3.3.Final 
11:31:54,475 INFO [org.jboss.msc] (main) JBoss MSC version 1.2.2.Final 
11:31:54,547 INFO [ org.jboss.as ] (MSC service thread 1-6) JBAS015899: WildFly 8.1.0.Final
"Kenny" starting 
11:31:55,229 ERROR [org.jboss.as.server] (Controller Boot Thread) JBAS015956: Caught exception
during boot: org.jboss.as.controller.persistence.ConfigurationPer 
BAS014676: Failed to parse configuration 
at org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:112)
[wildfly-controller-8.1.0.Final.jar:8.1.0.Fina 
at org.jboss.as.server.ServerService.boot(ServerService.java:331) [wildfly-server-8.1.0.Final.jar:8.1.0.Final]

at org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:256)
[wildfly-controller-8.1.0.Final.jar:8.1.0.Final] 
at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_51] 
Caused by: javax.xml.stream.XMLStreamException: JBAS014674: Failed to load module org.jboss.as.jpa

at org.jboss.as.controller.parsing.ExtensionXml.parseExtensions(ExtensionXml.java:155) [wildfly-controller-8.1.0.Final.jar:8.1.0.Final]

at org.jboss.as.server.parsing.StandaloneXml.readServerElement_1_4(StandaloneXml.java:434)
[wildfly-server-8.1.0.Final.jar:8.1.0.Final] 
at org.jboss.as.server.parsing.StandaloneXml.readElement(StandaloneXml.java:145) [wildfly-server-8.1.0.Final.jar:8.1.0.Final]

at org.jboss.as.server.parsing.StandaloneXml.readElement(StandaloneXml.java:107) [wildfly-server-8.1.0.Final.jar:8.1.0.Final]

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.1.0.Final.jar:8.1.0.Fina 
... 3 more 
Caused by: java.util.concurrent.ExecutionException: javax.xml.stream.XMLStreamException: JBAS014674:
Failed to load module 
at java.util.concurrent.FutureTask.report(FutureTask.java:122) [rt.jar:1.7.0_51] 
at java.util.concurrent.FutureTask.get(FutureTask.java:188) [rt.jar:1.7.0_51] 
at org.jboss.as.controller.parsing.ExtensionXml.parseExtensions(ExtensionXml.java:147) [wildfly-controller-8.1.0.Final.jar:8.1.0.Final]

... 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.1.0.Final.jar:8.1.0.Final]

at org.jboss.as.controller.parsing.ExtensionXml.access$000(ExtensionXml.java:69) [wildfly-controller-8.1.0.Final.jar:8.1.0.Final]

at org.jboss.as.controller.parsing.ExtensionXml$1.call(ExtensionXml.java:127) [wildfly-controller-8.1.0.Final.jar:8.1.0.Final]

at org.jboss.as.controller.parsing.ExtensionXml$1.call(ExtensionXml.java:124) [wildfly-controller-8.1.0.Final.jar:8.1.0.Final]

at java.util.concurrent.FutureTask.run(FutureTask.java:262) [rt.jar:1.7.0_51] 
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_51]

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_51]

at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_51] 
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.ModuleLoadException: Error loading module from C:\Java\AS\wildfly-8.1.0.Final\modules\system\layers\base\org\jboss\as\jpa\openjpa\m

at org.jboss.modules.ModuleXmlParser.parseModuleXml(ModuleXmlParser.java:155) [jboss-modules.jar:1.3.3.Final]

at org.jboss.modules.ModuleXmlParser.parseModuleXml(ModuleXmlParser.java:132) [jboss-modules.jar:1.3.3.Final]

at org.jboss.modules.LocalModuleFinder$1.run(LocalModuleFinder.java:154) [jboss-modules.jar:1.3.3.Final]

at org.jboss.modules.LocalModuleFinder$1.run(LocalModuleFinder.java:148) [jboss-modules.jar:1.3.3.Final]

at java.security.AccessController.doPrivileged(Native Method) [rt.jar:1.7.0_51] 
at org.jboss.modules.LocalModuleFinder.findModule(LocalModuleFinder.java:148) [jboss-modules.jar:1.3.3.Final]

at org.jboss.modules.ModuleLoader.findModule(ModuleLoader.java:455) [jboss-modules.jar:1.3.3.Final]

at org.jboss.modules.ModuleLoader.loadModuleLocal(ModuleLoader.java:358) [jboss-modules.jar:1.3.3.Final]

at org.jboss.modules.ModuleLoader.preloadModule(ModuleLoader.java:305) [jboss-modules.jar:1.3.3.Final]

at org.jboss.modules.Module.addPaths(Module.java:1036) [jboss-modules.jar:1.3.3.Final] 
at org.jboss.modules.Module.link(Module.java:1406) [jboss-modules.jar:1.3.3.Final] 
at org.jboss.modules.Module.relinkIfNecessary(Module.java:1434) [jboss-modules.jar:1.3.3.Final]

at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:242) [jboss-modules.jar:1.3.3.Final]

at org.jboss.as.controller.parsing.ExtensionXml.loadModule(ExtensionXml.java:178) [wildfly-controller-8.1.0.Final.jar:8.1.0.Final]

... 8 more 
Caused by: org.jboss.modules.xml.XmlPullParserException: Invalid/mismatched module name (expected
org.jboss.as.jpa.openjpa:main) (position: START_TAG seen ...-> 
:jboss:module:1.3" name="org.apache.openjpa">... @26:64) 
at org.jboss.modules.ModuleXmlParser.invalidModuleName(ModuleXmlParser.java:192) [jboss-modules.jar:1.3.3.Final]

at org.jboss.modules.ModuleXmlParser.parseModuleContents(ModuleXmlParser.java:370) [jboss-modules.jar:1.3.3.Final]

at org.jboss.modules.ModuleXmlParser.parseDocument(ModuleXmlParser.java:219) [jboss-modules.jar:1.3.3.Final]

at org.jboss.modules.ModuleXmlParser.parseModuleXml(ModuleXmlParser.java:153) [jboss-modules.jar:1.3.3.Final]

... 21 more 

11:31:55,337 FATAL [org.jboss.as.server] (Controller Boot Thread) JBAS015957: Server boot
has failed in an unrecoverable manner; exiting. See previous messages 
11:31:55,350 INFO [ org.jboss.as ] (MSC service thread 1-4) JBAS015950: WildFly 8.1.0.Final
"Kenny" stopped in 5ms 




-- 


Toufic Arabi 
Consultant, Red Hat Consulting 
Red Hat 
8260 Greensboro Dr 
McLean, VA 
tarabi@redhat.com 




Mime
View raw message