Prasad M [
https://community.jboss.org/people/mp_lbi] created the discussion
"Re: Unable to lookup datasource in jboss-as-7.2.0.Alpha1-SNAPSHOT"
To view the discussion, visit:
https://community.jboss.org/message/779126#779126
--------------------------------------------------------------
Thanks for your time.
from domain.xml:
<datasources>
<datasource jndi-name="java:jboss/datasources/ExampleDS"
pool-name="ExampleDS" >
<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="h2"
module="com.h2database.h2">
<xa-datasource-class>org.h2.jdbcx.JdbcDataSource</xa-datasource-class>
</driver>
</drivers>
</datasources>
I haven't changed anything in the domain.xml
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/779126#779126]
Start a new discussion in JBoss AS 7 Development at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]