[jboss-user] [JBoss jBPM] - Re: Problem with process composition

2007-02-22 Thread Dennys
nicolemans72 wrote : I have a problem with my process composition.
  | 
  | I have a sub-process like that: 
  | 
  | 
  |   | process-state name=process1
  |   |sub-process name=implementation /
  |   |variable name=crStatut access=read,write mapped-name=crStatut 
/
  |   |   variable name=crId access=read,write mapped-name=crId /
  |   |transition name=Validation to=statut 90/transition   
  |   | /process-state
  |   | 
  | 
  | and when the process arrive to the Process State I hava an error
  | 
  | 
  |   | java.lang.NullPointerException: can't create a process instance when 
processDefinition is null
  |   | at 
org.jbpm.graph.exe.ProcessInstance.init(ProcessInstance.java:87)
  |   | at 
org.jbpm.graph.exe.Token.createSubProcessInstance(Token.java:571)
  |   | at 
org.jbpm.graph.node.ProcessState.execute(ProcessState.java:109)
  |   | at org.jbpm.graph.def.Node.enter(Node.java:316)
  |   | 
  | 
  | However, i have deployed the processimplementation and there is a process 
definition in the database
  | 
  | Any suggestions?


Hay nicolemans72!

JBPM_PROCESSDEFINITION table it must possess one process definition with name 
implementation.


Bye!

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

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


[jboss-user] [JBoss jBPM] - Hibernate + LazyLoading + Custom Task

2007-02-16 Thread Dennys
Hi!

I have a problem with Customizing task instances...


looked at UserGuide... 

Chapter 11. Task management

 11.10. Customizing task instances



I implemented one Custom Task, but when the jbpm engine search a task instance


  | JbpmContext jbpmContext = JbpmContext.getCurrentJbpmContext();
  | TaskInstance taskInstance = (TaskInstance)
  | jbpmContext.loadTaskInstance(id);
  | 


the method loadTaskInstance return TaskInstance...

it must have returned the CustomTaskInstance!!!



Orinigal mapping...


  | 
  |   class name=org.jbpm.taskmgmt.exe.TaskInstance 
  |  table=JBPM_TASKINSTANCE
  |  discriminator-value=T
  | id name=id column=ID_generator class=native //id
  | discriminator type=char column=CLASS_/
  | 
  | 
  | 



My solution mapping...


  | 
  |   class name=org.jbpm.taskmgmt.exe.TaskInstance 
  |  table=JBPM_TASKINSTANCE
  |  discriminator-value=T lazy=false
  | id name=id column=ID_generator class=native //id
  | discriminator type=char column=CLASS_/
  | 
  | 

set the property lazy to false


Thus to only obtain with that jbpm engine return CustomTaskInstance!!!


A better way exists to make with that jbpm engine return CustomTaskInstance ??


Tks!!!

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

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


[jboss-user] [JBoss jBPM] - Re: Problem with Eclipse and jBPM Designer Plug-in

2007-02-02 Thread Dennys
[EMAIL PROTECTED] wrote : Please upgrade to GPD 3.0.13 and Eclipse 3.2.1.
  | 
  | Regards,
  | Koen


Hi Koen!!!

Thanks!! Good work! :D




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

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