hi mohan,
iam a new bie and iam also facing the same problem when iam trying to close teh 
task iam getting the warning and the transaction is rolling back .
if u got the solution please let me know.

GraphSession graphSession = jbpmContext.getGraphSession();
ProcessDefinition processDefinition = 
graphSession.loadProcessDefinition(processDefinitionId);
ProcessInstance processInstance = 
jbpmContext.newProcessInstance(processDefinition.getName());
TaskInstance startTaskInstance = 
processInstance.getTaskMgmtInstance().createStartTaskInstance();
List transitions = startTaskInstance.getAvailableTransitions();
int size1 = transitions.size();
String name ="";
for(int i=0;i<size1;i++)
{
Transition transition = (Transition)transitions.get(i);
 name = transition.getName();
}
startTaskInstance.end(name);
processInstance.signal();                       

the excetion and the warnings that iam getting with this code is :

W org.hibernate.engine.StatefulPersistenceContext  Narrowing proxy to class 
org.jbpm.graph.node.TaskNode - this operation breaks ==
[6/7/06 11:16:46:273 IST]  a106acb StatefulPersi W 
org.hibernate.engine.StatefulPersistenceContext  Narrowing proxy to class 
org.jbpm.graph.node.TaskNode - this operation breaks ==
[6/7/06 11:16:46:352 IST]  a106acb StatefulPersi W 
org.hibernate.engine.StatefulPersistenceContext  Narrowing proxy to class 
org.jbpm.graph.node.TaskNode - this operation breaks ==
[6/7/06 11:16:46:430 IST]  a106acb SystemOut     O this isafter the signal
[6/7/06 11:16:46:602 IST]  a106acb DbPersistence E 
org.jbpm.persistence.db.DbPersistenceService  problem rolling back after failed 
commit
[6/7/06 11:16:46:633 IST]  a106acb DbPersistence E 
org.jbpm.persistence.db.DbPersistenceService  TRAS0014I: The following 
exception was logged org.hibernate.TransactionException: Transaction not 
successfully started

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949529#3949529

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949529


_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to