This content has been marked as final.
Show 1 reply
-
1. Re: jbpmContext.getGraphSession() returns null
bradsdavis Feb 26, 2009 1:18 PM (in response to naeem.jamil)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" />