Hi,

You can have the daytrader sample as an example for how to use defined datasource in persistence.xml.

http://svn.apache.org/repos/asf/geronimo/daytrader/trunk/

If still not successful, pls try to describe your deployment steps and related exceptions.

Forrest