This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
I am trying to get the mysql datasource from servlet. I have configured the datasource in mysql-ds.xml as follows:
Then, I configured web.xml and jboss-web.xml as follows:
In servlet, I am trying to get the datasource as follows:
But I am getting the followin exception:
Please help on it. And alos, I have another doubt, when will the objects are registered with JNDI. During deployment time, will the jboss app. server register the objects with JNDI on referring web.xml and ejb-jar.xml? [ January 03, 2009: Message edited by: Mike Thomson ]