[jboss-user] [jBPM Users] - [jBPM4] Cant build processEngine using setFile, setURL or se

edeleflie do-not-reply at jboss.com
Tue Dec 1 22:47:51 EST 2009


I want to move jbpm.hibernate.cfg.xml out of my classpath and into a separate folder. I'm doing it like this:

processEngine = new Configuration().setFile( new File("myFilePath")).buildProcessEngine()

I get the same stack trace as when using setURL and set XMLString. THat stack trace looks something like this:

Caused by: java.lang.NullPointerException
        at org.jbpm.pvm.internal.cfg.ProcessEngineImpl.checkDb(ProcessEngineImpl.java:177)
        at org.jbpm.pvm.internal.cfg.ProcessEngineImpl.buildProcessEngine(ProcessEngineImpl.java:170)

Is there somethign I have misunderstood ... or does this look like a bug?

Etienne


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

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



More information about the jboss-user mailing list