Reason:
Database connection pools haven't been configured in the JBoss server.
Solution:
Check if a file of the format "*-ds.xml" is available in the JBoss deployed directory. If this is not present, it means that the DB connection pools haven't been configured which is why the corresponding error is shown.