[jboss-dev-forums] [Design of JBoss jBPM] - Re: MessageService and JMS
mteira
do-not-reply at jboss.com
Wed Oct 11 12:58:43 EDT 2006
Sorry for triggering questions that fast. I will try to control myself and investigate a little more before asking.
I've copied jbpm.cfg.xml to the jbpm/jpdl/jar/src/main/config/jbpm.cfg.xml and changed the message service to use the JMS based one:
<service name="message"
| factory="org.jbpm.msg.jms.JmsMessageServiceFactoryImpl" />
Now, I'm getting NPE in JmsMessageServiceFactoryImpl openService. It happens at line 49:
ConnectionFactory connectionFactory = (ConnectionFactory) initialContext.lookup(connectionFactoryJndiName);
I see that the private member connectionFactoryJndiName is initialized to 'null' and there's no method to change it to another value. Is it injected from another place? Is there some code missing here?
Regards.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977627#3977627
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977627
More information about the jboss-dev-forums
mailing list