You can leverage the deployment servlet in the jBPM webapp if you like... But I
agree that an MBean could be a better solution. Let us know if you are planning
to contribute ;-)
Cheers,
Koen
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3952585#3952585
Reply
If you check the JUnit tests,
org/jbpm/jpdl/par/ProcessArchiveDeploymentDbTest.java has examples on how to
build a simple .par, as well as deploy it.
The deploy:
ZipInputStream zipInputStream = new ZipInputStream(new
FileInputStream(your/par/file/name/here));
| ProcessDefinition
So there is not an MBean whose JMX interface includes methods for deploying a
PAR. I was hoping I could create a remote JMX connection to the MBean and get
it to machine B that way. Is there an MBean that can do this or would I have
to write my own.
Thanks,
Glenn
View the original post :
Unfortunately, no.
According to the FAQ in the Wiki:
anonymous wrote : Does jBPM have JMX integration and if so, how does it look
like?
|
| In the starters-kit, jBPM comes deployed as an MBean. But for the moment,
this mbean is only used to put the JbpmConfiguration? in JNDI. No
My plan then is to write my own mbean that I can access remotely via JMX to
deploy a PAR. Thanks for the info.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3952447#3952447
Reply to the post :