Usually Datasource Connection Pool is created by deploying a XML file ends with the prefix "-ds"... You can find sample "-ds.xml" files in jboss docs folder which is shipped along with the server package. Path is "docs\examples\jca"... Postgresql ds sampe file can be found... And fill in the corresponding DB Details and put it in "deploy" folder and datasource is created... ...