I am using jboss 4.2.2 and jbpm-bpel1.1.1. And I notice that the xpath query only can return one node from the source code org.jbpm.bpel.sublang.xpath.XPathEvaluator.java. However, i want to modify the source code to make a node which contains all other nodes, so that i can be used in my project. It is because i got "selection of size other than one" when the query return more than one nodes.
It modify the source code provided by the zip file. Then package it as jbpm-bpel.jar and replace the jar in /jbpm-bpel1.1.1/lib. However, the new code does not have any effect.
So, is it possible to build jbpm-bpel.jar from the source code? How to do it?
And, i found a very wired thing. I try to unzip jboss server and start the server. And unzip jbpm-bpel1.1.1 and remove the jbpm-bpel.jar from /lib. Then i deploy bpel engine to the server. It can successfully execute the bpel process. but there is no jbm-bpel.jar (as i remove it before deploy).Why? How does the server know what java class need to execute the bpel proces?
Thanks in advance.