Ok so last time had a big issue with running WFS. Seems the issue was neither with my OpenLayer 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),
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??