This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JBoss/WildFly and the fly likes Please HELP! [EJB 3] - Could not find datasource in Eclipse/JBoss - SQLServer 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 » Products » JBoss/WildFly
Bookmark "Please HELP! [EJB 3] - Could not find datasource in Eclipse/JBoss - SQLServer" Watch "Please HELP! [EJB 3] - Could not find datasource in Eclipse/JBoss - SQLServer" New topic
Author

Please HELP! [EJB 3] - Could not find datasource in Eclipse/JBoss - SQLServer

Sofie Gorin
Greenhorn

Joined: May 18, 2009
Posts: 1
Hello,

I'm learning EJB 3 in Eclipse 3.4 running JBoss 4.2 SQLServer 2005. Please help me with the error message I'm getting. I copied and configured mssql-ds.xml to jboss's default/deploy and copied sqljdbc4.jar to default/lib.


I can see my datasource WinTrackDS in jboss's jmx console, but I'm still getting the following error:



persistance.xml



TestEJB3Controller.java which calls the datasource configured in persistance.xml



Please help me to figure this out. Thanks in advance!

Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9953
    
163

See this http://www.jboss.org/community/wiki/GetquotjavaxnamingNoInitialContextExceptionquot


[My Blog] [JavaRanch Journal]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Please HELP! [EJB 3] - Could not find datasource in Eclipse/JBoss - SQLServer
 
Similar Threads
SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null' (Hibernate + Seam)
JPA: Unable to configure EntityManagerFactory
HibernateException: Hibernate Dialect must be explicitly set
I'm trying to build a JPA application , but i am getting an error NoClassFound
JPA not working with EJB3