This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I Depend On: jboss.jca:name=jdbc/gameds,service=DataSourceBinding
You probably have not deployed the datasource (*-ds.xml) file, or the jndi-name in the datasource file is not matching to what you have specified in the persistence.xml file. Can you post the contents to the -ds.xml and the peristentce.xml file?
The persistence.xml will be in the META-INF folder of your gamingcity-ejb.jar. However, the -ds.xml will "usually" be outside the EAR and will have to be deployed by placing in the "deploy" folder. I don't know how it is handled through the IDE.
Joined: Feb 26, 2005
Originally posted by Jaikiran Pai: Are you sure, the datasource file is in the "deploy" folder and being deployed without any errors? Do you see any log messages like:
There is not like above.
All of them seem like 'waiting on' and 'depending on' the jdbc/gameds.