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.