Wow this is really messed up :( Had to reinstall jboss 6 m2 as I messed ud the config for my default server DS. Is there anyone who can help or direct me to a proper guide onnot only how but which postgresql -ds .xml to use as there are 2 in the AS 6 M2 jca directory. So far I have been able to establish that postgresql 8.4 uses xa transactions and I may therefore need to use the postgresql -xa -ds .xml Must I also put put the jdbc3 driver into the deploy/lib directory or can i package the driver in my applications lib directory?