[JBoss Seam] - Re: Integrating Seam and Icefaces
by jerome_082006
Hello,
Thank you very much.
I tried to add this:
<application>
| <variable-resolver>
| org.jboss.seam.jsf.SeamVariableResolver
| </variable-resolver>
| <locale-config />
| </application>
to my faces-config.xml and this is what I get:
14:38:21,015 ERROR [D2DFaceletViewHandler] Error renderResponse. Could not instantiate Seam component: user
| org.jboss.seam.InstantiationException: Could not instantiate Seam component: user
| at org.jboss.seam.Component.newInstance(Component.java:735)
| at org.jboss.seam.Component.newInstance(Component.java:1308)
| at org.jboss.seam.Component.getInstance(Component.java:1263)
| at org.jboss.seam.Component.getInstance(Component.java:1246)
| at org.jboss.seam.jsf.SeamVariableResolver.resolveVariable(SeamVariableResolver.java:44)
| at com.sun.facelets.el.LegacyELContext$LegacyELResolver.getValue(LegacyELContext.java:134)
| at com.sun.el.parser.AstIdentifier.getValue(AstIdentifier.java:65)
| at com.sun.el.parser.AstValue.getValue(AstValue.java:106)
| at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:192)
| at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71)
| at com.sun.facelets.el.LegacyValueBinding.getValue(LegacyValueBinding.java:56)
| at javax.faces.component.UIOutput.getValue(UIOutput.java:75)
| at com.icesoft.faces.renderkit.dom_html_basic.DomBasicInputRenderer.getValue(DomBasicInputRenderer.java:26)
| at com.icesoft.faces.renderkit.dom_html_basic.DomBasicRenderer.getValue(DomBasicRenderer.java:127)
| at com.icesoft.faces.renderkit.dom_html_basic.DomBasicRenderer.encodeEnd(DomBasicRenderer.java:97)
| at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:331)
| at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:569)
| at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:558)
| at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:558)
| at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:558)
| at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:558)
| at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:558)
| at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:558)
| at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:558)
| at com.icesoft.faces.facelets.D2DFaceletViewHandler.renderResponse(D2DFaceletViewHandler.java:221)
| at com.icesoft.faces.application.D2DViewHandler.renderView(D2DViewHandler.java:125)
| at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:352)
| at com.icesoft.faces.webapp.xmlhttp.PersistentFacesServlet.service(PersistentFacesServlet.java:273)
| at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
| 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:30)
| 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.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:595)
| Caused by: java.lang.InstantiationException: eu.mpulse.contacts.user.User
| at java.lang.Class.newInstance0(Class.java:335)
| at java.lang.Class.newInstance(Class.java:303)
| at org.jboss.seam.Component.instantiate(Component.java:771)
| at org.jboss.seam.Component.newInstance(Component.java:731)
| ... 49 more
I am probably missing something in my configuration files or using inappropriate jar files.
I also tried to add a Seam servlet filter (org.jboss.seam.servlet.SeamServletFilter) around the Persistent Faces Servlet.
I would like to understand how these two frameworks are supposed to interact with one another. Could you please explain me (basically) how it should work ? which servlet is to be called first ?
Regards,
Jerome.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3968614#3968614
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3968614
18 years, 4 months
[JBoss jBPM] - swimlane expression for group(groupname) does not seem to be
by anilkumarknr
Hi,
I am working with jbpm starters kit. I have created a workflow with few task nodes in it. I created swimlanes with expression as group(groupname) and associated it with a task in a task node.
I inserted a record in JBPM_ID_GROUP table with the groupname which i am using in my swimlane. Also, i do have few users who belong to this group (through JBPM_ID_MEMBERSHIP table).
Now, when i start the process and when control comes to that task, i am getting a message saying "A new task has been assigned to 'null'". And i could not see that task in any of the users who belong to that group. The task is not appearing in any of the users login. JBPM does not support such kind of functionality? Does group expression in swimlanes does not work at all? Or am i missing anything here? Can anyone let me know, whether jBPM does support such kind of functionality or even is there any information on how to extend group features from jBPM?
However, instead of using group(groupname) expression, if i use user(xyz), it does work properly. I am able to see the task in the tasklist if i log in as user xyz. Problem seems to be only with group expressions.
Any help would be appreciated.
Thanks & Regards,
-Anil
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3968611#3968611
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3968611
18 years, 4 months
[JBoss Seam] - Re: Seam throws exception after timer has finished execution
by asachde
"asachde" wrote : I get the following exception once a timer has finished execution. It's not hindering what I do but wanted to know is this something due to my timer.
|
| Thanks.
| JPDL Excerpt:
|
|
|
| System.out.println("In state wait!!!");
|
|
|
|
| System.out.println("Did the timer fire???");
|
|
|
|
|
| System.out.println("Leaving wait state!!!");
|
|
|
|
|
| Exception Stack:
| org.hibernate.StaleStateException: Batch update returned unexpected row count from update: 0 actual row count: 0 expecte
| d: 1
| at org.hibernate.jdbc.BatchingBatcher.checkRowCount(BatchingBatcher.java:93)
| at org.hibernate.jdbc.BatchingBatcher.checkRowCounts(BatchingBatcher.java:79)
| at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:58)
| at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:242)
| at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:235)
| at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:144)
| at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:29
| 7)
| at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
| at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:993)
| at org.jbpm.persistence.db.DbPersistenceService.close(DbPersistenceService.java:179)
| at org.jbpm.svc.Services.close(Services.java:211)
| at org.jbpm.JbpmContext.close(JbpmContext.java:139)
| at org.jbpm.scheduler.impl.SchedulerThread.executeTimers(SchedulerThread.java:161)
| at org.jbpm.scheduler.impl.SchedulerThread.run(SchedulerThread.java:70)
| 07:32:01,157 ERROR [AbstractFlushingEventListener] Could not synchronize database state with session
| org.hibernate.StaleStateException: Batch update returned unexpected row count from update: 0 actual row count: 0 expecte
| d: 1
| at org.hibernate.jdbc.BatchingBatcher.checkRowCount(BatchingBatcher.java:93)
| at org.hibernate.jdbc.BatchingBatcher.checkRowCounts(BatchingBatcher.java:79)
| at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:58)
| at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:242)
| at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:235)
| at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:144)
| at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:29
| 7)
| at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
| at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:993)
| at org.jbpm.persistence.db.DbPersistenceService.close(DbPersistenceService.java:179)
| at org.jbpm.svc.Services.close(Services.java:211)
| at org.jbpm.JbpmContext.close(JbpmContext.java:139)
| at org.jbpm.scheduler.impl.SchedulerThread.executeTimers(SchedulerThread.java:161)
| at org.jbpm.scheduler.impl.SchedulerThread.run(SchedulerThread.java:70)
| 07:32:01,208 ERROR [STDERR] org.jbpm.persistence.JbpmPersistenceException: couldn't flush hibernate session
| 07:32:01,208 ERROR [STDERR] at org.jbpm.persistence.db.DbPersistenceService.close(DbPersistenceService.java:181)
| 07:32:01,208 ERROR [STDERR] at org.jbpm.svc.Services.close(Services.java:211)
| 07:32:01,218 ERROR [STDERR] at org.jbpm.JbpmContext.close(JbpmContext.java:139)
| 07:32:01,218 ERROR [STDERR] at org.jbpm.scheduler.impl.SchedulerThread.executeTimers(SchedulerThread.java:161)
| 07:32:01,218 ERROR [STDERR] at org.jbpm.scheduler.impl.SchedulerThread.run(SchedulerThread.java:70)
| 07:32:01,218 ERROR [STDERR] Caused by: org.hibernate.StaleStateException: Batch update returned unexpected row count fro
| m update: 0 actual row count: 0 expected: 1
| 07:32:01,228 ERROR [STDERR] at org.hibernate.jdbc.BatchingBatcher.checkRowCount(BatchingBatcher.java:93)
| 07:32:01,228 ERROR [STDERR] at org.hibernate.jdbc.BatchingBatcher.checkRowCounts(BatchingBatcher.java:79)
| 07:32:01,228 ERROR [STDERR] at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:58)
| 07:32:01,228 ERROR [STDERR] at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:242)
| 07:32:01,238 ERROR [STDERR] at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:235)
| 07:32:01,238 ERROR [STDERR] at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:144)
| 07:32:01,238 ERROR [STDERR] at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlush
| ingEventListener.java:297)
| 07:32:01,248 ERROR [STDERR] at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.j
| ava:27)
| 07:32:01,248 ERROR [STDERR] at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:993)
| 07:32:01,248 ERROR [STDERR] at org.jbpm.persistence.db.DbPersistenceService.close(DbPersistenceService.java:179)
| 07:32:01,258 ERROR [STDERR] ... 4 more
| 07:32:01,258 ERROR [Services] problem closing service 'persistence'
| org.jbpm.persistence.JbpmPersistenceException: couldn't flush hibernate session
| at org.jbpm.persistence.db.DbPersistenceService.close(DbPersistenceService.java:181)
| at org.jbpm.svc.Services.close(Services.java:211)
| at org.jbpm.JbpmContext.close(JbpmContext.java:139)
| at org.jbpm.scheduler.impl.SchedulerThread.executeTimers(SchedulerThread.java:161)
| at org.jbpm.scheduler.impl.SchedulerThread.run(SchedulerThread.java:70)
| Caused by: org.hibernate.StaleStateException: Batch update returned unexpected row count from update: 0 actual row count
| : 0 expected: 1
| at org.hibernate.jdbc.BatchingBatcher.checkRowCount(BatchingBatcher.java:93)
| at org.hibernate.jdbc.BatchingBatcher.checkRowCounts(BatchingBatcher.java:79)
| at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:58)
| at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:242)
| at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:235)
| at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:144)
| at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:29
| 7)
| at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
| at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:993)
| at org.jbpm.persistence.db.DbPersistenceService.close(DbPersistenceService.java:179)
| ... 4 more
| 07:32:01,318 INFO [SchedulerThread] runtime exception while executing timers
| org.jbpm.JbpmException: problem closing services {persistence=org.jbpm.persistence.JbpmPersistenceException: couldn't fl
| ush hibernate session}
| at org.jbpm.svc.Services.close(Services.java:223)
| at org.jbpm.JbpmContext.close(JbpmContext.java:139)
| at org.jbpm.scheduler.impl.SchedulerThread.executeTimers(SchedulerThread.java:161)
| at org.jbpm.scheduler.impl.SchedulerThread.run(SchedulerThread.java:70)
| Caused by: org.jbpm.persistence.JbpmPersistenceException: couldn't flush hibernate session
| at org.jbpm.persistence.db.DbPersistenceService.close(DbPersistenceService.java:181)
| at org.jbpm.svc.Services.close(Services.java:211)
| ... 3 more
| Caused by: org.hibernate.StaleStateException: Batch update returned unexpected row count from update: 0 actual row count
| : 0 expected: 1
| at org.hibernate.jdbc.BatchingBatcher.checkRowCount(BatchingBatcher.java:93)
| at org.hibernate.jdbc.BatchingBatcher.checkRowCounts(BatchingBatcher.java:79)
| at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:58)
| at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:242)
| at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:235)
| at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:144)
| at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:29
| 7)
| at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
| at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:993)
| at org.jbpm.persistence.db.DbPersistenceService.close(DbPersistenceService.java:179)
| ... 4 more
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3968605#3968605
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3968605
18 years, 4 months
[JBoss Seam] - Seam throws exception after timer has finished execution
by asachde
I get the following exception once a timer has finished execution. It's not hindering what I do but wanted to know is this something due to my timer.
Thanks.
JPDL Excerpt:
System.out.println("In state wait!!!");
System.out.println("Did the timer fire???");
System.out.println("Leaving wait state!!!");
Exception Stack:
org.hibernate.StaleStateException: Batch update returned unexpected row count from update: 0 actual row count: 0 expecte
d: 1
at org.hibernate.jdbc.BatchingBatcher.checkRowCount(BatchingBatcher.java:93)
at org.hibernate.jdbc.BatchingBatcher.checkRowCounts(BatchingBatcher.java:79)
at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:58)
at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:242)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:235)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:144)
at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:29
7)
at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:993)
at org.jbpm.persistence.db.DbPersistenceService.close(DbPersistenceService.java:179)
at org.jbpm.svc.Services.close(Services.java:211)
at org.jbpm.JbpmContext.close(JbpmContext.java:139)
at org.jbpm.scheduler.impl.SchedulerThread.executeTimers(SchedulerThread.java:161)
at org.jbpm.scheduler.impl.SchedulerThread.run(SchedulerThread.java:70)
07:32:01,157 ERROR [AbstractFlushingEventListener] Could not synchronize database state with session
org.hibernate.StaleStateException: Batch update returned unexpected row count from update: 0 actual row count: 0 expecte
d: 1
at org.hibernate.jdbc.BatchingBatcher.checkRowCount(BatchingBatcher.java:93)
at org.hibernate.jdbc.BatchingBatcher.checkRowCounts(BatchingBatcher.java:79)
at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:58)
at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:242)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:235)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:144)
at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:29
7)
at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:993)
at org.jbpm.persistence.db.DbPersistenceService.close(DbPersistenceService.java:179)
at org.jbpm.svc.Services.close(Services.java:211)
at org.jbpm.JbpmContext.close(JbpmContext.java:139)
at org.jbpm.scheduler.impl.SchedulerThread.executeTimers(SchedulerThread.java:161)
at org.jbpm.scheduler.impl.SchedulerThread.run(SchedulerThread.java:70)
07:32:01,208 ERROR [STDERR] org.jbpm.persistence.JbpmPersistenceException: couldn't flush hibernate session
07:32:01,208 ERROR [STDERR] at org.jbpm.persistence.db.DbPersistenceService.close(DbPersistenceService.java:181)
07:32:01,208 ERROR [STDERR] at org.jbpm.svc.Services.close(Services.java:211)
07:32:01,218 ERROR [STDERR] at org.jbpm.JbpmContext.close(JbpmContext.java:139)
07:32:01,218 ERROR [STDERR] at org.jbpm.scheduler.impl.SchedulerThread.executeTimers(SchedulerThread.java:161)
07:32:01,218 ERROR [STDERR] at org.jbpm.scheduler.impl.SchedulerThread.run(SchedulerThread.java:70)
07:32:01,218 ERROR [STDERR] Caused by: org.hibernate.StaleStateException: Batch update returned unexpected row count fro
m update: 0 actual row count: 0 expected: 1
07:32:01,228 ERROR [STDERR] at org.hibernate.jdbc.BatchingBatcher.checkRowCount(BatchingBatcher.java:93)
07:32:01,228 ERROR [STDERR] at org.hibernate.jdbc.BatchingBatcher.checkRowCounts(BatchingBatcher.java:79)
07:32:01,228 ERROR [STDERR] at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:58)
07:32:01,228 ERROR [STDERR] at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:242)
07:32:01,238 ERROR [STDERR] at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:235)
07:32:01,238 ERROR [STDERR] at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:144)
07:32:01,238 ERROR [STDERR] at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlush
ingEventListener.java:297)
07:32:01,248 ERROR [STDERR] at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.j
ava:27)
07:32:01,248 ERROR [STDERR] at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:993)
07:32:01,248 ERROR [STDERR] at org.jbpm.persistence.db.DbPersistenceService.close(DbPersistenceService.java:179)
07:32:01,258 ERROR [STDERR] ... 4 more
07:32:01,258 ERROR [Services] problem closing service 'persistence'
org.jbpm.persistence.JbpmPersistenceException: couldn't flush hibernate session
at org.jbpm.persistence.db.DbPersistenceService.close(DbPersistenceService.java:181)
at org.jbpm.svc.Services.close(Services.java:211)
at org.jbpm.JbpmContext.close(JbpmContext.java:139)
at org.jbpm.scheduler.impl.SchedulerThread.executeTimers(SchedulerThread.java:161)
at org.jbpm.scheduler.impl.SchedulerThread.run(SchedulerThread.java:70)
Caused by: org.hibernate.StaleStateException: Batch update returned unexpected row count from update: 0 actual row count
: 0 expected: 1
at org.hibernate.jdbc.BatchingBatcher.checkRowCount(BatchingBatcher.java:93)
at org.hibernate.jdbc.BatchingBatcher.checkRowCounts(BatchingBatcher.java:79)
at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:58)
at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:242)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:235)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:144)
at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:29
7)
at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:993)
at org.jbpm.persistence.db.DbPersistenceService.close(DbPersistenceService.java:179)
... 4 more
07:32:01,318 INFO [SchedulerThread] runtime exception while executing timers
org.jbpm.JbpmException: problem closing services {persistence=org.jbpm.persistence.JbpmPersistenceException: couldn't fl
ush hibernate session}
at org.jbpm.svc.Services.close(Services.java:223)
at org.jbpm.JbpmContext.close(JbpmContext.java:139)
at org.jbpm.scheduler.impl.SchedulerThread.executeTimers(SchedulerThread.java:161)
at org.jbpm.scheduler.impl.SchedulerThread.run(SchedulerThread.java:70)
Caused by: org.jbpm.persistence.JbpmPersistenceException: couldn't flush hibernate session
at org.jbpm.persistence.db.DbPersistenceService.close(DbPersistenceService.java:181)
at org.jbpm.svc.Services.close(Services.java:211)
... 3 more
Caused by: org.hibernate.StaleStateException: Batch update returned unexpected row count from update: 0 actual row count
: 0 expected: 1
at org.hibernate.jdbc.BatchingBatcher.checkRowCount(BatchingBatcher.java:93)
at org.hibernate.jdbc.BatchingBatcher.checkRowCounts(BatchingBatcher.java:79)
at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:58)
at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:242)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:235)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:144)
at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:29
7)
at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:993)
at org.jbpm.persistence.db.DbPersistenceService.close(DbPersistenceService.java:179)
... 4 more
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3968604#3968604
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3968604
18 years, 4 months