Hi I am trying to deploy an application on Apache TomEE that uses an external ActiveMQ instance.
I have configured in tomee.xml in this way: <?xml version="1.0" encoding="UTF-8"?> <tomee> <!-- see http://tomee.apache.org/containers-and-resources.html --> <!-- activate next line to be able to deploy applications in apps --> <!-- <Deployments dir="apps" /> --> <Resource id="senderResourceAdapter" type="ActiveMQResourceAdapter"> BrokerXmlConfig = ServerUrl = tcp://host:61616 startupTimeout = 10 seconds </Resource> <Resource id="senderConnectionFactory" type="javax.jms.ConnectionFactory"> ResourceAdapter = senderResourceAdapter userName = user password = user </Resource> </tomee> Also I have tried to put the username and password to ACtiveMQResourceAdapter but in both cases I receive the next exception: WARNING: Unable to enlist XAResource org.apache.geronimo.transaction.manager.WrapperNamedXAResource@5849b991, errorCode: -7 javax.transaction.xa.XAException: User name [null] or password is invalid. The external instance is a docker container ( https://registry.hub.docker.com/u/webcenter/activemq/) which says that default user login and password is user. So is it correctly configured? Thanks.
