I figured out this problem after reading some more discussions.
I referred to http://community.jboss.org/message/204473#204473
and I opened my postgresql-persistence-service.xml and commented out this line
<!-- <depends optional-attribute-name="ChannelFactoryName">jboss.jgroups:service=ChannelFactory</depends> -->
and it worked.