[JBoss Seam] - Problem when hitting enter instead of clicking Submit
by lightbulb432
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(a)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(a)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
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994561#3994561
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994561
19 years, 7 months
[JBoss jBPM] - Exception with Mysql during deployment of processdefinition
by anu123suya
Hi,
I could deploy a processdefinition in default hypersonic db. but when i try to deploy it in Mysql getting the following exception. have added users in the users table manually.
code used for deployment is
JbpmConfiguration jbpmConfig = JbpmConfiguration.getInstance();
JbpmContext jbpmContext = jbpmConfig.createJbpmContext();
ProcessDefinition processDefinition = ProcessDefinition.parseXmlResource("META-INF/processdefinition.xml");
jbpmContext.deployProcessDefinition(processDefinition);
Can anyone let me know if i am missing something??
Thanks in advance
processdefinition.xml is
| <process-definition
| xmlns="urn:jbpm.org:jpdl-3.1" name="LeaveApproval">
|
| <swimlane name="Applier">
| <assignment expression="user(Ana)"></assignment>
| </swimlane>
| <swimlane name="Approver">
| <assignment expression="user(Bask)"></assignment>
| </swimlane>
| <start-state name="ApplyLeave">
| <task name="ApplyLeave" swimlane="Applicant">
| <controller>
| <variable name="Start Date" access="read,write,required"></variable>
| <variable name="Duration" access="read,write,required"></variable>
| <variable name="Reason For Leave"></variable>
| </controller>
| </task>
| <transition name="" to="EvaluateLeave"></transition>
| </start-state>
| <task-node name="EvaluateLeave">
| <task name="EvaluateLeave" swimlane="Approver">
| <controller>
| <variable name="Start Date" access="read"></variable>
| <variable name="Duration" access="read"></variable>
| <variable name="Reason" access="read"></variable>
| <variable name="Comments"></variable>
| </controller>
| </task>
| <transition name="Approve/disapprove" to="End"></transition>
| <transition name="Provide More Info" to="MoreInfoNeeded"></transition>
| </task-node>
| <task-node name="MoreInfoNeeded">
| <task name="Edit Leave Info" swimlane="Applicant">
| <controller>
| <variable name="Start Date"></variable>
| <variable name="Duration"></variable>
| <variable name="Reason"></variable>
| <variable name="Comment" access="read"></variable>
| </controller>
| </task>
| <transition name="" to="EvaluateLeave"></transition>
| </task-node>
| <end-state name="End"></end-state>
| </process-definition>
|
|
|
|
Stack trace is
18:51:46,325 WARN [JpdlXmlReader] process xml warning: task references unknown
swimlane 'Applicant':<task xmlns="urn:jbpm.org:jpdl-3.1" name="ApplyLeave" swiml
ane="Applicant" blocking="false" signalling="true" priority="normal">
<controller config-type="field">
18:51:46,340 WARN [JpdlXmlReader] process xml warning: task references unknown
swimlane 'Applicant':
<controller config-type="field">
18:52:37,903 WARN [JDBCExceptionReporter] SQL Error: 1205, SQLState: 41000
18:52:37,903 ERROR [JDBCExceptionReporter] Lock wait timeout exceeded; try resta
rting transaction
18:52:37,903 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
org.hibernate.exception.GenericJDBCException: could not insert: [org.jbpm.graph.
def.ProcessDefinition]
at org.hibernate.exception.SQLStateConverter.handledNonSpecificException
(SQLStateConverter.java:91)
at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.j
ava:79)
at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelp
er.java:43)
at org.hibernate.persister.entity.AbstractEntityPersister.insert(Abstrac
tEntityPersister.java:1985)
at org.hibernate.persister.entity.AbstractEntityPersister.insert(Abstrac
tEntityPersister.java:2404)
at org.hibernate.action.EntityIdentityInsertAction.execute(EntityIdentit
yInsertAction.java:37)
at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:243)
at org.hibernate.event.def.AbstractSaveEventListener.performSaveOrReplic
ate(AbstractSaveEventListener.java:269)
at org.hibernate.event.def.AbstractSaveEventListener.performSave(Abstrac
tSaveEventListener.java:167)
at org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId
(AbstractSaveEventListener.java:101)
at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.saveWithGene
ratedOrRequestedId(DefaultSaveOrUpdateEventListener.java:186)
at org.hibernate.event.def.DefaultSaveEventListener.saveWithGeneratedOrR
equestedId(DefaultSaveEventListener.java:33)
at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.entityIsTran
sient(DefaultSaveOrUpdateEventListener.java:175)
at org.hibernate.event.def.DefaultSaveEventListener.performSaveOrUpdate(
DefaultSaveEventListener.java:27)
at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpda
te(DefaultSaveOrUpdateEventListener.java:70)
at org.hibernate.impl.SessionImpl.fireSave(SessionImpl.java:524)
at org.hibernate.impl.SessionImpl.save(SessionImpl.java:514)
at org.hibernate.impl.SessionImpl.save(SessionImpl.java:510)
at org.jbpm.db.GraphSession.deployProcessDefinition(GraphSession.java:77
)
at org.jbpm.JbpmContext.deployProcessDefinition(JbpmContext.java:173)
at org.apache.jsp.Testdeploy_jsp._jspService(Testdeploy_jsp.java:51)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
.java:332)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:3
14)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:173)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFi
lter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:213)<?xml version="1.0" encoding="UTF-8"?>
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994553#3994553
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994553
19 years, 7 months
[JBoss jBPM] - Exception with Mysql during deployment of processdefinition
by anu123suya
Hi,
I could deploy a processdefinition in default hypersonic db. but when i try to deploy it in Mysql getting the following exception. have added users in the users table manually.
code used for deployment is
JbpmConfiguration jbpmConfig = JbpmConfiguration.getInstance();
JbpmContext jbpmContext = jbpmConfig.createJbpmContext();
ProcessDefinition processDefinition = ProcessDefinition.parseXmlResource("META-INF/processdefinition.xml");
jbpmContext.deployProcessDefinition(processDefinition);
Can anyone let me know if i am missing something??
Thanks in advance
processdefinition.xml is
| <process-definition
| xmlns="urn:jbpm.org:jpdl-3.1" name="LeaveApproval">
|
| <swimlane name="Applier">
| <assignment expression="user(Ana)"></assignment>
| </swimlane>
| <swimlane name="Approver">
| <assignment expression="user(Bask)"></assignment>
| </swimlane>
| <start-state name="ApplyLeave">
| <task name="ApplyLeave" swimlane="Applicant">
| <controller>
| <variable name="Start Date" access="read,write,required"></variable>
| <variable name="Duration" access="read,write,required"></variable>
| <variable name="Reason For Leave"></variable>
| </controller>
| </task>
| <transition name="" to="EvaluateLeave"></transition>
| </start-state>
| <task-node name="EvaluateLeave">
| <task name="EvaluateLeave" swimlane="Approver">
| <controller>
| <variable name="Start Date" access="read"></variable>
| <variable name="Duration" access="read"></variable>
| <variable name="Reason" access="read"></variable>
| <variable name="Comments"></variable>
| </controller>
| </task>
| <transition name="Approve/disapprove" to="End"></transition>
| <transition name="Provide More Info" to="MoreInfoNeeded"></transition>
| </task-node>
| <task-node name="MoreInfoNeeded">
| <task name="Edit Leave Info" swimlane="Applicant">
| <controller>
| <variable name="Start Date"></variable>
| <variable name="Duration"></variable>
| <variable name="Reason"></variable>
| <variable name="Comment" access="read"></variable>
| </controller>
| </task>
| <transition name="" to="EvaluateLeave"></transition>
| </task-node>
| <end-state name="End"></end-state>
| </process-definition>
|
|
|
|
Stack trace is
18:51:46,325 WARN [JpdlXmlReader] process xml warning: task references unknown
swimlane 'Applicant':<task xmlns="urn:jbpm.org:jpdl-3.1" name="ApplyLeave" swiml
ane="Applicant" blocking="false" signalling="true" priority="normal">
<controller config-type="field">
18:51:46,340 WARN [JpdlXmlReader] process xml warning: task references unknown
swimlane 'Applicant':
<controller config-type="field">
18:52:37,903 WARN [JDBCExceptionReporter] SQL Error: 1205, SQLState: 41000
18:52:37,903 ERROR [JDBCExceptionReporter] Lock wait timeout exceeded; try resta
rting transaction
18:52:37,903 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
org.hibernate.exception.GenericJDBCException: could not insert: [org.jbpm.graph.
def.ProcessDefinition]
at org.hibernate.exception.SQLStateConverter.handledNonSpecificException
(SQLStateConverter.java:91)
at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.j
ava:79)
at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelp
er.java:43)
at org.hibernate.persister.entity.AbstractEntityPersister.insert(Abstrac
tEntityPersister.java:1985)
at org.hibernate.persister.entity.AbstractEntityPersister.insert(Abstrac
tEntityPersister.java:2404)
at org.hibernate.action.EntityIdentityInsertAction.execute(EntityIdentit
yInsertAction.java:37)
at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:243)
at org.hibernate.event.def.AbstractSaveEventListener.performSaveOrReplic
ate(AbstractSaveEventListener.java:269)
at org.hibernate.event.def.AbstractSaveEventListener.performSave(Abstrac
tSaveEventListener.java:167)
at org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId
(AbstractSaveEventListener.java:101)
at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.saveWithGene
ratedOrRequestedId(DefaultSaveOrUpdateEventListener.java:186)
at org.hibernate.event.def.DefaultSaveEventListener.saveWithGeneratedOrR
equestedId(DefaultSaveEventListener.java:33)
at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.entityIsTran
sient(DefaultSaveOrUpdateEventListener.java:175)
at org.hibernate.event.def.DefaultSaveEventListener.performSaveOrUpdate(
DefaultSaveEventListener.java:27)
at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpda
te(DefaultSaveOrUpdateEventListener.java:70)
at org.hibernate.impl.SessionImpl.fireSave(SessionImpl.java:524)
at org.hibernate.impl.SessionImpl.save(SessionImpl.java:514)
at org.hibernate.impl.SessionImpl.save(SessionImpl.java:510)
at org.jbpm.db.GraphSession.deployProcessDefinition(GraphSession.java:77
)
at org.jbpm.JbpmContext.deployProcessDefinition(JbpmContext.java:173)
at org.apache.jsp.Testdeploy_jsp._jspService(Testdeploy_jsp.java:51)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
.java:332)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:3
14)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:173)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFi
lter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:213)<?xml version="1.0" encoding="UTF-8"?>
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994552#3994552
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994552
19 years, 7 months
[JBoss Eclipse IDE (users)] - <start-page> doesn't display in designer
by rohanmars
Hi
I get the following error when I use the jBPM designer to view a <start-page> page flow. I've tested with the latest 2.0 beta version. If I change the <start-page> to a <start-state> tag then it displays correctly. Has any body got the <start-page> flow to display correctly?
Thanks
Rohan
java.lang.NullPointerException
at org.jbpm.ui.pageflow.editor.PageFlowContentProvider.addGraphicalInfo(Unknown Source)
at org.jbpm.ui.pageflow.editor.PageFlowContentProvider.addGraphicalInfo(Unknown Source)
at org.jbpm.ui.pageflow.editor.PageFlowContentProvider.addGraphicalInfo(Unknown Source)
at org.jbpm.ui.pageflow.editor.PageFlowContentProvider.addGraphicalInfo(Unknown Source)
at org.jbpm.ui.pageflow.editor.PageFlowGraphicalEditorPage.initInput(Unknown Source)
at org.jbpm.ui.pageflow.editor.PageFlowGraphicalEditorPage.init(Unknown Source)
at org.eclipse.ui.part.MultiPageEditorPart.addPage(MultiPageEditorPart.java:179)
at org.jbpm.ui.pageflow.editor.PageFlowEditor.addGraphPage(Unknown Source)
at org.jbpm.ui.pageflow.editor.PageFlowEditor.createPages(Unknown Source)
at org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:276)
at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:596)
at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:372)
at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:566)
at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:214)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2595)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2528)
at org.eclipse.ui.internal.WorkbenchPage.access$10(WorkbenchPage.java:2520)
at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:2505)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2500)
at org.eclipse.ui.actions.OpenWithMenu.openEditor(OpenWithMenu.java:288)
at org.eclipse.ui.actions.OpenWithMenu.access$0(OpenWithMenu.java:280)
at org.eclipse.ui.actions.OpenWithMenu$2.handleEvent(OpenWithMenu.java:184)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994542#3994542
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994542
19 years, 7 months
[JBoss Seam] - A little confused about remoting and conversations
by chris.morrisette
My intended usage of remoting is a single conversation for my entire page experience.
In the Seam documentation, it says:
anonymous wrote : If you are working with just a single conversation, then you don't need to do anything special. (regarding setting the conversation id). Therefore I currently don't attempt to ever set the conversation id.
In addition, in the onload event of the page, I begin the conversation by invoking a method on a SFSB with the annotation @Begin.
My problem is that conversation id changes occassionaly (not reliably reproducable), even though I am invoking the same SFSB.
Here is an example of the debug output where the conversation id changes:
| Sun Dec 17 2006 20:29:36 GMT-0500 (Eastern Standard Time): Request packet:
| <envelope><header><context><conversationId>57</conversationId></context></header><body><call component="serviceBusiness" method="getServiceParameters" id="17">
| <params><param><number>1</number></param></params><refs></refs></call></body></envelope>
|
|
| Sun Dec 17 2006 20:29:36 GMT-0500 (Eastern Standard Time): Response packet:
| <envelope><header><context><conversationId>2</conversationId></context></header><body><result id="17"><value><str>..somedata...</str></value><refs></refs></result></body></envelope>
I would prefer not to have to set the conversation id all over the place, if I can avoid it (although its not that big of a deal). More importantly, I would just like to determine if I am doing something wrong.
Thanks for any help you can offer.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994541#3994541
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994541
19 years, 7 months
[JBoss jBPM] - Finding task instances for pooled actors
by bnsbr
Hi all,
I'm trying to get a list of tasks for a user based on the pooled actors of that task. Searching at the docs, I have found in section "11.3.4. Pull model" the suggestion to use TaskMgmtSession.findPooledTaskInstances method. Trying to do that I get a empty list of tasks. My process is based on swinlanes that use expressions to assign tasks. Bellow is one part of the processdefinition.xml:
| <process-definition
| xmlns="urn:jbpm.org:jpdl-3.1"
| name="inss">
| <swimlane name="beneficiario">
| <assignment expression="group(beneficiario)" class="br.unb.cic.identity.assignment.INSSExpressionAssignmentHandler"></assignment>
| </swimlane>
| <swimlane name="medico">
| <assignment expression="group(medico)" class="br.unb.cic.identity.assignment.INSSExpressionAssignmentHandler"></assignment>
| </swimlane>
| <swimlane name="administrativo">
| <assignment expression="group(administrativo)" class="br.unb.cic.identity.assignment.INSSExpressionAssignmentHandler"></assignment>
| </swimlane>
| <start-state name="Requerimento de auxilio doenca">
| <task name="Requerimento de auxilio doenca" swimlane="beneficiario">
| <controller>
| <variable name="nit" access="read,write,required" mapped-name="NIT"></variable>
| <variable name="cpf" access="read,write,required" mapped-name="CPF"></variable>
| <variable name="ultimoDia" access="read,write,required" mapped-name="Ultimo dia trabalhado"></variable>
| </controller>
| </task>
| <transition name="" to="Marcar pericia"></transition>
| </start-state>
| <end-state name="end"></end-state>
|
The strange part is that debugging the system, everything seems to be fine. The task instance is in the database and 2 of the 3 conditions of the query used to get the list of tasks for pooled actors (TaskMgmtSession.findPooledTaskInstancesByActorId) are met, the actorId of the taskInstance is null and the task instance is open. The problem is on the condition that compares that pooledActor.actorId to the swimlaneActorId, bellow is the query used in the TaskMgmtSession.findPooledTaskInstances(String actorId) method:
| select distinct ti from org.jbpm.taskmgmt.exe.PooledActor pooledActor
| join pooledActor.taskInstances ti where pooledActor.actorId = :swimlaneActorId and ti.actorId is null and ti.isOpen = true
|
The values stored in the important tables are:
| users:
|
| id:1
| username:test
|
| id:2
| username:test2
|
| id:3
| username:test3
| -------------------------
| groups:
|
| id:1
| name:beneficiario
|
| id:2
| name:medico
|
| id:3
| name:administrativo
| ---------------------------
| membership:
|
| id:1
| user_id:1
| group_id:1
|
| id:2
| user_id:2
| group_id:2
|
| id:3
| user_id:3
| group_id:3
| ------------------------------
| swimlane:
|
| id:1
| name_:medico
| actoridexpression_: null
| pooledactorexpression_: null
|
| id:2
| name_:administrativo
| actoridexpression_: null
| pooledactorexpression_: null
|
| id:3
| name_:beneficiario
| actoridexpression_: null
| pooledactorexpression_: null
| ----------------------------------
| swimlaneinstance:
|
| id:2
| name_:administrativo
| actorid: null
| swimlane_:2
| taskmgmtinstance_:2
| ------------------------------
| pooledactor:
|
| id:1
| actorid_:administrativo
| swimlaneinstance_:2
|
I think that this is the relevant data about the stored values at the database. As you can see the value of the field that is compared on the query (pooledActor.actorId) contains the name of the group that is assigned to that task, but the value that the method (TaskMgmtSession.findPooledTaskInstances(String actorId)) receive is the actorId of the user, and not the name of the group and then the query result is empty...
Can anyone help? Any clues ?
Thanks,
Bruno.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994536#3994536
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994536
19 years, 7 months
[JBossWS] - Single Client, Multiple Service Endpoints
by elcapitan
G'day all,
This is probably quite straightforward, but I've been unable to turn much up about it. I'm deploying a reasonably complicated EJB3 application in an AS, and I've got four different stateless beans that I'd like to expose as webservices, to be consumed by a single client. I can't work out a tidy way to create and provide the client-side artefacts - at the moment, I can expose all the services, but I'm having problems generating mapping files and setting them up on the client side.
In order of preference, here's what I'd like to be able to do:
1. Instruct wstools to include information from more than a single WSDL file, and produce a single jaxrpc-mapping.xml file. At present, my wstools-config.xml looks like:
<configuration xmlns="http://www.jboss.org/jbossws-tools">
| <wsdl-java file="http://localhost:8080/crawler/WatchListManager?wsdl" unwrap="false">
| <mapping file="META-INF/jaxrpc-mapping.xml"/>
| </wsdl-java>
| </configuration>
If I could get this to include multiple WSDLs, that would solve all my problems pretty neatly, I think.
2. If that's not possible, can I instruct the client to read mapping information from multiple files? As such, they won't all be named jaxrpc-mapping.xml, so how can I tell the client where to look?
3. If all else fails, I could always create a facade service interface, but for reasons of modularity I'd really like to avoid this.
Cheers, thanks in advance,
James
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994532#3994532
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994532
19 years, 7 months
[JBoss Seam] - Conversation Timeout and time of conversation destruction
by ccurban
I need to change the status of an entity at the end of a conversation (even a timed out one).
Here is the SFSB that should do that:
@Stateful
| @Scope(ScopeType.CONVERSATION)
| @Name("callCenterAddressAction")
| public class CallCenterAddressAction implements CallCenterAddressLocal
| {
| @Out(required = false, scope = ScopeType.CONVERSATION)
| private Distribution currentDistribution;
| .
| .
| .
| @Destroy
| @Remove
| public void destroy() {
| if (currentDistribution != null) {
| Distribution distribution = inaEntityManager.merge(currentDistribution);
| if (distribution.getStatus().equals(Distribution.STATUS_IN_PROCESS)) {
| distribution.setStatus(Distribution.STATUS_PRE_PROCESS);
| }
| }
| }
| }
|
To test the behaviour I set the conversation timeout to 10 secs in components.xml
<component name="org.jboss.seam.core.manager">
| <property name="conversationTimeout">10000</property>
| </component>
I expected that the conversation will be destroyed after 10 secs (or some time in the near surrounding of 10 secs).
Unfortunately it seams only to be destroyed when I navigate to another page in the browser.
Did I make a mistake or is this behaviour only occuring in my single-place-test-environment (and the context cleanup is started on every servlet call)?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994531#3994531
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994531
19 years, 7 months
[JBoss Seam] - ICEFaces example for Glassfish
by alexg79
Could someone make a deployable Glassfish version of the Seam ICEFaces example? I can't get it to work on Glassfish. It deploys fine (after creating the datasource and modifying its JNDI pattern), but trying to load the front page gives:
| Servlet.service() for servlet Persistent Faces Servlet threw exception
| javax.faces.FacesException: java.lang.NullPointerException
| at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:305)
| at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:113)
| at com.icesoft.faces.webapp.xmlhttp.PersistentFacesServlet.service(PersistentFacesServlet.java:389)
| at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
| at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:397)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:184)
| at org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:46)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:216)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:184)
| at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:276)
| at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
| at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
| at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:240)
| at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:179)
| at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
| at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:73)
| at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:182)
| at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
| at com.sun.enterprise.web.VirtualServerPipeline.invoke(VirtualServerPipeline.java:120)
| at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
| at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
| at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
| at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
| at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
| at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:239)
| at com.sun.enterprise.web.connector.grizzly.ProcessorTask.invokeAdapter(ProcessorTask.java:667)
| at com.sun.enterprise.web.connector.grizzly.ProcessorTask.processNonBlocked(ProcessorTask.java:574)
| at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:844)
| at com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:287)
| at com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:212)
| at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
| at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:75)
| Caused by: java.lang.NullPointerException
| at com.icesoft.faces.application.D2DViewHandler.calculateRenderKitId(D2DViewHandler.java:696)
| at com.sun.faces.lifecycle.RestoreViewPhase.isPostback(RestoreViewPhase.java:241)
| at com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:170)
| at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:244)
| ... 32 more
|
I'm running it on the Sun RI.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994530#3994530
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994530
19 years, 7 months
[JBoss Seam] - Re: action=
by koatto
this is my faces-config :
<faces-config>
|
| <application>
| <view-handler>org.jboss.seam.ui.facelet.SeamFaceletViewHandler</view-handler>
| </application>
|
| <application>
| <message-bundle>messages</message-bundle>
| <view-handler>com.sun.facelets.FaceletViewHandler</view-handler>
| </application>
|
| <!-- Seam transaction management -->
| <lifecycle>
| <phase-listener>org.jboss.seam.jsf.TransactionalSeamPhaseListener</phase-listener>
| </lifecycle>
|
| <!-- No Seam transaction management -->
| <!--
| <lifecycle>
| <phase-listener>org.jboss.seam.jsf.SeamPhaseListener</phase-listener>
| </lifecycle>
| -->
|
| </faces-config>
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994529#3994529
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994529
19 years, 7 months
[JBoss Seam] - Re: Request for feedback
by norman.richards@jboss.com
I don't know how other people's taste in XML goes, but the following reads really well to me:
<page view-id="/getDocument.jsp">
| <on action="#{documentHome.get}">
| <redirect to-view-id="/editDocument.jsp" when="#{documentHome.document!=null}">
| <param name="documentId" value="#{documentHome.document.id}"/>
| </redirect>
|
| <redirect to-view-id="/404.jsp" when="#{documentHome.document==null}" />
| </on>
|
|
| <on action="#{logout.logout}">
| <redirect to-view-id="/login.jsp" />
| </on>
| </page>
Or, with explicit outcome declaration:
<page view-id="/getDocument.jsp">
| <on action="#{documentHome.get}">
| <outcome value="#{documentHome.document!=null}" />
|
| <redirect to-view-id="/editDocument.jsp" when-outcome="true">
| <param name="documentId" value="#{documentHome.document.id}"/>
| </redirect>
|
| <redirect to-view-id="/404.jsp" when-outcome="false" />
| </on>
|
| <on action="#{logout.logout}">
| <redirect view-id="/login.jsp" when-null-outcome="true" />
| </on>
| </on>
Although, I think it might be even better if outcome were just a variable:
| <redirect to-view-id="/editDocument.jsp" when="#{outcome==true}">
| ...
| <redirect to-view-id="/404.jsp" when="#{outcome==null}">
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994525#3994525
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994525
19 years, 7 months
[JBossWS] - Re: Exception with JBoss-4.0.5-SP1 and JBossWS-1.0.3-SP1 but
by lafr
Now I had the time to test my app with Branch_4_2.
On startup I get this Exception:
22:34:22,299 ERROR [MainDeployer] Could not start deployment: file:/mbi/tools/jboss/4.2/server/mbi/tmp/deploy/tmp28034mbi2e-lafr-sb2000-ipc.ear-contents/ws-common.war
| java.lang.ExceptionInInitializerError
| at java.lang.Class.forName0(Native Method)
| at java.lang.Class.forName(Class.java:164)
| at org.jboss.ws.soap.attachment.ContentHandlerRegistry.<clinit>(ContentHandlerRegistry.java:51)
| at org.jboss.ws.xop.JBossXBContentAdapter.<clinit>(JBossXBContentAdapter.java:67)
| at org.jboss.ws.jbossxb.SchemaBindingBuilder.buildSchemaBinding(SchemaBindingBuilder.java:85)
| at org.jboss.ws.metadata.ServiceMetaData.getSchemaBinding(ServiceMetaData.java:343)
| at org.jboss.ws.metadata.ServiceMetaData.eagerInitialize(ServiceMetaData.java:442)
| at org.jboss.ws.metadata.UnifiedMetaData.eagerInitialize(UnifiedMetaData.java:183)
| at org.jboss.ws.deployment.ServiceEndpointDeployer.start(ServiceEndpointDeployer.java:134)
| at org.jboss.ws.integration.jboss.DeployerInterceptor.start(DeployerInterceptor.java:104)
| at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
| at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy36.start(Unknown Source)
| at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
| at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1015)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
| at sun.reflect.GeneratedMethodAccessor54.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy8.deploy(Unknown Source)
| at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
| at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
| at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
| at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
| at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
| at $Proxy0.start(Unknown Source)
| at org.jboss.system.ServiceController.start(ServiceController.java:417)
| at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy4.start(Unknown Source)
| at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
| at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy5.deploy(Unknown Source)
| at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
| at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
| at org.jboss.Main.boot(Main.java:200)
| at org.jboss.Main$1.run(Main.java:490)
| at java.lang.Thread.run(Thread.java:595)
| Caused by: java.lang.IllegalArgumentException: failed to parse:image/bmp, image/x-bmp, image/x-windows-bmp
| at java.awt.datatransfer.DataFlavor.<init>(DataFlavor.java:292)
| at javax.activation.ActivationDataFlavor.<init>(ActivationDataFlavor.java:81)
| at org.jboss.ws.soap.attachment.ImageDataContentHandler.buildFlavors(ImageDataContentHandler.java:77)
| at org.jboss.ws.soap.attachment.ImageDataContentHandler.<clinit>(ImageDataContentHandler.java:63)
| ... 85 more
|
As I said before, the same code works perfectly with JBoss-4.0.4-GA.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994523#3994523
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994523
19 years, 7 months
[Persistence, JBoss/CMP, Hibernate, Database] - how do you only update a list of checked items in hibernate.
by johnybravo2004
I have list of items in my jsp pages and that are being generated by the following code
and I want to be able to update multiple records that have a checkbox checked:
I have a method to update the status and employee name that uses hibernate that takes the taskID
as a paratmeter to update associated status and comments, but my issue is how to do it with multiple records:
____________________________________________________________________________________________-
private void updateTaskList(Long taskId, String status, String comments) {
TaskList taskList = (TaskList) HibernateUtil.getSessionFactory()
.getCurrentSession().load(TaskList.class, personId);
taskList.setStatus(status);
taskList.setComment(comments);
HibernateUtil.getSessionFactory().getCurrentSession().update(taskList);
HibernateUtil.getSessionFactory().getCurrentSession().save(taskList);
}
______________________________________________
_______________________________________________
Employee Name
Status
Comment
<%
List result = (List) request.getAttribute("result");
%>
<%
for (Iterator itr=searchresult.iterator(); itr.hasNext(); )
{
com.dao.hibernate.TaskList taskList = (com.dao.hibernate.TaskList)itr.next();
%>
<%=taskList.empName()%>
<%=taskList.getStatus()%>
New
Fixed
Closed
<%}%>
_________________________________________________________________
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994515#3994515
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994515
19 years, 7 months
[JBoss Portal] - problem with form submission with spring mvc on jboss portal
by adamzrk
Hi
I've got BIG problem with spring portlet mvc on jboss portal: supose I am on page /portal/portal/myPortal/somePage and on this page are a few windows (with forms - derived from SimpleFormController). When I submit one of them - OK, the success view is displayed, but when I go to another page and go back to somePage the form is submitted (bo by back in my web browser, but by some link to that page)!!! The errors, if are any, are displayed and often i get exception: could'n retrieve command (errors) object from portlet session. Why is that? Setting session form to true/false doesn't change this. I think that setting parameters about form submission in portlet session is one big mistake. I hope someone will tell mi what it is that way and what can I do to make my work better. What can I do take control over form submitting? What is the parameter name? Where can I set it??
When I debug system I see that request in isFormSubmission is JBossActionRequest (when I go to myPage again from another) - why is that?
Adam
OT:
Spring (IoC) is good, but my experience with mvc tell that spring mvc isn't , I hope JSF will satisfy my needs.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994514#3994514
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994514
19 years, 7 months
[JBoss Seam] - Question regarding EL method parameters
by spambob
I have a page showing an edit form for an entity. The page shows several lists all in one form - therefore i can't use the @DataModel stuff - and a few buttons for almost every list item.
My problem is that i can't tell my bean the index in the list when a button is clicked.
My JSF page looks like this (just a snippet):
<tr>
| <td class="usecase_attribute">Preconditions:</td>
| <td class="usecase_attribute_content">
| <c:if test="#{not empty usecase.preconditions}">
| <ul>
| <c:forEach items="#{usecase.preconditions}" var="condition" varStatus="status">
| <li>
| Status: #{status.index}
| <h:inputTextarea value="#{condition.description}"/>
| <h:commandButton value="Remove Precondition" action="#{usecasesBean.removeCondition(usecase.preconditions, status.index)}"/>
| </li>
| </c:forEach>
| </ul>
| </c:if>
| <h:commandButton value="Add Precondition" action="#{usecasesBean.addCondition(usecase.preconditions)}"/>
| </td>
| </tr>
When i click on 'Remove Precondition' i get:
20:17:36,708 ERROR [STDERR] 17.12.2006 20:17:36 com.sun.faces.lifecycle.InvokeApplicationPhase execute
| WARNUNG: For input string: "index"
| java.lang.NumberFormatException: For input string: "index"
| at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
| at java.lang.Integer.parseInt(Integer.java:447)
| at java.lang.Integer.parseInt(Integer.java:497)
| at javax.el.ListELResolver.toInteger(ListELResolver.java:364)
| at javax.el.ListELResolver.getValue(ListELResolver.java:159)
| at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:135)
| at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:64)
| at com.sun.el.parser.AstValue.getValue(AstValue.java:117)
| at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:192)
| at org.jboss.seam.ui.facelet.MethodExpressionHelper.evaluateParams(MethodExpressionHelper.java:130)
| at org.jboss.seam.ui.facelet.MethodExpressionHelper.invokeTheExpression(MethodExpressionHelper.java:101)
| at org.jboss.seam.ui.facelet.ParamMethodExpression.invoke(ParamMethodExpression.java:62)
| at com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68)
| at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:77)
| at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:95)
| at javax.faces.component.UICommand.broadcast(UICommand.java:383)
| at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:448)
| at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:752)
| at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:97)
| at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:248)
| at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
| at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:32)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:46)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
| at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
| at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
| at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
| at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
| at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
| at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
| at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
| at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
| at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
| at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
| at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
| at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
| at java.lang.Thread.run(Thread.java:619)
| 20:17:36,728 ERROR [STDERR] 17.12.2006 20:17:36 com.sun.faces.lifecycle.LifecycleImpl phase
| WARNUNG: executePhase(INVOKE_APPLICATION 5,com.sun.faces.context.FacesContextImpl@10de2bd) threw exception
| javax.faces.FacesException: For input string: "index"
| at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:105)
| at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:248)
| at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
| at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:32)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:46)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
| at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
| at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
| at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
| at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
| at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
| at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
| at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
| at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
| at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
| at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
| at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
| at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
| at java.lang.Thread.run(Thread.java:619)
| Caused by: java.lang.NumberFormatException: For input string: "index"
| at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
| at java.lang.Integer.parseInt(Integer.java:447)
| at java.lang.Integer.parseInt(Integer.java:497)
| at javax.el.ListELResolver.toInteger(ListELResolver.java:364)
| at javax.el.ListELResolver.getValue(ListELResolver.java:159)
| at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:135)
| at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:64)
| at com.sun.el.parser.AstValue.getValue(AstValue.java:117)
| at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:192)
| at org.jboss.seam.ui.facelet.MethodExpressionHelper.evaluateParams(MethodExpressionHelper.java:130)
| at org.jboss.seam.ui.facelet.MethodExpressionHelper.invokeTheExpression(MethodExpressionHelper.java:101)
| at org.jboss.seam.ui.facelet.ParamMethodExpression.invoke(ParamMethodExpression.java:62)
| at com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68)
| at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:77)
| at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:95)
| at javax.faces.component.UICommand.broadcast(UICommand.java:383)
| at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:448)
| at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:752)
| at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:97)
| ... 28 more
| 20:17:36,754 ERROR [SeamExceptionFilter] could not destroy contexts
| java.lang.IllegalStateException: No phase id bound to current thread (make sure you do not have two SeamPhaseListener instances installed)
| at org.jboss.seam.contexts.PageContext.getPhaseId(PageContext.java:153)
| at org.jboss.seam.contexts.PageContext.isRenderResponsePhase(PageContext.java:165)
| at org.jboss.seam.contexts.PageContext.getCurrentReadableMap(PageContext.java:76)
| at org.jboss.seam.contexts.PageContext.get(PageContext.java:66)
| at org.jboss.seam.contexts.Contexts.lookupInStatefulContexts(Contexts.java:160)
| at org.jboss.seam.Component.getInstance(Component.java:1597)
| at org.jboss.seam.Component.getInstance(Component.java:1577)
| at org.jboss.seam.Component.getInstance(Component.java:1572)
| at org.jboss.seam.core.PersistenceContexts.instance(PersistenceContexts.java:48)
| at org.jboss.seam.interceptors.ManagedEntityIdentityInterceptor.entityRefsToIds(ManagedEntityIdentityInterceptor.java:52)
| at org.jboss.seam.interceptors.ManagedEntityIdentityInterceptor.aroundInvoke(ManagedEntityIdentityInterceptor.java:45)
| at sun.reflect.GeneratedMethodAccessor86.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:597)
| at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
| at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
| at org.jboss.seam.interceptors.OutcomeInterceptor.interceptOutcome(OutcomeInterceptor.java:23)
| at sun.reflect.GeneratedMethodAccessor85.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:597)
| at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
| at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
| at org.jboss.seam.interceptors.RollbackInterceptor.rollbackIfNecessary(RollbackInterceptor.java:33)
| at sun.reflect.GeneratedMethodAccessor88.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:597)
| at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
| at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
| at org.jboss.seam.interceptors.ConversationInterceptor.endOrBeginLongRunningConversation(ConversationInterceptor.java:51)
| at sun.reflect.GeneratedMethodAccessor84.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:597)
| at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
| at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
| at org.jboss.seam.interceptors.BusinessProcessInterceptor.manageBusinessProcessContext(BusinessProcessInterceptor.java:50)
| at sun.reflect.GeneratedMethodAccessor83.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:597)
| at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
| at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
| at org.jboss.seam.interceptors.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:28)
| at sun.reflect.GeneratedMethodAccessor82.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:597)
| at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
| at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
| at org.jboss.seam.interceptors.ExceptionInterceptor.handleExceptions(ExceptionInterceptor.java:38)
| at sun.reflect.GeneratedMethodAccessor81.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:597)
| at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
| at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
| at org.jboss.seam.intercept.RootInterceptor.createSeamInvocationContext(RootInterceptor.java:144)
| at org.jboss.seam.intercept.RootInterceptor.invokeInContexts(RootInterceptor.java:129)
| at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:102)
| at org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:144)
| at org.jboss.seam.intercept.JavaBeanInterceptor.intercept(JavaBeanInterceptor.java:79)
| at com.example.usecases.web.MyPageflow$$EnhancerByCGLIB$$ed9ddf4a.clearDirty(<generated>)
| at org.jboss.seam.contexts.Lifecycle.isAttributeDirty(Lifecycle.java:459)
| at org.jboss.seam.contexts.ServerConversationContext.flush(ServerConversationContext.java:219)
| at org.jboss.seam.contexts.Lifecycle.flushAndDestroyContexts(Lifecycle.java:357)
| at org.jboss.seam.contexts.Lifecycle.endRequest(Lifecycle.java:282)
| at org.jboss.seam.servlet.SeamExceptionFilter.endWebRequestAfterException(SeamExceptionFilter.java:81)
| at org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:57)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
| at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
| at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
| at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
| at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
| at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
| at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
| at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
| at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
| at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
| at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
| at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
| at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
| at java.lang.Thread.run(Thread.java:619)
| 20:17:36,768 ERROR [SeamExceptionFilter] uncaught exception handled by Seam
| javax.servlet.ServletException: For input string: "index"
| at javax.faces.webapp.FacesServlet.service(FacesServlet.java:256)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:32)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:46)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
| at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
| at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
| at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
| at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
| at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
| at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
| at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
| at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
| at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
| at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
| at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
| at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
| at java.lang.Thread.run(Thread.java:619)
| 20:17:36,769 ERROR [[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception
| java.lang.NumberFormatException: For input string: "index"
| at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
| at java.lang.Integer.parseInt(Integer.java:447)
| at java.lang.Integer.parseInt(Integer.java:497)
| at javax.el.ListELResolver.toInteger(ListELResolver.java:364)
| at javax.el.ListELResolver.getValue(ListELResolver.java:159)
| at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:135)
| at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:64)
| at com.sun.el.parser.AstValue.getValue(AstValue.java:117)
| at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:192)
| at org.jboss.seam.ui.facelet.MethodExpressionHelper.evaluateParams(MethodExpressionHelper.java:130)
| at org.jboss.seam.ui.facelet.MethodExpressionHelper.invokeTheExpression(MethodExpressionHelper.java:101)
| at org.jboss.seam.ui.facelet.ParamMethodExpression.invoke(ParamMethodExpression.java:62)
| at com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68)
| at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:77)
| at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:95)
| at javax.faces.component.UICommand.broadcast(UICommand.java:383)
| at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:448)
| at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:752)
| at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:97)
| at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:248)
| at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
| at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:32)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:46)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
| at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
| at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
| at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
| at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
| at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
| at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
| at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
| at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
| at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
| at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
| at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
| at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
| at java.lang.Thread.run(Thread.java:619)
The method is like this:
public void removeCondition(List<Condition> conditions, String index) {
| conditions.remove(Integer.parseInt(index));
| }
I also tried it with condition instead of status.index but this doesn't work either. All i would need is to drop some hint in my method about the index of the entry in the list so it knows on what to work - status.index shows this index but doesn't work as method parameter.
So can someone please give me a hint how to solve this.
Thanks a lot in advance.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994512#3994512
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994512
19 years, 7 months