ALL
We are using interceptor stack for some global context parameters. The context is a
thread local and we are populating data in Interceptor Stack and getting data in
Server side for stateless session beans. It is working fine with remote interface.
However, it is not working with local interfaces -- Do interceptors works with local
interfaces? If not, how the interceptors are working for local entity beans that
uses interceptor for transactions and security.
We are using stateless session bean and using rmi invoker--
<invoker-proxy-binding-name>foo-context-sharing-stateless-rmi-invoker</invoker-proxy-binding-name>
Do we need to use different invoker-proxy-binding instance of rmi-invoker for local
interfaces? We used with inheritedThreadLocal also - still did not work.
I' m attaching our jboss.xml there please help us
<!-- Container Configurations -->
<container-configurations>
<container-configuration extends="Standard Stateless SessionBean">
<container-name>foo-context-sharing-stateless-session-bean</container-name>
<invoker-proxy-binding-name>foo-context-sharing-stateless-rmi-invoker</invoker-proxy-binding-name>
<container-interceptors>
com.foo.abc.jboss.ServerContextInterceptor
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor
org.jboss.ejb.plugins.LogInterceptor
org.jboss.ejb.plugins.SecurityInterceptor
org.jboss.ejb.plugins.TxInterceptorCMT
org.jboss.ejb.plugins.MetricsInterceptor
org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor
<!-- BMT -->
org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor
org.jboss.ejb.plugins.TxInterceptorBMT
org.jboss.ejb.plugins.MetricsInterceptor
org.jboss.resource.connectionmanager.CachedConnectionInterceptor
</container-interceptors>
</container-configuration>
</container-configurations>
<!-- Invoker Proxy Bindings -->
<invoker-proxy-bindings>
<invoker-proxy-binding>
foo-context-sharing-stateless-rmi-invoker
<invoker-mbean>jboss:service=invoker,type=jrmp</invoker-mbean>
<proxy-factory>org.jboss.proxy.ejb.ProxyFactory</proxy-factory>
<proxy-factory-config>
<client-interceptors>
org.jboss.proxy.ejb.HomeInterceptor
org.jboss.proxy.SecurityInterceptor
org.jboss.proxy.TransactionInterceptor
org.jboss.invocation.InvokerInterceptor
com.foo.abc.jboss.ClientContextInterceptor
org.jboss.proxy.ejb.StatelessSessionInterceptor
org.jboss.proxy.SecurityInterceptor
org.jboss.proxy.TransactionInterceptor
org.jboss.invocation.InvokerInterceptor
</client-interceptors>
</proxy-factory-config>
</invoker-proxy-binding>
</invoker-proxy-bindings>
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3832271#3832271
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3832271
-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user