JBoss Community

Re: Unable to lookup datasource in jboss-as-7.2.0.Alpha1-SNAPSHOT

created by Prasad M in JBoss AS 7 Development - View the full discussion

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

Start a new discussion in JBoss AS 7 Development at Community