deegree wms ServiceException code="InvalidRequest"

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

deegree wms ServiceException code="InvalidRequest"

Kajod Sharma
Hi,

I'm new in GIS and trying to explore wms and wfs implemented by deegree. I followed all the steps mentioned at http://download.deegree.org/documentation/3.3.19/html/installation.html for deployment on windows (deployed on Windows 7 64 bit machine).

I'm getting a response for WMS request:
"
<?xml version='1.0' encoding='UTF-8'?>
<ServiceExceptionReport xmlns="http://www.opengis.net/ogc">
  <ServiceException code="InvalidRequest">
"
which is incomplete response in itself.

I could see some error message in log file "localhost.2017-05-03.log":

********************************************************************************************
May 03, 2017 3:21:52 PM org.apache.catalina.session.StandardSession writeObject
WARNING: Cannot serialize session attribute configManager for session AC90FBED92FB2432CD19E034F3469DAE
java.io.NotSerializableException: org.deegree.console.ResourceManagerMetadata2
    at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1184)
    at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1548)
    at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1509)
    at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432)
    at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178)
    at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348)
    at org.apache.catalina.session.StandardSession.writeObject(StandardSession.java:1551)
    at org.apache.catalina.session.StandardSession.writeObjectData(StandardSession.java:994)
    at org.apache.catalina.session.StandardManager.doUnload(StandardManager.java:523)
    at org.apache.catalina.session.StandardManager.unload(StandardManager.java:469)
    at org.apache.catalina.session.StandardManager.stop(StandardManager.java:673)
    at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4774)
    at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:924)
    at org.apache.catalina.startup.HostConfig.undeployApps(HostConfig.java:1319)
    at org.apache.catalina.startup.HostConfig.stop(HostConfig.java:1290)
    at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:323)
    at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
    at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1086)
    at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1098)
    at org.apache.catalina.core.StandardEngine.stop(StandardEngine.java:450)
    at org.apache.catalina.core.StandardService.stop(StandardService.java:587)
    at org.apache.catalina.core.StandardServer.stop(StandardServer.java:744)
    at org.apache.catalina.startup.Catalina.stop(Catalina.java:648)
    at org.apache.catalina.startup.Catalina$CatalinaShutdownHook.run(Catalina.java:692)

********************************************************************************************

For your information, I set-up feature from a shapefile. WMS request (formatted) which I used is:

It would be very helpful if anybody can help me on this issue. I'm not able to move further just because of this issue :(

Same shape file works perfectly in GeoServer with same wms request.

Thanks a lot for your support.

Regards,
Kajod

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
deegree-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/deegree-users
Reply | Threaded
Open this post in threaded view
|

Help: deegree wms ServiceException code="InvalidRequest"

Kajod Sharma
Hi All,

Is there anyone who faced similar issue or has solution? I'm not able to move further in exploring deegree because of this incomplete exception message. It would really a great help if someone can reply on it.

Thanks.
 
Regards,
Kajod



From: Kajod Sharma <[hidden email]>
To: "[hidden email]" <[hidden email]>
Sent: Wednesday, 3 May 2017 4:37 PM
Subject: deegree wms ServiceException code="InvalidRequest"

Hi,

I'm new in GIS and trying to explore wms and wfs implemented by deegree. I followed all the steps mentioned at http://download.deegree.org/documentation/3.3.19/html/installation.html for deployment on windows (deployed on Windows 7 64 bit machine).

I'm getting a response for WMS request:
"
<?xml version='1.0' encoding='UTF-8'?>
<ServiceExceptionReport xmlns="http://www.opengis.net/ogc">
  <ServiceException code="InvalidRequest">
"
which is incomplete response in itself.

I could see some error message in log file "localhost.2017-05-03.log":

********************************************************************************************
May 03, 2017 3:21:52 PM org.apache.catalina.session.StandardSession writeObject
WARNING: Cannot serialize session attribute configManager for session AC90FBED92FB2432CD19E034F3469DAE
java.io.NotSerializableException: org.deegree.console.ResourceManagerMetadata2
    at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1184)
    at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1548)
    at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1509)
    at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432)
    at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178)
    at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348)
    at org.apache.catalina.session.StandardSession.writeObject(StandardSession.java:1551)
    at org.apache.catalina.session.StandardSession.writeObjectData(StandardSession.java:994)
    at org.apache.catalina.session.StandardManager.doUnload(StandardManager.java:523)
    at org.apache.catalina.session.StandardManager.unload(StandardManager.java:469)
    at org.apache.catalina.session.StandardManager.stop(StandardManager.java:673)
    at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4774)
    at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:924)
    at org.apache.catalina.startup.HostConfig.undeployApps(HostConfig.java:1319)
    at org.apache.catalina.startup.HostConfig.stop(HostConfig.java:1290)
    at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:323)
    at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
    at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1086)
    at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1098)
    at org.apache.catalina.core.StandardEngine.stop(StandardEngine.java:450)
    at org.apache.catalina.core.StandardService.stop(StandardService.java:587)
    at org.apache.catalina.core.StandardServer.stop(StandardServer.java:744)
    at org.apache.catalina.startup.Catalina.stop(Catalina.java:648)
    at org.apache.catalina.startup.Catalina$CatalinaShutdownHook.run(Catalina.java:692)

********************************************************************************************

For your information, I set-up feature from a shapefile. WMS request (formatted) which I used is:
<a rel="nofollow" target="_blank" onclick="return window.theMainWindow.showLinkWarning(this)" href="http://localhost:8080/services/wms?service=WMS&amp;version=1.1.1&amp;request=GetMap&amp;Layers=States&amp;SRS=epsg:4326&amp;BBOX=-124.73142200000001,24.955967,-66.969849,49.371735&amp;width=256&amp;height=256&amp;styles=&amp;format=image/png&amp;TRANSPARENT=TRUE" id="yiv5927623730yui_3_16_0_ym19_1_1493824634474_8741">http://localhost:8080/services/wms?
<a rel="nofollow" target="_blank" onclick="return window.theMainWindow.showLinkWarning(this)" href="http://localhost:8080/services/wms?service=WMS&amp;version=1.1.1&amp;request=GetMap&amp;Layers=States&amp;SRS=epsg:4326&amp;BBOX=-124.73142200000001,24.955967,-66.969849,49.371735&amp;width=256&amp;height=256&amp;styles=&amp;format=image/png&amp;TRANSPARENT=TRUE" id="yiv5927623730yui_3_16_0_ym19_1_1493824634474_8741">service=WMS&
<a rel="nofollow" target="_blank" onclick="return window.theMainWindow.showLinkWarning(this)" href="http://localhost:8080/services/wms?service=WMS&amp;version=1.1.1&amp;request=GetMap&amp;Layers=States&amp;SRS=epsg:4326&amp;BBOX=-124.73142200000001,24.955967,-66.969849,49.371735&amp;width=256&amp;height=256&amp;styles=&amp;format=image/png&amp;TRANSPARENT=TRUE" id="yiv5927623730yui_3_16_0_ym19_1_1493824634474_8741">version=1.1.1&
<a rel="nofollow" target="_blank" onclick="return window.theMainWindow.showLinkWarning(this)" href="http://localhost:8080/services/wms?service=WMS&amp;version=1.1.1&amp;request=GetMap&amp;Layers=States&amp;SRS=epsg:4326&amp;BBOX=-124.73142200000001,24.955967,-66.969849,49.371735&amp;width=256&amp;height=256&amp;styles=&amp;format=image/png&amp;TRANSPARENT=TRUE" id="yiv5927623730yui_3_16_0_ym19_1_1493824634474_8741">request=GetMap&
<a rel="nofollow" target="_blank" onclick="return window.theMainWindow.showLinkWarning(this)" href="http://localhost:8080/services/wms?service=WMS&amp;version=1.1.1&amp;request=GetMap&amp;Layers=States&amp;SRS=epsg:4326&amp;BBOX=-124.73142200000001,24.955967,-66.969849,49.371735&amp;width=256&amp;height=256&amp;styles=&amp;format=image/png&amp;TRANSPARENT=TRUE" id="yiv5927623730yui_3_16_0_ym19_1_1493824634474_8741">Layers=States&
<a rel="nofollow" target="_blank" onclick="return window.theMainWindow.showLinkWarning(this)" href="http://localhost:8080/services/wms?service=WMS&amp;version=1.1.1&amp;request=GetMap&amp;Layers=States&amp;SRS=epsg:4326&amp;BBOX=-124.73142200000001,24.955967,-66.969849,49.371735&amp;width=256&amp;height=256&amp;styles=&amp;format=image/png&amp;TRANSPARENT=TRUE" id="yiv5927623730yui_3_16_0_ym19_1_1493824634474_8741">SRS=epsg:4326&
<a rel="nofollow" target="_blank" onclick="return window.theMainWindow.showLinkWarning(this)" href="http://localhost:8080/services/wms?service=WMS&amp;version=1.1.1&amp;request=GetMap&amp;Layers=States&amp;SRS=epsg:4326&amp;BBOX=-124.73142200000001,24.955967,-66.969849,49.371735&amp;width=256&amp;height=256&amp;styles=&amp;format=image/png&amp;TRANSPARENT=TRUE" id="yiv5927623730yui_3_16_0_ym19_1_1493824634474_8741">BBOX=-124.73142200000001,24.955967,-66.969849,49.371735&
<a rel="nofollow" target="_blank" onclick="return window.theMainWindow.showLinkWarning(this)" href="http://localhost:8080/services/wms?service=WMS&amp;version=1.1.1&amp;request=GetMap&amp;Layers=States&amp;SRS=epsg:4326&amp;BBOX=-124.73142200000001,24.955967,-66.969849,49.371735&amp;width=256&amp;height=256&amp;styles=&amp;format=image/png&amp;TRANSPARENT=TRUE" id="yiv5927623730yui_3_16_0_ym19_1_1493824634474_8741">width=256&
<a rel="nofollow" target="_blank" onclick="return window.theMainWindow.showLinkWarning(this)" href="http://localhost:8080/services/wms?service=WMS&amp;version=1.1.1&amp;request=GetMap&amp;Layers=States&amp;SRS=epsg:4326&amp;BBOX=-124.73142200000001,24.955967,-66.969849,49.371735&amp;width=256&amp;height=256&amp;styles=&amp;format=image/png&amp;TRANSPARENT=TRUE" id="yiv5927623730yui_3_16_0_ym19_1_1493824634474_8741">height=256&
<a rel="nofollow" target="_blank" onclick="return window.theMainWindow.showLinkWarning(this)" href="http://localhost:8080/services/wms?service=WMS&amp;version=1.1.1&amp;request=GetMap&amp;Layers=States&amp;SRS=epsg:4326&amp;BBOX=-124.73142200000001,24.955967,-66.969849,49.371735&amp;width=256&amp;height=256&amp;styles=&amp;format=image/png&amp;TRANSPARENT=TRUE" id="yiv5927623730yui_3_16_0_ym19_1_1493824634474_8741">styles=&
<a rel="nofollow" target="_blank" onclick="return window.theMainWindow.showLinkWarning(this)" href="http://localhost:8080/services/wms?service=WMS&amp;version=1.1.1&amp;request=GetMap&amp;Layers=States&amp;SRS=epsg:4326&amp;BBOX=-124.73142200000001,24.955967,-66.969849,49.371735&amp;width=256&amp;height=256&amp;styles=&amp;format=image/png&amp;TRANSPARENT=TRUE" id="yiv5927623730yui_3_16_0_ym19_1_1493824634474_8741">format=image/png&
<a rel="nofollow" target="_blank" onclick="return window.theMainWindow.showLinkWarning(this)" href="http://localhost:8080/services/wms?service=WMS&amp;version=1.1.1&amp;request=GetMap&amp;Layers=States&amp;SRS=epsg:4326&amp;BBOX=-124.73142200000001,24.955967,-66.969849,49.371735&amp;width=256&amp;height=256&amp;styles=&amp;format=image/png&amp;TRANSPARENT=TRUE" id="yiv5927623730yui_3_16_0_ym19_1_1493824634474_8741">TRANSPARENT=TRUE

It would be very helpful if anybody can help me on this issue. I'm not able to move further just because of this issue :(

Same shape file works perfectly in GeoServer with same wms request.

Thanks a lot for your support.

Regards,
Kajod



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
deegree-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/deegree-users
Reply | Threaded
Open this post in threaded view
|

Re: deegree wms ServiceException code="InvalidRequest"

StefanC
In reply to this post by Kajod Sharma
Hi,
 
maybe your layer- or theme-configuration (I think you need that for setting up an WMS) is wrong.
 
Try to set up a WFS. For WFS you dont need a layer and theme-configuration and you can take the featurestore as datasource.
 
regards Stefan
 
Gesendet: Mittwoch, 03. Mai 2017 um 17:37 Uhr
Von: "Kajod Sharma" <[hidden email]>
An: "[hidden email]" <[hidden email]>
Betreff: [deegree-users] deegree wms ServiceException code="InvalidRequest"
Hi,
 
I'm new in GIS and trying to explore wms and wfs implemented by deegree. I followed all the steps mentioned at http://download.deegree.org/documentation/3.3.19/html/installation.html for deployment on windows (deployed on Windows 7 64 bit machine).
 
I'm getting a response for WMS request:
"
<?xml version='1.0' encoding='UTF-8'?>
<ServiceExceptionReport xmlns="http://www.opengis.net/ogc">
  <ServiceException code="InvalidRequest">
"
which is incomplete response in itself.
 
I could see some error message in log file "localhost.2017-05-03.log":
 
********************************************************************************************
May 03, 2017 3:21:52 PM org.apache.catalina.session.StandardSession writeObject
WARNING: Cannot serialize session attribute configManager for session AC90FBED92FB2432CD19E034F3469DAE
java.io.NotSerializableException: org.deegree.console.ResourceManagerMetadata2
    at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1184)
    at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1548)
    at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1509)
    at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432)
    at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178)
    at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348)
    at org.apache.catalina.session.StandardSession.writeObject(StandardSession.java:1551)
    at org.apache.catalina.session.StandardSession.writeObjectData(StandardSession.java:994)
    at org.apache.catalina.session.StandardManager.doUnload(StandardManager.java:523)
    at org.apache.catalina.session.StandardManager.unload(StandardManager.java:469)
    at org.apache.catalina.session.StandardManager.stop(StandardManager.java:673)
    at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4774)
    at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:924)
    at org.apache.catalina.startup.HostConfig.undeployApps(HostConfig.java:1319)
    at org.apache.catalina.startup.HostConfig.stop(HostConfig.java:1290)
    at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:323)
    at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
    at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1086)
    at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1098)
    at org.apache.catalina.core.StandardEngine.stop(StandardEngine.java:450)
    at org.apache.catalina.core.StandardService.stop(StandardService.java:587)
    at org.apache.catalina.core.StandardServer.stop(StandardServer.java:744)
    at org.apache.catalina.startup.Catalina.stop(Catalina.java:648)
    at org.apache.catalina.startup.Catalina$CatalinaShutdownHook.run(Catalina.java:692)
********************************************************************************************
 
For your information, I set-up feature from a shapefile. WMS request (formatted) which I used is:
 
It would be very helpful if anybody can help me on this issue. I'm not able to move further just because of this issue :(
 
Same shape file works perfectly in GeoServer with same wms request.
 
Thanks a lot for your support.
 
Regards,
Kajod
------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot_______________________________________________ deegree-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/deegree-users

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
deegree-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/deegree-users