[jboss-user] [JBoss jBPM] - jBPM + SEAM 2.0.0.GA - Getting
csweeney
do-not-reply at jboss.com
Thu Nov 8 12:53:37 EST 2007
No doubt I have an error somewhere...
These messages were not being generated in a previous version of SEAM (so I have been blissfully unaware of my less than perfect implementation).
|
| Process definition:
| <?xml version="1.0" encoding="UTF-8"?>
|
| <process-definition
| xmlns="" name="test_process">
| <start-state name="start_process">
| <transition to="wait_for_action">
| <mail name="confirm_start" to="${user.email}" template="/emailTemplates/confirm.xhtml"/>
| </transition>
| </start-state>
| <mail-node name="email_manager" to="another_address at nowhere.com" template="/emailTemplates/process_started.xhtml">
| <transition to="task-node1"/>
| </mail-node>
|
| <task-node name="task-node1" end-tasks="true">
| <task name="test">
| <description>
| Testing
| </description>
| <assignment pooled-actors="managers"></assignment>
| </task>
| <transition to="end-state1"></transition>
| </task-node>
| <end-state name="end-state1"/>
| </process-definition>
|
| The process is started with a
| @CreateProcess(...)
| public String persist(){
| //persist stuff in application db...
| ...
| }
|
| Later...
| @In(required=false)
| ProcessInstance processInstance;
|
| @ResumeProcess(...)
| public String managerLoggedInAndCompletedProcess(){
| ...
| processInstance.signal();
| }
|
No exceptions are thrown, nothing interesting in any log output. I poked around in the the SEAM code and the messages are added via this thread:
| at org.jboss.seam.faces.BusinessProcess.processEnded(BusinessProcess.java:58)
| at org.jboss.seam.bpm.BusinessProcess.afterResumeProcess(BusinessProcess.java:296)
| at org.jboss.seam.bpm.BusinessProcess.resumeProcess(BusinessProcess.java:267)
| at org.jboss.seam.async.Asynchronous.executeInContexts(Asynchronous.java:63)
| at org.jboss.seam.async.Asynchronous.execute(Asynchronous.java:45)
| at org.jboss.seam.async.TransactionSuccessEvent.afterCompletion(TransactionSuccessEvent.java:24)
| at org.jboss.seam.transaction.SynchronizationRegistry.afterTransactionCompletion(SynchronizationRegistry.java:42)
| at org.jboss.seam.transaction.SeSynchronizations.afterTransactionCommit(SeSynchronizations.java:40)
| at org.jboss.seam.transaction.UTTransaction.commit(UTTransaction.java:57)
| at org.jboss.seam.jsf.SeamPhaseListener.commitOrRollback(SeamPhaseListener.java:582)
| at org.jboss.seam.jsf.SeamPhaseListener.handleTransactionsAfterPhase(SeamPhaseListener.java:325)
| at org.jboss.seam.jsf.SeamPhaseListener.afterServletPhase(SeamPhaseListener.java:226)
| at org.jboss.seam.jsf.SeamPhaseListener.afterPhase(SeamPhaseListener.java:184)
| at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:280)
| 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:290)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
| at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
| at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85)
| at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
| at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
| at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
| at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:44)
| at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
| at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
| at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
| at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60)
| at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
| at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
| at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
| at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
| at com.assistgroup.support.TAGLoggingFilter.doFilter(TAGLoggingFilter.java:57)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
| at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
| at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
| at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
| at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
| at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
| at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
| at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
| at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
| at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
| at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
| at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
| at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
| at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
| at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
| at java.lang.Thread.run(Thread.java:637)
|
Not quite sure what I am doing, and I'm not sure what I am doing wrong.
Environment:
jBoss AS 4.2.0.GA
SEAM 2.0.0.GA
jBPM 3.2.2?(not sure if this is true - it is whatever is packaged with SEAM at the moment)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4103019#4103019
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4103019
More information about the jboss-user
mailing list