OK so last time had a big issue with running WFS. Seems the issue was neither with my OpenLayers code nor GeoServer. The issue was with the servers not able to communicate with each other. The tomcat 6 server on which GeoServer was running and Apache server which is the default web server for my Ubuntu.
After some digging around it seems that I need to have tomcat 6 pre-installed on my machine before installing OpenGeo Suite. So having reinstalled the package, at end, the terminal gives me the following message
NOTICE: Please run /usr/share/opengeo-suite/tomcat-admin-setup.sh to complete this
installation.
So I executed the following command (from the required directory),
sh tomcat-admin-setup.sh
And I am getting this error,
tomcat-admin-setup.sh: 143: [: Ubuntu: unexpected operator
Unknown distro. The OpenGeo Suite is supported on Red Hat Enterprise Linux 5 and 6,
CentOS 5 and 6, and Ubuntu Linux 10.04 or later.
Does this mean the OpenGeo Suite is not compatible with Ubuntu 12.04??