[jboss-user] [JBoss jBPM] - Re: deployProcessDefinition helper function - throws NullPoi

2007-01-26 Thread pailRider
I seemed to have tracked down a solution to this error. I did some testing and it seems like the error only occurred on the 2nd nand subsequent runs, if I restart the application, the first time the error would not show up. Then the second time...bang...NPE. Searching the Oracle and Hibernate

[jboss-user] [JBoss jBPM] - Re: deployProcessDefinition helper function - throws NullPoi

2007-01-25 Thread pailRider
Thanks for your replies! I tried the same code using a SQLServer database and it did work. So, I updated the hibernate.cfg.xml (see below) to use a direct datasource (i.e., provided the username/password in the xml file) as opposed to using a J2C authentication alias for component managed auth

[jboss-user] [JBoss jBPM] - Re: deployProcessDefinition helper function - throws NullPoi

2007-01-25 Thread estaub
pail, If you don't get any answers here, I'd try posting the problem on a Hibernate forum. It's probably not at all specific to JBPM. I fear I may run into this problem myself, so please write back when you find a solution! -Ed Staub View the original post : http://www.jboss.com/index.html?

[jboss-user] [JBoss jBPM] - Re: deployProcessDefinition helper function - throws NullPoi

2007-01-25 Thread pailRider
Thanks Ed! Good suggestion. I am new to jBPM and Hibernate, so may be that I am missing a config somewhere, but the code I feel is very straightforward and shouldn't cause me issues. I will keep you posted. - Randy View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopi

[jboss-user] [JBoss jBPM] - Re: deployProcessDefinition helper function - throws NullPoi

2007-01-24 Thread estaub
Note that this is inside a Websphere container... and is using a Websphere-provided connection. Could the problem be with Websphere somehow? This would be an obvious concern with EJBs, but I don't know whether it's likely in a web app. If this seems at all likely, you may want to try running

[jboss-user] [JBoss jBPM] - Re: deployProcessDefinition helper function - throws NullPoi

2007-01-24 Thread [EMAIL PROTECTED]
The NPE is thrown when trying to commit the database transaction from the oracle drivers. I'd suggest you tried different versions of the driver. If this is not possible, try a different database, and if your app works there, then you know the problem is in the oracle driver. Otherwise, let us k