Hi list,

I'm trying to run a MessageDrivenBean on JBoss, connecting to an
ActiveMQ broker outside of JBoss.
However when starting JBoss I get the following error as the cause of a
larger stacktrace:

org.jboss.msc.service.DuplicateServiceException: Service
jboss.connector.connection-factory.java:jboss/activemq/ConnectionFactory
is already registered

It appears I'm hitting this bug:
https://issues.jboss.org/browse/JBJCA-641
Unfortunately the workaround doesn't seem to work, or I'm missing
something. Also, the bug is marked closed as of agust 5th 2011 and no
comments were ever added to it.

Has anyone successfully connected JBoss 7 to an ActiveMQ broker already?
I've seen several forum posts about it, but none of them were ever
solved.

I'm running JBoss 7.1.0.CR1b and trying to use a resource adapter from
ActiveMQ 5.5.1. The configuration is pretty default, no changes were
made to the ra.xml inside the activemq-rar-5.5.1.rar file (dropped in
standalone/deployments), the standalone.xml was modified to use ActiveMQ
for mdb's instead of hornetQ and to include a resource-adapter subsystem
definition with connection-definitions like this:

<connection-definition
class-name="org.apache.activemq.ra.ActiveMQManagedConnectionFactory"
jndi-name="java:jboss/activemq/TopicConnectionFactory"

currently 3 exist.

Any suggestions?

Kind regards,
Steven

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to