-
1. Re: @Interceptor call failure on @WebMethod
summer.hill Jun 26, 2006 10:31 PM (in response to summer.hill)Forgot to state that I am using jboss 4.0.4.GA app server with the ejb3-clustered configuration.
-
2. Re: @Interceptor call failure on @WebMethod
xslava Apr 11, 2007 9:56 AM (in response to summer.hill)Hi,
I have the same problem. Enviroment:
jboss-4.0.5.GA
jboss-EJB-3.0_RC9_Patch_1
jbossws-1.2.0.SP1
Interceptor don't work until bean implements interface marked with @Remote or @Local annotation.
Slava -
3. Re: @Interceptor call failure on @WebMethod
chrholm Aug 9, 2007 8:02 AM (in response to summer.hill)I would like this fixed as well. It took me a very long time before I figured out the problem.
-
4. Re: @Interceptor call failure on @WebMethod
houla Sep 7, 2007 10:27 AM (in response to summer.hill)Hi @ all!
The problem still exists in JBoss 4.2.1 GA. The only workarround is to add a @Local or @Remote to the interface (like xslava wrote already). We generate our interface with wsimport, so we have to change the generated source code every time we do a new generation. If I understood the JSR-220 right, it should be possible to add interceptors to web-service methds as well (without a @Local or @Remote). If I use GlassFish instead of JBoss to deploy the same .jar-file, all interceptors get called.
Thanks, Houla -
5. Re: @Interceptor call failure on @WebMethod
rcarmichael Mar 6, 2008 3:21 PM (in response to summer.hill)Sorry for the "me too" post, but this is really unfortunate. @Interceptors just plain don't work on beans marked with only @Stateless and @WebService. Add @Service, @Local or @Remote, it works fine.
This is on AS 4.2.2.
Has this at least been added to the bug list? Are there any other workarounds?
Thanks,
- Ryan -
6. Re: @Interceptor call failure on @WebMethod
alrubinger Mar 6, 2008 3:38 PM (in response to summer.hill)Please do a search on JIRA (under EJBTHREE Project), and if you cannot find an issue, go ahead and file one. If you attach an isolated test case exhibiting this problem, that's very helpful.
For extra credit, you can even poke around and see what the differences between working @Interceptors and you case is. See http://wiki.jboss.org/wiki/Wiki.jsp?page=DevEJB3NewPlugin.
S,
ALR -
7. Re: @Interceptor call failure on @WebMethod
rcarmichael Mar 6, 2008 7:31 PM (in response to summer.hill)I did not find the issue currently on JIRA, so I filed one with an example.
http://jira.jboss.org/jira/browse/EJBTHREE-1206
- Ryan -
8. Re: @Interceptor call failure on @WebMethod
behrangsa Aug 22, 2011 10:50 PM (in response to rcarmichael)THREE years and still unfixed?