David Jencks wrote:

>The message warns you that if your transaction fails your data may be left
>in an inconsistent state.  You have more than one participant in a jta
>transaction, but one of them only supports local transactions without two
>phase commit.
>
Is two phase commit needed when JMS is running in the same VM as jboss 
(and DB on the same host)? What wrong can happen and when?

>
>The warning might be excessive at this point since in order to recover from
>such failures you would need to run tyrex as your tm and use a jms provider
>that supported recovery which I believe jbossmq does not.
>
So it doesn't make anything better by changing to a XA-compatible DB?

>
>thanks
>david jencks
>
>On 2002.08.31 02:16:28 -0400 Michael Bartmann wrote
>
>>G.L. Grobe wrote:
>>    
>>
>>>Anyone know what this warning means? It doesn't seem to be affecting my
>>>      
>>>
>>>app and the update actually works. This update is done within a MDB.
>>> 
>>> 23:09:29,546 WARN  
>>>[LocalTxConnectionManager$LocalConnectionEventListener] prepare called 
>>>on a local tx. You are not getting the semantics you expect!
>>>It occurs just after a successful pstmt.executeUpdate() ...
>>> 
>>>      
>>>
>>I got this when I used local-tx Datasource with a XA-tx JMS Provider 
>>together in one MDB transaction context (under Branch_3_2).
>>When JBoss saw the JMS Provider providing XA it tried to use XA on the 
>>Datasource which didn't implement this, so the fallback to local tx
>>went in and complained.
>>When I got back form XA-tx-JMS to local-tx-JMS these messages went away.
>>
>>So far I dont know if this is considered a bug, or is something you cant
>>avoid, cause the tx-manager tried to use the "best technique available"
>>and fell back later on when another ressource didn't support it.
>>Could it have known it before? I'm not an expert on these issues.
>>At least I would think JBoss complains too hard cause I never explicitly
>>requested using XA.
>>
>>Enjoy,
>>Michael
>>
>>
>>
>>-------------------------------------------------------
>>This sf.net email is sponsored by: OSDN - Tired of that same old
>>cell phone?  Get a new here for FREE!
>>https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
>>_______________________________________________
>>JBoss-user mailing list
>>[EMAIL PROTECTED]
>>https://lists.sourceforge.net/lists/listinfo/jboss-user
>>
>>
>>    
>>
>
>
>-------------------------------------------------------
>This sf.net email is sponsored by: OSDN - Tired of that same old
>cell phone?  Get a new here for FREE!
>https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
>_______________________________________________
>JBoss-user mailing list
>[EMAIL PROTECTED]
>https://lists.sourceforge.net/lists/listinfo/jboss-user
>  
>





-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to