-
1. Re: transitionButton
kukeltje Oct 18, 2007 7:06 AM (in response to lmichenaud)please file a jira issue for this... btw, what version of the engine/webconsole are you using?
-
2. Re: transitionButton
fabianw Nov 16, 2007 5:48 AM (in response to lmichenaud)I have exactly the same problem, but changing "to" to "transition" didn't change anything for me. The first transition is always taken no matter what i click, unless i signal the right transition directly at the jbpm console.
Task-Node looks like this:<task-node name="Ueberpruefe Rechnung"> <task name="ueberpruefeRechnung"> <assignment actor-id="user"></assignment> </task> <transition name="ueberweisen" to="Berechne Skonto"></transition> <transition name="reklamieren" to="Reklamiere Rechnung"></transition> </task-node>
and the buttons:<tf:transitionButton transition="ueberweisen" value="Ueberweisen"/> <tf:transitionButton transition="reklamieren" value="Reklamieren"/>
I'm really sure I had this working once...
What could be the problem? -
3. Re: transitionButton
koen.aers Nov 16, 2007 6:49 AM (in response to lmichenaud)It was a change in the webconsole AFAIK and not in the designer, or else it must be a regression. The issue is fixed in HEAD.
Regards,
Koen -
4. Re: transitionButton
fabianw Nov 16, 2007 7:16 AM (in response to lmichenaud)I use the jBPM version which is integrated into JBoss ESB. Neither do I know which version that is, nor do I know how to update it.
So where can I get this fixed version and how can I use it? -
5. Re: transitionButton
vtysh Nov 16, 2007 7:38 AM (in response to lmichenaud)FabianW: Is it that you talked about?
http://jira.jboss.com/jira/browse/JBPM-1017 -
6. Re: transitionButton
fabianw Nov 16, 2007 10:03 AM (in response to lmichenaud)Yes, that seems to be the problem.
At step 9 after clicking 'More Infor Needed' I get an exception with the following cause:
java.lang.UnsupportedClassVersionError: Bad version number in .class file
Don't know what's this again....
But when I take a look at the process image it really went down the 'ok' transition.
1) what to do with this .patch file?
2) the page claims that this is fixed with 3.2.2, but that's the version I'm using. At least the version I configured as runtime location in RHDS is 3.2.2.
I'm ab bit confused. How is this runtime linked with the jBPM runtime that is integrated into the JBoss ESB? -
7. Re: transitionButton
vtysh Nov 16, 2007 10:16 AM (in response to lmichenaud)UnsupportedClassVersionError it is a jre related problem. How i know for the jbpm web application you need to use at least java 1.5.
About first question, this patch patches org/jbpm/jsf/taskform/ui/UITaskFormTransitionButton java file, you can get latest version from http://fisheye.jboss.com/browse/JBPM/jbpm.3/jbpm4jsf/src/main/java/org/jbpm/jsf/taskform/ui/UITaskFormTransitionButton.java
About second - don't know anything about it -
8. Re: transitionButton
fabianw Nov 16, 2007 11:08 AM (in response to lmichenaud)I use JRE 1.5.0_06 because this is the supported version of Jboss ESB.
How can I use this file? I think I have to compile my own jBPM version, but I have really no idea how to do it. I don't even know how I could use this version in the ESB.
Any help would be great! This destroys my whole process :( -
9. Re: transitionButton
vtysh Nov 16, 2007 11:25 AM (in response to lmichenaud)FabianW: You can use Eclipse, just create new project, add jbpm4jsf.jar and jsf libs to classpath.
About UnsupportedClassVersionError possibly you have duplicates of some classes in classpath. -
10. Re: transitionButton
fabianw Nov 16, 2007 11:49 AM (in response to lmichenaud)I'll try this tomorrow. First I have to check out how to get the files from the CVS
-
11. Re: transitionButton
lmichenaud Nov 16, 2007 12:20 PM (in response to lmichenaud)I think the compiler in eclipse is configured with Java 6 and your
jboss runs with java 5. -
12. Re: transitionButton
fabianw Nov 17, 2007 5:43 AM (in response to lmichenaud)I'm sorry, I'm somehow too stupid to check out the CVS. I use TortoiseCVS and when I want to configure the jbpm-cvs I get this error:
Empty password used - try 'cvs login' with a real password
cvs [server aborted]: "import" requires write access to the repository
Could anybody be so nice and provide this file to me? -
13. Re: transitionButton
fabianw Nov 17, 2007 6:08 AM (in response to lmichenaud)I downloaded the file from here: http://repository.jboss.com/jbpm/jpdl/3.2.2/lib/
I hope this is the right version, but at least it seemed to be newer than my version.
But now I'm a bit unclear how to use this library. I included it in my eclipse project, but as I am building with Ant, I don't think that helps.
Anyway the jar is in my .esb archive and I also deployed it together with my process through the process designer.
Shouldn't this work? Or what else do I have to do? It's still the first transition which is taken no matter which button I click... -
14. Re: transitionButton
vtysh Nov 18, 2007 2:05 AM (in response to lmichenaud)I don't know anything about technologies which you are using, but i think that you should find jbpm4jsf.jar in your web application or application server and update it to newer version which you downloaded from repository.