[jboss-jira] [JBoss JIRA] Updated: (AS7-1273) Applications (or their libraries) containing persistence units with the connection defined inline via properties cause deployment failure.

Scott Marlow (JIRA) jira-events at lists.jboss.org
Tue Aug 23 10:24:17 EDT 2011


     [ https://issues.jboss.org/browse/AS7-1273?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Scott Marlow updated AS7-1273:
------------------------------

    Fix Version/s: 7.0.2.Final


Be aware that if the standalone.xml, contains a JPA default datasource, that will be used (even if the PU definition doesn't specify the datasource).  The workaround, is to simply not specify a JPA default datasource (default is blank).


> Applications (or their libraries) containing persistence units with the connection defined inline via properties cause deployment failure.
> ------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AS7-1273
>                 URL: https://issues.jboss.org/browse/AS7-1273
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: JPA / Hibernate
>    Affects Versions: 7.0.0.Final, 7.1.0.Alpha1
>            Reporter: Justin Wyer
>            Assignee: Scott Marlow
>              Labels: as7, jpa
>             Fix For: 7.0.2.Final
>
>
> Persistence units defined as follows https://github.com/droolsjbpm/jbpm/blob/master/jbpm-human-task/src/main/resources/META-INF/persistence.xml causes deployment to fail due to the fact that no <jta-data-source> or <non-jta-data-source> is present, but none should be present as the datasource has been defined via the properties.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list