|
From: Thomas R. <tho...@tr...> - 2004-09-05 02:57:42
|
Eugene,
If you could, please try the new
WebLogicServerTransactionManagerFactoryBean. This bean factory looks up
the ServerTransactionManagerImpl using the TxHelper instead of the
ClientTransactionManagerImpl via JNDI. I'm pretty sure this will solve
your issue. This new bean factory will be part of 1.1 final that should
be out tomorrow.
Here is a snippet from the configuration I tested with:
<!-- transaction manager -->
<bean id="wls7tm"
class="org.springframework.transaction.jta.WebLogicServerTransactionManagerFactoryBean"/>
<bean id="transactionManager"
class="org.springframework.transaction.jta.WebLogicJtaTransactionManager">
<property name="transactionManager">
<ref local="wls7tm"/>
</property>
</bean>
Thomas
Eugene Kuleshov wrote:
> Thomas Risberg wrote:
>
>> Thanks for the suggestion, but I have been using sp5 and it has the
>> same issue as sp2 when it comes to calling forceResume.
>
>
> We are on SP2 + some CRxxxx which basically include from-scratch
> implementation of tx management. I can send an exact number next week
> when I'll be at work.
>
> regards,
> Eugene
>
>
>> Stefan Kleineikenscheidt wrote:
>>
>>> Jürgen, Dimitry, Eugene,
>>>
>>> we've had problems with XA in WLS7 as well. Unfortunately i wasn't
>>> involved in this issue, but i can remember that the XA
>>> implementation of
>>> SP2 and SP4 differed. Maybe you can give it a try on SP4.
>>>
>>> -Stefan
>>>
>>>
>>>
>>>
>>>> -----Original Message-----
>>>> From: spr...@li...
>>>> [mailto:spr...@li...]
>>>> On Behalf Of jürgen höller [werk3AT]
>>>> Sent: Saturday, September 04, 2004 1:03 PM
>>>> To: spr...@li...
>>>> Subject: Re: [Springframework-developer] WLS 7 and TX
>>>> suspend/resume - continue.
>>>>
>>>>
>>>> Ideally, WebLogic should work properly with standard JTA
>>>> TransactionManager resume in all cases, not needing the proprietary
>>>> forceResume call. However, the least we can expect is that
>>>> forceResume works properly: You could send a corresponding bug
>>>> report to BEA, for WebLogic 7.0. However, they might tell you that
>>>> they fixed the issue in WebLogic 8.1...
>>>>
>>>> Juergen
>>>>
>>>>
>>>> ________________________________
>>>>
>>>> Von: spr...@li... im
>>>> Auftrag von jürgen höller [werk3AT]
>>>> Gesendet: Fr 03.09.2004 23:31
>>>> An: spr...@li...
>>>> Betreff: Re: [Springframework-developer] WLS 7 and TX
>>>> suspend/resume - continue.
>>>>
>>>>
>>>>
>>>> As I already wrote in my JIRA comments: Many thanks for your
>>>> efforts, Dmitri!
>>>>
>>>> I assume that with JtaTransactionManager, you'll get an
>>>> IllegalStateException ("cannot resume rollback-only transaction" or
>>>> the like), and with WebLogicJtaTransactionManager, you'll get the
>>>> NPE in WebLogic code?
>>>>
>>>> This really seems to be a bug in WebLogic 7.0... At least it should
>>>> work properly as long as not suspending a transaction that has been
>>>> marked as rollback-only.
>>>>
>>>> Juergen
>>>>
>>>>
>>>> ________________________________
>>>>
>>>> Von: spr...@li... im
>>>> Auftrag von Dmitri Maximovich
>>>> Gesendet: Fr 03.09.2004 23:07
>>>> An: spr...@li...
>>>> Betreff: [Springframework-developer] WLS 7 and TX suspend/resume -
>>>> continue.
>>>>
>>>>
>>>>
>>>> I just tried WLS 7 with Spring 1.1rc2 and BMT transaction
>>>> demaraction. It
>>>> doesn't work with standard JtaTransactionManager or with
>>>> WeblogicJtaTransactionManager, so something fundamentally broken in
>>>> WLS7 (same
>>>> NPE as described in JIRA SPR-251).
>>>> Next I'll try to use WLS TransactionManager (exposed in JNDI) to
>>>> suspend/resume
>>>> transaction without Spring to see it it's going to work.
>>>
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by BEA Weblogic Workshop
> FREE Java Enterprise J2EE developer tools!
> Get your free copy of BEA WebLogic Workshop 8.1 today.
> http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
> _______________________________________________
> Springframework-developer mailing list
> Spr...@li...
> https://lists.sourceforge.net/lists/listinfo/springframework-developer
>
>
>
|