Hi Sven,

Cool. So with firebug enabled you can monitor which requests are being sent
from the client to the server. WIth that request information I suggest you
execute that request directly in the web browser to see what the content is
being returned by the server if any, and if the request makes sense.

You can also watch the geoserver logs for any error messages that occur
while you execute the request.

And finally often a blank image means a problem with the projection of your
data. You should verify the configuration with respect to the native
projection of your data. Does geoserver recognize the native projection?
Does it look correct? Is the openlayers map sending requests in that
projection? Or is it properly asking the server to reprojection? etc...

Hope that helps.

-Justin

On Mon, Sep 20, 2010 at 12:40 PM, SVEN GMAIL <[email protected]> wrote:

>  Hi,
>
>
>
> Thank you for the reply. I did the run in firefox with firebug enabled.
>
> It still didn’t work and the firebug didn’t notice something fault.
>
> I don’t understand ?
>
>
>
> Sven
>
>
>
>
>
>
>
>
>
>
>
> Tough to say. The easiest way to debug would be to run it in firefox with
>
> firebug enabled and get information about the actual request. This will
>
> probably lead you to the solution and you go back to IE.
>
>
>
>
>
>
>
>
>
>
>
>
>
> On Sat, Sep 18, 2010 at 2:13 PM, SVEN GMAIL <[email protected]> wrote:
>
>
>
> >  Hello,
>
> >
>
> >
>
> >
>
> > I am a newbie with geoserver. Just exercising before starting the real
>
> > work. J
>
> >
>
> > I use geoserver 2.0.2 on windows XP.
>
> >
>
> > I am trying to build a simple wms using the example layer “sf:roads”
>
> > provided in the installationset of geoserver. I tried to run the following
>
> > WMS locally, but it did’nt work.
>
> >
>
> > A blank page with My Map opens when i try to open the page with internet
>
> > explorer.
>
> >
>
> >
>
> >
>
> > I am sure the stylesheet and the openlayers library are correct. I think
>
> > the script is also correct?!
>
> >
>
> > Have I forgotten something? Are there some special settings on geoserver
>
> > itself?
>
> >
>
> >
>
> >
>
> > Thank you for helping me out!
>
> >
>
> >
>
> >
>
> > Sven
>
> >
>
> >
>
> >
>
> > <html>
>
> >
>
> > <head>
>
> >
>
> > <title>My Map</title>
>
> >
>
> > <link rel="stylesheet" href="
>
> > http://localhost:8080/geoserver/openlayers/theme/default/style.css";
>
> > type="text/css">
>
> >
>
> > <style>
>
> >
>
> > #map-id {
>
> >
>
> > width: 512px;
>
> >
>
> > height: 256px;
>
> >
>
> > }
>
> >
>
> > </style>
>
> >
>
> > <script src="http://localhost:8080/geoserver/openlayers/OpenLayers.js
>
> > "></script>
>
> >
>
> > </head>
>
> >
>
> > <body>
>
> >
>
> > <h1>My Map</h1>
>
> >
>
> > <div id="map-id"></div>
>
> >
>
> > <script>
>
> >
>
> > var map = new OpenLayers.Map("map-id");
>
> >
>
> > var test = new OpenLayers.Layer.WMS(
>
> >
>
> > "road imagery",
>
> >
>
> > "http://localhost:8080/geoserver/wms";,
>
> >
>
> > {layers: "sf:roads"}
>
> >
>
> > );
>
> >
>
> > map.addLayer(test);
>
> >
>
> > map.zoomToMaxExtent();
>
> >
>
> > </script>
>
> >
>
> > </body>
>
> >
>
> > </html>
>
> >
>
> >
>
> > ------------------------------------------------------------------------------
>
> > Start uncovering the many advantages of virtual appliances
>
> > and start using them to simplify application deployment and
>
> > accelerate your shift to cloud computing.
>
> > http://p.sf.net/sfu/novell-sfdev2dev
>
> > _______________________________________________
>
> > Geoserver-users mailing list
>
> > [email protected]
>
> > https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
> >
>
> >
>
>
>
>
>
> --
>
> Justin Deoliveira
>
> OpenGeo - http://opengeo.org
>
> Enterprise support for open source geospatial.
>
>
>
>
>
>
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing.
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>


-- 
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to