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.
How to get the datasource from Bean through deployment descriptor
Mike Thomson
Ranch Hand
Joined: Nov 07, 2007
Posts: 115
posted
0
I am using MySql with JBoss4.2.2.GA. I have configured the web.xml and jboss-web.xml and mysql-ds.xml properly and I can able to get the datasource from the Servlet without any problem.
In the same way, when I tried to retrieve the datasource from the Entity bean, I am getting the following exception:
My web.xml
My jboss-web.xml
My jboss.xml
How to get the datasource from deployment descriptor from the Entity Bean. Whether we need to configure in both ejb-jar.xml and jboss.xml, as we did for web.xml and jboss-web.xml?
Between, the forums new look and feel and features are amazing!!! And I have also looked for this attachment feature for the long time!!