2 Replies Latest reply on Dec 18, 2006 5:24 AM by pmuir

    Problem when hitting enter instead of clicking Submit

      Here's the log of when I enter information into form fields then hit enter from the form itself (the first log), versus when I enter the same information and click Submit (the second log).

      When I click Submit, things seem to work fine (despite all the "Seam component not found:" messages). However, with the other one, nothing actually happens in the browser...the page refreshes with no error message, no validation performed, nothing...

      I doubt if it really has to do with the fact that I'm hitting enter instead of clicking submit (because it doesn't happen all the time), but I'm not sure what's going on (and there's no JavaScript in the page either). I think it happens after the first access to the page after every time I redeploy to the server.

      What could be causing it?

      22:51:36,828 DEBUG [Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
      22:51:36,828 DEBUG [AbstractSeamPhaseListener] beginning transaction prior to phase: RESTORE_VIEW(1)
      22:51:36,828 DEBUG [Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
      22:51:36,828 DEBUG [Lifecycle] >>> Begin web request
      22:51:36,828 DEBUG [Events] Processing event:org.jboss.seam.beforePhase
      22:51:36,843 DEBUG [Events] Processing event:org.jboss.seam.afterPhase
      22:51:36,843 DEBUG [Component] instantiating Seam component: org.jboss.seam.core.manager
      22:51:36,843 DEBUG [Component] initializing new instance of: org.jboss.seam.core.manager
      22:51:36,843 DEBUG [Component] done initializing: org.jboss.seam.core.manager
      22:51:36,843 DEBUG [Events] Processing event:org.jboss.seam.preSetVariable.org.jboss.seam.core.manager
      22:51:36,843 DEBUG [Events] Processing event:org.jboss.seam.postSetVariable.org.jboss.seam.core.manager
      22:51:36,843 DEBUG [Events] Processing event:org.jboss.seam.postCreate.org.jboss.seam.core.manager
      22:51:36,843 DEBUG [Manager] Restoring conversation with id: 2
      22:51:36,843 DEBUG [AbstractSeamPhaseListener] After restoring conversation context: ConversationContext(2)
      22:51:36,843 DEBUG [Events] Processing event:org.jboss.seam.beforePhase
      22:51:36,843 DEBUG [Events] Processing event:org.jboss.seam.afterPhase
      22:51:36,843 DEBUG [Events] Processing event:org.jboss.seam.beforePhase
      22:51:36,843 DEBUG [SeamVariableResolver] resolving name: member
      22:51:36,843 DEBUG [Contexts] found in conversation context: member
      22:51:36,843 DEBUG [SeamVariableResolver] resolved name to Seam component
      22:51:36,843 DEBUG [SeamVariableResolver] resolving name: member
      22:51:36,843 DEBUG [Contexts] found in conversation context: member
      22:51:36,843 DEBUG [SeamVariableResolver] resolved name to Seam component
      22:51:36,843 DEBUG [SeamVariableResolver] resolving name: member
      22:51:36,843 DEBUG [Contexts] found in conversation context: member
      22:51:36,843 DEBUG [SeamVariableResolver] resolved name to Seam component
      22:51:36,843 DEBUG [Events] Processing event:org.jboss.seam.afterPhase
      22:51:36,843 DEBUG [Events] Processing event:org.jboss.seam.beforePhase
      22:51:36,843 DEBUG [SeamVariableResolver] resolving name: member
      22:51:36,843 DEBUG [Contexts] found in conversation context: member
      22:51:36,843 DEBUG [SeamVariableResolver] resolved name to Seam component
      22:51:36,843 DEBUG [Events] Processing event:org.jboss.seam.afterPhase
      22:51:36,843 DEBUG [Events] Processing event:org.jboss.seam.beforePhase
      22:51:36,843 DEBUG [Events] Processing event:org.jboss.seam.afterPhase
      22:51:36,843 DEBUG [Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
      22:51:36,843 DEBUG [Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
      22:51:36,843 DEBUG [AbstractSeamPhaseListener] committing transaction after phase: INVOKE_APPLICATION(5)
      22:51:36,843 DEBUG [Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
      22:51:36,843 DEBUG [Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
      22:51:36,843 DEBUG [AbstractSeamPhaseListener] beginning transaction prior to phase: RENDER_RESPONSE(6)
      22:51:36,843 DEBUG [Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
      22:51:36,843 DEBUG [Events] Processing event:org.jboss.seam.preRemoveVariable.org.jboss.seam.core.conversationList
      22:51:36,843 DEBUG [Events] Processing event:org.jboss.seam.postRemoveVariable.org.jboss.seam.core.conversationList
      22:51:36,843 DEBUG [Events] Processing event:org.jboss.seam.preRemoveVariable.org.jboss.seam.core.switcher
      22:51:36,843 DEBUG [Events] Processing event:org.jboss.seam.postRemoveVariable.org.jboss.seam.core.switcher
      22:51:36,843 DEBUG [Events] Processing event:org.jboss.seam.preRemoveVariable.org.jboss.seam.core.conversationStack
      22:51:36,843 DEBUG [Events] Processing event:org.jboss.seam.postRemoveVariable.org.jboss.seam.core.conversationStack
      22:51:36,843 DEBUG [Events] Processing event:org.jboss.seam.beforePhase
      22:51:36,843 DEBUG [SeamVariableResolver] resolving name: member
      22:51:36,843 DEBUG [Contexts] found in conversation context: member
      22:51:36,843 DEBUG [SeamVariableResolver] resolved name to Seam component
      22:51:36,859 DEBUG [SeamVariableResolver] resolving name: member
      22:51:36,859 DEBUG [Contexts] found in conversation context: member
      22:51:36,859 DEBUG [SeamVariableResolver] resolved name to Seam component
      22:51:36,859 DEBUG [Events] Processing event:org.jboss.seam.afterPhase
      22:51:36,859 DEBUG [Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
      22:51:36,859 DEBUG [AbstractSeamPhaseListener] committing transaction after phase: RENDER_RESPONSE(6)
      22:51:36,859 DEBUG [Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
      22:51:36,859 DEBUG [Manager] Storing conversation state: 2
      22:51:36,859 DEBUG [Lifecycle] After render response, destroying contexts
      22:51:36,859 DEBUG [Lifecycle] destroying business process context
      22:51:36,859 DEBUG [Events] Processing event:org.jboss.seam.preDestroyContext.BUSINESS_PROCESS
      22:51:36,859 DEBUG [Events] Processing event:org.jboss.seam.postDestroyContext.BUSINESS_PROCESS
      22:51:36,859 DEBUG [Lifecycle] flushing server-side conversation context
      22:51:36,859 DEBUG [Lifecycle] flushing session context
      22:51:36,859 DEBUG [Lifecycle] destroying event context
      22:51:36,859 DEBUG [Events] Processing event:org.jboss.seam.preDestroyContext.EVENT
      22:51:36,859 DEBUG [Contexts] destroying: org.jboss.seam.core.manager
      22:51:36,859 DEBUG [Events] Processing event:org.jboss.seam.preDestroy.org.jboss.seam.core.manager
      22:51:36,859 DEBUG [Contexts] destroying: facelets.Encoding
      22:51:36,859 DEBUG [Contexts] destroying: org.apache.myfaces.application.jsp.JspStateManagerImpl.RESTORED_SERIALIZED_VIEW
      22:51:36,859 DEBUG [Contexts] destroying: jsf_sequence
      22:51:36,859 DEBUG [Contexts] destroying: org.apache.myfaces.application.jsp.JspStateManagerImpl.SERIALIZED_VIEW
      22:51:36,859 DEBUG [Contexts] destroying: com.sun.facelets.legacy.ELCONTEXT
      22:51:36,859 DEBUG [Events] Processing event:org.jboss.seam.postDestroyContext.EVENT
      22:51:36,859 DEBUG [Lifecycle] <<< End web request
      22:51:36,859 DEBUG [Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
      22:51:36,859 DEBUG [SeamExceptionFilter] ended request


      22:51:44,593 DEBUG [Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
      22:51:44,593 DEBUG [AbstractSeamPhaseListener] beginning transaction prior to phase: RESTORE_VIEW(1)
      22:51:44,593 DEBUG [Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
      22:51:44,593 DEBUG [Lifecycle] >>> Begin web request
      22:51:44,593 DEBUG [Events] Processing event:org.jboss.seam.beforePhase
      22:51:44,593 DEBUG [Events] Processing event:org.jboss.seam.afterPhase
      22:51:44,593 DEBUG [Component] instantiating Seam component: org.jboss.seam.core.manager
      22:51:44,609 DEBUG [Component] initializing new instance of: org.jboss.seam.core.manager
      22:51:44,609 DEBUG [Component] done initializing: org.jboss.seam.core.manager
      22:51:44,609 DEBUG [Events] Processing event:org.jboss.seam.preSetVariable.org.jboss.seam.core.manager
      22:51:44,609 DEBUG [Events] Processing event:org.jboss.seam.postSetVariable.org.jboss.seam.core.manager
      22:51:44,609 DEBUG [Events] Processing event:org.jboss.seam.postCreate.org.jboss.seam.core.manager
      22:51:44,609 DEBUG [Manager] Restoring conversation with id: 2
      22:51:44,609 DEBUG [AbstractSeamPhaseListener] After restoring conversation context: ConversationContext(2)
      22:51:44,609 DEBUG [Events] Processing event:org.jboss.seam.beforePhase
      22:51:44,609 DEBUG [Events] Processing event:org.jboss.seam.afterPhase
      22:51:44,609 DEBUG [Events] Processing event:org.jboss.seam.beforePhase
      22:51:44,609 DEBUG [SeamVariableResolver] resolving name: member
      22:51:44,609 DEBUG [Contexts] found in conversation context: member
      22:51:44,609 DEBUG [SeamVariableResolver] resolved name to Seam component
      22:51:44,609 DEBUG [SeamVariableResolver] resolving name: member
      22:51:44,609 DEBUG [Contexts] found in conversation context: member
      22:51:44,609 DEBUG [SeamVariableResolver] resolved name to Seam component
      22:51:44,609 DEBUG [SeamVariableResolver] resolving name: member
      22:51:44,609 DEBUG [Contexts] found in conversation context: member
      22:51:44,609 DEBUG [SeamVariableResolver] resolved name to Seam component
      22:51:44,609 DEBUG [Events] Processing event:org.jboss.seam.afterPhase
      22:51:44,609 DEBUG [Events] Processing event:org.jboss.seam.beforePhase
      22:51:44,609 DEBUG [SeamVariableResolver] resolving name: member
      22:51:44,609 DEBUG [Contexts] found in conversation context: member
      22:51:44,609 DEBUG [SeamVariableResolver] resolved name to Seam component
      22:51:44,609 DEBUG [Events] Processing event:org.jboss.seam.afterPhase
      22:51:44,609 DEBUG [Events] Processing event:org.jboss.seam.beforePhase
      22:51:44,609 DEBUG [SeamVariableResolver] resolving name: register
      22:51:44,609 DEBUG [Contexts] found in conversation context: register
      22:51:44,609 DEBUG [SeamVariableResolver] resolved name to Seam component
      22:51:44,609 DEBUG [Events] Processing event:org.jboss.seam.preSetVariable.org.jboss.seam.outermostExceptionInterceptor
      22:51:44,609 DEBUG [Events] Processing event:org.jboss.seam.postSetVariable.org.jboss.seam.outermostExceptionInterceptor
      22:51:44,609 DEBUG [ExtendedPersistenceContextPropagationInterceptor] ++++ LongLivedSessionPropagationInterceptor
      22:51:44,609 DEBUG [AbstractEntityManagerImpl] Looking for a JTA transaction to join
      22:51:44,609 DEBUG [JDBCContext] successfully registered Synchronization
      22:51:44,609 DEBUG [Component] trying to inject with hierarchical context search: facesMessages
      22:51:44,609 DEBUG [SeamVariableResolver] resolving name: org
      22:51:44,609 DEBUG [Component] seam component not found: org
      22:51:44,609 DEBUG [SeamVariableResolver] could not resolve name
      22:51:44,609 DEBUG [Component] seam component not found: org.jboss
      22:51:44,609 DEBUG [Component] seam component not found: org.jboss.seam
      22:51:44,609 DEBUG [Component] seam component not found: org.jboss.seam.core
      22:51:44,609 DEBUG [Contexts] found in conversation context: org.jboss.seam.core.facesMessages
      22:51:44,609 DEBUG [Component] trying to inject with hierarchical context search: member
      22:51:44,609 DEBUG [Contexts] found in conversation context: member
      22:51:44,609 DEBUG [AbstractSaveEventListener] executing identity-insert immediately
      22:51:44,609 DEBUG [UpdateTimestampsCache] Pre-invalidating space [Member]
      22:51:44,609 DEBUG [AbstractBatcher] about to open PreparedStatement (open PreparedStatements: 0, globally: 0)
      22:51:44,609 DEBUG [ConnectionManager] opening JDBC connection
      22:51:44,609 DEBUG [SQL] insert into Member (password, emailAddress, joinDate) values (?, ?, ?)
      22:51:44,609 INFO [STDOUT] Hibernate: insert into Member (password, emailAddress, joinDate) values (?, ?, ?)
      22:51:44,609 DEBUG [IdentifierGeneratorFactory] Natively generated identity: 1
      22:51:44,609 DEBUG [AbstractBatcher] about to close PreparedStatement (open PreparedStatements: 1, globally: 1)
      22:51:44,609 DEBUG [ConnectionManager] aggressively releasing JDBC connection
      22:51:44,609 DEBUG [ConnectionManager] releasing JDBC connection [ (open PreparedStatements: 0, globally: 0) (open ResultSets: 0, globally: 0)]
      22:51:44,609 DEBUG [Events] Processing event:org.jboss.seam.preSetVariable.member
      22:51:44,609 DEBUG [Events] Processing event:org.jboss.seam.postSetVariable.member
      22:51:44,609 DEBUG [Contexts] found in conversation context: org.jboss.seam.core.persistenceContexts
      22:51:44,609 DEBUG [Manager] Ending long-running conversation
      22:51:44,609 DEBUG [Events] Processing event:org.jboss.seam.endConversation
      22:51:44,609 DEBUG [Events] Processing event:org.jboss.seam.preRemoveVariable.org.jboss.seam.outermostExceptionInterceptor
      22:51:44,609 DEBUG [Events] Processing event:org.jboss.seam.postRemoveVariable.org.jboss.seam.outermostExceptionInterceptor
      22:51:44,625 DEBUG [Events] Processing event:org.jboss.seam.afterPhase
      22:51:44,625 DEBUG [Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
      22:51:44,625 DEBUG [Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
      22:51:44,625 DEBUG [AbstractSeamPhaseListener] committing transaction after phase: INVOKE_APPLICATION(5)
      22:51:44,625 DEBUG [Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
      22:51:44,625 DEBUG [AbstractFlushingEventListener] processing flush-time cascades
      22:51:44,625 DEBUG [AbstractFlushingEventListener] dirty checking collections
      22:51:44,625 DEBUG [AbstractFlushingEventListener] Flushed: 0 insertions, 0 updates, 0 deletions to 1 objects
      22:51:44,625 DEBUG [AbstractFlushingEventListener] Flushed: 0 (re)creations, 0 updates, 0 removals to 0 collections
      22:51:44,625 DEBUG [Printer] listing entities:
      22:51:44,625 DEBUG [Printer] com.whatever.entity.Member{password=jbb, emailAddress=h@h.h, joinDate=2006-12-17 22:49:38, id=1}
      22:51:44,625 DEBUG [ConnectionManager] aggressively releasing JDBC connection
      22:51:44,656 DEBUG [UpdateTimestampsCache] Invalidating space [Member], timestamp: 4777660844670976
      22:51:44,656 DEBUG [Manager] Storing conversation state: 2
      22:51:44,656 DEBUG [Lifecycle] After render response, destroying contexts
      22:51:44,656 DEBUG [Lifecycle] destroying business process context
      22:51:44,656 DEBUG [Events] Processing event:org.jboss.seam.preDestroyContext.BUSINESS_PROCESS
      22:51:44,656 DEBUG [Events] Processing event:org.jboss.seam.postDestroyContext.BUSINESS_PROCESS
      22:51:44,656 DEBUG [Lifecycle] flushing server-side conversation context
      22:51:44,656 DEBUG [Lifecycle] flushing session context
      22:51:44,656 DEBUG [Lifecycle] destroying event context
      22:51:44,656 DEBUG [Events] Processing event:org.jboss.seam.preDestroyContext.EVENT
      22:51:44,656 DEBUG [Contexts] destroying: org.jboss.seam.core.manager
      22:51:44,656 DEBUG [Events] Processing event:org.jboss.seam.preDestroy.org.jboss.seam.core.manager
      22:51:44,656 DEBUG [Contexts] destroying: org.apache.myfaces.application.jsp.JspStateManagerImpl.RESTORED_SERIALIZED_VIEW
      22:51:44,656 DEBUG [Contexts] destroying: jsf_sequence
      22:51:44,656 DEBUG [Contexts] destroying: com.sun.facelets.legacy.ELCONTEXT
      22:51:44,656 DEBUG [Events] Processing event:org.jboss.seam.postDestroyContext.EVENT
      22:51:44,656 DEBUG [Lifecycle] <<< End web request
      22:51:44,656 DEBUG [Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
      22:51:44,656 DEBUG [SeamExceptionFilter] ended request
      22:51:44,671 DEBUG [Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
      22:51:44,671 DEBUG [AbstractSeamPhaseListener] beginning transaction prior to phase: RESTORE_VIEW(1)
      22:51:44,671 DEBUG [Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
      22:51:44,671 DEBUG [Lifecycle] >>> Begin web request
      22:51:44,671 DEBUG [Events] Processing event:org.jboss.seam.beforePhase
      22:51:44,671 DEBUG [Events] Processing event:org.jboss.seam.afterPhase
      22:51:44,671 DEBUG [Component] instantiating Seam component: org.jboss.seam.core.manager
      22:51:44,671 DEBUG [Component] initializing new instance of: org.jboss.seam.core.manager
      22:51:44,671 DEBUG [Component] done initializing: org.jboss.seam.core.manager
      22:51:44,671 DEBUG [Events] Processing event:org.jboss.seam.preSetVariable.org.jboss.seam.core.manager
      22:51:44,671 DEBUG [Events] Processing event:org.jboss.seam.postSetVariable.org.jboss.seam.core.manager
      22:51:44,671 DEBUG [Events] Processing event:org.jboss.seam.postCreate.org.jboss.seam.core.manager
      22:51:44,671 DEBUG [Manager] Found conversation id in request parameter: 2
      22:51:44,671 DEBUG [Manager] Restoring conversation with id: 2
      22:51:44,671 DEBUG [AbstractSeamPhaseListener] After restoring conversation context: ConversationContext(2)
      22:51:44,671 DEBUG [Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
      22:51:44,671 DEBUG [AbstractSeamPhaseListener] committing transaction after phase: RESTORE_VIEW(1)
      22:51:44,671 DEBUG [Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
      22:51:44,671 DEBUG [Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
      22:51:44,671 DEBUG [AbstractSeamPhaseListener] beginning transaction prior to phase: RENDER_RESPONSE(6)
      22:51:44,671 DEBUG [Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
      22:51:44,671 DEBUG [Events] Processing event:org.jboss.seam.preRemoveVariable.org.jboss.seam.core.conversationList
      22:51:44,671 DEBUG [Events] Processing event:org.jboss.seam.postRemoveVariable.org.jboss.seam.core.conversationList
      22:51:44,671 DEBUG [Events] Processing event:org.jboss.seam.preRemoveVariable.org.jboss.seam.core.switcher
      22:51:44,671 DEBUG [Events] Processing event:org.jboss.seam.postRemoveVariable.org.jboss.seam.core.switcher
      22:51:44,671 DEBUG [Events] Processing event:org.jboss.seam.preRemoveVariable.org.jboss.seam.core.conversationStack
      22:51:44,671 DEBUG [Events] Processing event:org.jboss.seam.postRemoveVariable.org.jboss.seam.core.conversationStack
      22:51:44,671 DEBUG [Component] instantiating Seam component: org.jboss.seam.core.facesPage
      22:51:44,671 DEBUG [Component] initializing new instance of: org.jboss.seam.core.facesPage
      22:51:44,671 DEBUG [Component] done initializing: org.jboss.seam.core.facesPage
      22:51:44,671 DEBUG [Events] Processing event:org.jboss.seam.preSetVariable.org.jboss.seam.core.facesPage
      22:51:44,671 DEBUG [Events] Processing event:org.jboss.seam.postSetVariable.org.jboss.seam.core.facesPage
      22:51:44,671 DEBUG [Events] Processing event:org.jboss.seam.postCreate.org.jboss.seam.core.facesPage
      22:51:44,671 DEBUG [Events] Processing event:org.jboss.seam.beforePhase
      22:51:44,671 DEBUG [Events] Processing event:org.jboss.seam.afterPhase
      22:51:44,671 DEBUG [Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
      22:51:44,671 DEBUG [AbstractSeamPhaseListener] committing transaction after phase: RENDER_RESPONSE(6)
      22:51:44,671 DEBUG [Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
      22:51:44,671 DEBUG [Manager] Discarding conversation state: 2
      22:51:44,671 DEBUG [Lifecycle] After render response, destroying contexts
      22:51:44,671 DEBUG [Lifecycle] destroying business process context
      22:51:44,671 DEBUG [Events] Processing event:org.jboss.seam.preDestroyContext.BUSINESS_PROCESS
      22:51:44,671 DEBUG [Events] Processing event:org.jboss.seam.postDestroyContext.BUSINESS_PROCESS
      22:51:44,671 DEBUG [Lifecycle] destroying conversation context
      22:51:44,671 DEBUG [Events] Processing event:org.jboss.seam.preDestroyContext.CONVERSATION
      22:51:44,671 DEBUG [Contexts] destroying: org.jboss.seam.core.persistenceContexts
      22:51:44,671 DEBUG [Events] Processing event:org.jboss.seam.preDestroy.org.jboss.seam.core.persistenceContexts
      22:51:44,671 DEBUG [Contexts] destroying: org.jboss.seam.core.facesMessages
      22:51:44,671 DEBUG [Events] Processing event:org.jboss.seam.preDestroy.org.jboss.seam.core.facesMessages
      22:51:44,671 DEBUG [Contexts] destroying: member
      22:51:44,671 DEBUG [Events] Processing event:org.jboss.seam.preDestroy.member
      22:51:44,671 DEBUG [Contexts] destroying: org.jboss.seam.core.conversation
      22:51:44,671 DEBUG [Events] Processing event:org.jboss.seam.preDestroy.org.jboss.seam.core.conversation
      22:51:44,671 DEBUG [Contexts] destroying: register
      22:51:44,671 DEBUG [Events] Processing event:org.jboss.seam.preDestroy.register
      22:51:44,671 DEBUG [Events] Processing event:org.jboss.seam.preSetVariable.org.jboss.seam.outermostExceptionInterceptor
      22:51:44,671 DEBUG [Events] Processing event:org.jboss.seam.postSetVariable.org.jboss.seam.outermostExceptionInterceptor
      22:51:44,671 DEBUG [ExtendedPersistenceContextPropagationInterceptor] ++++ LongLivedSessionPropagationInterceptor
      22:51:44,671 DEBUG [AbstractEntityManagerImpl] Looking for a JTA transaction to join
      22:51:44,671 DEBUG [JDBCContext] successfully registered Synchronization
      22:51:44,671 DEBUG [Component] trying to inject with hierarchical context search: facesMessages
      22:51:44,671 DEBUG [SeamVariableResolver] resolving name: org
      22:51:44,671 DEBUG [Component] seam component not found: org
      22:51:44,671 DEBUG [SeamVariableResolver] could not resolve name
      22:51:44,671 DEBUG [Component] seam component not found: org.jboss
      22:51:44,671 DEBUG [Component] seam component not found: org.jboss.seam
      22:51:44,671 DEBUG [Component] seam component not found: org.jboss.seam.core
      22:51:44,671 DEBUG [Contexts] found in conversation context: org.jboss.seam.core.facesMessages
      22:51:44,671 DEBUG [Component] trying to inject with hierarchical context search: member
      22:51:44,671 DEBUG [Contexts] found in conversation context: member
      22:51:44,671 DEBUG [Events] Processing event:org.jboss.seam.preSetVariable.member
      22:51:44,671 DEBUG [Events] Processing event:org.jboss.seam.postSetVariable.member
      22:51:44,750 DEBUG [Contexts] found in conversation context: org.jboss.seam.core.persistenceContexts
      22:51:44,750 DEBUG [AbstractFlushingEventListener] processing flush-time cascades
      22:51:44,750 DEBUG [AbstractFlushingEventListener] dirty checking collections
      22:51:44,750 DEBUG [AbstractFlushingEventListener] Flushed: 0 insertions, 0 updates, 0 deletions to 1 objects
      22:51:44,750 DEBUG [AbstractFlushingEventListener] Flushed: 0 (re)creations, 0 updates, 0 removals to 0 collections
      22:51:44,750 DEBUG [Printer] listing entities:
      22:51:44,750 DEBUG [Printer] com.whatever.entity.Member{password=jbb, emailAddress=h@h.h, joinDate=2006-12-17 22:49:38, id=1}
      22:51:44,750 DEBUG [ConnectionManager] aggressively releasing JDBC connection
      22:51:44,750 DEBUG [Events] Processing event:org.jboss.seam.preRemoveVariable.register
      22:51:44,750 DEBUG [Events] Processing event:org.jboss.seam.postRemoveVariable.register
      22:51:44,750 DEBUG [RemoveInterceptor] Stateful component was removed: register
      22:51:44,750 DEBUG [Events] Processing event:org.jboss.seam.preRemoveVariable.org.jboss.seam.outermostExceptionInterceptor
      22:51:44,750 DEBUG [Events] Processing event:org.jboss.seam.postRemoveVariable.org.jboss.seam.outermostExceptionInterceptor
      22:51:44,750 DEBUG [Events] Processing event:org.jboss.seam.postDestroyContext.CONVERSATION
      22:51:44,750 DEBUG [Lifecycle] flushing server-side conversation context
      22:51:44,750 DEBUG [Lifecycle] flushing session context
      22:51:44,750 DEBUG [Lifecycle] destroying event context
      22:51:44,750 DEBUG [Events] Processing event:org.jboss.seam.preDestroyContext.EVENT
      22:51:44,750 DEBUG [Contexts] destroying: org.jboss.seam.core.manager
      22:51:44,750 DEBUG [Events] Processing event:org.jboss.seam.preDestroy.org.jboss.seam.core.manager
      22:51:44,750 DEBUG [Contexts] destroying: facelets.Encoding
      22:51:44,750 DEBUG [Contexts] destroying: jsf_sequence
      22:51:44,750 DEBUG [Contexts] destroying: com.sun.facelets.legacy.ELCONTEXT
      22:51:44,750 DEBUG [Events] Processing event:org.jboss.seam.postDestroyContext.EVENT
      22:51:44,750 DEBUG [Lifecycle] <<< End web request
      22:51:44,750 DEBUG [Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
      22:51:44,750 DEBUG [SeamExceptionFilter] ended request


        • 1. Re: Problem when hitting enter instead of clicking Submit
          jovijojo

          i also experienced same problem when working with seam, strange errors messages and couldn't find out what is the cause.

          • 2. Re: Problem when hitting enter instead of clicking Submit
            pmuir

            JSF always uses javascript to submit a form, so, depending on browser (as different browsers do different things on pressing enter), you will find the form submitted or not.

            You can perhaps see problem more clearly when you consider the typical case of a entity update page when 'apply', 'save' and 'remove' are all submissions of the form.

            The solution is to bind the enter key to perform the action you want. I remember finding a JSF control out there to do this.