Problem in running target server in JMS bridge
mofarn Nov 6, 2012 7:13 AMI'm trying test jms-bridge example (example/jms/jms-bridge) in hornetq 2.2.14-final
I have two Hornetq standalone servers in the same machine. I copied server0 (source-server) and server1 (target-server) configurations to my servers (with some modifications)
When i run server1 i get this exception:
Exception in thread "main" java.lang.IllegalStateException: Incompletely deployed:
DEPLOYMENTS IN ERROR: Deployment "TransactionManager" is in error due to: java.lang.ClassNotFoundException: com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionManagerImple
Deployment "JMSBridge" is in error due to: java.lang.NoClassDefFoundError: javax/transaction/TransactionManager
at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.internalValidate(AbstractKernelDeployer.java:278)
at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.validate(AbstractKernelDeployer.java:174)
at org.hornetq.integration.bootstrap.HornetQBootstrapServer.bootstrap(HornetQBootstrapServer.java:158)
at org.jboss.kernel.plugins.bootstrap.AbstractBootstrap.run(AbstractBootstrap.java:83)
at org.hornetq.integration.bootstrap.HornetQBootstrapServer.run(HornetQBootstrapServer.java:116)
at org.hornetq.integration.bootstrap.HornetQBootstrapServer.main(HornetQBootstrapServer.java:73)
I added jbossjta-4.2.2.GA.jar file to lib folder of server1 and ran it again and i get this exception:
Exception in thread "main" java.lang.IllegalStateException: Incompletely deployed:
DEPLOYMENTS IN ERROR: Deployment "TransactionManager" is in error due to: java.lang.NoClassDefFoundError: javax/transaction/TransactionManager
Deployment "JMSBridge" is in error due to: java.lang.NoClassDefFoundError: javax/transaction/TransactionManager
at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.internalValidate(AbstractKernelDeployer.java:278)
at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.validate(AbstractKernelDeployer.java:174)
at org.hornetq.integration.bootstrap.HornetQBootstrapServer.bootstrap(HornetQBootstrapServer.java:158)
at org.jboss.kernel.plugins.bootstrap.AbstractBootstrap.run(AbstractBootstrap.java:83)
at org.hornetq.integration.bootstrap.HornetQBootstrapServer.run(HornetQBootstrapServer.java:116)
at org.hornetq.integration.bootstrap.HornetQBootstrapServer.main(HornetQBootstrapServer.java:73)
TransactionManager bean:
<bean name="TransactionManager" class="com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionManagerImple">
</bean>
transactionManager is a property in JMSBridge bean:
<property name="transactionManager">
<inject bean="TransactionManager"/>
</property>
what should i do?
(My server configs attached)
-
servers-configuration.zip 6.3 KB