[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-3588) seamspace example needs to use @Begin(join=true) for some actions

Jozef Hartinger (JIRA) jira-events at lists.jboss.org
Wed Nov 12 09:38:36 EST 2008


    [ https://jira.jboss.org/jira/browse/JBSEAM-3588?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12438086#action_12438086 ] 

Jozef Hartinger commented on JBSEAM-3588:
-----------------------------------------

I can see this problem using trunk AS5 and Seam on JDK6. When clicking "newrole" button for the first time nothing happens. After second click exception mentioned above appears in log. Notice that even before clicking the button list of users/roles is empty.

> seamspace example needs to use @Begin(join=true) for some actions
> -----------------------------------------------------------------
>
>                 Key: JBSEAM-3588
>                 URL: https://jira.jboss.org/jira/browse/JBSEAM-3588
>             Project: Seam
>          Issue Type: Bug
>          Components: Examples
>    Affects Versions: 2.1.0.CR1
>         Environment: JDK6 
> AS 5 CR2
>            Reporter: Jay Balunas
>            Assignee: Jozef Hartinger
>            Priority: Minor
>             Fix For: 2.1.1.CR1
>
>
> If you click on create user or create role twice you get the exception below in the log
> Caused by: java.lang.IllegalStateException: begin method invoked from a long-running conversation, try using @Begin(join=true) on method: createRole
>         at org.jboss.seam.core.ConversationInterceptor.aroundInvoke(ConversationInterceptor.java:47)
>         at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
>         at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:44)

-- 
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 seam-issues mailing list