在JBoss AS 7中使用ActiveMQ时出现IllegalArgumentException

时间:2013-01-15 22:23:28

标签: jboss activemq

在独立运行jboss 7之后我得到了下一个错误。

16:09:35,699 ERROR [org.jboss.msc.service](MSC服务线程1-7)MSC00002:监听器“org.jboss.as.connector.deployers.processors.ParsedRaDeploymentProcessor$1@20863d22”的调用失败:java.lang.IllegalArgumentException:JBAS014809:节点已在org.jboss.as.controller.registry的“(deployment => activemq-rar-5.7.0.rar)”处注册.ConcreteResourceRegistration.registerSubModel(ConcreteResourceRegistration.java :108)[jboss-as-controller-7.1.1.Final.jar:7.1.1.Final] org.jboss.as.controller.registry.AbstractResourceRegistration.registerSubModel(AbstractResourceRegistration.java:68)[jboss-as- controller-7.1.1.Final.jar:7.1.1.Final] at org.jboss.as.controller.registry.AbstractResourceRegistration.registerOverrideModel(AbstractResourceRegistration.java:97)[jboss-as-controller-7.1.1.Final。 jar:7.1.1.Final] at org.jboss.as.connector.deployers.processors.ParsedRaDeploymentProcessor $ 1.transition(ParsedRaDeploymentProcessor.java:181)[jboss-as-connector-7.1.1.Fi nal.jar:7.1.1.Final] at org.jboss.msc.service.ServiceControllerImpl.invokeListener(ServiceControllerImpl.java:1416)[jboss-msc-1.0.2.GA.jar:1.0.2.GA] at org .jboss.msc.service.ServiceControllerImpl.access $ 2700(ServiceControllerImpl.java:49)[jboss-msc-1.0.2.GA.jar:1.0.2.GA] at org.jboss.msc.service.ServiceControllerImpl $ ListenerTask。在java.util.concurrent.ThreadPoolExecutor上运行(ServiceControllerImpl.java:1954)[jboss-msc-1.0.2.GA.jar:1.0.2.GA] $ Worker.runTask(ThreadPoolExecutor.java:886)[rt.jar :java.util.concurrent.ThreadPoolExecutor $ 1.6.0_31] java.lang.Thread.run(Thread.java:662)的java.util.concurrent.ThreadPoolExecutor $ Worker.run(ThreadPoolExecutor.java:908)[rt.jar:1.6.0_31]的.jar:1.6.0_31]

任何人都可以帮我解决这个问题吗?

1 个答案:

答案 0 :(得分:0)

这是7.1.1.Final.jar中的错误。这是因为路径中有两个ironjacamar.xml文件。我能够使用ailed工作:Jboss AS 7.2.0.Alpha1-SNAPSHOT