Hi All, I am using JBoss AS 4.2.3.GA.I have to use oracle 10g as database.For this I put a file named oracle-ds.xml in .../default/deploy/ folder. The code is given..
Now when I am running the server ,it is starting.But whenever their is database hit it throw's an error....
Can you please tell me what iss the problem?And how to solve it? Please help me out....
Yes. We had the same problem with our app. We had an include statement for ojdbc14.jar in our build.xml, but it didn't put it in the right directory. Put it in the location (server\default\lib) mentioned in the previous post and it should work.
I am trying to configure the oracle datasource and I copied and made the necessary changes for oracle-ds.xml. My oracle datasource is 'TestOraDatasource' and when I try to lookup the datasource using 'TestOraDatasource' in the application its giving me HSQLDB datasource which is the default one for jboss.
How do I make my oracle datasource as the default datasource ?
Please do not append a new question to an old topic. Instead, please create a new topic. And provide the *-ds.xml file and the code you are using to lookup the datasource, and an explanation of how you know you are getting HSQLDB.