[ https://issues.apache.org/jira/browse/TOMEE-4104?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
James Parsons updated TOMEE-4104: --------------------------------- Description: The TomEE documentation website, [XA DataSource Configuration page|https://tomee.apache.org/tomee-9.0/docs/configuring-datasources-xa.html], MySQL sample code is missing a required {color:#00875a}*</Resource>*{color} closing tag. The first MySQL resource currently reads: {code:xml} <Resource id="demo/jdbc/XADataSource" type="DataSource"> XaDataSource demo/jdbc/XADataSourceXA JdbcDriver com.mysql.cj.jdbc.Driver JdbcUrl jdbc:mysql://192.168.37.202:3306/movie username root password my-secret-pw JtaManaged true InitialSize 10 MaxActive 128 MaxIdle 25 MinIdle 10 AccessToUnderlyingConnectionAllowed true TestOnBorrow false TestWhileIdle true TimeBetweenEvictionRuns 1 minute MaxWaitTime 0 seconds ValidationQuery select 1 {code} It should be: {code:xml} <Resource id="demo/jdbc/XADataSource" type="DataSource"> XaDataSource demo/jdbc/XADataSourceXA JdbcDriver com.mysql.cj.jdbc.Driver JdbcUrl jdbc:mysql://192.168.37.202:3306/movie username root password my-secret-pw JtaManaged true InitialSize 10 MaxActive 128 MaxIdle 25 MinIdle 10 AccessToUnderlyingConnectionAllowed true TestOnBorrow false TestWhileIdle true TimeBetweenEvictionRuns 1 minute MaxWaitTime 0 seconds ValidationQuery select 1 </Resource> {code} was: The TomEE documentation website, [XA DataSource Configuration page|https://tomee.apache.org/tomee-9.0/docs/configuring-datasources-xa.html], MySQL sample code is missing a required {color:#00875a}*</Resource>*{color} closing tag. The first resource currently reads: {code:xml} <Resource id="demo/jdbc/XADataSource" type="DataSource"> XaDataSource demo/jdbc/XADataSourceXA JdbcDriver com.mysql.cj.jdbc.Driver JdbcUrl jdbc:mysql://192.168.37.202:3306/movie username root password my-secret-pw JtaManaged true InitialSize 10 MaxActive 128 MaxIdle 25 MinIdle 10 AccessToUnderlyingConnectionAllowed true TestOnBorrow false TestWhileIdle true TimeBetweenEvictionRuns 1 minute MaxWaitTime 0 seconds ValidationQuery select 1 {code} It should be: {code:xml} <Resource id="demo/jdbc/XADataSource" type="DataSource"> XaDataSource demo/jdbc/XADataSourceXA JdbcDriver com.mysql.cj.jdbc.Driver JdbcUrl jdbc:mysql://192.168.37.202:3306/movie username root password my-secret-pw JtaManaged true InitialSize 10 MaxActive 128 MaxIdle 25 MinIdle 10 AccessToUnderlyingConnectionAllowed true TestOnBorrow false TestWhileIdle true TimeBetweenEvictionRuns 1 minute MaxWaitTime 0 seconds ValidationQuery select 1 </Resource> {code} > Documentation Website: XA DataSource Configuration: Bug in MySQL Sample Code > ---------------------------------------------------------------------------- > > Key: TOMEE-4104 > URL: https://issues.apache.org/jira/browse/TOMEE-4104 > Project: TomEE > Issue Type: Documentation > Components: Examples and Documentation, Website > Affects Versions: 7.0.9, 7.1.5, 9.0.0-M8, 8.0.13 > Reporter: James Parsons > Priority: Minor > Labels: documentation > > The TomEE documentation website, [XA DataSource Configuration > page|https://tomee.apache.org/tomee-9.0/docs/configuring-datasources-xa.html], > MySQL sample code is missing a required {color:#00875a}*</Resource>*{color} > closing tag. > The first MySQL resource currently reads: > {code:xml} > <Resource id="demo/jdbc/XADataSource" type="DataSource"> > XaDataSource demo/jdbc/XADataSourceXA > JdbcDriver com.mysql.cj.jdbc.Driver > JdbcUrl jdbc:mysql://192.168.37.202:3306/movie > username root > password my-secret-pw > JtaManaged true > InitialSize 10 > MaxActive 128 > MaxIdle 25 > MinIdle 10 > AccessToUnderlyingConnectionAllowed true > TestOnBorrow false > TestWhileIdle true > TimeBetweenEvictionRuns 1 minute > MaxWaitTime 0 seconds > ValidationQuery select 1 > {code} > > It should be: > {code:xml} > <Resource id="demo/jdbc/XADataSource" type="DataSource"> > XaDataSource demo/jdbc/XADataSourceXA > JdbcDriver com.mysql.cj.jdbc.Driver > JdbcUrl jdbc:mysql://192.168.37.202:3306/movie > username root > password my-secret-pw > JtaManaged true > InitialSize 10 > MaxActive 128 > MaxIdle 25 > MinIdle 10 > AccessToUnderlyingConnectionAllowed true > TestOnBorrow false > TestWhileIdle true > TimeBetweenEvictionRuns 1 minute > MaxWaitTime 0 seconds > ValidationQuery select 1 > </Resource> > {code} > -- This message was sent by Atlassian Jira (v8.20.10#820010)