On method getConnection() on BankOneSoapBindingImpl Class, the code snipet -- tm.getTransaction().enlistResource(conn); throws a NPE just because the tm.getTransaction() returns null.
Dasarath ask me for the status of *tm* object at this moment, and the answer is tm.getStatus() = 6. I hope it help u to analyze this problem!! Thanks a lot. Best regards, Samuel Meira de Oliveira 2009/2/23 Thilina Gunarathne <[email protected]> > Hi Samuel,Can you explain the scenario a bit more. I'm sorry, I could not > figure out which part you are talking about.. Also posting the stacktrace of > the NPE would help a lot to figure out what's going on. > > thanks, > Thilina > > On Sun, Feb 22, 2009 at 2:38 PM, Samuel Meira <[email protected]> wrote: > >> Hi Thilina >> >> Can u explain why occurs a Nullpointer error just in atach the connection >> to the enlist resource? >> >> >> Thanks a lot!! >> >> Best regards >> >> Samuel Meira de Oliveira >> >> >> >> 2009/2/20 Thilina Gunarathne <[email protected]> >> >> >>> >>> ---------- Forwarded message ---------- >>> From: Thilina Gunarathne <[email protected]> >>> Date: Fri, Feb 20, 2009 at 4:09 PM >>> Subject: Re: Urgent help needed for Axis2 with Kandula2 >>> To: "Sarkar, Jayanta (Cognizant)" <[email protected]> >>> >>> >>> Hi Sarkar, >>> Can u explain me what you have done up to now... Do u have the >>> coordinator web service deployed? If so does ur parent web service creates a >>> transaction (tx.begin() ) with it before calling the clients. Do u have >>> kandula handlers engaged in invocation path of the parent web service and in >>> the participant web srevices? >>> >>> thanks, >>> Thilina >>> >>> PS: I prefer if u can use the kandula mailing list for questions. In >>> there you will get answered by many more people and the answers u get will >>> be useful to many more people too.. >>> >>> On Fri, Feb 20, 2009 at 4:05 PM, Sarkar, Jayanta (Cognizant) < >>> [email protected]> wrote: >>> >>>> Hi Thilina, >>>> >>>> I am desperately looking for some urgent help on Kandula2 Atomic >>>> Transaction using Axis2 in tomcat server. I have created to participant web >>>> services which are updating same database. And I have created one parent >>>> web >>>> service which calls these two participant web services under one >>>> transaction. But it is not working. Could you please guide me what steps >>>> need to be followed to set up this? >>>> >>>> * Thanks & regards, >>>> Jayanta Sarkar >>>> Java CoE, Cognizant Technology Solutions >>>> Vnet: 306271, Cell: 91-9432360150 >>>> Email: [email protected] >>>> * >>>> >>>> This e-mail and any files transmitted with it are for the sole use of >>>> the intended recipient(s) and may contain confidential and privileged >>>> information. >>>> If you are not the intended recipient, please contact the sender by >>>> reply e-mail and destroy all copies of the original message. >>>> Any unauthorised review, use, disclosure, dissemination, forwarding, >>>> printing or copying of this email or any action taken in reliance on this >>>> e-mail is strictly >>>> prohibited and may be unlawful. >>>> >>> >>> >>> >>> -- >>> Thilina Gunarathne - http://thilinag.blogspot.com >>> >>> >>> >>> -- >>> Thilina Gunarathne - http://thilinag.blogspot.com >>> >> >> >> >> -- >> Samuel M. de Oliveira >> http://samveel.blogspot.com >> Direitos humanos são para humanos direitos !!! >> > > > > -- > Thilina Gunarathne - http://thilinag.blogspot.com > -- Samuel M. de Oliveira http://samveel.blogspot.com Direitos humanos são para humanos direitos !!!
