I would try setting up JBoss with a datasource and have ODE use it then. If you're using the embedded Derby I'm not sure how well JBoss behaves when we give it our own datasource. Theoretically it shouldn't change anything but...
Matthieu On 2/14/07, Raja Balasubramanian/MAXIMUS <[EMAIL PROTECTED]> wrote:
Matthieu, I'm not using in-memory process. I have used the same process I test under Geronimo. Thank you Raja -----Original Message----- From: Matthieu Riou [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 14, 2007 12:26 PM To: [email protected] Subject: Re: Ode NullPointerException at PartnerLinkMyRoleImpl There's no reason for this code to behave in a different way under JBoss. Unless maybe things aren't persisted correctly. Are you using in-memory processes as well? Cheers, Matthieu On 2/13/07, Raja Balasubramanian/MAXIMUS <[EMAIL PROTECTED]> wrote: > > Hello, > > I'm getting NullPointerException at PartnerLinkMyRoleImpl.java Line 97. > This time I'm getting under JBoss deployment. > When I tried to use openJPA under Geronimo I got the same exception at the > same place. > CorrelatorDAO correlator = > _process.getProcessDAO().getCorrelator(correlatorId); > > Where _process.getProcessDAO() return null. So the NPE is not only because > of openJPA, but also happens in Hibernate persistence mode. > > Anybody has a clue why this NPE is? > That would be a great help for me. > As I'm trying to use Oracle as Ode data store, to debug the dead lock > issue, > I'm trying to use different ApplicationManager's TransactionManager. > So I chose JBoss, and Ode is not working for me under JBoss. > > Could somebody help me to get Ode working under JBoss? > I have deployed Ode under JBoss and even my Test Process. > The NPE happens while invoking the process. > > Thank you > Raja >
