Ok it seems there was no problem with the Openlayers, there is something wrong with the Geoserver. It seems the trouble is not with the shapefile loading because the USA states in my layer loads fine, which is the default layer.<div>

<br></div><div>But any other shapefile which I added display the following error,</div><div><br></div><div><div><font color="#ff0000">Failed to load attribute list, internal error is: null</font></div><div><br></div><div>

I tried to remove the shapefile and then again add them but the error persists. The shapefile gets published the first time without any problem but when I try to view it, the browser downloads the wms file. When I go back to check the layer publishing (titled Edit Layer), I find the error I shared above.</div>

<div><br></div><div>Not sure what is wrong?</div><div><br></div><div>Thanks,<br>Smaran</div><br><div class="gmail_quote">On Mon, Nov 19, 2012 at 2:04 PM, Phil Scadden <span dir="ltr"><<a href="mailto:p.scadden@gns.cri.nz" target="_blank">p.scadden@gns.cri.nz</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Look at a GET request in the NET tab of firebug for tile that goes pink.<br>
Copy location and try it as URL in your browser. It could be that<br>
geoserver is so overwhelmed that it is too slow. You could try<br>
OpenLayers.IMAGE_RELOAD_ATTEMPTS = 5;<br>
if that is case. I would repeat earlier advice that 8k of shapefiles<br>
isnt really a great way to manage data. POSTGIS, and indexed selection<br>
would probably work a whole lot better.<br>
<br>
<br>
Notice: This email and any attachments are confidential. If received in error please destroy and immediately notify us. Do not copy or disclose the contents.<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.osgeo.org">Users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/openlayers-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/openlayers-users</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Thanks & Regards<div>Smaran Harihar</div><br>
</div>