|
From: Thomas R. <tho...@tr...> - 2004-08-16 05:39:06
|
I was able to reproduce the error using WLS 8.1SP2. The following code
did fix the problem and I did not get the nullpointer exception.
package org.springframework.transaction.jta;
public class WebLogicJtaTransactionManager extends JtaTransactionManager {
protected void doResume(Object transaction, Object suspendedResources) {
try {
super.doResume(transaction, suspendedResources);
} catch
(org.springframework.transaction.IllegalTransactionStateException ex) {
logger.debug("ForceResuming: " + suspendedResources.toString());
weblogic.transaction.TransactionManager wtm =
(weblogic.transaction.TransactionManager) getTransactionManager();
wtm.forceResume((javax.transaction.Transaction) suspendedResources);
}
}
}
I have attached a spring-weblogic-jta-patch.jar containing this class to
JIRA. If you could test with this jar together with the most recent
1.1RC1 spring.jar to see if it works in your environment. If not I will
have to investigate further using WLS 7.0.
Thomas
Eugene Kuleshov wrote:
>
> Hi Thomas,
>
> I'll try to run that code on wls 8 and will attach clent junit test
> to JIRA tomorrow morning.
>
> regards,
> Eugene
>
>
> Thomas Risberg wrote:
>
>> I'll try to take a look at this in the next couple of days. From an
>> initial look at the problem it seems to be more of a WebLogic issue.
>> Have you tried running the same code in WLS 8.1?
>>
>> First I'm going to try to reproduce this locally - you woldn't happen
>> to have the client code that calls this EJB?
>>
>> Thomas
>>
>>
>> Eugene Kuleshov wrote:
>>
>>> Hi,
>>>
>>> I wonder if there is any chance that SPR-251 JIRA could be
>>> resolved for 1.1 release?
>>>
>>> Thank you.
>>>
>>> Eugene
>>>
>>> Rod Johnson wrote:
>>>
>>>> I haven't documented the new "factory-bean" attribute that supports
>>>> the use
>>>> of instance (rather than static) factory methods in the Reference
>>>> Manual
>>>> yet. (It is documented in the DTD.) Doesn't justify holding the
>>>> release, but
>>>> worth noting. (Hint, hint.)
>>>>
>>>> Unfortunately I won't have time to do this myself before the release.
>>>>
>>>> -----Original Message-----
>>>> From: spr...@li...
>>>> [mailto:spr...@li...] On
>>>> Behalf Of
>>>> jürgen höller [werk3AT]
>>>> Sent: 14 August 2004 20:04
>>>> To: spr...@li...
>>>> Subject: [Springframework-developer] Preparing for Spring 1.1 final
>>>>
>>>> Everybody,
>>>>
>>>>
>>>>> From my point of view, Spring 1.1 final is ready for release; the
>>>>> only
>>>>
>>>>
>>>>
>>>> remaining point is documentation. There's no reference docs on the
>>>> HTTP
>>>> invoker yet, for example: While this is not too critical, I'll try
>>>> to add
>>>> docs on it till Monday.
>>>>
>>>> Feel free to give the current CVS snapshot a final try, and to do
>>>> some final
>>>> proof-reading of the docs! Please report any issues ASAP: I
>>>> currently plan
>>>> to do the release Monday night, provided that there are no
>>>> showstoppers.
>>>
>
>
>
> -------------------------------------------------------
> SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
> 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
> Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
> http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
> _______________________________________________
> Springframework-developer mailing list
> Spr...@li...
> https://lists.sourceforge.net/lists/listinfo/springframework-developer
>
>
>
|