Integrate activeMQ module within JbossAS7.0.1

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Integrate activeMQ module within JbossAS7.0.1

aragoubi
Hello,
 
II am following this tutorial in order to add ActiveMQ module within jbossAS7.0.1.Final https://developer.jboss.org/wiki/HowToUseOutOfProcessActiveMQWithWildFly.
This tutorial is dedicated to Jboss WildFly but it seems that it's not so different with JbossAS7.0.1.
I got a problem when I added the module within the standalone configuration file. When I started Jboss I got error telling me that it's not recognizing the element "module".
How could I fix this problem in JbossAS7.0.1? Could someone help me with this?
 
The stack trace when I start jboss:
 
17:09:04,530 INFO  [org.jboss.as] JBAS015899: JBoss AS 7.1.0.Final "Thunder" starting
17:09:05,158 INFO  [org.jboss.as] JBAS015950: JBoss AS 7.1.0.Final "Thunder" stopped in 8ms
17:09:05,149 ERROR [org.jboss.as.controller] JBAS014601: Error booting the container: java.lang.RuntimeException: org.jboss.as.controller.persistence.ConfigurationPersistenceException: JBAS014676: Failed to parse configuration
        at org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:161) [jboss-as-controller-7.1.0.Final.jar:7.1.0.Final]
        at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_79]
Caused by: org.jboss.as.controller.persistence.ConfigurationPersistenceException: JBAS014676: Failed to parse configuration
        at org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:125) [jboss-as-controller-7.1.0.Final.jar:7.1.0.Final]
        at org.jboss.as.controller.AbstractControllerService.boot(AbstractControllerService.java:187) [jboss-as-controller-7.1.0.Final.jar:7.1.0.Final]
        at org.jboss.as.server.ServerService.boot(ServerService.java:261) [jboss-as-server-7.1.0.Final.jar:7.1.0.Final]
        at org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:155) [jboss-as-controller-7.1.0.Final.jar:7.1.0.Final]
        ... 1 more
Caused by: javax.xml.stream.XMLStreamException: org.jboss.as.connector.util.ParserException: IJ010061: Unexpected element: module
        at org.jboss.as.connector.subsystems.resourceadapters.ResourceAdaptersExtension$ResourceAdapterSubsystemParser.readElement(ResourceAdaptersExtension.java:479)
        at org.jboss.as.connector.subsystems.resourceadapters.ResourceAdaptersExtension$ResourceAdapterSubsystemParser.readElement(ResourceAdaptersExtension.java:208)
        at org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:110) [staxmapper-1.1.0.Final.jar:1.1.0.Final]
        at org.jboss.staxmapper.XMLExtendedStreamReaderImpl.handleAny(XMLExtendedStreamReaderImpl.java:69) [staxmapper-1.1.0.Final.jar:1.1.0.Final]
        at org.jboss.as.server.parsing.StandaloneXml.parseServerProfile(StandaloneXml.java:893) [jboss-as-server-7.1.0.Final.jar:7.1.0.Final]
        at org.jboss.as.server.parsing.StandaloneXml.readServerElement_1_1(StandaloneXml.java:329) [jboss-as-server-7.1.0.Final.jar:7.1.0.Final]
        at org.jboss.as.server.parsing.StandaloneXml.readElement(StandaloneXml.java:126) [jboss-as-server-7.1.0.Final.jar:7.1.0.Final]
        at org.jboss.as.server.parsing.StandaloneXml.readElement(StandaloneXml.java:100) [jboss-as-server-7.1.0.Final.jar:7.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:117) [jboss-as-controller-7.1.0.Final.jar:7.1.0.Final]
        ... 4 more
Caused by: org.jboss.as.connector.util.ParserException: IJ010061: Unexpected element: module
        at org.jboss.as.connector.subsystems.resourceadapters.ResourceAdapterParser.parseResourceAdapter(ResourceAdapterParser.java:272)
        at org.jboss.as.connector.subsystems.resourceadapters.ResourceAdapterParser.parseResourceAdapters(ResourceAdapterParser.java:121)
        at org.jboss.as.connector.subsystems.resourceadapters.ResourceAdapterParser.parse(ResourceAdapterParser.java:87)
        at org.jboss.as.connector.subsystems.resourceadapters.ResourceAdaptersExtension$ResourceAdapterSubsystemParser.readElement(ResourceAdaptersExtension.java:471)
        ... 14 more
Reply | Threaded
Open this post in threaded view
|

Re: Integrate activeMQ module within JbossAS7.0.1

jbertram
You'd need to get help from the JBoss/Wildfly community on that one.


Justin

----- Original Message -----
From: "aragoubi" <[hidden email]>
To: [hidden email]
Sent: Tuesday, April 25, 2017 10:22:18 AM
Subject: Integrate activeMQ module within JbossAS7.0.1

Hello,
 
II am following this tutorial in order to add ActiveMQ module within
jbossAS7.0.1.Final
https://developer.jboss.org/wiki/HowToUseOutOfProcessActiveMQWithWildFly
<https://developer.jboss.org/wiki/HowToUseOutOfProcessActiveMQWithWildFly>
.
This tutorial is dedicated to Jboss WildFly but it seems that it's not so
different with JbossAS7.0.1.
I got a problem when I added the module within the standalone configuration
file. When I started Jboss I got error telling me that it's not recognizing
the element "module".
How could I fix this problem in JbossAS7.0.1? Could someone help me with
this?
 
The stack trace when I start jboss:
 
17:09:04,530 INFO  [org.jboss.as] JBAS015899: JBoss AS 7.1.0.Final "Thunder"
starting
17:09:05,158 INFO  [org.jboss.as] JBAS015950: JBoss AS 7.1.0.Final "Thunder"
stopped in 8ms
17:09:05,149 ERROR [org.jboss.as.controller] JBAS014601: Error booting the
container: java.lang.RuntimeException:
org.jboss.as.controller.persistence.ConfigurationPersistenceException:
JBAS014676: Failed to parse configuration
        at
org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:161)
[jboss-as-controller-7.1.0.Final.jar:7.1.0.Final]
        at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_79]
Caused by:
org.jboss.as.controller.persistence.ConfigurationPersistenceException:
JBAS014676: Failed to parse configuration
        at
org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:125)
[jboss-as-controller-7.1.0.Final.jar:7.1.0.Final]
        at
org.jboss.as.controller.AbstractControllerService.boot(AbstractControllerService.java:187)
[jboss-as-controller-7.1.0.Final.jar:7.1.0.Final]
        at org.jboss.as.server.ServerService.boot(ServerService.java:261)
[jboss-as-server-7.1.0.Final.jar:7.1.0.Final]
        at
org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:155)
[jboss-as-controller-7.1.0.Final.jar:7.1.0.Final]
        ... 1 more
Caused by: javax.xml.stream.XMLStreamException:
org.jboss.as.connector.util.ParserException: IJ010061: Unexpected element:
module
        at
org.jboss.as.connector.subsystems.resourceadapters.ResourceAdaptersExtension$ResourceAdapterSubsystemParser.readElement(ResourceAdaptersExtension.java:479)
        at
org.jboss.as.connector.subsystems.resourceadapters.ResourceAdaptersExtension$ResourceAdapterSubsystemParser.readElement(ResourceAdaptersExtension.java:208)
        at
org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:110)
[staxmapper-1.1.0.Final.jar:1.1.0.Final]
        at
org.jboss.staxmapper.XMLExtendedStreamReaderImpl.handleAny(XMLExtendedStreamReaderImpl.java:69)
[staxmapper-1.1.0.Final.jar:1.1.0.Final]
        at
org.jboss.as.server.parsing.StandaloneXml.parseServerProfile(StandaloneXml.java:893)
[jboss-as-server-7.1.0.Final.jar:7.1.0.Final]
        at
org.jboss.as.server.parsing.StandaloneXml.readServerElement_1_1(StandaloneXml.java:329)
[jboss-as-server-7.1.0.Final.jar:7.1.0.Final]
        at
org.jboss.as.server.parsing.StandaloneXml.readElement(StandaloneXml.java:126)
[jboss-as-server-7.1.0.Final.jar:7.1.0.Final]
        at
org.jboss.as.server.parsing.StandaloneXml.readElement(StandaloneXml.java:100)
[jboss-as-server-7.1.0.Final.jar:7.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:117)
[jboss-as-controller-7.1.0.Final.jar:7.1.0.Final]
        ... 4 more
Caused by: org.jboss.as.connector.util.ParserException: IJ010061: Unexpected
element: module
        at
org.jboss.as.connector.subsystems.resourceadapters.ResourceAdapterParser.parseResourceAdapter(ResourceAdapterParser.java:272)
        at
org.jboss.as.connector.subsystems.resourceadapters.ResourceAdapterParser.parseResourceAdapters(ResourceAdapterParser.java:121)
        at
org.jboss.as.connector.subsystems.resourceadapters.ResourceAdapterParser.parse(ResourceAdapterParser.java:87)
        at
org.jboss.as.connector.subsystems.resourceadapters.ResourceAdaptersExtension$ResourceAdapterSubsystemParser.readElement(ResourceAdaptersExtension.java:471)
        ... 14 more



--
View this message in context: http://activemq.2283324.n4.nabble.com/Integrate-activeMQ-module-within-JbossAS7-0-1-tp4725224.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.