[JBoss jBPM] - Re: jbpm designer deployment problem
by jh398
when i try to deploy from eclipse, i can't see any specifit error logging on the server, but i keep getting the server message below.
(btw, the websale demo can be deployed successfully from the command line, it fails only when i tried to modify it and redeploy from eclipse)
many thanks,
Jeff
server log:
08:26:27,848 DEBUG [DbPersistenceService] committing hibernate transaction
08:26:27,849 DEBUG [DbPersistenceService] closing hibernate session
08:26:27,849 DEBUG [Services] closing service 'tx': org.jbpm.tx.TxService@721cbd
08:26:27,849 DEBUG [JobExecutorThread] obtained locks on following jobs: []
08:26:27,849 DEBUG [JbpmContextInfo] creating jbpm context with service factories '[tx, message, scheduler, logging, persistence, authentication]'
08:26:27,849 DEBUG [JbpmContext] creating org.jbpm.JbpmContext@bcc74a
08:26:27,849 DEBUG [DbPersistenceServiceFactory] creating persistence service
08:26:27,849 DEBUG [DbPersistenceService] creating hibernate session
08:26:27,849 DEBUG [DbPersistenceService] beginning hibernate transaction
08:26:27,850 DEBUG [JbpmContext] closing JbpmContext
08:26:27,850 DEBUG [Services] closing service 'persistence': org.jbpm.persistence.db.DbPersistenceService@17a6ac
08:26:27,850 DEBUG [DbPersistenceService] committing hibernate transaction
08:26:27,850 DEBUG [DbPersistenceService] closing hibernate session
08:26:27,850 DEBUG [Services] closing service 'tx': org.jbpm.tx.TxService@bf81f2
08:26:32,850 DEBUG [JobExecutorThread] acquiring jobs for execution...
08:26:32,850 DEBUG [JbpmContextInfo] creating jbpm context with service factories '[tx, message, scheduler, logging, persistence, authentication]'
08:26:32,850 DEBUG [JbpmContext] creating org.jbpm.JbpmContext@ec5d34
08:26:32,850 DEBUG [DbPersistenceServiceFactory] creating persistence service
08:26:32,851 DEBUG [DbPersistenceService] creating hibernate session
08:26:32,851 DEBUG [DbPersistenceService] beginning hibernate transaction
08:26:32,851 DEBUG [JobExecutorThread] querying for acquirable job...
08:26:32,851 DEBUG [JobExecutorThread] no acquirable jobs in job table
08:26:32,851 DEBUG [JbpmContext] closing JbpmContext
08:26:32,851 DEBUG [Services] closing service 'persistence': org.jbpm.persistence.db.DbPersistenceService@48c066
08:26:32,852 DEBUG [DbPersistenceService] committing hibernate transaction
08:26:32,852 DEBUG [DbPersistenceService] closing hibernate session
08:26:32,852 DEBUG [Services] closing service 'tx': org.jbpm.tx.TxService@4f7e3a
08:26:32,852 DEBUG [JobExecutorThread] obtained locks on following jobs: []
08:26:32,852 DEBUG [JbpmContextInfo] creating jbpm context with service factories '[tx, message, scheduler, logging, persistence, authentication]'
08:26:32,852 DEBUG [JbpmContext] creating org.jbpm.JbpmContext@e8192d
08:26:32,852 DEBUG [DbPersistenceServiceFactory] creating persistence service
08:26:32,852 DEBUG [DbPersistenceService] creating hibernate session
08:26:32,852 DEBUG [DbPersistenceService] beginning hibernate transaction
08:26:32,853 DEBUG [JbpmContext] closing JbpmContext
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4120313#4120313
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4120313
18 years, 5 months
[JBoss jBPM] - Re: task in start state
by debnathm
Hi
I have the following state definition (fragment):
<process-definition>
| <start-state name='start'>
| <task name='StartStateTask'>
| <controller>
| <variable access='read,write,required' name='variable1' mapped-name='Var1'></variable>
| </controller>
| </task>
| <transition to='task-node1' name='to_task_node1'></transition>
| </start-state>
| ...
I use the following code to create a process Instance:
ProcessDefinition processDefinition = ProcessDefinition.parseXmlString(
<xml string above>);
ProcessInstance processInstance = new ProcessInstance(processDefinition);
Later, I call the following code:
TaskMgmtInstance taskmgmtInstance = processInstance.getTaskMgmtInstance();
Token token = processInstance.getRootToken();
if (taskmgmtInstance.hasUnfinishedTasks(token) == false)
{
...
}
else
{
...
}
However, even though the start state has a task, it seems to
enter the "if" block, not the "else" part.
Any suggestions would be appreciated.
Thanks,
Debnath
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4120312#4120312
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4120312
18 years, 5 months