JBOSS migration from 5.0 to 7.1
sushant
Moderator
moderator
Expertise:
--
Posts:
158
Points:
--
From:
--, --

JBOSS migration from 5.0 to 7.1





sushant
Moderator
moderator
Expertise:
--
Posts:
158
Points:
--
From:
--, --

Facing Issue while migration JBOSS version from 5.0 to 7.1 . Database is Oracle.

Below is the error stating migration issue :

missing/unavailable dependencies" => ["jboss.naming.context.java.module.TCCWeb.TCCWeb.env.OracleDSjboss.naming.context.java.OracleDSMissing [jboss.naming.context.java.module.TCCWeb.TCCWeb.env.OracleDSjboss.naming.context.java.OracleDS]"]} .

Below is the congiguration of Standalone.xml file

<datasources>
            <datasource jndi-name="java:jboss/datasources/Altis" pool-name="OraclePool" enabled="true" use-java-context="true">
                <connection-url>jdbc:oracle:thin:@10.79.1.56:1521:TIMS</connection-url>
                <driver>oracle</driver>
                <security>
                    <user-name>etims_prod</user-name>
                    <password>etims_prod</password>
                </security>
            </datasource>
            <drivers>
                <driver name="oracle" module="com.oracle.jdbc">
                    <xa-datasource-class>oracle.jdbc.xa.client.OracleXADataSource</xa-datasource-class>
                </driver>
            </drivers>
        </datasources>
hablu
Administrator
admin
Expertise:
--
Posts:
407
Points:
--
From:
--, --

your jndi-name= java:jboss/datasources/Altis but from the error it looks like you are trying to find it by name java/OracleDS

refer this link

Similar Questions
Dependency Injection vs factory Design Pattern which one is better and why ?

What is prototype design pattern ? How to implement that in java ?

JBOSS migration from 5.0 to 7.1