You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "xiezhi (JIRA)" <ji...@apache.org> on 2012/05/28 03:24:23 UTC

[jira] [Commented] (GERONIMO-5824) jpa JTA transaction and missing jta-data-source should be warned about or rejected

    [ https://issues.apache.org/jira/browse/GERONIMO-5824?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13284268#comment-13284268 ] 

xiezhi commented on GERONIMO-5824:
----------------------------------

Hi,David.Could you get an sample about the issue. I couldn't understand How the configuration mistake happened.
                
> jpa JTA transaction and missing jta-data-source should be warned about or rejected
> ----------------------------------------------------------------------------------
>
>                 Key: GERONIMO-5824
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-5824
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: persistence
>    Affects Versions: 2.1.8, 2.2.2, 3.0
>            Reporter: David Jencks
>
> Someone just had a lot of weird transaction errors that turned out to be because they had configured a persistence.xml with JTA transaction support and only a non-jta-datasource that was actually transactional.  When both the tm and openjpa tried to control the tx confusion enused.
> We can detect this situation on deployment and either reject it or at least loudly warn about it.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira