Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Server Startup Problems

 
Josh Hayes
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Doing Enterprise Javabeans for a class, and can't get my JBoss server to start up correctly. I am using Eclipse, JRE 1.5, JBoss 4.2, and Oracle 11g on my Windows XP machine.

My persistence.xml file looks like this:



My oracle-ds.xml file is:



I have the ojdbc14.jar file in my server/default/lib (actually, I have ojdbc5, ojdbc6, and orai18n in there as well).
I can connect successfully to my database in Eclipse and even created all my entity beans from the database tables, so I don't know why it is giving me this error on startup.



Any help would be greatly appreciated.
Thanks.
 
Josh Hayes
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And, if this is supposed to be in a different forum (possibly the "Object Relational Mapping Forum"), sorry. I didn't see any others that looked right when I posted it.
 
Jaikiran Pai
Marshal
Pie
Posts: 10444
227
IntelliJ IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have the ojdbc14.jar file in my server/default/lib (actually, I have ojdbc5, ojdbc6, and orai18n in there as well).

Looking at the error logs, it appears that you have the wrong jar(s) or jar versions of the driver. The oracle JDBC driver documentation should tell you exactly which jar(s) are needed. I think ojdbc14.jar is probably enough, but i haven't personally used Oracle ever, so i might be wrong.
 
Josh Hayes
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you very much. Taking the other ojdbc drivers out of the folder fixed it.

I looked for a solution to this problem for over a month. How come no one tells you that you can't have multiple jdbc drivers for the same db in the JBoss server/default/lib folder?

Hmmm, well glad that's done... now off to the next part of the project.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic