Changes required for using the pooled invoker from the exist
mahendra_kutare Dec 20, 2006 7:43 AM
I have made the changes to conf/jboss-service.xml and also to standardjboss.xml to use pooled invoker. What puzzles me is if i comment out UNIFIED INVOKER and the CONFIGURATION in jboss-service.xml all of the SPECJ ejb jars deployment fails.
Can anyone explain this or experience this with SPECjAppServer2004 ?
I am using FC5, SPECjAppServer2004 and MySQL 5.0.8 for my setup.
Also my change for POOLED INVOKER to standardjboss.xml differs from entity-rmi-invoker using UNIFIED INVOKER only in the making the following line -
<invoker-mbean>jboss:service=invoker,type=unified</invoker-mbean>
to
<invoker-mbean>jboss:service=invoker,type=pooled</invoker-mbean>
I would like to know if all client and server interceptors from UNIFIED invoker be still valid for POOLED INVOKER -
<invoker-proxy-binding>
<name>entity-rmi-invoker</name>
<invoker-mbean>jboss:service=invoker,type=POOLED</invoker-mbean>
<proxy-factory>org.jboss.proxy.ejb.ProxyFactory</proxy-factory>
<proxy-factory-config>
<client-interceptors>
<home>
<interceptor>org.jboss.proxy.ejb.HomeInterceptor</interceptor>
<interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
<interceptor>org.jboss.proxy.TransactionInterceptor</interceptor>
<interceptor call-by-value="false">org.jboss.invocation.InvokerInterceptor</interceptor>
<interceptor call-by-value="true">org.jboss.invocation.MarshallingInvokerInterceptor</interceptor>
</home>
<bean>
<interceptor>org.jboss.proxy.ejb.EntityInterceptor</interceptor>
<interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
<interceptor>org.jboss.proxy.TransactionInterceptor</interceptor>
<interceptor call-by-value="false">org.jboss.invocation.InvokerInterceptor</interceptor>
<interceptor call-by-value="true">org.jboss.invocation.MarshallingInvokerInterceptor</interceptor>
</bean>
<list-entity>
<interceptor>org.jboss.proxy.ejb.ListEntityInterceptor</interceptor>
<interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
<interceptor>org.jboss.proxy.TransactionInterceptor</interceptor>
<interceptor call-by-value="false">org.jboss.invocation.InvokerInterceptor</interceptor>
<interceptor call-by-value="true">org.jboss.invocation.MarshallingInvokerInterceptor</interceptor>
</list-entity>
</client-interceptors>
</proxy-factory-config>
</invoker-proxy-binding>