[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-3489) postInitialization event is being called on hot deploy

Fred Bricon (JIRA) jira-events at lists.jboss.org
Mon Oct 20 05:25:31 EDT 2008


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

Fred Bricon commented on JBSEAM-3489:
-------------------------------------

Hi Pete,

As per your last comment, it's unclear to me if this issue is really closed. I didn't try with the latest code in trunk, so disregard this comment if you already fixed it, but with 2.1.0.CR1, postInitializationObserver is raised several times when accessing *each page*. 

Add the following class to a test app to highlight the problem. 

{code}
@Startup
@Name("postInitializationObserver")
@Scope(ScopeType.APPLICATION)
public class PostInitializationObserver {
  @Logger
  private Log log;

  private int count;

  @Observer("org.jboss.seam.postInitialization")
  public void observe()   {
    log.info("postInitialization event has been raised #0 times", ++count);
  }
}

{code}

It seems Initialization.redeploy(HttpServletRequest request) is called multiple times, even when no redeployment occurs.

regards,

Fred Bricon

> postInitialization event is being called on hot deploy
> ------------------------------------------------------
>
>                 Key: JBSEAM-3489
>                 URL: https://jira.jboss.org/jira/browse/JBSEAM-3489
>             Project: Seam
>          Issue Type: Bug
>    Affects Versions: 2.1.0.CR1
>            Reporter: Pete Muir
>            Assignee: Pete Muir
>             Fix For: 2.1.0.GA
>
>


-- 
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