0
As environment, I have JDK 1.7, Apache ant 1.9.3 , MySQL server 5.5 . I am referencing to this link , I installed the last version of jboss-as-7.1.1 . I am in the step of installing MySQL connector, the problem is that when I add a driver in standalone.xml file there is no change in server it's not added
<subsystem/>
<subsystem>
<datasources>
<datasource jndi-name="java:jboss/datasources/ExampleDS" pool-name="ExampleDS" enabled="true" use-java-context="true">
<connection-url>jdbc:h2:mem:test;DB_CLOSE_DELAY=-1
</connection-url>
<driver>h2</driver>
<security>
<user-name>sa</user-name>
<password>sa</password>
</security>
</datasource>
<drivers>
<driver name="mysql" module="com.mysql">
<xa-datasource-class>com.mysql.jdbc.Driver</xa-datasource-class>
</driver>
<driver name="h2" module="com.h2database.h2">
<xa-datasource-class>org.h2.jdbcx.JdbcDataSource</xa-datasource-class>
</driver>
</drivers>
</datasources>
</subsystem>
I have a same question. Any help? Thanks in advance.