-
1. Re: ejb interceptor are ignored.
nickarls Aug 24, 2012 1:42 AM (in response to bugu1986)Does the interceptor work when packaged locally?
-
2. Re: ejb interceptor are ignored.
bugu1986 Aug 24, 2012 2:01 AM (in response to nickarls)Thank you.
I try to move interceptor to some-ejb.jar , it is work.
bescause , when deploying Ear , jboss7 will not process @aroundinvoker located jboss/modules/ . is it bug??
-
3. Re: ejb interceptor are ignored.
bugu1986 Aug 24, 2012 2:06 AM (in response to nickarls)My interceptor is used many EAR.. I can't put it in eveyone EAR..
-
4. Re: ejb interceptor are ignored.
nickarls Aug 24, 2012 2:14 AM (in response to bugu1986)I don't really think there is a difference once the class has been found. Are you using jboss-deployment-structure.xml? OTOH, one would think that there would be something in the log if the class could not be found at all...
-
5. Re: ejb interceptor are ignored.
bugu1986 Aug 24, 2012 2:33 AM (in response to nickarls)Thank you
I using MANIFEST.MF , i depend on that module.
https://issues.jboss.org/browse/AS7-944 , i think this is what I'm looking for ... but the issues has been resolved?
-
6. Re: ejb interceptor are ignored.
bugu1986 Aug 27, 2012 7:44 AM (in response to bugu1986)I solved.
1. Write MANIFEST like this : Dependencies : xxx.xxx.xxx annotations
2. Use jandex to create META-INF/jandex.idx for xxx.xxx.xxx