Heh, OK, I know it's still being worked on but wanted to bring this specific point up. I first thought about filing a jira issue, but then decided against it and posted here instead.
FWIW, I worked around it in my local version by adding a flag to the addResourcesFromZipInputStream() method to tell it to NOT add any .jpdl.xml files. Then I included both calls in the deploy() sequence so it now adds all resources except the process descriptors and then adds the one process descriptor it has …
[View More]been invoked for.
Regards,
Marko
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4252212#4252212
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4252212
[View Less]
Well, yes, of course all should be deployed, what happens, however, is that they are added tp each deployment which makes each appear n times.
The JBoss main deployer picks up the .bar, finds n .jpdl.xml files in it, goes and calls the jBPM deployer n times, which for the reason detailed in the OP will deploy all n processes for every call. Hence you get n x n processes.
This was clearly not how it worked before the quoted patch and I am not sure it is supposed to do so now.
Regards,
Marko
…
[View More]View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4252086#4252086
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4252086
[View Less]