'I tried putting testDS in gwt-console-server.war web-inf folder ,then I added persistence related jars in Tomcat_Home/lib folder as well,but still same error I get related to finding persistence classes.'
Keeping the testDS in web-inf folder would not work with Tomcat. The context.xml file needs to be modified.