Hi

This topic describes the problem and also gives solution.
Our application will be deployed on hundreds of JBOSS machines.
We try to use the EJB 3.0 annotations and fail to problems.
The @Stateless bean with @RemoteBinding that deployed on many mashines can not 
be invoked remotely - we assign the PROVIDER_URL with Ip of remote JBOSS 
mashine and InitialContext is OK, also lookup return object is OK.
But invocation of any method invokes locally.
Deep view of JBOSS code in debug shows that default configuration of 
ejb3-interceptors-aop.xml defines IsLocalInterceptor as first interceptor to 
all client stacks and causes to this abnormal behaviour.

Our solution: put additional stack definition in ejb3-interceptors-aop.xml
and add interceptorStack parameter to @RemoteBinding annotation.

It works.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3918927#3918927

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3918927


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to