Mayur B [
http://community.jboss.org/people/bingojava] created the discussion
"Re: Local Tx Datasource is DOWN"
To view the discussion, visit:
http://community.jboss.org/message/568184#568184
--------------------------------------------------------------
Problem with putting proper XMl , so will give information what it contains :
<?xml version="1.0" encoding="UTF-8"?>
<datasources>
<local-tx-datasource>
<jndi-name>jdbc/mysql</jndi-name>
<use-java-context>false</use-java-context>
<connection-url>jdbc:mysql://<my.own.server.ip>:3306/database_name?zeroDateTimeBehavior=convertToNull</connection-url>
<driver-class>com.mysql.jdbc.Driver</driver-class>
<user-name>root</user-name>
<password>password</password>
<valid-connection-checker-class-name>org.jboss.resource.adapter.jdbc.vendor.MySQLValidConnectionChecker</valid-connection-checker-class-name>
<metadata>
<type-mapping>mySQL</type-mapping>
</metadata>
</local-tx-datasource>
</datasources>
datasources
local-tx-datasource
jndi-name>----mysql---/jndi-name.
use-java-context : false use-java-contex .
connection-url :
jdbc:mysql://my.own.server.i>:3306/database_name?zeroDateTimeBehavior=convertToNull.
driver-class: com.mysql.jdbc.Driver.
user-name root user-name
passworpassword password
valid-connection-checker-class-name
org.jboss.resource.adapter.jdbc.vendor.MySQLValidConnectionChecker
valid-connection-checker-class-name
metadata
type-mapping mySQL type-mapping>
metadata
local-tx-datasource
datasources
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/568184#568184]
Start a new discussion in Datasource Configuration at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]