Meaningless Drivel is fun!*
The moose likes EJB and other Java EE Technologies and the fly likes Server Startup Problems Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Server Startup Problems" Watch "Server Startup Problems" New topic
Author

Server Startup Problems

Josh Hayes
Greenhorn

Joined: Dec 06, 2009
Posts: 3
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

Joined: Dec 06, 2009
Posts: 3
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

Joined: Jul 20, 2005
Posts: 9956
    
163

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.


[My Blog] [JavaRanch Journal]
Josh Hayes
Greenhorn

Joined: Dec 06, 2009
Posts: 3
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Server Startup Problems
 
Similar Threads
No identifier specified for entity:
Problem with DataSource
Unable to deploy ejb3 entity bean with Oracle Datasource
DeploymentException while deploying ear file in JBoss
JBossJSFConfigureListener Error