[jboss-user] [JBoss/Spring Integration] - Jboss portal and Spring JTA TransactionManager is not availa

vijaychhipa do-not-reply at jboss.com
Sun Nov 11 12:01:22 EST 2007


Hello

In my application-context.xml I configure the jtaTransactionManager like this


 <bean id="transactionManager" class="org.springframework.transaction.jta.JtaTransactionManager">
  |       <property name="transactionManagerName">
  |         <value>jboss:service=TransactionManager</value>
  |      </property>
  |  </bean>
  | 
  | 

However I keep getting this error:

JTA TransactionManager is not available at JNDI location [jboss:service=TransactionManager]

I checked if I am loading any other jta.jar in my ear file, and I am not. 
I am using Jboss 4.0.5 GA, JBoss portal 2.6, Spring 2.0.x

I have tried other combinations mentioned here 
http://jboss.org/index.html?module=bb&op=viewtopic&t=69587

All I need is a way to tell Spring that there is a JTA transaction maneger instance running in JBoss so it need to find that in the JNDI

According to Spring doc it is supposed to be super easy using the above XML, but I am missing something, either the property name is not right or the value.

Or, is there another way to configure this?

Any help is highly appreciated. 

 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4103489#4103489

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4103489



More information about the jboss-user mailing list