From: <cle...@jb...> - 2005-05-04 22:43:15
|
Talking about transactions and Pooled invokers, I'm also setting the ClientUserTransaction to use pooled invokers. I have tested and I didn't find any problems until now. I'm just wondering if someone sees any issue on this option. Here is the changed configuration: | <mbean code="org.jboss.tm.usertx.server.ClientUserTransactionService" | name="jboss:service=ClientUserTransaction" | xmbean-dd="resource:xmdesc/ClientUserTransaction-xmbean.xml"> | <depends> | <mbean code="org.jboss.invocation.jrmp.server.JRMPProxyFactory" | name="jboss:service=proxyFactory,target=ClientUserTransactionFactory"> | <attribute name="InvokerName">jboss:service=invoker,type=pooled</attribute> <!-- here --> | <attribute name="TargetName">jboss:service=ClientUserTransaction</attribute> | <attribute name="JndiName">UserTransactionSessionFactory</attribute> | <attribute name="ExportedInterface">org.jboss.tm.usertx.interfaces.UserTransactionSessionFactory</attribute> | <attribute name="ClientInterceptors"> | <interceptors> | <interceptor>org.jboss.proxy.ClientMethodInterceptor</interceptor> | <interceptor>org.jboss.invocation.InvokerInterceptor</interceptor> | </interceptors> | </attribute> | <depends>jboss:service=invoker,type=pooled</depends> <!-- here --> | </mbean> | </depends> | <depends optional-attribute-name="TxProxyName"> | <mbean code="org.jboss.invocation.jrmp.server.JRMPProxyFactory" | name="jboss:service=proxyFactory,target=ClientUserTransaction"> | <attribute name="InvokerName">jboss:service=invoker,type=pooled</attribute> <!-- here --> | <attribute name="TargetName">jboss:service=ClientUserTransaction</attribute> | <attribute name="JndiName"></attribute> | <attribute name="ExportedInterface">org.jboss.tm.usertx.interfaces.UserTransactionSession</attribute> | <attribute name="ClientInterceptors"> | <interceptors> | <interceptor>org.jboss.proxy.ClientMethodInterceptor</interceptor> | <interceptor>org.jboss.invocation.InvokerInterceptor</interceptor> | </interceptors> | </attribute> | <depends>jboss:service=invoker,type=pooled</depends> <!-- here --> | </mbean> | </depends> | | </mbean> | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876522#3876522 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876522 |