[jboss-jira] [JBoss JIRA] Commented: (EJBTHREE-2151) Global interceptor in ejb-jar.xml ignores @Asynchronous

jaikiran pai (JIRA) jira-events at lists.jboss.org
Mon Aug 16 09:46:41 EDT 2010


    [ https://jira.jboss.org/browse/EJBTHREE-2151?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12545132#action_12545132 ] 

jaikiran pai commented on EJBTHREE-2151:
----------------------------------------

What does the bean method look like? And where are you adding that annotation - to the bean class or the interceptor class?


> Global interceptor in ejb-jar.xml ignores @Asynchronous
> -------------------------------------------------------
>
>                 Key: EJBTHREE-2151
>                 URL: https://jira.jboss.org/browse/EJBTHREE-2151
>             Project: EJB 3.0
>          Issue Type: Bug
>         Environment: JBossAS 6.0.0.M4
>            Reporter: Juergen Zimmermann
>
> In ejb-jar.xml I'm having a global interceptor (it's for logging all public methods of an EJB during the development phase).
> However, when I annotate a method using @Asynchronous, the annotated public method is just ignored. There is no stacktrace or anything else in the log file.
> Declaration in ejb-jar.xml:
> <ejb-jar ...version="3.1">
> 	...
> 	<assembly-descriptor>
> 		<interceptor-binding>
> 			<ejb-name>*</ejb-name>
> 			<interceptor-class>
> 				de.hska.util.LoggingInterceptor
> 			</interceptor-class>
> 		</interceptor-binding>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list