[jboss-user] [JBoss jBPM] - Re: jbpmContext.getGraphSession() returns null

bradsdavis do-not-reply at jboss.com
Thu Feb 26 13:18:46 EST 2009


I am not sure about your configuration, but the internals of getGraphSession as as follows:


  |   public GraphSession getGraphSession()
  |   {
  |     PersistenceService persistenceService = getPersistenceService();
  |     return (persistenceService != null ? persistenceService.getGraphSession() : null);
  |   }
  | 

I would imagine your root cause is because getPersistenceService is returning null.

Check to make sure you have something like the following in your jbpm configuration file.


  | <service name="persistence" factory="org.jbpm.persistence.jta.JtaDbPersistenceServiceFactory" />
  | 



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

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



More information about the jboss-user mailing list