[jboss-user] [JBoss jBPM] - Re: jms notbound exception when accessing jbpm context from

fransja do-not-reply at jboss.com
Mon Aug 11 08:39:10 EDT 2008


To be more precise, the exception occurs in the JmsMessageServiceFactoryImpl on line 74:

 public JmsMessageServiceFactoryImpl() {
  |     try {
  |       Context initial = new InitialContext();
  |       //next line fails when creating jbpmContext from ejb before you login to the jbpm-console
  |       connectionFactory = (ConnectionFactory) initial.lookup(connectionFactoryJndiName);
  |       destination = (Destination) initial.lookup(destinationJndiName);
  |       initial.close();
  |     }
  |     catch (NamingException e) {
  |       log.error("jms object lookup problem", e);
  |       throw new JbpmException("jms object lookup problem", e);
  |     }
  |   }

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4169861#4169861

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4169861



More information about the jboss-user mailing list