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.
Please HELP! [EJB 3] - Could not find datasource in Eclipse/JBoss - SQLServer
posted 7 years ago
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:
TestEJB3Controller.java which calls the datasource configured in persistance.xml
Please help me to figure this out. Thanks in advance!