Hi !
I'm trying to make work Geronimo on Servicemix 4.4.1
I found an exemple (but lost the link) wich define beans like this :
<bean id="xidFactoryImpl"
class="org.apache.geronimo.transaction.manager.XidFactoryImpl" />
<bean id="howlLog" class="org.apache.geronimo.transaction.log.HOWLLog"
init-method="doStart" destroy-method="doStop">
<constructor-arg index="0"
value="org.objectweb.howl.log.BlockLogBuffer" />
<constructor-arg index="1" value="4" />
<constructor-arg index="2" value="true" />
<constructor-arg index="3" value="true" />
<constructor-arg index="4" value="20" />
<constructor-arg index="5" value="txlog" />
<constructor-arg index="6" value="log" />
<constructor-arg index="7" value="geronimo_tx" />
<constructor-arg index="8" value="200" />
<constructor-arg index="9" value="10" />
<constructor-arg index="10" value="2" />
<constructor-arg index="11" value="2" />
<constructor-arg index="12" value="10" />
<constructor-arg index="13" ref="xidFactoryImpl" />
<constructor-arg index="14">
<bean class="java.io.File">
<constructor-arg index="0" value="target" />
</bean>
</constructor-arg>
</bean>
<bean id="jtaTransactionManager"
class="org.springframework.transaction.jta.JtaTransactionManager">
<property name="transactionManager" ref="transactionManager"/>
<property name="userTransaction" ref="userTransaction"/>
</bean>
<bean id="transactionManager"
class="org.apache.aries.transaction.GeronimoPlatformTransactionManager">
<constructor-arg index="0" value="120" />
<constructor-arg index="1" ref="xidFactoryImpl" />
<constructor-arg index="2" ref="howlLog" />
</bean>
Sadly, there is no way to found a bundle exporting
org.apache.aries.transaction.GeronimoPlatformTransactionManager, not event
Apache Aries Transaction Manager.
So, how am i supposed to do ? My example was a unit test, so i guess there
might be some difference, but it's strange to see the Geronimo Transaction
bundle not exporting this package ...
Regards,
Valerian Merkling
--
View this message in context:
http://servicemix.396122.n5.nabble.com/Servicemix-and-Geronimo-tp5717966.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.