[Geoserver-users] [Re: Problem with OWS GeoServer 2.2.2]

Hi, dear all,
I've got the GS Version 2.2

i have got not the same problem: but it is:

I have a problem for publishing map in the section of the
tutorial:"GeoServer 2.2.x User Manual » Getting Started » Publishing a
Shapefile"
http://docs.geoserver.org/stable/en/user/gettingstarted/shapefile-quickstart/index.html

with the weblink "openlayers" and the example nyc-roads there is
no map inside the openlayers environment.

And it is the same result for all example inside this tutorial.

however, I can display all map via wms or wfs services in all formats
jpeg, png etc.
Does anyone can help me about this problem of displaying map with this
openlayers links!
Thank you
Anne Q

Hello all,

I tried the new version of GS 2.2.2, but I have major problems with
publishing / querying layers... Here is the thing :
- i made a copy of my data_dir (working well with GS 2.2.0)
- i installed GS 2.2.2
- i put the new data_dir directory, next to the default data directory

As long as I work with the default data, with default GEOSERVER_DATA_DIR
path in the WEB-INF/web.xml (I'm using Tomcat 7), there is no problem.
If I change the GEOSERVER_DATA_DIR to my own data_dir, the web interface
seems to work well, but major problems are :
- WMS queries send 404 error with all layer previews

/*HTTP Status 404 -*
type Status report
message
description The requested resource () is not available./

- even if I add a new resources, the new layers still has the sam error

If I go to the log, here is the first error :

2012-12-05 12:10:13,230 DEBUG
[org.geoserver.security.RESTfulPathBasedFilterInvocationDefinitionMap] -
httpMethods[0]: POST
2012-12-05 12:10:13,230 DEBUG
[org.geoserver.security.RESTfulPathBasedFilterInvocationDefinitionMap] -
httpMethods[1]: DELETE
2012-12-05 12:10:13,230 DEBUG
[org.geoserver.security.RESTfulPathBasedFilterInvocationDefinitionMap] -
httpMethods[2]: PUT
2012-12-05 12:11:12,860 DEBUG [org.geoserver.security] - Start searching
for expired authentication tokens
2012-12-05 12:11:12,862 DEBUG [org.geoserver.security] - Number of
expired authentication tokens found: 0
2012-12-05 12:11:12,862 DEBUG [org.geoserver.security] - End searching
for expired authentication tokens
2012-12-05 12:12:12,860 DEBUG [org.geoserver.security] - Start searching
for expired authentication tokens
2012-12-05 12:12:12,861 DEBUG [org.geoserver.security] - Number of
expired authentication tokens found: 0
2012-12-05 12:12:12,861 DEBUG [org.geoserver.security] - End searching
for expired authentication tokens
2012-12-05 12:12:45,641 TRACE [org.geoserver.ows.OWSHandlerMapping] - No
handler mapping found for [/web/]
2012-12-05 12:12:45,644 TRACE [org.geoserver.ows.OWSHandlerMapping] - No
handler mapping found for [/web/]
2012-12-05 12:12:45,645 TRACE [org.geoserver.ows.OWSHandlerMapping] - No
handler mapping found for [/web/]
2012-12-05 12:12:45,730 DEBUG [org.geoserver] - Thread 41 locking in
mode READ
2012-12-05 12:12:45,731 DEBUG [org.geoserver] - Thread 41 got the lock
in mode READ
2012-12-05 12:12:46,053 DEBUG [org.geoserver.security] - Les créances
sont erronées
org.springframework.security.authentication.BadCredentialsException: Les
créances sont erronées
         at
org.springframework.security.authentication.dao.DaoAuthenticationProvider.additionalAuthenticationChecks(DaoAuthenticationProvider.java:67)
         at
org.springframework.security.authentication.dao.AbstractUserDetailsAuthenticationProvider.authenticate(AbstractUserDetailsAuthenticationProvider.java:149)

(...)

2012-12-05 12:12:46,254 INFO [org.geoserver.security] - Strong
cryptograhpy is available
2012-12-05 12:12:46,538 DEBUG [org.geoserver.web] - cannot convert url:
jar:file:/var/lib/tomcat7/webapps/geoserver/WEB-INF/lib/web-core-2.2.2.jar!/org/geoserver/web/GeoServerHomePage.html
to file (URI is not hierarchical), falling back to the inputstream for
polling
2012-12-05 12:12:46,583 DEBUG [org.geoserver.web] - cannot convert url:
jar:file:/var/lib/tomcat7/webapps/geoserver/WEB-INF/lib/web-core-2.2.2.jar!/org/geoserver/web/GeoServerBasePage.html
to file (URI is not hierarchical), falling back to the inputstream for
polling

... and it goes on with many errors.

Does anyone have the same problem with services ?

Thank you,

Gabriel Vatin
------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
Quesnel Anne - Dr en Géographie quantitative; Géomatique en Santé.
http://quesnela.free.fr/

--
Adresse physique
CHRU de Lille,
Pôle de Santé Publique.
Unité de Conseils Méthodologiques: Dr A Duhamel
Coordinateur du pôle: Pr Beuscart Régis.

--
Adresse Postale:
Anne Quesnel
CHRU de Lille,
SEDAF - Parc Eurasanté
Pôle de Santé Publique.
Bâtiment Hippocrate
154 rue du Dr Yersin
59037 Lille cedex
--
Tel en interne poste 36100
Secrétariat jusque 16h : 03 20 44 55 18
Après 16h : 03 20 44 59 62 poste 36100
Fax : 03 20 44 69 45

--

--

ol_nyc_roads.png

2012/12/6 Quesnel Anne <aquesnel@anonymised.com>:

I have a problem for publishing map in the section of the
tutorial:"GeoServer 2.2.x User Manual » Getting Started » Publishing a
Shapefile"
http://docs.geoserver.org/stable/en/user/gettingstarted/shapefile-quickstart/index.html

with the weblink "openlayers" and the example nyc-roads there is
no map inside the openlayers environment.

I would try to see requests sent by OpenLayers client.
You can use Firebug on the client side or look in the geoserver log
and find the GetMap request.

Kind Regards,

Stefano

---------------------------------------------------
41.95581N 12.52854E

http://www.linkedin.com/in/stefanoiacovella

http://twitter.com/#!/Iacovellas

Hi Stefano,
here there is an extrait of the log file of this morning in attached file.
I ve just got Firebug today, so i prefer read on log file the resume at
the moment.
thank you for your help

Anne

2012/12/6 Quesnel Anne <aquesnel@anonymised.com>:

I have a problem for publishing map in the section of the
tutorial:"GeoServer 2.2.x User Manual » Getting Started » Publishing a
Shapefile"
http://docs.geoserver.org/stable/en/user/gettingstarted/shapefile-quickstart/index.html

with the weblink "openlayers" and the example nyc-roads there is
no map inside the openlayers environment.

I would try to see requests sent by OpenLayers client.
You can use Firebug on the client side or look in the geoserver log
and find the GetMap request.

Kind Regards,

Stefano

---------------------------------------------------
41.95581N 12.52854E

http://www.linkedin.com/in/stefanoiacovella

http://twitter.com/#!/Iacovellas

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
Quesnel Anne - Dr en Géographie quantitative; Géomatique en Santé.
http://quesnela.free.fr/

--
Adresse physique
CHRU de Lille,
Pôle de Santé Publique.
Unité de Conseils Méthodologiques: Dr A Duhamel
Coordinateur du pôle: Pr Beuscart Régis.

--
Adresse Postale:
Anne Quesnel
CHRU de Lille,
SEDAF - Parc Eurasanté
Pôle de Santé Publique.
Bâtiment Hippocrate
154 rue du Dr Yersin
59037 Lille cedex
--
Tel en interne poste 36100
Secrétariat jusque 16h : 03 20 44 55 18
Après 16h : 03 20 44 59 62 poste 36100
Fax : 03 20 44 69 45

log_file_2012-12-06 (62.8 KB)

2012/12/6 Quesnel Anne <aquesnel@anonymised.com>:

Hi Stefano,
here there is an extrait of the log file of this morning in attached file.
I ve just got Firebug today, so i prefer read on log file the resume at
the moment.

Looking at the log file I can't see any error.
All the requests contained was from the OpenLayers preview App?
If you open the Firebug console you can look at the request performed
by the client and the Server response, you can also copy the request
and perform it with an other client, e.g. curl or the browser itself
in another tab, to see what happens.
Alternatively you may want to raise the log detail,
http://docs.geoserver.org/stable/en/user/webadmin/server/globalsettings.html,
and monitor it with

tail -f /<path to your log file>

Then when you perform an action on the map should see the log output
in the terminal.

Kind Regards,

Stefano

---------------------------------------------------
41.95581N 12.52854E

http://www.linkedin.com/in/stefanoiacovella

http://twitter.com/#!/Iacovellas

I' ve got two warning messages on the firebug console

related to the "nyc_roads" openlayers map preview tab on my browser

1 -moz-border-radius: 1em 0 0 0; style.css (ligne 70, col. 24)

2 filter: alpha(opacity=50); style.css (ligne 232, col. 18)

3 and I've got one error message:

The character encoding of the HTML document was not declared. The document
will render with garbled text in some browser configurations if the
document contains characters from outside the US-ASCII range. The
character encoding of the page must to be declared in the document or in
the transfer protocol.

thank you for this interesting command line.
tail -f /<path to your log file>

I am still learning on firebug...
Thank for your help

2012/12/6 Quesnel Anne <aquesnel@anonymised.com>:

Hi Stefano,
here there is an extrait of the log file of this morning in attached
file.
I ve just got Firebug today, so i prefer read on log file the resume at
the moment.

Looking at the log file I can't see any error.
All the requests contained was from the OpenLayers preview App?
If you open the Firebug console you can look at the request performed
by the client and the Server response, you can also copy the request
and perform it with an other client, e.g. curl or the browser itself
in another tab, to see what happens.
Alternatively you may want to raise the log detail,
http://docs.geoserver.org/stable/en/user/webadmin/server/globalsettings.html,
and monitor it with

tail -f /<path to your log file>

Then when you perform an action on the map should see the log output
in the terminal.

Kind Regards,

Stefano

---------------------------------------------------
41.95581N 12.52854E

http://www.linkedin.com/in/stefanoiacovella

http://twitter.com/#!/Iacovellas

--
Quesnel Anne - Dr en Géographie quantitative; Géomatique en Santé.
http://quesnela.free.fr/

--
Adresse physique
CHRU de Lille,
Pôle de Santé Publique.
Unité de Conseils Méthodologiques: Dr A Duhamel
Coordinateur du pôle: Pr Beuscart Régis.

--
Adresse Postale:
Anne Quesnel
CHRU de Lille,
SEDAF - Parc Eurasanté
Pôle de Santé Publique.
Bâtiment Hippocrate
154 rue du Dr Yersin
59037 Lille cedex
--
Tel en interne poste 36100
Secrétariat jusque 16h : 03 20 44 55 18
Après 16h : 03 20 44 59 62 poste 36100
Fax : 03 20 44 69 45

Hi Anne,

I got the same error about HTML character encoding, but I can see the map.
On the Firebug console if you switch to the net panel you should see
at least two requests, the one with the request=GetMap key-value pair
is about the map.
Can you find it there?
And if yes can you try to execute as a stand alone request to see if
GeoServer return you the map?

Kind Regards,

Stefano

2012/12/6 Quesnel Anne <aquesnel@anonymised.com>:

I' ve got two warning messages on the firebug console

related to the "nyc_roads" openlayers map preview tab on my browser

1 -moz-border-radius: 1em 0 0 0; style.css (ligne 70, col. 24)

2 filter: alpha(opacity=50); style.css (ligne 232, col. 18)

3 and I've got one error message:

The character encoding of the HTML document was not declared. The document
will render with garbled text in some browser configurations if the
document contains characters from outside the US-ASCII range. The
character encoding of the page must to be declared in the document or in
the transfer protocol.

thank you for this interesting command line.
tail -f /<path to your log file>

I am still learning on firebug...
Thank for your help

2012/12/6 Quesnel Anne <aquesnel@anonymised.com>:

Hi Stefano,
here there is an extrait of the log file of this morning in attached
file.
I ve just got Firebug today, so i prefer read on log file the resume at
the moment.

Looking at the log file I can't see any error.
All the requests contained was from the OpenLayers preview App?
If you open the Firebug console you can look at the request performed
by the client and the Server response, you can also copy the request
and perform it with an other client, e.g. curl or the browser itself
in another tab, to see what happens.
Alternatively you may want to raise the log detail,
http://docs.geoserver.org/stable/en/user/webadmin/server/globalsettings.html,
and monitor it with

tail -f /<path to your log file>

Then when you perform an action on the map should see the log output
in the terminal.

Kind Regards,

Stefano

---------------------------------------------------
41.95581N 12.52854E

http://www.linkedin.com/in/stefanoiacovella

http://twitter.com/#!/Iacovellas

--
Quesnel Anne - Dr en Géographie quantitative; Géomatique en Santé.
http://quesnela.free.fr/

--
Adresse physique
CHRU de Lille,
Pôle de Santé Publique.
Unité de Conseils Méthodologiques: Dr A Duhamel
Coordinateur du pôle: Pr Beuscart Régis.

--
Adresse Postale:
Anne Quesnel
CHRU de Lille,
SEDAF - Parc Eurasanté
Pôle de Santé Publique.
Bâtiment Hippocrate
154 rue du Dr Yersin
59037 Lille cedex
--
Tel en interne poste 36100
Secrétariat jusque 16h : 03 20 44 55 18
Après 16h : 03 20 44 59 62 poste 36100
Fax : 03 20 44 69 45

And if yes can you try to execute as a stand alone request to see if

GeoServer return you the map?

I can get the map from this wms request
http://localhost:8080/geoserver/wms?service=WMS&version=1.1.0&request=GetMap&layers=tiger-ny&styles=&bbox=-74.047185,40.679648,-73.907005,40.882078&width=354&height=512&srs=EPSG:4326&format=image%2Fpng

Hi Anne,

I got the same error about HTML character encoding, but I can see the map.
On the Firebug console if you switch to the net panel you should see
at least two requests, the one with the request=GetMap key-value pair
is about the map.
Can you find it there?
And if yes can you try to execute as a stand alone request to see if
GeoServer return you the map?

Kind Regards,

Stefano

2012/12/6 Quesnel Anne <aquesnel@anonymised.com>:

I' ve got two warning messages on the firebug console

related to the "nyc_roads" openlayers map preview tab on my browser

1 -moz-border-radius: 1em 0 0 0; style.css (ligne 70, col. 24)

2 filter: alpha(opacity=50); style.css (ligne 232, col. 18)

3 and I've got one error message:

The character encoding of the HTML document was not declared. The
document
will render with garbled text in some browser configurations if the
document contains characters from outside the US-ASCII range. The
character encoding of the page must to be declared in the document or in
the transfer protocol.

thank you for this interesting command line.
tail -f /<path to your log file>

I am still learning on firebug...
Thank for your help

2012/12/6 Quesnel Anne <aquesnel@anonymised.com>:

Hi Stefano,
here there is an extrait of the log file of this morning in attached
file.
I ve just got Firebug today, so i prefer read on log file the resume
at
the moment.

Looking at the log file I can't see any error.
All the requests contained was from the OpenLayers preview App?
If you open the Firebug console you can look at the request performed
by the client and the Server response, you can also copy the request
and perform it with an other client, e.g. curl or the browser itself
in another tab, to see what happens.
Alternatively you may want to raise the log detail,
http://docs.geoserver.org/stable/en/user/webadmin/server/globalsettings.html,
and monitor it with

tail -f /<path to your log file>

Then when you perform an action on the map should see the log output
in the terminal.

Kind Regards,

Stefano

---------------------------------------------------
41.95581N 12.52854E

http://www.linkedin.com/in/stefanoiacovella

http://twitter.com/#!/Iacovellas

--
Quesnel Anne - Dr en Géographie quantitative; Géomatique en Santé.
http://quesnela.free.fr/

--
Adresse physique
CHRU de Lille,
Pôle de Santé Publique.
Unité de Conseils Méthodologiques: Dr A Duhamel
Coordinateur du pôle: Pr Beuscart Régis.

--
Adresse Postale:
Anne Quesnel
CHRU de Lille,
SEDAF - Parc Eurasanté
Pôle de Santé Publique.
Bâtiment Hippocrate
154 rue du Dr Yersin
59037 Lille cedex
--
Tel en interne poste 36100
Secrétariat jusque 16h : 03 20 44 55 18
Après 16h : 03 20 44 59 62 poste 36100
Fax : 03 20 44 69 45

--
Quesnel Anne - Dr en Géographie quantitative; Géomatique en Santé.
http://quesnela.free.fr/

--
Adresse physique
CHRU de Lille,
Pôle de Santé Publique.
Unité de Conseils Méthodologiques: Dr A Duhamel
Coordinateur du pôle: Pr Beuscart Régis.

--
Adresse Postale:
Anne Quesnel
CHRU de Lille,
SEDAF - Parc Eurasanté
Pôle de Santé Publique.
Bâtiment Hippocrate
154 rue du Dr Yersin
59037 Lille cedex
--
Tel en interne poste 36100
Secrétariat jusque 16h : 03 20 44 55 18
Après 16h : 03 20 44 59 62 poste 36100
Fax : 03 20 44 69 45

2012/12/7 Quesnel Anne <aquesnel@anonymised.com>:

Ok,
from one example tiger-ny

I see only your first request comparing to your picture console

1)Get wms?service GetMap
(http://localhost:8080/geoserver/wms?service=WMS&version=1.1.0&request=GetMap&layers=tiger-ny&styles=&bbox=-74.047185,40.679648,-73.907005,40.882078&width=354&height=512&srs=EPSG:4326&format=application/openlayers)

2) get wms?LAYERS ==>there is nothing

and others you can see on attached picture

ok, your Browser seems stop working after the two css errors.
Sorry for missing this point before :frowning:

The two lines indicated are exactly equal in the style.css on my
default 2.2 GeoServer installation.

Could you try using the preview app from an other workstation/browser?

Kind Regards,

Stefano
---------------------------------------------------
41.95581N 12.52854E

http://www.linkedin.com/in/stefanoiacovella

http://twitter.com/#!/Iacovellas

Dear Stefano!
It works: to display maps with the openlayer links from an other browser
(Chromium on ubuntu)! thank you

But, it could be interesting to resolve this css problem of Firefox
browser for continue working with it and firebug tool during geoserver
session.

Have nice week end
Kind Regards,
Anne Q

2012/12/7 Quesnel Anne <aquesnel@anonymised.com>:

Ok,
from one example tiger-ny

I see only your first request comparing to your picture console

1)Get wms?service GetMap
(http://localhost:8080/geoserver/wms?service=WMS&version=1.1.0&request=GetMap&layers=tiger-ny&styles=&bbox=-74.047185,40.679648,-73.907005,40.882078&width=354&height=512&srs=EPSG:4326&format=application/openlayers)

2) get wms?LAYERS ==>there is nothing

and others you can see on attached picture

ok, your Browser seems stop working after the two css errors.
Sorry for missing this point before :frowning:

The two lines indicated are exactly equal in the style.css on my
default 2.2 GeoServer installation.

Could you try using the preview app from an other workstation/browser?

Kind Regards,

Stefano
---------------------------------------------------
41.95581N 12.52854E

http://www.linkedin.com/in/stefanoiacovella

http://twitter.com/#!/Iacovellas

--
Quesnel Anne - Dr en Géographie quantitative; Géomatique en Santé.
http://quesnela.free.fr/

--
Adresse physique
CHRU de Lille,
Pôle de Santé Publique.
Unité de Conseils Méthodologiques: Dr A Duhamel
Coordinateur du pôle: Pr Beuscart Régis.

--
Adresse Postale:
Anne Quesnel
CHRU de Lille,
SEDAF - Parc Eurasanté
Pôle de Santé Publique.
Bâtiment Hippocrate
154 rue du Dr Yersin
59037 Lille cedex
--
Tel en interne poste 36100
Secrétariat jusque 16h : 03 20 44 55 18
Après 16h : 03 20 44 59 62 poste 36100
Fax : 03 20 44 69 45

2012/12/7 Quesnel Anne <aquesnel@anonymised.com>:

Dear Stefano!
It works: to display maps with the openlayer links from an other browser
(Chromium on ubuntu)! thank you

But, it could be interesting to resolve this css problem of Firefox
browser for continue working with it and firebug tool during geoserver
session.

Hi Anne,

It does not seem really a Firefox issue. I used it on Windows 7 and
Linux Mint with the OpenLayers layer's preview. On both I am using
Firefox 17.0.1 release.
I don't remember of this issue with older Firefox version, but
honestly I can't say I did test layer's preview against all Firefox
release.

From the screen shot I see you are using Ubuntu with unity windows

manager, could you check your Firefox release?

Have a nice day

Kind Regards,

Stefano

Dear all,
The graphical interface appears different and better (chromium) if you
compare it with firefox .
The firefox version I used was 15.0.1 and I updated the firefox browser
into 17.0.1 but the
symbology type is always missing on the left of the mapping preview window
Best Regards
Anne Q

2012/12/7 Quesnel Anne <aquesnel@anonymised.com>:

Dear Stefano!
It works: to display maps with the openlayer links from an other browser
(Chromium on ubuntu)! thank you

But, it could be interesting to resolve this css problem of Firefox
browser for continue working with it and firebug tool during geoserver
session.

Hi Anne,

It does not seem really a Firefox issue. I used it on Windows 7 and
Linux Mint with the OpenLayers layer's preview. On both I am using
Firefox 17.0.1 release.
I don't remember of this issue with older Firefox version, but
honestly I can't say I did test layer's preview against all Firefox
release.
From the screen shot I see you are using Ubuntu with unity windows
manager, could you check your Firefox release?

Have a nice day

Kind Regards,

Stefano

--
Quesnel Anne - Dr en Géographie quantitative; Géomatique en Santé.
http://quesnela.free.fr/

--
Adresse physique
CHRU de Lille,
Pôle de Santé Publique.
Unité de Conseils Méthodologiques: Dr A Duhamel
Coordinateur du pôle: Pr Beuscart Régis.

--
Adresse Postale:
Anne Quesnel
CHRU de Lille,
SEDAF - Parc Eurasanté
Pôle de Santé Publique.
Bâtiment Hippocrate
154 rue du Dr Yersin
59037 Lille cedex
--
Tel en interne poste 36100
Secrétariat jusque 16h : 03 20 44 55 18
Après 16h : 03 20 44 59 62 poste 36100
Fax : 03 20 44 69 45

mapping_preview.jpg