-
1. Re: Migrating from jboss5 to AS7 missing/unavailable dependencies
aminjava Aug 16, 2012 12:35 PM (in response to aminjava)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>
-
2. Re: Migrating from jboss5 to AS7 missing/unavailable dependencies
chandrup Nov 29, 2012 5:09 AM (in response to aminjava)Hi Amin,
I am migrating from jboss 3 to jboss 7, where did you change in your jboss-eb.xml, was it in the jboss 7 configuration files or in your application .ear files?
I am also facing a similar issue, when I attempted to search for jboss-web.xml, I could get 3 such files under <myApp>.EAR/war/WEB-INF/jboss-web.xml.
Should I be changing in these files?
Thanks,
Chandru