I have a bean that is injected with the RealTransactionManager from JBoss AS5, and a
second bean that is injected with the first one, and when I shutdown the server the
RealTransactionManager is removed from the first bean before the second one undeploy
completes, how can I avoid that behavior? I tried to add a for RealTransactionManager in
the second one but it doesn't do any good...
This is the beans xml:
| <?xml version="1.0" encoding="UTF-8"?>
|
| <deployment
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="urn:jboss:bean-deployer:2.0">
|
| <bean name="Mobicents.JAINSLEE.TransactionManagerMBean"
|
class="org.mobicents.slee.runtime.transaction.SleeTransactionManagerImpl">
| <!-- jboss as tx manager bean -->
| <property name="transactionManager"><inject
bean="RealTransactionManager"/></property>
| </bean>
|
| <bean name="Mobicents.JAINSLEE.SleeManagement"
|
class="org.mobicents.slee.container.management.jmx.SleeManagementMBeanImpl">
|
<annotation>@org.jboss.aop.microcontainer.aspects.jmx.JMX(name="slee:service=SleeManagement",exposedInterface=org.mobicents.slee.container.management.jmx.SleeManagementMBeanImplMBean.class,
registerDirectly=true)</annotation>
| <property name="sleeTransactionManager"><inject
bean="Mobicents.JAINSLEE.TransactionManagerMBean"/></property>
| </bean>
|
|
| <!-- ... -->
|
| </deployment>
|
Thanks in advance :)
-- Eduardo
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203334#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...