[jboss-jira] [JBoss JIRA] (WFLY-6099) JPA's persistence.xml is deployed before datasources are created through application.xml

Renann Prado (JIRA) issues at jboss.org
Mon Feb 1 12:56:00 EST 2016


    [ https://issues.jboss.org/browse/WFLY-6099?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13157238#comment-13157238 ] 

Renann Prado commented on WFLY-6099:
------------------------------------

I'll try soon and let you know. Thanks!
However I still find strange how this is working:

In *standalone.xml*:
{code:xml}
<datasource jta="true" jndi-name="java:jboss/datasources/TestDS" pool-name="TestDS" enabled="true" use-ccm="true">
    <connection-url>jdbc:mariadb://107.155.108.92:3306/test_db</connection-url>
    <driver-class>org.mariadb.jdbc.Driver</driver-class>
    <driver>mariadb-java-client-1.3.4.jar</driver>
    <security>
        <user-name>root</user-name>
        <password>123</password>
    </security>
    <validation>
        <valid-connection-checker class-name="org.jboss.jca.adapters.jdbc.extensions.mysql.MySQLValidConnectionChecker"/>
        <background-validation>true</background-validation>
        <exception-sorter class-name="org.jboss.jca.adapters.jdbc.extensions.mysql.MySQLExceptionSorter"/>
    </validation>
</datasource>
{code}

> JPA's persistence.xml is deployed before datasources are created through application.xml
> ----------------------------------------------------------------------------------------
>
>                 Key: WFLY-6099
>                 URL: https://issues.jboss.org/browse/WFLY-6099
>             Project: WildFly
>          Issue Type: Bug
>          Components: JPA / Hibernate
>    Affects Versions: 10.0.0.Final
>            Reporter: Renann Prado
>            Assignee: Scott Marlow
>         Attachments: server_with_mysql_driver.log
>
>
> Please refer to discussion
> https://developer.jboss.org/thread/267371



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list