aspose file tools*
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
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: 10096
    
164

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