3 Replies Latest reply on Oct 27, 2008 2:49 PM by diegocoronel

    Migration from 2.0.1.GA to 2.1.GA

    diegocoronel

      Hey,


      Im trying to migrate seam to 2.1 version, i already read seam21migration.txt and i think i did all those steps.


      My components.xml



      <?xml version="1.0" encoding="UTF-8"?>
      <components xmlns="http://jboss.com/products/seam/components"  
                  xmlns:core="http://jboss.com/products/seam/core"
                  xmlns:persistence="http://jboss.com/products/seam/persistence"
                  xmlns:drools="http://jboss.com/products/seam/drools"
                  xmlns:bpm="http://jboss.com/products/seam/bpm"
                  xmlns:security="http://jboss.com/products/seam/security"
                  xmlns:mail="http://jboss.com/products/seam/mail"
                  xmlns:transaction="http://jboss.com/products/seam/transaction"
                  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                  xmlns:web="http://jboss.com/products/seam/web"
                  xmlns:async="http://jboss.com/products/seam/async"
                  xsi:schemaLocation=
                      "http://jboss.com/products/seam/core http://jboss.com/products/seam/core-2.1.xsd 
                       http://jboss.com/products/seam/persistence http://jboss.com/products/seam/persistence-2.1.xsd 
                       http://jboss.com/products/seam/drools http://jboss.com/products/seam/drools-2.1.xsd
                       http://jboss.com/products/seam/bpm http://jboss.com/products/seam/bpm-2.1.xsd
                       http://jboss.com/products/seam/security http://jboss.com/products/seam/security-2.1.xsd
                       http://jboss.com/products/seam/mail http://jboss.com/products/seam/mail-2.1.xsd
                       http://jboss.com/products/seam/components http://jboss.com/products/seam/components-2.1.xsd">
      
         <web:exception-filter url-pattern="*.seam"/>   
         <web:redirect-filter url-pattern="*.seam"/>
          
         <core:init debug="true" jndi-pattern="jdoctor/#{ejbName}/local"  />
         
         <transaction:ejb-transaction />
           
         <core:manager concurrent-request-timeout="20000"  
                       conversation-timeout="120000" />
         <persistence:managed-persistence-context name="entityManager" auto-create="true"  >
                <persistence:persistence-unit-jndi-name>java:/jdoctor_IDoctorEntityManagerFactory</persistence:persistence-unit-jndi-name>
         </persistence:managed-persistence-context>
                          
          <drools:rule-base name="securityRules">
             <drools:rule-files>
                 <value>/WEB-INF/security.drl</value>
             </drools:rule-files>
         </drools:rule-base>
      
         <security:identity authenticate-method="#{authenticator.authenticate}" />
         <security:rule-based-permission-resolver security-rules="#{securityRules}"/>
         <mail:mail-session host="webmail.fpf.br" port="25" />    
      
         <!-- For use with jBPM pageflow or process management -->
         <!--  
         <bpm:jbpm>
            <bpm:process-definitions></bpm:process-definitions>
            <bpm:pageflow-definitions></bpm:pageflow-definitions>
         </bpm:jbpm>
         -->
            <!-- Install the QuartzDispatcher -->
         <async:quartz-dispatcher/>
            
      </components>



      and all my pages.xml are like this:



      <?xml version="1.0" encoding="UTF-8"?>
      <page xmlns="http://jboss.com/products/seam/pages"
            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
            xmlns:s="http://jboss.com/products/seam/taglib"
            xsi:schemaLocation="http://jboss.com/products/seam/pages http://jboss.com/products/seam/pages-2.1.xsd"
            view-id="/face/gerais/cadastro_cidade/pesquisar.seam"
            login-required="true">
         <restrict>#{s:hasRole('mod_gerais.cidade')}</restrict>
         <begin-conversation join="true" flush-mode="manual" /> 
              <navigation>
                <rule if-outcome="sucesso">
                     <end-conversation before-redirect="false"/>
                     <redirect view-id="/face/gerais/cadastro_cidade/pesquisar.seam"/>
                </rule>
                <rule if-outcome="cancel">
                     <end-conversation before-redirect="true"/>
                     <redirect view-id="/face/gerais/cadastro_cidade/pesquisar.seam"/>
                </rule>
           </navigation>
         
      </page>



      I changed the old version of jboss-seam.jar in my ear and all jboss-seam-XXX.jar in my war.


      Before the changes my pages took about 1-3 sec to open, and now with this migration its taking about 53 sec to open, anyone can help me ? is there something more to change ?

        • 1. Re: Migration from 2.0.1.GA to 2.1.GA
          shane.bryzak

          Anything in the debug log that hints as to where all the time is being taken?

          • 2. Re: Migration from 2.0.1.GA to 2.1.GA
            diegocoronel

            hey, here is more information about my log..


            Log start:



            2008-10-27 09:17:42,580 DEBUG [org.jboss.seam.Component] initializing new instance of: org.jboss.seam.web.session
            2008-10-27 09:17:42,580 DEBUG [org.jboss.seam.Component] done initializing: org.jboss.seam.web.session
            2008-10-27 09:17:42,580 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.postCreate.org.jboss.seam.web.session
            2008-10-27 09:17:42,580 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.preDestroyContext.CONVERSATION
            2008-10-27 09:17:42,580 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.postDestroyContext.CONVERSATION
            2008-10-27 09:17:42,580 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.preDestroyContext.EVENT
            2008-10-27 09:17:42,580 DEBUG [org.jboss.seam.contexts.Contexts] destroying: org.jboss.seam.core.events
            2008-10-27 09:17:42,580 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.preDestroy.org.jboss.seam.core.events
            2008-10-27 09:17:42,580 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.postDestroyContext.EVENT
            2008-10-27 09:17:42,623 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.HeirarchicalLoaderRepository3@78308e, cl=org.jboss.mx.loading.HeirarchicalLoaderRepository3$CacheClassLoader@d225f{ url=null ,addedOrder=0}
            2008-10-27 09:17:42,625 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.HeirarchicalLoaderRepository3@78308e, cl=org.jboss.mx.loading.HeirarchicalLoaderRepository3$CacheClassLoader@c82be5{ url=null ,addedOrder=0}
            2008-10-27 09:17:42,625 DEBUG [org.ajax4jsf.event.AjaxPhaseListener] Process before phase RESTORE_VIEW 1
            2008-10-27 09:17:42,625 DEBUG [org.ajax4jsf.event.InitPhaseListener] Perform additional framework initialization on first request
            2008-10-27 09:17:42,625 DEBUG [org.ajax4jsf.event.InitPhaseListener] Set AjaxViewHandler on top of chain
            2008-10-27 09:17:42,625 DEBUG [org.ajax4jsf.application.AjaxViewHandler] Create instance of Ajax ViewHandler
            2008-10-27 09:17:42,627 DEBUG [org.jboss.seam.contexts.FacesLifecycle] >>> Begin JSF request for /idoctor/home.seam
            2008-10-27 09:17:42,628 DEBUG [org.jboss.seam.Component] instantiating Seam component: org.jboss.seam.web.servletContexts
            2008-10-27 09:17:42,628 DEBUG [org.jboss.seam.Component] instantiating Seam component: org.jboss.seam.core.events
            2008-10-27 09:17:42,628 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.postSetVariable.org.jboss.seam.core.events
            2008-10-27 09:17:42,628 DEBUG [org.jboss.seam.Component] initializing new instance of: org.jboss.seam.core.events
            2008-10-27 09:17:42,628 DEBUG [org.jboss.seam.Component] done initializing: org.jboss.seam.core.events
            2008-10-27 09:17:42,628 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.postCreate.org.jboss.seam.core.events
            2008-10-27 09:17:42,628 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.preSetVariable.org.jboss.seam.web.servletContexts
            2008-10-27 09:17:42,628 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.postSetVariable.org.jboss.seam.web.servletContexts
            2008-10-27 09:17:42,628 DEBUG [org.jboss.seam.Component] initializing new instance of: org.jboss.seam.web.servletContexts
            2008-10-27 09:17:42,628 DEBUG [org.jboss.seam.Component] done initializing: org.jboss.seam.web.servletContexts
            2008-10-27 09:17:42,628 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.postCreate.org.jboss.seam.web.servletContexts
            2008-10-27 09:17:42,628 DEBUG [org.jboss.seam.Component] instantiating Seam component: org.jboss.seam.transaction.transaction
            2008-10-27 09:17:42,628 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.preSetVariable.org.jboss.seam.transaction.transaction
            2008-10-27 09:17:42,628 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.postSetVariable.org.jboss.seam.transaction.transaction
            2008-10-27 09:17:42,628 DEBUG [org.jboss.seam.Component] initializing new instance of: org.jboss.seam.transaction.transaction
            2008-10-27 09:17:42,628 DEBUG [org.jboss.seam.Component] done initializing: org.jboss.seam.transaction.transaction
            2008-10-27 09:17:42,628 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.postCreate.org.jboss.seam.transaction.transaction
            2008-10-27 09:17:42,628 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
            2008-10-27 09:17:42,630 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.HeirarchicalLoaderRepository3@78308e, cl=org.jboss.mx.loading.HeirarchicalLoaderRepository3$CacheClassLoader@4a59be{ url=null ,addedOrder=0}
            2008-10-27 09:17:42,630 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
            2008-10-27 09:17:42,631 DEBUG [org.jboss.seam.jsf.SeamPhaseListener] beginning transaction prior to phase: RESTORE_VIEW 1
            2008-10-27 09:17:42,631 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
            2008-10-27 09:17:42,631 DEBUG [org.jboss.seam.transaction.UTTransaction] beginning JTA transaction
            2008-10-27 09:17:42,631 DEBUG [org.jboss.seam.Component] instantiating Seam component: org.jboss.seam.transaction.synchronizations
            2008-10-27 09:17:42,631 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
            2008-10-27 09:17:42,633 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.HeirarchicalLoaderRepository3@78308e, cl=org.jboss.mx.loading.HeirarchicalLoaderRepository3$CacheClassLoader@643c6{ url=null ,addedOrder=0}
            2008-10-27 09:17:42,633 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.preSetVariable.org.jboss.seam.transaction.synchronizations
            2008-10-27 09:17:42,634 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.postSetVariable.org.jboss.seam.transaction.synchronizations
            2008-10-27 09:17:42,634 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.postCreate.org.jboss.seam.transaction.synchronizations
            2008-10-27 09:17:42,634 DEBUG [org.jboss.seam.transaction.EjbSynchronizations] afterBegin
            2008-10-27 09:17:42,634 DEBUG [org.jboss.ejb3.entity.ExtendedPersistenceContextPropagationInterceptor] ++++ LongLivedSessionPropagationInterceptor
            2008-10-27 09:17:42,634 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.beforePhase
            2008-10-27 09:17:42,666 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.HeirarchicalLoaderRepository3@78308e, cl=org.jboss.mx.loading.HeirarchicalLoaderRepository3$CacheClassLoader@1f29e34{ url=null ,addedOrder=0}
            2008-10-27 09:17:42,671 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.HeirarchicalLoaderRepository3@78308e, cl=org.jboss.mx.loading.HeirarchicalLoaderRepository3$CacheClassLoader@6e83c6{ url=null ,addedOrder=0}
            2008-10-27 09:17:42,717 DEBUG [org.jboss.seam.Component] instantiating Seam component: org.jboss.seam.international.localeSelector
            2008-10-27 09:17:42,718 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.preSetVariable.org.jboss.seam.international.localeSelector
            2008-10-27 09:17:42,718 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.postSetVariable.org.jboss.seam.international.localeSelector
            2008-10-27 09:17:42,718 DEBUG [org.jboss.seam.Component] initializing new instance of: org.jboss.seam.international.localeSelector
            2008-10-27 09:17:42,718 DEBUG [org.jboss.seam.Component] done initializing: org.jboss.seam.international.localeSelector
            2008-10-27 09:17:42,718 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.postCreate.org.jboss.seam.international.localeSelector
            2008-10-27 09:17:42,721 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.afterPhase
            2008-10-27 09:17:42,725 DEBUG [org.jboss.seam.Component] instantiating Seam component: org.jboss.seam.core.conversationPropagation
            2008-10-27 09:17:42,725 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.preSetVariable.org.jboss.seam.core.conversationPropagation
            2008-10-27 09:17:42,725 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.postSetVariable.org.jboss.seam.core.conversationPropagation
            2008-10-27 09:17:42,725 DEBUG [org.jboss.seam.Component] initializing new instance of: org.jboss.seam.core.conversationPropagation
            2008-10-27 09:17:42,725 DEBUG [org.jboss.seam.Component] done initializing: org.jboss.seam.core.conversationPropagation
            2008-10-27 09:17:42,725 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.postCreate.org.jboss.seam.core.conversationPropagation
            2008-10-27 09:17:42,725 DEBUG [org.jboss.seam.Component] instantiating Seam component: org.jboss.seam.core.manager
            2008-10-27 09:17:42,725 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.preSetVariable.org.jboss.seam.core.manager
            2008-10-27 09:17:42,725 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.postSetVariable.org.jboss.seam.core.manager
            2008-10-27 09:17:42,725 DEBUG [org.jboss.seam.Component] initializing new instance of: org.jboss.seam.core.manager
            2008-10-27 09:17:42,725 DEBUG [org.jboss.seam.Component] done initializing: org.jboss.seam.core.manager
            2008-10-27 09:17:42,725 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.postCreate.org.jboss.seam.core.manager
            2008-10-27 09:17:42,725 DEBUG [org.jboss.seam.Component] instantiating Seam component: org.jboss.seam.faces.facesPage
            2008-10-27 09:17:42,726 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.preSetVariable.org.jboss.seam.faces.facesPage
            2008-10-27 09:17:42,726 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.postSetVariable.org.jboss.seam.faces.facesPage
            2008-10-27 09:17:42,726 DEBUG [org.jboss.seam.Component] initializing new instance of: org.jboss.seam.faces.facesPage
            2008-10-27 09:17:42,726 DEBUG [org.jboss.seam.Component] done initializing: org.jboss.seam.faces.facesPage
            2008-10-27 09:17:42,726 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.postCreate.org.jboss.seam.faces.facesPage
            2008-10-27 09:17:42,726 DEBUG [org.jboss.seam.core.Manager] No stored conversation
            2008-10-27 09:17:42,727 DEBUG [org.jboss.seam.Component] instantiating Seam component: org.jboss.seam.core.ConversationIdGenerator
            2008-10-27 09:17:42,727 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.preSetVariable.org.jboss.seam.core.ConversationIdGenerator
            2008-10-27 09:17:42,727 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.postSetVariable.org.jboss.seam.core.ConversationIdGenerator
            2008-10-27 09:17:42,727 DEBUG [org.jboss.seam.Component] initializing new instance of: org.jboss.seam.core.ConversationIdGenerator
            2008-10-27 09:17:42,727 DEBUG [org.jboss.seam.Component] done initializing: org.jboss.seam.core.ConversationIdGenerator
            2008-10-27 09:17:42,727 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.postCreate.org.jboss.seam.core.ConversationIdGenerator
            2008-10-27 09:17:42,735 DEBUG [org.jboss.seam.Component] instantiating Seam component: org.jboss.seam.web.parameters
            2008-10-27 09:17:42,735 DEBUG [org.jboss.seam.Component] initializing new instance of: org.jboss.seam.web.parameters
            2008-10-27 09:17:42,735 DEBUG [org.jboss.seam.Component] done initializing: org.jboss.seam.web.parameters
            2008-10-27 09:17:42,738 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.notLoggedIn
            2008-10-27 09:17:42,738 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.security.notLoggedIn
            2008-10-27 09:17:42,738 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: org.jboss.seam.security.facesSecurityEvents
            2008-10-27 09:17:42,738 DEBUG [org.jboss.seam.Component] instantiating Seam component: org.jboss.seam.international.statusMessages
            2008-10-27 09:17:42,738 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.preSetVariable.org.jboss.seam.international.statusMessages
            2008-10-27 09:17:42,739 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.postSetVariable.org.jboss.seam.international.statusMessages
            2008-10-27 09:17:42,739 DEBUG [org.jboss.seam.Component] initializing new instance of: org.jboss.seam.international.statusMessages
            2008-10-27 09:17:42,739 DEBUG [org.jboss.seam.Component] done initializing: org.jboss.seam.international.statusMessages
            2008-10-27 09:17:42,739 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.postCreate.org.jboss.seam.international.statusMessages
            2008-10-27 09:17:42,740 DEBUG [org.jboss.seam.Component] instantiating Seam component: org.jboss.seam.core.locale
            2008-10-27 09:17:42,740 DEBUG [org.jboss.seam.Component] initializing new instance of: org.jboss.seam.core.locale
            2008-10-27 09:17:42,740 DEBUG [org.jboss.seam.Component] done initializing: org.jboss.seam.core.locale
            2008-10-27 09:17:42,750 DEBUG [org.jboss.seam.Component] instantiating Seam component: org.jboss.seam.core.resourceLoader
            2008-10-27 09:17:42,750 DEBUG [org.jboss.seam.Component] initializing new instance of: org.jboss.seam.core.resourceLoader
            2008-10-27 09:17:42,750 DEBUG [org.jboss.seam.Component] done initializing: org.jboss.seam.core.resourceLoader
            2008-10-27 09:17:42,750 DEBUG [org.jboss.seam.Component] instantiating Seam component: org.jboss.seam.core.locale
            2008-10-27 09:17:42,750 DEBUG [org.jboss.seam.Component] initializing new instance of: org.jboss.seam.core.locale
            2008-10-27 09:17:42,750 DEBUG [org.jboss.seam.Component] done initializing: org.jboss.seam.core.locale
            2008-10-27 09:17:42,769 DEBUG [org.jboss.seam.core.ResourceLoader] resource bundle missing: home
            2008-10-27 09:17:42,770 DEBUG [org.jboss.seam.Component] instantiating Seam component: org.jboss.seam.core.locale
            2008-10-27 09:17:42,770 DEBUG [org.jboss.seam.Component] initializing new instance of: org.jboss.seam.core.locale
            2008-10-27 09:17:42,770 DEBUG [org.jboss.seam.Component] done initializing: org.jboss.seam.core.locale
            2008-10-27 09:17:42,770 DEBUG [org.jboss.seam.Component] instantiating Seam component: org.jboss.seam.core.resourceLoader
            2008-10-27 09:17:42,770 DEBUG [org.jboss.seam.Component] initializing new instance of: org.jboss.seam.core.resourceLoader
            2008-10-27 09:17:42,770 DEBUG [org.jboss.seam.Component] done initializing: org.jboss.seam.core.resourceLoader
            ...
            org.jboss.seam.core.conversationEntries
            2008-10-27 09:17:42,838 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.preSetVariable.org.jboss.seam.core.conversationEntries
            2008-10-27 09:17:42,838 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.postSetVariable.org.jboss.seam.core.conversationEntries
            2008-10-27 09:17:42,838 DEBUG [org.jboss.seam.Component] initializing new instance of: org.jboss.seam.core.conversationEntries
            2008-10-27 09:17:42,838 DEBUG [org.jboss.seam.Component] done initializing: org.jboss.seam.core.conversationEntries
            2008-10-27 09:17:42,838 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.postCreate.org.jboss.seam.core.conversationEntries
            2008-10-27 09:17:42,839 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.HeirarchicalLoaderRepository3@78308e, cl=org.jboss.mx.loading.HeirarchicalLoaderRepository3$CacheClassLoader@d6adbc{ url=null ,addedOrder=0}
            2008-10-27 09:17:42,839 DEBUG [org.jboss.seam.faces.FacesManager] redirecting to: /idoctor/layout/login.seam?conversationId=1
            2008-10-27 09:17:42,839 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.preSetVariable.org.jboss.seam.core.Manager
            2008-10-27 09:17:42,839 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.postSetVariable.org.jboss.seam.core.Manager
            2008-10-27 09:17:42,839 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.preRemoveVariable.org.jboss.seam.core.Manager
            2008-10-27 09:17:42,839 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.postRemoveVariable.org.jboss.seam.core.Manager
            2008-10-27 09:17:42,839 DEBUG [org.jboss.seam.Component] instantiating Seam component: org.jboss.seam.core.interpolator
            2008-10-27 09:17:42,839 DEBUG [org.jboss.seam.Component] initializing new instance of: org.jboss.seam.core.interpolator
            2008-10-27 09:17:42,839 DEBUG [org.jboss.seam.Component] done initializing: org.jboss.seam.core.interpolator
            2008-10-27 09:17:42,840 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
            2008-10-27 09:17:42,840 DEBUG [org.jboss.seam.jsf.SeamPhaseListener] committing transaction after phase: RESTORE_VIEW 1
            2008-10-27 09:17:42,840 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
            2008-10-27 09:17:42,840 DEBUG [org.jboss.seam.transaction.UTTransaction] committing JTA transaction
            2008-10-27 09:17:42,841 DEBUG [org.jboss.seam.transaction.EjbSynchronizations] afterBegin
            2008-10-27 09:17:42,841 DEBUG [org.jboss.ejb3.entity.ExtendedPersistenceContextPropagationInterceptor] ++++ LongLivedSessionPropagationInterceptor
            2008-10-27 09:17:42,841 DEBUG [org.jboss.seam.transaction.EjbSynchronizations] beforeCompletion
            2008-10-27 09:17:42,841 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.beforeTransactionCompletion
            2008-10-27 09:17:42,841 DEBUG [org.jboss.seam.transaction.EjbSynchronizations] beforeCompletion
            2008-10-27 09:17:42,841 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.beforeTransactionCompletion
            2008-10-27 09:17:42,841 DEBUG [org.jboss.seam.transaction.EjbSynchronizations] afterCompletion
            2008-10-27 09:17:42,841 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.afterTransactionCompletion
            2008-10-27 09:17:42,841 DEBUG [org.jboss.seam.transaction.EjbSynchronizations] afterCompletion
            2008-10-27 09:17:42,841 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.afterTransactionCompletion
            2008-10-27 09:17:42,841 DEBUG [org.jboss.ejb3.entity.ExtendedPersistenceContextPropagationInterceptor] ++++ LongLivedSessionPropagationInterceptor
            2008-10-27 09:17:42,841 DEBUG [org.jboss.seam.core.Manager] Storing conversation state: 1
            2008-10-27 09:17:42,841 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.HeirarchicalLoaderRepository3@78308e, cl=org.jboss.mx.loading.HeirarchicalLoaderRepository3$CacheClassLoader@282ecb{ url=null ,addedOrder=0}
            2008-10-27 09:17:42,841 DEBUG [org.jboss.seam.contexts.FacesLifecycle] After render response, destroying contexts
            2008-10-27 09:17:42,842 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
            2008-10-27 09:17:42,842 DEBUG [org.jboss.seam.contexts.Contexts] destroying business process context
            2008-10-27 09:17:42,842 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.preDestroyContext.BUSINESS_PROCESS
            2008-10-27 09:17:42,842 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.postDestroyContext.BUSINESS_PROCESS
            2008-10-27 09:17:42,842 DEBUG [org.jboss.seam.contexts.Contexts] flushing server-side conversation context
            2008-10-27 09:17:42,842 DEBUG [org.jboss.seam.Component] instantiating Seam component: org.jboss.seam.persistence.persistenceContexts
            2008-10-27 09:17:42,842 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.preSetVariable.org.jboss.seam.persistence.persistenceContexts
            2008-10-27 09:17:42,842 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.postSetVariable.org.jboss.seam.persistence.persistenceContexts
            2008-10-27 09:17:42,842 DEBUG [org.jboss.seam.Component] initializing new instance of: org.jboss.seam.persistence.persistenceContexts
            2008-10-27 09:17:42,842 DEBUG [org.jboss.seam.Component] done initializing: org.jboss.seam.persistence.persistenceContexts
            2008-10-27 09:17:42,842 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.postCreate.org.jboss.seam.persistence.persistenceContexts
            2008-10-27 09:17:42,843 DEBUG [org.jboss.seam.contexts.Contexts] flushing session context
            2008-10-27 09:17:42,843 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.preSetVariable.org.jboss.seam.core.conversationEntries
            2008-10-27 09:17:42,843 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.postSetVariable.org.jboss.seam.core.conversationEntries
            2008-10-27 09:17:42,843 DEBUG [org.jboss.seam.contexts.Contexts] destroying event context
            2008-10-27 09:17:42,843 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.preDestroyContext.EVENT
            2008-10-27 09:17:42,847 DEBUG [org.jboss.seam.contexts.Contexts] destroying: com.sun.faces.util.RequestStateManager
            2008-10-27 09:17:42,847 DEBUG [org.jboss.seam.contexts.Contexts] destroying: org.jboss.seam.core.conversationPropagation
            2008-10-27 09:17:42,847 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.preDestroy.org.jboss.seam.core.conversationPropagation
            2008-10-27 09:17:42,847 DEBUG [org.jboss.seam.contexts.Contexts] destroying: javax.servlet.request.key_size
            2008-10-27 09:17:42,847 DEBUG [org.jboss.seam.contexts.Contexts] destroying: org.jboss.seam.core.manager
            2008-10-27 09:17:42,847 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.preDestroy.org.jboss.seam.core.manager
            2008-10-27 09:17:42,847 DEBUG [org.jboss.seam.contexts.Contexts] destroying: javax.servlet.request.ssl_session
            2008-10-27 09:17:42,847 DEBUG [org.jboss.seam.contexts.Contexts] destroying: com.exade.vcp.Filter.done
            2008-10-27 09:17:42,847 DEBUG [org.jboss.seam.contexts.Contexts] destroying: org.jboss.seam.transaction.transaction
            2008-10-27 09:17:42,847 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.preDestroy.org.jboss.seam.transaction.transaction
            2008-10-27 09:17:42,847 DEBUG [org.jboss.seam.contexts.Contexts] destroying: javax.servlet.request.cipher_suite
            2008-10-27 09:17:42,847 DEBUG [org.jboss.seam.contexts.Contexts] destroying: org.jboss.seam.transaction.synchronizations
            2008-10-27 09:17:42,847 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.preDestroy.org.jboss.seam.transaction.synchronizations
            2008-10-27 09:17:42,847 DEBUG [org.jboss.ejb3.entity.ExtendedPersistenceContextPropagationInterceptor] ++++ LongLivedSessionPropagationInterceptor
            2008-10-27 09:17:42,847 DEBUG [org.jboss.seam.contexts.Contexts] destroying: org.jboss.seam.web.requestContextPath
            2008-10-27 09:17:42,847 DEBUG [org.jboss.seam.contexts.Contexts] destroying: org.jboss.seam.web.servletContexts
            2008-10-27 09:17:42,847 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.preDestroy.org.jboss.seam.web.servletContexts
            2008-10-27 09:17:42,847 DEBUG [org.jboss.seam.contexts.Contexts] destroying: org.jboss.seam.web.requestServletPath
            2008-10-27 09:17:42,847 DEBUG [org.jboss.seam.contexts.Contexts] destroying: org.jboss.seam.core.events
            2008-10-27 09:17:42,847 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.preDestroy.org.jboss.seam.core.events
            2008-10-27 09:17:42,847 DEBUG [org.jboss.seam.contexts.Contexts] destroying: ajaxContext
            2008-10-27 09:17:42,847 DEBUG [org.jboss.seam.contexts.Contexts] destroying: com.exade.vcp.Filter.ResponseWrapper
            2008-10-27 09:17:42,847 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.postDestroyContext.EVENT
            2008-10-27 09:17:42,847 DEBUG [org.jboss.seam.contexts.FacesLifecycle] <<< End JSF request for /idoctor/home.seam
            2008-10-27 09:17:42,847 DEBUG [org.ajax4jsf.event.InitPhaseListener] Remove init phase listener from factories
            2008-10-27 09:17:42,849 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.HeirarchicalLoaderRepository3@78308e, cl=org.jboss.mx.loading.HeirarchicalLoaderRepository3$CacheClassLoader@10c4ef{ url=null ,addedOrder=0}
            2008-10-27 09:17:42,849 DEBUG [org.ajax4jsf.event.AjaxPhaseListener] Process after phase RESTORE_VIEW 1
            2008-10-27 09:17:42,849 DEBUG [org.ajax4jsf.webapp.BaseFilter] Finished request processing total time 1010ms for uri: /idoctor/home.seam
            2008-10-27 09:17:42,875 DEBUG [org.jboss.seam.init.Initialization] Using Java hot deploy
            2008-10-27 09:17:42,875 DEBUG [org.jboss.seam.util.Resources] Loaded resource from context classloader: jar:file:/C:/jboss-4.2.2.GA/server/default/deploy/jdoctor.ear/jdoctor_web.war/WEB-INF/lib/jboss-seam-debug.jar!/META-INF/debug.xhtml
            2008-10-27 09:17:42,922 DEBUG [org.jboss.seam.deployment.DeploymentStrategy] Using default URLScanner
            2008-10-27 09:17:42,928 DEBUG [org.jboss.seam.deployment.DeploymentStrategy] Adding org.jboss.seam.bpm.PageflowDeploymentHandler as a deployment handler
            2008-10-27 09:17:42,931 DEBUG [org.jboss.seam.deployment.DeploymentStrategy] Using default URLScanner
            2008-10-27 09:17:42,931 DEBUG [org.jboss.seam.deployment.URLScanner] directory: C:\jboss-4.2.2.GA\server\default\.\deploy\jdoctor.ear\jdoctor_web.war



            more log:



            008-10-27 09:17:47,868 DEBUG [org.jboss.seam.init.Initialization] Using Java hot deploy
            2008-10-27 09:17:47,868 DEBUG [org.jboss.seam.util.Resources] Loaded resource from context classloader: jar:file:/C:/jboss-4.2.2.GA/server/default/deploy/jdoctor.ear/jdoctor_web.war/WEB-INF/lib/jboss-seam-debug.jar!/META-INF/debug.xhtml
            2008-10-27 09:17:47,877 DEBUG [org.jboss.seam.deployment.DeploymentStrategy] Using default URLScanner
            2008-10-27 09:17:47,881 DEBUG [org.jboss.seam.deployment.DeploymentStrategy] Adding org.jboss.seam.bpm.PageflowDeploymentHandler as a deployment handler
            2008-10-27 09:17:47,885 DEBUG [org.jboss.seam.deployment.DeploymentStrategy] Using default URLScanner
            2008-10-27 09:17:47,885 DEBUG [org.jboss.seam.deployment.URLScanner] directory: C:\jboss-4.2.2.GA\server\default\.\deploy\jdoctor.ear\jdoctor_web.war
            2008-10-27 09:17:47,885 DEBUG [org.jboss.seam.deployment.URLScanner] directory: C:\jboss-4.2.2.GA\server\default\.\deploy\jdoctor.ear\jdoctor_web.war\applets
            2008-10-27 09:17:47,887 DEBUG [org.jboss.seam.deployment.URLScanner] directory: C:\jboss-4.2.2.GA\server\default\.\deploy\jdoctor.ear\jdoctor_web.war\applets\opensign-1.7.0-bin
            2008-10-27 09:17:47,888 DEBUG [org.jboss.seam.deployment.URLScanner] directory: C:\jboss-4.2.2.GA\server\default\.\deploy\jdoctor.ear\jdoctor_web.war\applets\opensign-1.7.0-bin\plugins
            2008-10-27 09:17:47,890 DEBUG [org.jboss.seam.deployment.URLScanner] directory: C:\jboss-4.2.2.GA\server\default\.\deploy\jdoctor.ear\jdoctor_web.war\components
            2008-10-27 09:17:47,890 DEBUG [org.jboss.seam.deployment.URLScanner] directory: C:\jboss-4.2.2.GA\server\default\.\deploy\jdoctor.ear\jdoctor_web.war\components\fpf_ajaxStatus
            2008-10-27 09:17:47,891 DEBUG [org.jboss.seam.deployment.URLScanner] directory: C:\jboss-4.2.2.GA\server\default\.\deploy\jdoctor.ear\jdoctor_web.war\components\fpf_button




            end log...



            2008-10-27 09:19:31,885 DEBUG [org.jboss.seam.navigation.Pages] reading pages.xml file: /face/prontuario/cadastro_abordagemsindromica/pesquisar.page.xml
            2008-10-27 09:19:31,886 DEBUG [org.jboss.seam.util.Resources] Loaded resource from servlet context: /face/prontuario/cadastro_abordagemsindromica/pesquisar.page.xml
            2008-10-27 09:19:31,886 DEBUG [org.jboss.seam.navigation.Pages] reading pages.xml file: /face/prontuario/cadastro_abordagemsindromica/pesquisar.page.xml
            2008-10-27 09:19:31,887 DEBUG [org.jboss.seam.util.Resources] Loaded resource from servlet context: /face/prontuario/cadastro_abordagemsindromica/pesquisar.page.xml
            2008-10-27 09:19:31,887 DEBUG [org.jboss.seam.navigation.Pages] reading pages.xml file: /face/prontuario/cadastro_abordagemsindromica/pesquisar.page.xml
            2008-10-27 09:19:31,893 DEBUG [org.jboss.seam.util.Resources] Loaded resource from servlet context: /face/almoxarifado/cadastro_pedidocompra/visualizacao.page.xml
            2008-10-27 09:19:31,893 DEBUG [org.jboss.seam.navigation.Pages] reading pages.xml file: /face/almoxarifado/cadastro_pedidocompra/visualizacao.page.xml
            2008-10-27 09:19:31,893 DEBUG [org.jboss.seam.util.Resources] Loaded resource from servlet context: /face/almoxarifado/cadastro_pedidocompra/visualizacao.page.xml
            2008-10-27 09:19:31,893 DEBUG [org.jboss.seam.navigation.Pages] reading pages.xml file: /face/almoxarifado/cadastro_pedidocompra/visualizacao.page.xml
            2008-10-27 09:19:31,893 DEBUG [org.jboss.seam.util.Resources] Loaded resource from servlet context: /face/almoxarifado/cadastro_pedidocompra/visualizacao.page.xml
            2008-10-27 09:19:31,893 DEBUG [org.jboss.seam.navigation.Pages] reading pages.xml file: /face/almoxarifado/cadastro_pedidocompra/visualizacao.page.xml
            
            .
            .
            .008-10-27 09:20:00,037 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.postSetVariable.org.jboss.seam.core.conversationEntries
            2008-10-27 09:20:00,037 DEBUG [org.jboss.seam.Component] initializing new instance of: org.jboss.seam.core.conversationEntries
            2008-10-27 09:20:00,037 DEBUG [org.jboss.seam.Component] done initializing: org.jboss.seam.core.conversationEntries
            2008-10-27 09:20:00,037 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.postCreate.org.jboss.seam.core.conversationEntries
            2008-10-27 09:20:00,037 DEBUG [org.jboss.seam.contexts.Contexts] flushing session context
            2008-10-27 09:20:00,037 DEBUG [org.jboss.seam.contexts.Contexts] destroying event context
            2008-10-27 09:20:00,037 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.preDestroyContext.EVENT
            2008-10-27 09:20:00,037 DEBUG [org.jboss.seam.contexts.Contexts] destroying: org.jboss.seam.transaction.transaction
            2008-10-27 09:20:00,037 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.preDestroy.org.jboss.seam.transaction.transaction
            2008-10-27 09:20:00,037 DEBUG [org.jboss.seam.contexts.Contexts] destroying: timer
            2008-10-27 09:20:00,037 DEBUG [org.jboss.seam.contexts.Contexts] destroying: org.jboss.seam.core.manager
            2008-10-27 09:20:00,037 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.preDestroy.org.jboss.seam.core.manager
            2008-10-27 09:20:00,037 DEBUG [org.jboss.seam.contexts.Contexts] destroying: org.jboss.seam.transaction.synchronizations
            2008-10-27 09:20:00,037 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.preDestroy.org.jboss.seam.transaction.synchronizations
            2008-10-27 09:20:00,037 DEBUG [org.jboss.ejb3.entity.ExtendedPersistenceContextPropagationInterceptor] ++++ LongLivedSessionPropagationInterceptor
            2008-10-27 09:20:00,037 DEBUG [org.jboss.seam.contexts.Contexts] destroying: org.jboss.seam.web.servletContexts
            2008-10-27 09:20:00,037 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.preDestroy.org.jboss.seam.web.servletContexts
            2008-10-27 09:20:00,038 DEBUG [org.jboss.seam.contexts.Contexts] destroying: org.jboss.seam.core.events
            2008-10-27 09:20:00,038 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.preDestroy.org.jboss.seam.core.events
            2008-10-27 09:20:00,038 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.postDestroyContext.EVENT
            2008-10-27 09:20:00,038 DEBUG [org.jboss.seam.contexts.Lifecycle] <<< End call




            Can you see anything wrong ?


            • 3. Re: Migration from 2.0.1.GA to 2.1.GA
              diegocoronel

              hi,


              sry about this bump ;), but i saw in this thread:



              http://www.seamframework.org/Community/HotDeploymentIsSlowAndHasBugsWithSeam21



              that debug is my problem, my system has about 350 entity beans, 400 seam components, 400 *.pages.xml ..... and with debug true my pages are loading in 53 sec, and with debug false its working like in seam 2.0.1.GA.