This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP 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: 10447
227
IntelliJ IDE Ubuntu
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic