You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by aragoubi <ay...@gmail.com> on 2017/04/24 12:45:36 UTC
deploying activeMQ with JBOSS AS7.1.0.Final
Hello,
I am following this tutorial in order to deploy Activemq within jboss
http://activemq.apache.org/jboss-integration.html
<http://activemq.apache.org/jboss-integration.html> .
I reached the "Configuring JBoss" section, but when I add the
activemq-jms-ds.xml file, the deployment doesn't work anymore and I am
getting errors. Could someone tell me why I am getting errors although that
I followed all steps of Activemq tutorial. Is the use of different jboss
server than that used in the tutorial causing problem ?
The stack trace when I start jboss:
boss.deployment.unit."activemq-jms-ds.xml".PARSE: Failed to process phase
PARSE of deployment "activemq-jms-ds.xml"
at
org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:119)
[jboss-as-server-7.1.0.Final.jar:7.1.0.Final]
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
[jboss-msc-1.0.2.GA.jar:1.0.2.GA]
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
[jboss-msc-1.0.2.GA.jar:1.0.2.GA]
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
[rt.jar:1.7.0_79]
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
[rt.jar:1.7.0_79]
at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_79]
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException:
IJ010061: Unexpected element: connection-factories
at
org.jboss.as.connector.deployers.processors.DsXmlDeploymentParsingProcessor.deploy(DsXmlDeploymentParsingProcessor.java:85)
at
org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:113)
[jboss-as-server-7.1.0.Final.jar:7.1.0.Final]
... 5 more
Caused by: org.jboss.jca.common.metadata.ParserException: IJ010061:
Unexpected element: connection-factories
at
org.jboss.jca.common.metadata.ds.DsParser.parse(DsParser.java:123)
at org.jboss.jca.common.metadata.ds.DsParser.parse(DsParser.java:82)
at
org.jboss.as.connector.deployers.processors.DsXmlDeploymentParsingProcessor.deploy(DsXmlDeploymentParsingProcessor.java:80)
... 6 more
--
View this message in context: http://activemq.2283324.n4.nabble.com/deploying-activeMQ-with-JBOSS-AS7-1-0-Final-tp4725192.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: deploying activeMQ with JBOSS AS7.1.0.Final
Posted by Justin Bertram <jb...@apache.org>.
I'm not sure why you're obliged to use AS7 since it was released over 5 years ago now and there's been numerous releases of the application server since (as Wildfly). However, assuming you really are committed to using AS7 then something like these instructions [1] [2] might work for you.
Justin
[1] https://developer.jboss.org/wiki/HowToUseOutOfProcessActiveMQWithWildFly
[2] http://www.mastertheboss.com/jboss-server/jboss-jms/integrate-activemq-with-wildfly
----- Original Message -----
From: "aragoubi" <ay...@gmail.com>
To: users@activemq.apache.org
Sent: Monday, April 24, 2017 8:11:05 AM
Subject: Re: deploying activeMQ with JBOSS AS7.1.0.Final
Do you know how could I fix this problem ?
I am obliged to use this version of jboss.
I thank you for your response.
--
View this message in context: http://activemq.2283324.n4.nabble.com/deploying-activeMQ-with-JBOSS-AS7-1-0-Final-tp4725192p4725194.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: deploying activeMQ with JBOSS AS7.1.0.Final
Posted by aragoubi <ay...@gmail.com>.
Do you know how could I fix this problem ?
I am obliged to use this version of jboss.
I thank you for your response.
--
View this message in context: http://activemq.2283324.n4.nabble.com/deploying-activeMQ-with-JBOSS-AS7-1-0-Final-tp4725192p4725194.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: deploying activeMQ with JBOSS AS7.1.0.Final
Posted by Justin Bertram <jb...@apache.org>.
> Is the use of different jboss server than that used in the tutorial causing problem ?
Yes. JBoss AS 7 (and later) do not support arbitrary *-ds.xml files like previous versions did.
Justin
----- Original Message -----
From: "aragoubi" <ay...@gmail.com>
To: users@activemq.apache.org
Sent: Monday, April 24, 2017 7:45:36 AM
Subject: deploying activeMQ with JBOSS AS7.1.0.Final
Hello,
I am following this tutorial in order to deploy Activemq within jboss
http://activemq.apache.org/jboss-integration.html
<http://activemq.apache.org/jboss-integration.html> .
I reached the "Configuring JBoss" section, but when I add the
activemq-jms-ds.xml file, the deployment doesn't work anymore and I am
getting errors. Could someone tell me why I am getting errors although that
I followed all steps of Activemq tutorial. Is the use of different jboss
server than that used in the tutorial causing problem ?
The stack trace when I start jboss:
boss.deployment.unit."activemq-jms-ds.xml".PARSE: Failed to process phase
PARSE of deployment "activemq-jms-ds.xml"
at
org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:119)
[jboss-as-server-7.1.0.Final.jar:7.1.0.Final]
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
[jboss-msc-1.0.2.GA.jar:1.0.2.GA]
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
[jboss-msc-1.0.2.GA.jar:1.0.2.GA]
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
[rt.jar:1.7.0_79]
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
[rt.jar:1.7.0_79]
at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_79]
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException:
IJ010061: Unexpected element: connection-factories
at
org.jboss.as.connector.deployers.processors.DsXmlDeploymentParsingProcessor.deploy(DsXmlDeploymentParsingProcessor.java:85)
at
org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:113)
[jboss-as-server-7.1.0.Final.jar:7.1.0.Final]
... 5 more
Caused by: org.jboss.jca.common.metadata.ParserException: IJ010061:
Unexpected element: connection-factories
at
org.jboss.jca.common.metadata.ds.DsParser.parse(DsParser.java:123)
at org.jboss.jca.common.metadata.ds.DsParser.parse(DsParser.java:82)
at
org.jboss.as.connector.deployers.processors.DsXmlDeploymentParsingProcessor.deploy(DsXmlDeploymentParsingProcessor.java:80)
... 6 more
--
View this message in context: http://activemq.2283324.n4.nabble.com/deploying-activeMQ-with-JBOSS-AS7-1-0-Final-tp4725192.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.