Amin Mohammed [
https://community.jboss.org/people/aminjava] created the discussion
"Re: Migrating from jboss5 to AS7 missing/unavailable dependencies"
To view the discussion, visit:
https://community.jboss.org/message/754072#754072
--------------------------------------------------------------
the way it got fixed was
in my
jboss-web.xml i changed
to : -->
<resource-ref>
<res-ref-name>jdbc/ds</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<jndi-name>*java:jboss*/ds/myAppDS</jndi-name>
From : ---->
<resource-ref>
<res-ref-name>jdbc/ds</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<jndi-name>java:/ds/myAppDS</jndi-name>
</resource-ref>
in standalone-full-ha.xml
i had data source declaratioin like this
<subsystem xmlns="urn:jboss:domain:datasources:1.0">
<datasources>
<datasource jndi-name="java:jboss/datasources/myAppDS"
pool-name="myAppDS" 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>
</resource-ref>
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/754072#754072]
Start a new discussion in JBoss AS 7 Development at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]