[JBoss jBPM] - Re: Jbpm issues
by leathien
Sample file that makes jbpm choke
| <?xml version="1.0" encoding="UTF-8"?>
|
| <process-definition xmlns="urn:jbpm.org:jpdl-3.2"
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
| xsi:schemaLocation="urn:jbpm.org:jpdl-3.2 http://docs.jboss.org/jbpm/xsd/jpdl-3.2.xsd"
| name="simple">
|
| <swimlane name="swimlane1">
| <assignment pooled-actors="actor1"></assignment>
| </swimlane>
|
| <start-state name="start">
| <transition name="XX" to="task1"></transition>
| </start-state>
|
| <task-node name="task1">
| <task name="start" swimlane="swimlane1">
| <controller class="com.sample.action.TestController" config-type="bean"></controller>
| </task>
| <transition name="Continue" to="first"></transition>
| </task-node>
|
| <state name="first">
| <event type="node-enter">
| </event>
| <transition name="to_end" to="end">
| <action name="action" class="com.sample.action.MessageActionHandler">
| <message>About to finish!</message>
| </action>
| </transition>
| </state>
| <end-state name="end"></end-state>
|
|
| </process-definition>
|
Btw. I haven't mentioned that in previous post, I'm using jbpm 3.2 beta 2.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4019005#4019005
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4019005
19Â years, 2Â months
[JBoss jBPM] - Jbpm issues
by leathien
Hi
First I want to thank you for working on jBPM, from all open source workflow engines I've worked with, I consider it to be the best.
I'm building a custom workflow solution with jBPM. The solution consists of a custom web client built with Wicket web framework and a possibility to deploy wicket components alongside the workflow. The components are then part of user tasklist.
Here are the problems I've encountered so far:
1. I had to modify the ProcessClassLoader and ClassLoaderUtil, because by default jbpm creates new instance of class loader for every delegate object requested. So I cache the classloaders for specific process defition + version. I also modified the classloader. I understand this is not how jbpm classloading is supposed to work, however, it would be great if in future it would be possible to achieve such effect withou having to modify jbpm code.
2. When I specify xml schema in process xml, i can't deploy it, unless i modify jbpm to ignore validation errors.
This is the error i get:
[[ERROR] line 376: cos-ct-extends.1.4.2.2.2.2.1: Error for type '#AnonType_assignment'. The content type of a derived type and that of its base must both be mixed or element-only., [WARNING] swimlane 'swimlane1' does not have an assignment]
I'll post the sample process file in next post. Is this a known issue?
3. When process is being deployed, the inner classes are ignored. So when I have class Foo with inner class Bar, the Foo.class file gets deployed, but the Foo$Bar.class is not.
Thanks,
-Matej Knopp
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4019003#4019003
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4019003
19Â years, 2Â months