[jboss-user] [JBoss jBPM] - Re: Error on the end of the execution

2008-04-11 Thread victorl
I could resolve the problem by manually changing jbpm.jpdl.mysql.sql.

In my opinion: salaboy you must response a question if you will follow the 
thread. That is, if you know the problem in deep. However thank you for your 
contribution.

I hope that my solution to be the correct one.

Regards,

Victor

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4143495#4143495

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4143495
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Error on the end of the execution

2008-04-09 Thread victorl
Hi All,

What does it mean the following error:


  | 
  | 2008-04-09 15:45:19,125 [http-8090-1] ERROR org.jbpm.db.SchedulerSession - 
java.lang.IllegalArgumentException: Parameter processInstance does not exist as 
a named parameter in [
  | 
  |   delete from org.jbpm.scheduler.exe.Timer t
  |   where t.processInstance = :processInstance
  | 
  |   ]
  | 
  | 

It is ocurring after an ActionHandler for an end-state is executed.

The ActionHandler only has one instruction: System.out.println() and no 
more.

I also tried removing the ActionHanbler for the end-state and the error follows.


Any help would be greatly appreciated.
Regards,

Victor

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4142933#4142933

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4142933
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Error on the end of the execution

2008-04-09 Thread victorl
Hi salaboy,

Thank you very much for your response.

I am using jbpm-jpdl-3.2.2 and I created the jbpm database with the script 
mysql.create.sql from jbpm-starters-kit-3.1.4 And then I ran 
jbpm.jpdl.mysql.sql from jbpm-jpdl-3.2.2.

But I see that Timer table is not changed with jbpm.jpdl.mysql.sql  and so it 
is not coincide with Timer.hbm.xml from jbpm-jpdl.jar.

Thank you very much once again and I need to know how to create the database 
correctly.

Regards,

Victor

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4143000#4143000

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4143000
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Error on the end of the execution

2008-04-09 Thread victorl
I forgot to tell you that if I create the database directly from 
bpm.jpdl.mysql.sql in jbpm-jpdl-3.2.2 package I get the following error:


  | 
  | 2008-04-09 19:39:46,463 [main] ERROR 
org.hibernate.util.JDBCExceptionReporter - Unknown column 'DESCRIPTION_' in 
'field list'
  | 2008-04-09 19:39:46,563 [main] WARN  
org.hibernate.util.JDBCExceptionReporter - SQL Error: 1054, SQLState: 42S22
  | 2008-04-09 19:39:46,563 [main] ERROR 
org.hibernate.util.JDBCExceptionReporter - Unknown column 'DESCRIPTION_' in 
'field list'
  | 2008-04-09 19:39:46,623 [main] ERROR 
org.jbpm.persistence.db.DbPersistenceService - hibernate commit failed
  | org.hibernate.exception.SQLGrammarException: could not insert: 
[org.jbpm.graph.node.TaskNode]
  | at 
org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:67)
  | at 
org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
  | at 
org.hibernate.id.insert.AbstractReturningDelegate.performInsert(AbstractReturningDelegate.java:40)
  | at 
org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2158)
  | at 
org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2638)
  | at 
org.hibernate.action.EntityIdentityInsertAction.execute(EntityIdentityInsertAction.java:48)
  | at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:248)
  | at 
org.hibernate.event.def.AbstractSaveEventListener.performSaveOrReplicate(AbstractSaveEventListener.java:298)
  | at 
org.hibernate.event.def.AbstractSaveEventListener.performSave(AbstractSaveEventListener.java:181)
  | at 
org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:107)
  | at 
org.hibernate.event.def.DefaultSaveOrUpdateEventListener.saveWithGeneratedOrRequestedId(DefaultSaveOrUpdateEventListener.java:187)
  | at 
org.hibernate.event.def.DefaultSaveOrUpdateEventListener.entityIsTransient(DefaultSaveOrUpdateEventListener.java:172)
  | at 
org.hibernate.event.def.DefaultSaveOrUpdateEventListener.performSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:94)
  | at 
org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:70)
  | at org.hibernate.impl.SessionImpl.fireSaveOrUpdate(SessionImpl.java:507)
  | at org.hibernate.impl.SessionImpl.saveOrUpdate(SessionImpl.java:499)
  | at 
org.hibernate.engine.CascadingAction$1.cascade(CascadingAction.java:218)
  | at org.hibernate.engine.Cascade.cascadeToOne(Cascade.java:268)
  | at org.hibernate.engine.Cascade.cascadeAssociation(Cascade.java:216)
  | at org.hibernate.engine.Cascade.cascadeProperty(Cascade.java:169)
  | at 
org.hibernate.engine.Cascade.cascadeCollectionElements(Cascade.java:296)
  | at org.hibernate.engine.Cascade.cascadeCollection(Cascade.java:242)
  | at org.hibernate.engine.Cascade.cascadeAssociation(Cascade.java:219)
  | at org.hibernate.engine.Cascade.cascadeProperty(Cascade.java:169)
  | at org.hibernate.engine.Cascade.cascade(Cascade.java:130)
  | at 
org.hibernate.event.def.AbstractFlushingEventListener.cascadeOnFlush(AbstractFlushingEventListener.java:131)
  | at 
org.hibernate.event.def.AbstractFlushingEventListener.prepareEntityFlushes(AbstractFlushingEventListener.java:122)
  | at 
org.hibernate.event.def.AbstractFlushingEventListener.flushEverythingToExecutions(AbstractFlushingEventListener.java:65)
  | at 
org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:26)
  | at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000)
  | at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:338)
  | at 
org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:106)
  | at 
org.jbpm.persistence.db.DbPersistenceService.commit(DbPersistenceService.java:256)
  | at 
org.jbpm.persistence.db.DbPersistenceService.close(DbPersistenceService.java:214)
  | at org.jbpm.svc.Services.close(Services.java:225)
  | at org.jbpm.JbpmContext.close(JbpmContext.java:139)
  | at 
ar.com.dsv.saslc.seguimiento.workflow.jbpm.JBPMSeguimiento.instalarProcesos(JBPMSeguimiento.java:67)
  | at 
ar.com.dsv.base.config.BootstrapServlet.init(BootstrapServlet.java:47)
  | at 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1139)
  | at 
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:966)
  | at 
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3956)
  | at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4230)
  | at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
  | at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
  | at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)
  | at 

[jboss-user] [JBoss jBPM] - Re: Error on the end of the execution

2008-04-09 Thread victorl
Excuse me salaboy in previous message I pasted a wrong exception. So if I 
create the database directly from bpm.jpdl.mysql.sql in jbpm-jpdl-3.2.2 package 
I get this error:



  | 
  | 2008-04-09 19:52:51,662 [http-8090-1] WARN  
org.hibernate.util.JDBCExceptionReporter - SQL Error: 1146, SQLState: 42S02
  | 2008-04-09 19:52:51,662 [http-8090-1] ERROR 
org.hibernate.util.JDBCExceptionReporter - Table 
'saslc_jbpm.jbpm_exceptionhandler' doesn't exist
  | org.hibernate.exception.SQLGrammarException: could not initialize a 
collection: [org.jbpm.graph.def.ProcessDefinition.exceptionHandlers#1]
  | at 
org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:67)
  | at 
org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
  | at org.hibernate.loader.Loader.loadCollection(Loader.java:2001)
  | at 
org.hibernate.loader.collection.CollectionLoader.initialize(CollectionLoader.java:36)
  | at 
org.hibernate.persister.collection.AbstractCollectionPersister.initialize(AbstractCollectionPersister.java:565)
  | at 
org.hibernate.event.def.DefaultInitializeCollectionEventListener.onInitializeCollection(DefaultInitializeCollectionEventListener.java:60)
  | at 
org.hibernate.impl.SessionImpl.initializeCollection(SessionImpl.java:1716)
  | at 
org.hibernate.collection.AbstractPersistentCollection.forceInitialization(AbstractPersistentCollection.java:454)
  | at 
org.hibernate.engine.StatefulPersistenceContext.initializeNonLazyCollections(StatefulPersistenceContext.java:785)
  | at 
org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:241)
  | at org.hibernate.loader.Loader.doList(Loader.java:2220)
  | at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2104)
  | at org.hibernate.loader.Loader.list(Loader.java:2099)
  | at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:378)
  | at 
org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:338)
  | at 
org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:172)
  | at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1121)
  | at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79)
  | at 
org.hibernate.impl.AbstractQueryImpl.uniqueResult(AbstractQueryImpl.java:811)
  | at 
org.jbpm.db.GraphSession.findLatestProcessDefinition(GraphSession.java:153)
  | at 
ar.com.dsv.saslc.seguimiento.workflow.jbpm.InicioProcesoAlta.iniciar(InicioProcesoAlta.java:26)
  | at 
ar.com.dsv.saslc.seguimiento.workflow.jbpm.JBPMSeguimiento.iniciarTramite(JBPMSeguimiento.java:80)
  | at 
ar.com.dsv.saslc.tramite.negocio.TramiteBO.guardarTramite(TramiteBO.java:750)
  | at 
ar.com.dsv.saslc.agenda.turno.actions.TramiteActionBase.guardarDatosVecino(TramiteActionBase.java:320)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
ar.com.dsv.base.actions.DispatchActionGenerico.dispatchMethod(DispatchActionGenerico.java:80)
  | at 
org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:216)
  | at 
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
  | at 
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
  | at 
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
  | at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
  | at 
ar.com.dsv.base.hbSession.ControladorSessionHB.doFilter(ControladorSessionHB.java:50)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
  | at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
  | at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
  | at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
  | at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
  | at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
  | at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
  | at 

[jboss-user] [JBoss jBPM] - Re: Signalling Option

2008-03-12 Thread victorl
Hi Ronald and thank you once again.

Excuse me, I had to put the class of the execute method. It is 
ObtenerTransiciones.

You say: You seem to use jBPM completely wrong, in a way even that is not shown 
anywhere.  Is all my example wrong ?  :( 

Where I can get documentation about how to use jBPM ? The user guide is only a 
conceptual. So I would need a paper that link the concepts.

Thank you Ronald.
Regards,

Victor

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4135959#4135959

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4135959
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Signalling Option

2008-03-12 Thread victorl
Ronald, I have resolved the problem as follow:

task-node name=controlar documentacion signal=never create-tasks=false
  | task name=Control de Documentacion
  | controller/controller
  | /task
  | event type=node-enter
  | action 
class=ar.com.dsv.saslc.seguimiento.workflow.jbpm.handlers.alta.ObtenerTransiciones
 name=obtenerNombreTransiciones/action
  | /event
  | transition to=examen psicofisico 
name=Completo/transition
  | transition to=agendar ctrl documentacion name=No 
Completo/transition
  | /task-node

Thus (in red), task node does not resume the process execution and task is not 
instanced. 

It seen perhaps unusual and an uncommon behavior, but this is that we need.

If you want to comment anything, it will be welcome.

Thank you very much.
Regards

Victor

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4136029#4136029

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4136029
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Signalling Option

2008-03-11 Thread victorl
Hi All,

What does mean If signalling is set to false, this task will never have the 
capability of trigering the continuation of the token. In the user guide, item 
18.4.24 Task. 

Thank you in advance.
Regards,

Victor

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4135620#4135620

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4135620
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Signalling Option

2008-03-11 Thread victorl
Ronald, thank you very much for the response.

So,  why I am having the problem mentioned at:
http://www.jboss.com/index.html?module=bbop=viewtopict=131550

Thanks once again
Regards,

Victor

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4135685#4135685

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4135685
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Signalling Option

2008-03-11 Thread victorl
This is process definition:
?xml version=1.0 encoding=UTF-8?
  | 
  | process-definition  xmlns=  name=alta
  | start-state name=iniciar tramite
  | task name=iniciar tramite alta/task
  | transition to=agendar ctrl documentacion name=tramite 
iniciado/transition
  | event type=node-enter
  | action name=iniciarTramite 
class=ar.com.dsv.saslc.seguimiento.workflow.jbpm.handlers.alta.ControlarDocumentacion/action
  | /event
  | /start-state
  | 
  | task-node name=controlar documentacion
  | task name=Control de Documentacion signalling=false
  | controller
  | variable access=read,write 
name=etiquetaBotones/variable
  | /controller
  | /task
  | event type=node-enter
  | action 
class=ar.com.dsv.saslc.seguimiento.workflow.jbpm.handlers.alta.ObtenerTransiciones
 name=obtenerNombreTransiciones/action
  | /event
  | transition to=examen psicofisico 
name=Completo/transition
  | transition to=agendar ctrl documentacion name=No 
Completo/transition
  | /task-node
  | 
  | task-node name=examen psicofisico
  | task name=Examen Psicofi­sico signalling=false
  | controller
  | variable access=read,write 
name=etiquetaBotones/variable
  | /controller
  | /task
  | event type=node-enter
  | action 
class=ar.com.dsv.saslc.seguimiento.workflow.jbpm.handlers.alta.ObtenerTransiciones
 name=obtenerNombreTransiciones/action
  | /event
  | transition to=calculo sellado name=Apto/transition
  | transition to=coordinacion psicofisico name=No 
Apto/transition
  | /task-node
  | 
  | state name=agendar ctrl documentacion
  | event type=node-enter
  | action 
class=ar.com.dsv.saslc.seguimiento.workflow.jbpm.handlers.alta.AgendarCtrlDocumentacion
 name=obtenerActividadesSiguientes/action
  | /event
  | transition to=controlar documentacion name=actividad 
agendada/transition
  | /state
  | 
  | node name=calculo sellado
  | transition to=fin tramite name=licencia 
otorgada/transition
  | /node
  | 
  | state name=coordinacion psicofisico
  | transition to=tramite rechazado name=no apto 
definitivo/transition
  | /state
  | 
  | end-state name=fin tramite/end-state
  | 
  | end-state name=tramite rechazado/end-state
  | 
  | /process-definition

The following java code calls the ActionHandler:


  | public void avanzarProceso(Long idProcessInstance)
  | {
  | JbpmContext jbpmContext = 
jbpmConfiguration.createJbpmContext();
  | GraphSession graphSession   = jbpmContext.getGraphSession();
  | 
  | try
  | {
  | ProcessInstance instanciaProceso = 
graphSession.getProcessInstance(idProcessInstance);
  | Token token = instanciaProceso.getRootToken(); 
  | System.out.println(Nodo Actual --  + 
token.getNode().getName());
  | token.signal();
  | System.out.println(Nodo Actual --  + 
token.getNode().getName());
  | jbpmContext.save(instanciaProceso);
  | } 
  | finally 
  | {
  | jbpmContext.close();
  | }
  | }
  | 

And the ActionHandler code is:



  | public void execute(ExecutionContext executionContext) throws Exception
  | {
  | System.out.println(Nodo Actual --  + 
executionContext.getNode().getName());
  | 
  | List etiquetas = JBPMUtil.obtenerNombreTransiciones( 
executionContext.getToken() );
  | TaskInstance tarea = 
executionContext.getProcessInstance().getTaskMgmtInstance().createTaskInstance(executionContext.getTask());
  | tarea.setVariable(etiquetaBotones, etiquetas);
  | System.out.println(Tarea Nodo --  + tarea.getName());
  | tarea.end();
  | }
  | 

And the problem is mentioned following the url gave in previous message.

If you need more information, please tell me.

Thank you very much.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4135731#4135731

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4135731

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


[jboss-user] [JBoss jBPM] - Mistake with signalling

2008-03-10 Thread victorl
Hi All,

I have the following sequence TaskNodeA - TaskNodeB and TaskNodeA.taskOfA is 
set as no signalling (the checkbox signalling in designer is no checked) But 
when I make TaskNodeA.taskOfA.end() the action handler set for 
TaskNodeB.taskOfB is called. Is it correct ? TaskNodeA.taskOfA is set to no 
signalling.

Thank you very much in advance.
Best regards,

Victor 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4135391#4135391

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4135391
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Mistake with signalling

2008-03-10 Thread victorl
In previous topic I asked if is it right, because documentation says: If 
signalling is set to false, this task will never have the capability of 
trigering the continuation of the token.

So, why the actionHandlder of TaskNodeA.taskOfA triggers the actionHandler of  
TaskNodeB.taskOfB when TaskNodeA.taskOfA.end() is executed, if 
TaskNodeA.taskOfA.setSignalling(false)

Thank you very much once again.

Victor

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4135473#4135473

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4135473
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Return Object from an action

2008-03-06 Thread victorl
Hi Ronald,

Thank you very much for your response, and it is very useful because I were 
thinking that solution and now I can confirm it.

Thanks once again.
Regards,

Victor

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134583#4134583

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134583
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Can't leave node ... without leaving transition

2008-03-05 Thread victorl
Thank you very much Ronald and pojomonkey for the responses.

By means this instruction
System.out.println(token.getNode().getName());

I can see that process is in the correct node: it is 'init process'

Thanks once again

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134216#4134216

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134216
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Can't leave node ... without leaving transition

2008-03-05 Thread victorl
Hi pojomonkey,

I resolved the problem making the documentation control node a state node type.

Thank you very much once again.
Best Regards,

Victor

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134288#4134288

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134288
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Return Object from an action

2008-03-05 Thread victorl
Hi All,

Is it posible return an java Object from an Action ? For example: the action 
associated to a task node execute a logic and as result it must returns an 
object to a Struts Action.

Thank your very much in advance.
Regards,

Victor

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134399#4134399

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134399
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Can't leave node ... without leaving transition

2008-03-04 Thread victorl
Hi All,

I have a very simple process like this:

process-definition  xmlns=  name=process
 start-state name=init process
  transition to=documentation control name=trNo1
 node name=documentation control

And the following code:

definition =  graphSession.findLatestProcessDefinition(process);
processInstance = new ProcessInstance(definition );
token = processInstance.getRootToken(); 
token.signal();

But when the signal is executed from the start state to documentation control 
node the following exception is thrown:

org.jbpm.JbpmException: can't leave node 'Node(documentacion control)' without 
leaving transition
at org.jbpm.graph.def.Node.leave(Node.java:365)
at org.jbpm.graph.def.Node.leave(Node.java:347)
at org.jbpm.graph.def.Node.execute(Node.java:339)
at org.jbpm.graph.def.Node.enter(Node.java:316)
...
...

I don't know because it is happening.

Any help will be very appreciated
Best Regards,

Victor

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134063#4134063

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134063
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - jBoss IDE-eclipse 3.2.1 HANG !

2008-03-03 Thread victorl
Hi All,

I am using jBPM 3.1.4 with jBoss IDE and eclipse 3.2.1, under a web project and 
all hang (and I must init eclipse again) when I assign an ActionHandler to a 
node. This behavior seem unusual, but it is this strange. 

Any help in this matter will be very appreciated.
Thanks in advance.

Victor

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4133610#4133610

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133610
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user