-
1. Re: CD Example(Chapter 3) Problem
schoemc Jul 24, 2002 2:45 AM (in response to lavanya_s)Mmmm, it looks just like the error I got the other day. I did, however, manage to fix it by making sure I had the right JDBC driver and that my database setup was correct.
Hope this helps. -
2. Re: CD Example(Chapter 3) Problem
lavanya_s Jul 24, 2002 6:55 AM (in response to lavanya_s)Hi- Thanks for your direction. As Iam new to JBoss can you please throw some light on how should I ensure whether my JDBC connectivity is set right? Iam using JBoss-3.0.
-
3. Re: CD Example(Chapter 3) Problem
schoemc Aug 1, 2002 5:41 AM (in response to lavanya_s)The best I can do, is to tell you what I did. Your situation might be completely different.
Since I'm using Oracle9i, I made sure that classes12.jar was in the lib directory.
Then I created an oracle-service.xml file in the deploy directory. This could be tricky, but I managed to find an example on the web, and only had to make minor modifications. Make sure the stuff, and database URL is correct.
I don't know if this was necessary (I'm also new to JBOSS), but I modified the standardjbosscmp-jdbc.xml file in the conf directory to include the new datasouce mappings.
And finally, in the login-config.xml file, also in the conf directory, I added the security realm that I entered in my oracle-service.xml file.
Hope this helps (if you have managed already).