-
1. Re: jBPM Message Service not starting up
sachin_garg Feb 28, 2006 12:57 AM (in response to sachin_garg)Just realized it probably has to do with the single quote instead of double. Let me try that and get back to the group.
-
2. Re: jBPM Message Service not starting up
sachin_garg Feb 28, 2006 1:07 AM (in response to sachin_garg)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:
org.jbpm.msg.db.DbMessageServiceFactory
Is there anything else I need to do? -
3. Re: jBPM Message Service not starting up
mshotton Mar 16, 2006 10:22 AM (in response to sachin_garg)I have the same problem; I receive the error:
org.jbpm.svc.JbpmServiceException: service 'message' unavailable
at org.jbpm.svc.Services.getCurrentService(Services.java:86)
when I try to execute a process instance with a node that is marked as async=true
Is there a known solution for this? -
4. Re: jBPM Message Service not starting up
sachin_garg Mar 16, 2006 2:05 PM (in response to sachin_garg)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.
-
5. Re: jBPM Message Service not starting up
egeek Jun 5, 2008 7:01 AM (in response to sachin_garg)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 thisJbpmConfiguration.getInstance().createJbpmContext();
before the message broker is invoked.
If you want persistence to work then its probably a good idea to add:JbpmConfiguration.getInstance().createSchema();
prior to this as well. This will tell hibernate to create the DB schemas and enable persistence.