[jboss-jira] [JBoss JIRA] Commented: (EJBTHREE-995) Multiple Synchronizations registered for a SFSB.
Osamu Yokomizo (JIRA)
jira-events at lists.jboss.org
Mon Jun 22 02:32:56 EDT 2009
[ https://jira.jboss.org/jira/browse/EJBTHREE-995?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12473193#action_12473193 ]
Osamu Yokomizo commented on EJBTHREE-995:
-----------------------------------------
Hi , Andrew.
The reproduced program was put, and look, please.
1: deploy sample.jar
2: execute client SampleClient.
SampleClient is in sample.jar.
This results in multiple calls to afterBegin(), beforeCompletion() and afterCompletion() in each transaction.
server.log
====
...
15:05:36,406 INFO [Server] JBoss (MX MicroKernel) [4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181439)] Started in 11s:891ms
15:06:00,859 INFO [STDOUT] ut.begin():6
15:06:00,859 INFO [STDOUT] afterBegin()
15:06:00,875 INFO [STDOUT] afterBegin()
15:06:00,875 INFO [STDOUT] afterBegin()
15:06:00,875 INFO [STDOUT] beforeCompletion():
15:06:00,875 INFO [STDOUT] beforeCompletion():
15:06:00,875 INFO [STDOUT] beforeCompletion():
15:06:00,875 INFO [STDOUT] afterCompletion():true
15:06:00,875 INFO [STDOUT] afterCompletion():true
15:06:00,875 INFO [STDOUT] afterCompletion():true
====
> Multiple Synchronizations registered for a SFSB.
> ------------------------------------------------
>
> Key: EJBTHREE-995
> URL: https://jira.jboss.org/jira/browse/EJBTHREE-995
> Project: EJB 3.0
> Issue Type: Bug
> Affects Versions: AS 4.2.0 GA
> Reporter: Gavin King
> Assignee: Andrew Lee Rubinger
> Priority: Critical
> Fix For: 1.0.0-Beta9
>
> Attachments: src.zip
>
>
> It seems that each time a bean that implements SessionSynchronization is called, a new Synchronization is registered with JTA. This results in multiple calls to afterBegin(), beforeCompletion() and afterCompletion() in each transaction.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list