Just realized it probably has to do with the single quote instead of double. Let me try that and get back to the group.
Double quotes didn't help, still very much the same error. Do let me know what I'm missing. The configuration file is not appearing correctly in the previous post. I'm just trying to use the default factory:
Is there anything else I need to do?
I have the same problem; I receive the error:
org.jbpm.svc.JbpmServiceException: service 'message' unavailable
when I try to execute a process instance with a node that is marked as async=true
Is there a known solution for this?
I think the solution lies in starting up the messaging services separately by creating a new instance using the factory. Unlike other services, there doesn't seem to be a default implementation of the messaging "server" if you may. I don't think I'll get a chance to try this in the next few days. If someone does, please share the results.
Realize that this is an old thread, but never-the-less, this was one of the few places I came across that referenced "service message unavailable". I had the same issue unit testing my processes with a HSQL db and the DbMessageServiceFactory.
Turns out you have to create a JbpmContext to get the message broker to work, i.e. add this
before the message broker is invoked.
If you want persistence to work then its probably a good idea to add:
prior to this as well. This will tell hibernate to create the DB schemas and enable persistence.