How have you configured your datasource? What does it look like?
i have configured the Datasource using the web-console... and it's in green enabled mode.
Is there anyway to check wheather the created datasource is available and how do i access it outside..
What JNDI name did you configure it to? The standalone.xml would have the newly created datasource, so check that file. As for testing whether the datasource is functional, I think there is a test connection feature available in the admin console. I haven't checked recently, so can't say for sure.
i can see the datasource name created in the standalone.xml as follows.
<datasource jndi-name="DKDS" pool-name="DKDS_Pool" enabled="true">
I forgot to ask it earlier. What does your persistence.xml look like. It should use java:/DKDS (the front slash is necessary) as the jndi name of the datasource
yes that was the problem,,, awesome and thanks for the information... i was trying to access the JNDI as java:DKDS just modified to java:/DKDS and it started working....
once again thanks for the information i was strucked with this issue for the past two days..... and finally got resolved....