I cross-checked in jbpm-ds.xml at JBOSS_HOME/server/default/deploy/ and in standalone.xml, jndi-name was same but connection-url were different which I changed so as to synchronize. However I thought of delving into server logs for more insight and observed that there are numerous errors in it. I have attached my server log after starting the jboss.
Regards.