Sandra Renaud [https://community.jboss.org/people/joploya] created the 
discussion

"New process instance created but no task insert in db"

To view the discussion, visit: https://community.jboss.org/message/824520#824520

--------------------------------------------------------------
Hello,

I have a persistent session. When the process starts, the log shows that 
session is created, process variables are passed to the process instance. Also 
the woritem is created weel. But no task appears or is created. I have no "bug" 
or error in my log and until today I didn't encounter this kind of problem.

This is the log. I don't understand what is "AFTER PROCESS NODE TRIGGERED"


11:52:01,222 INFO  [stdout] (http--0.0.0.0-8080-7) knowledge base NOT null


11:52:01,223 INFO  [stdout] (http--0.0.0.0-8080-7)  - process 
newcpbeforem29commontrunk [com.st.ams.flows.newcpbeforem29commontrunk]


11:52:01,224 INFO  [stdout] (http--0.0.0.0-8080-7)  - process newcpbeforem29 
[com.st.ams.flows.newcpbeforem29]


11:52:01,224 INFO  [stdout] (http--0.0.0.0-8080-7)  - process newfrontendcodes 
[com.st.ams.flows.nfep]


11:52:01,224 INFO  [stdout] (http--0.0.0.0-8080-7)  - process newfinishedgood 
[com.st.ams.flows.newfinishedgood]


11:52:01,225 INFO  [stdout] (http--0.0.0.0-8080-7)  - process DataCorrections 
[com.st.ams.flows.datacorrections]


11:52:01,225 INFO  [stdout] (http--0.0.0.0-8080-7)  - process newproductline 
[com.st.ams.flows.newproductline]


11:52:01,227 INFO  [stdout] (http--0.0.0.0-8080-7) Hibernate: 
11:52:01,228 INFO  [stdout] (http--0.0.0.0-8080-7)     select
11:52:01,228 INFO  [stdout] (http--0.0.0.0-8080-7)         
knowledges0_.sessionId as sessionId417_ 
11:52:01,228 INFO  [stdout] (http--0.0.0.0-8080-7)     from
11:52:01,229 INFO  [stdout] (http--0.0.0.0-8080-7)         
KnowledgeSessionRecovery knowledges0_


11:52:02,299 INFO  [stdout] (http--0.0.0.0-8080-7) Hibernate: 
11:52:02,299 INFO  [stdout] (http--0.0.0.0-8080-7)     insert 
11:52:02,299 INFO  [stdout] (http--0.0.0.0-8080-7)     into
11:52:02,299 INFO  [stdout] (http--0.0.0.0-8080-7)         SessionInfo
11:52:02,300 INFO  [stdout] (http--0.0.0.0-8080-7)         
(lastModificationDate, rulesByteArray, startDate, OPTLOCK) 
11:52:02,300 INFO  [stdout] (http--0.0.0.0-8080-7)     values
11:52:02,300 INFO  [stdout] (http--0.0.0.0-8080-7)         (?, ?, ?, ?)


11:52:02,305 INFO  [stdout] (http--0.0.0.0-8080-7) Hibernate: 
11:52:02,305 INFO  [stdout] (http--0.0.0.0-8080-7)     select
11:52:02,306 INFO  [stdout] (http--0.0.0.0-8080-7)         
knowledges0_.sessionId as sessionId417_0_ 
11:52:02,306 INFO  [stdout] (http--0.0.0.0-8080-7)     from
11:52:02,306 INFO  [stdout] (http--0.0.0.0-8080-7)         
KnowledgeSessionRecovery knowledges0_ 
11:52:02,306 INFO  [stdout] (http--0.0.0.0-8080-7)     where
11:52:02,307 INFO  [stdout] (http--0.0.0.0-8080-7)         
knowledges0_.sessionId=?


11:52:02,308 INFO  [stdout] (http--0.0.0.0-8080-7)  !!!! DEBUG SESSION 
PERSISTENCE : new session with id : 1 !!!!


11:52:02,330 INFO  [stdout] (http--0.0.0.0-8080-7) Hibernate: 
11:52:02,331 INFO  [stdout] (http--0.0.0.0-8080-7)     insert 
11:52:02,331 INFO  [stdout] (http--0.0.0.0-8080-7)     into
11:52:02,331 INFO  [stdout] (http--0.0.0.0-8080-7)         
KnowledgeSessionRecovery
11:52:02,331 INFO  [stdout] (http--0.0.0.0-8080-7)         (sessionId) 
11:52:02,332 INFO  [stdout] (http--0.0.0.0-8080-7)     values
11:52:02,332 INFO  [stdout] (http--0.0.0.0-8080-7)         (?)


11:52:02,352 INFO  [stdout] (http--0.0.0.0-8080-7) Hibernate: 
11:52:02,353 INFO  [stdout] (http--0.0.0.0-8080-7)     insert 
11:52:02,353 INFO  [stdout] (http--0.0.0.0-8080-7)     into
11:52:02,353 INFO  [stdout] (http--0.0.0.0-8080-7)         ProcessInstanceInfo
11:52:02,353 INFO  [stdout] (http--0.0.0.0-8080-7)         (OPTLOCK, processId, 
startDate, lastReadDate, lastModificationDate, state, processInstanceByteArray) 
11:52:02,354 INFO  [stdout] (http--0.0.0.0-8080-7)     values
11:52:02,354 INFO  [stdout] (http--0.0.0.0-8080-7)         (?, ?, ?, ?, ?, ?, ?)


11:52:02,362 INFO  [org.drools.audit.WorkingMemoryConsoleLogger] 
(http--0.0.0.0-8080-7) BEFORE RULEFLOW VARIABLE CHANGED startDate=Mon Jun 24 
11:51:53 CEST 2013 process:newfinishedgood[id=com.st.ams.flows.newfinishedgood]
11:52:02,363 INFO  [org.drools.audit.WorkingMemoryConsoleLogger] 
(http--0.0.0.0-8080-7) AFTER RULEFLOW VARIABLE CHANGED startDate=Mon Jun 24 
11:51:53 CEST 2013 process:newfinishedgood[id=com.st.ams.flows.newfinishedgood]
11:52:02,364 INFO  [org.drools.audit.WorkingMemoryConsoleLogger] 
(http--0.0.0.0-8080-7) BEFORE RULEFLOW VARIABLE CHANGED flowType=N_FG 
process:newfinishedgood[id=com.st.ams.flows.newfinishedgood]
11:52:02,365 INFO  [org.drools.audit.WorkingMemoryConsoleLogger] 
(http--0.0.0.0-8080-7) AFTER RULEFLOW VARIABLE CHANGED flowType=N_FG 
process:newfinishedgood[id=com.st.ams.flows.newfinishedgood]
11:52:02,379 INFO  [org.drools.audit.WorkingMemoryConsoleLogger] 
(http--0.0.0.0-8080-7) BEFORE RULEFLOW VARIABLE CHANGED flowId=1 
process:newfinishedgood[id=com.st.ams.flows.newfinishedgood]
11:52:02,380 INFO  [org.drools.audit.WorkingMemoryConsoleLogger] 
(http--0.0.0.0-8080-7) AFTER RULEFLOW VARIABLE CHANGED flowId=1 
process:newfinishedgood[id=com.st.ams.flows.newfinishedgood]
11:52:02,383 INFO  [org.drools.audit.WorkingMemoryConsoleLogger] 
(http--0.0.0.0-8080-7) BEFORE RULEFLOW STARTED 
process:newfinishedgood[id=com.st.ams.flows.newfinishedgood]
11:52:02,393 INFO  [org.drools.audit.WorkingMemoryConsoleLogger] 
(http--0.0.0.0-8080-7) BEFORE PROCESS NODE TRIGGERED node:[id=1] 
process:newfinishedgood[id=com.st.ams.flows.newfinishedgood]
11:52:02,394 INFO  [org.drools.audit.WorkingMemoryConsoleLogger] 
(http--0.0.0.0-8080-7) BEFORE PROCESS NODE EXITED node:[id=1] 
process:newfinishedgood[id=com.st.ams.flows.newfinishedgood]
11:52:02,395 INFO  [org.drools.audit.WorkingMemoryConsoleLogger] 
(http--0.0.0.0-8080-7) BEFORE PROCESS NODE TRIGGERED node:[id=2] 
process:newfinishedgood[id=com.st.ams.flows.newfinishedgood]
11:52:02,399 INFO  [org.drools.audit.WorkingMemoryConsoleLogger] 
(http--0.0.0.0-8080-7) BEFORE PROCESS NODE EXITED node:[id=2] 
process:newfinishedgood[id=com.st.ams.flows.newfinishedgood]
11:52:02,399 INFO  [org.drools.audit.WorkingMemoryConsoleLogger] 
(http--0.0.0.0-8080-7) BEFORE PROCESS NODE TRIGGERED node:P_ENG_step[id=3] 
process:newfinishedgood[id=com.st.ams.flows.newfinishedgood]
11:52:02,401 INFO  [stdout] (http--0.0.0.0-8080-7) Hibernate: 
11:52:02,402 INFO  [stdout] (http--0.0.0.0-8080-7)     insert 
11:52:02,402 INFO  [stdout] (http--0.0.0.0-8080-7)     into
11:52:02,402 INFO  [stdout] (http--0.0.0.0-8080-7)         WorkItemInfo
11:52:02,402 INFO  [stdout] (http--0.0.0.0-8080-7)         (creationDate, name, 
processInstanceId, state, OPTLOCK, workItemByteArray) 
11:52:02,403 INFO  [stdout] (http--0.0.0.0-8080-7)     values
11:52:02,403 INFO  [stdout] (http--0.0.0.0-8080-7)         (?, ?, ?, ?, ?, ?)


11:52:03,177 INFO  [org.drools.audit.WorkingMemoryConsoleLogger] 
(http--0.0.0.0-8080-7) AFTER PROCESS NODE TRIGGERED node:P_ENG_step[id=3] 
process:newfinishedgood[id=com.st.ams.flows.newfinishedgood]
11:52:03,178 INFO  [org.drools.audit.WorkingMemoryConsoleLogger] 
(http--0.0.0.0-8080-7) AFTER PROCESS NODE TRIGGERED node:[id=2] 
process:newfinishedgood[id=com.st.ams.flows.newfinishedgood]
11:52:03,178 INFO  [org.drools.audit.WorkingMemoryConsoleLogger] 
(http--0.0.0.0-8080-7) AFTER PROCESS NODE TRIGGERED node:[id=2] 
process:newfinishedgood[id=com.st.ams.flows.newfinishedgood]
11:52:03,179 INFO  [org.drools.audit.WorkingMemoryConsoleLogger] 
(http--0.0.0.0-8080-7) AFTER PROCESS NODE TRIGGERED node:[id=1] 
process:newfinishedgood[id=com.st.ams.flows.newfinishedgood]
11:52:03,180 INFO  [org.drools.audit.WorkingMemoryConsoleLogger] 
(http--0.0.0.0-8080-7) AFTER PROCESS NODE TRIGGERED node:[id=1] 
process:newfinishedgood[id=com.st.ams.flows.newfinishedgood]
11:52:03,180 INFO  [org.drools.audit.WorkingMemoryConsoleLogger] 
(http--0.0.0.0-8080-7) AFTER RULEFLOW STARTED 
process:newfinishedgood[id=com.st.ams.flows.newfinishedgood]
11:52:03,183 INFO  [stdout] (http--0.0.0.0-8080-7) Hibernate: 
11:52:03,183 INFO  [stdout] (http--0.0.0.0-8080-7)     update
11:52:03,183 INFO  [stdout] (http--0.0.0.0-8080-7)         SessionInfo 
11:52:03,183 INFO  [stdout] (http--0.0.0.0-8080-7)     set
11:52:03,183 INFO  [stdout] (http--0.0.0.0-8080-7)         
lastModificationDate=?,
11:52:03,184 INFO  [stdout] (http--0.0.0.0-8080-7)         rulesByteArray=?,
11:52:03,184 INFO  [stdout] (http--0.0.0.0-8080-7)         startDate=?,
11:52:03,184 INFO  [stdout] (http--0.0.0.0-8080-7)         OPTLOCK=? 
11:52:03,184 INFO  [stdout] (http--0.0.0.0-8080-7)     where
11:52:03,184 INFO  [stdout] (http--0.0.0.0-8080-7)         id=? 
11:52:03,185 INFO  [stdout] (http--0.0.0.0-8080-7)         and OPTLOCK=?


11:52:03,199 INFO  [stdout] (http--0.0.0.0-8080-7) Hibernate: 
11:52:03,200 INFO  [stdout] (http--0.0.0.0-8080-7)     update
11:52:03,200 INFO  [stdout] (http--0.0.0.0-8080-7)         ProcessInstanceInfo 
11:52:03,200 INFO  [stdout] (http--0.0.0.0-8080-7)     set
11:52:03,200 INFO  [stdout] (http--0.0.0.0-8080-7)         OPTLOCK=?,
11:52:03,201 INFO  [stdout] (http--0.0.0.0-8080-7)         processId=?,
11:52:03,201 INFO  [stdout] (http--0.0.0.0-8080-7)         startDate=?,
11:52:03,201 INFO  [stdout] (http--0.0.0.0-8080-7)         lastReadDate=?,
11:52:03,201 INFO  [stdout] (http--0.0.0.0-8080-7)         
lastModificationDate=?,
11:52:03,202 INFO  [stdout] (http--0.0.0.0-8080-7)         state=?,
11:52:03,202 INFO  [stdout] (http--0.0.0.0-8080-7)         
processInstanceByteArray=? 
11:52:03,202 INFO  [stdout] (http--0.0.0.0-8080-7)     where
11:52:03,202 INFO  [stdout] (http--0.0.0.0-8080-7)         InstanceId=? 
11:52:03,203 INFO  [stdout] (http--0.0.0.0-8080-7)         and OPTLOCK=?


11:52:03,204 INFO  [stdout] (http--0.0.0.0-8080-7) Hibernate: 
11:52:03,204 INFO  [stdout] (http--0.0.0.0-8080-7)     update
11:52:03,204 INFO  [stdout] (http--0.0.0.0-8080-7)         WorkItemInfo 
11:52:03,205 INFO  [stdout] (http--0.0.0.0-8080-7)     set
11:52:03,205 INFO  [stdout] (http--0.0.0.0-8080-7)         creationDate=?,
11:52:03,205 INFO  [stdout] (http--0.0.0.0-8080-7)         name=?,
11:52:03,206 INFO  [stdout] (http--0.0.0.0-8080-7)         processInstanceId=?,
11:52:03,206 INFO  [stdout] (http--0.0.0.0-8080-7)         state=?,
11:52:03,206 INFO  [stdout] (http--0.0.0.0-8080-7)         OPTLOCK=?,
11:52:03,206 INFO  [stdout] (http--0.0.0.0-8080-7)         workItemByteArray=? 
11:52:03,206 INFO  [stdout] (http--0.0.0.0-8080-7)     where
11:52:03,207 INFO  [stdout] (http--0.0.0.0-8080-7)         workItemId=? 
11:52:03,207 INFO  [stdout] (http--0.0.0.0-8080-7)         and OPTLOCK=?



Thanks for any explanation.

I'm on Jbpm 5.4 with mySQL.
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/824520#824520]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to