Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Sofie Gorin
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 10444
227
IntelliJ IDE Ubuntu
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic