[ 
https://issues.apache.org/jira/browse/TOMEE-2246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jonathan S Fisher updated TOMEE-2246:
-------------------------------------
    Description: 
If I recall correctly, you used to be able to see "datasrouces" in jmx 
openejb.management. Am I imagining that? Just noticed they're no longer there. 
Perphaps I'm declaring my datasource incorrectly?
{code:java}
        <Resource
                id="jdbc/myDataSource"
                type="DataSource">
                
JdbcUrl=jdbc:mysql:/example.com:3306?verifyServerCertificate=true&amp;requireSSL=true&amp;useSSL=true
                user=itsme
                password=password
                JdbcDriver=com.mysql.cj.jdbc.MysqlXADataSource
                MinIdle=5
                MaxActive=75
                MaxWait=5000
                InitialSize=5
                ValidationQuery=SELECT 1
                TestOnBorrow=true
        </Resource>
{code}

  was:
If I recall correctly, you used to be able to see "datasrouces" in jmx 
openejb.management. Am I imagining that? Just noticed they're no longer there. 
Perphaps I'm declaring my datasource incorrectly?

{code}
        <Resource
                id="jdbc/myDataSource
                type="DataSource">
                
JdbcUrl=jdbc:mysql:/example.com:3306?verifyServerCertificate=true&amp;requireSSL=true&amp;useSSL=true
                user=itsme
                password=password
                JdbcDriver=com.mysql.cj.jdbc.MysqlXADataSource
                MinIdle=5
                MaxActive=75
                MaxWait=5000
                InitialSize=5
                ValidationQuery=SELECT 1
                TestOnBorrow=true
        </Resource>
{code}




> DataSources created in tomee.xml don't appear in JMX
> ----------------------------------------------------
>
>                 Key: TOMEE-2246
>                 URL: https://issues.apache.org/jira/browse/TOMEE-2246
>             Project: TomEE
>          Issue Type: Bug
>    Affects Versions: 7.0.5
>            Reporter: Jonathan S Fisher
>            Priority: Major
>
> If I recall correctly, you used to be able to see "datasrouces" in jmx 
> openejb.management. Am I imagining that? Just noticed they're no longer 
> there. Perphaps I'm declaring my datasource incorrectly?
> {code:java}
>       <Resource
>               id="jdbc/myDataSource"
>               type="DataSource">
>               
> JdbcUrl=jdbc:mysql:/example.com:3306?verifyServerCertificate=true&amp;requireSSL=true&amp;useSSL=true
>               user=itsme
>               password=password
>               JdbcDriver=com.mysql.cj.jdbc.MysqlXADataSource
>               MinIdle=5
>               MaxActive=75
>               MaxWait=5000
>               InitialSize=5
>               ValidationQuery=SELECT 1
>               TestOnBorrow=true
>       </Resource>
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to