Please always include what version of jboss you are using, at an absolute minimum. guessing may be amusing, but not necessarily accurate.
Pay attention to the docs. jboss.jcml is 2.4 only. Ch 3 of the online manual is jboss 3 only. Follow the instructions in the purchased docs. Don't use anything from the jboss 3 ConnectionFactoryLoader configurations with jboss 2.x, they are very incompatible.
I have scan through the doc and check the index, you mean http://jboss.org/common/24x-book-toc.html, right?
However, I can find any information of how to configures datasource, can you give me more hint?
I have check the manual more detail, and I find that there is an example of MySQL setting. Thx for your remind.