Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I got GeoServer up and running today and created a store that is linked to my postgis database, with a layer corresponding to one of the tables in the database. I then previewed the layer using the GeoServer Layer Previewer and it all worked nicely.

I began messing around with GeoServer, trying to get this layer plotted on my own OpenLayers map, and now none of the layers work in the Layer Previewer. When I click "go", a new tab opens with a blank box where the map should be, and the tab indicates that it is loading. However, it does not ever appear to load correctly.

Does anybody have any idea what I might have done to mess this up?

Thanks,

-Rob

share|improve this question
    
How big is the layer? It might be worth restarting Geoserver to see if that helps. sudo /etc.init.d/geoserver restart on a linux box. –  Jay Laura Dec 4 '12 at 21:58
    
test previewing the layer in png or any other static format. Do you see a result, or an error message? If you get a blank image your layer's bounding box might be off. –  tomfumb Dec 5 '12 at 0:58
add comment

1 Answer

up vote 1 down vote accepted

It could be a couple of different things as far as styles go. It might be worth looking at the page source and the url of the request to see if any parameters are missing. You could also use the inspector or page editor tools, and look at whether the url is giving any error codes through the network tab.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.