[jboss-dev-forums] [JBoss AS 7 Development] - Re: Unable to lookup datasource in jboss-as-7.2.0.Alpha1-SNAPSHOT

Prasad M do-not-reply at jboss.com
Thu Nov 29 08:54:30 EST 2012


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&containerType=14&container=2225]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20121129/b644aa42/attachment.html 


More information about the jboss-dev-forums mailing list