I have the JBoss 4.2 deployed on one server and Oracle 10.2g deployed on another server. The application hosted on JBoss interacts with Oracle database. Now, Oracle has closed its support for Oracle 10.2g. Thus we upgraded our database to 11g. However, the application was not communicating with this new Oracle, when I included the Oracle driver in JBoss 4.2. What are the compatible versions of JBoss for supporting latest version of Oracle 12c.
If you use the correct Oracle driver for the OracleDB it should work, except you use an old Java version and the ojdbc.jar is not compatible with it.
Did you see any failure message if you access the DB?