NOTE :: This issue looks similar to
https://coderanch.com/t/549502/JBoss/JBoss-Oracle-Configuration-new-DataSource, but the application, config info and
JBoss server version all are different.
I have a EAR file which runs fine on IBM websphere (6.0 and 6.1), now I want to run it on
Jboss 5.1.0.As this is a dynamic website I need to make an oracle connection and where the datasource name is different from DefaultDS. I am not using
EJB's.
I have configured JBoss inside Eclipse 3.7 (Indigo) and going to do any modification on the code etc through eclipse-JBoss combination only.
What I have done so far in this approach,
1. Created the oracle-ds.xml with DB and application specific parameters.
2. Deployed the oracle-ds.xml in C:\jboss-5.1.0.GA_MYAPP\server\default\deploy directory
3. Kept the hsqldb-ds.xml as it is, in the same location (As it comes default)
4. Provided the ojdbc14.jar in C:\jboss-5.1.0.GA_MYAPP\common\lib
5. Created and kept jboss-web.xml in <project_home>/src/web/WEB-INF
Output ::
==========
1. JBoss starts successfully showing it is able to detect the new application specific JNDI name (MY_ds)
2. But When I have deployed my application .WAR file, I am receiving the following exception(s),
Need some insight of the error please.
Info ::
=======
1.
oracle-ds.xml
2.
web.xml of the application is as follows,
3.
jboss-web.xml
Thanks,
Joydeep