[geGIS] HTTP Status 404 - Servlet action is not available
Steven De Vriendt
gisaalter op gmail.com
Vr mei 11 16:15:06 CEST 2007
Pieter,
Inderdaad, ik volg de MAJAS-documentatie. Ik bekom de volgende <datastore>
<datastore namespace = "wms" enabled = "true" id = "Aalter_wms" >
<abstract>Demo WMS Datastore</abstract>
<connectionParams>
<parameter value =
"http://gisaalter.dyndns.org:8888/cgi-bin/mapserv.exe?map=/ms4w/apps/chameleon/samples/map/wmsserver_vector_raster.map&SERVICE=WMS&"
name = "baseWMSurl" />
<!-- Optional parameters -->
<parameter value = "1.1.1" name = "version" />
<parameter value = "image/png" name = "format" />
<parameter value = "EPSG:31300" name = "srs" />
</connectionParams>
</datastore>
Dit levert echter een NIET OK op wanneer ik de datastore test
Het volgende adres genereert een goed GetCapabilities-document:
http://gisaalter.dyndns.org:8888/cgi-bin/mapserv.exe?map=/ms4w/apps/chameleon/samples/map/wmsserver_vector_raster.map&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetCapabilities
Ik heb verschillende mogelijkheden getest (zonder version, service,
request,...), doch ik slaag er niet in een OK te krijgen voor
baseWMSUrl.
Vervolgens heb ik een FeatureType aangemaakt voor deze datasoure:
in info.xml staat het volgende:
<featureType datastore = "Aalter_wms" >
<name>grens</name>
<SRS>31300</SRS>
<title>grens</title>
<abstract>Generated from Aalter_WMS</abstract>
<numDecimals value = "8" />
<keywords>PostgisDS testpoint</keywords>
<latLonBoundingBox dynamic = "false" miny = "-67.092" maxy =
"-36.6156" maxx = "179.949" minx = "-179.244" />
<styles default = "point_red" />
<wms>yes</wms>
</featureType>
Ik heb de latLonBoundingBox-parameters aangepast naar de coördinaten
die worden gepubliceerd door de WMS.
In application staat vervolgens een Layer met volgende kenmerken:
<layer id="1" xsi:type="mc:leafyLayerType">
<layerName value="grens" />
<defaultVisible value="true" />
<displayOrderMap value="1" />
<displayOrderTOC value="1" />
<activatable value="true" />
<active value="true" />
<exportable value="true" />
<urlProperty value="" />
<layerType value="4" />
<viewScale min="0.00001" max="1000" />
<showLabels value="false" />
<editableSupported value="true" />
<attribFeatureId value="feature_id" />
<attribVersion value="version" />
<attribEditDate value="edit_date" />
<attribUserId value="user_id" />
<attribEditState value="edit_state" />
<attribFlowState value="flow_state" />
<featureType value="wms:grens"/>
<crudValue value="7" />
<snappingRules>
<snappingRule>
<snapDistance value="100" />
<snappingLayer value="wms:grens" />
<snappingType value="1" />
</snappingRule>
</snappingRules>
<identifyingAttributes>
<identifyingAttribute>
</identifyingAttribute>
</identifyingAttributes>
<viewableAttributes>
<viewableAttribute>
</viewableAttribute>
</viewableAttributes>
<labelConfig>
</labelConfig>
<styleDefs>
<styleDef>
<id value="1" />
<name value="grens_color" />
<svgStyle value="fill:#6699CC;fill-opacity:0.5;stroke:#6666CC;stroke-width:0.1%;stroke-opacity:1"
/>
<showInLegend value="true" />
<formula value="" />
</styleDef>
</styleDefs>
</layer>
De bijhorende error-log file heb ik als bijlage toegevoegd.
Dank voor het behandelen van dit probleem !
Groet
Steven
On 5/11/07, Pieter De Graef <pieter op dfc.be> wrote:
> Steven,
>
> Is het de WMS datastore die niet werkt, of de bijhorende featuretype?
> Een voorbeeld van een WMS datastore staat in de MAJAS configuration manual.
>
> Groetjes,
>
> Pieter De Graef
>
> DFC Software Engineering
> Brugsesteenweg 587
> B-9030 Gent
> Belgium
> T: +32 9 236 61 96
> F: +32 9 236 54 12
> E: pieter.degraef op dfc.be
> W: www.dfc.be
>
> -----Original Message-----
> From: Steven De Vriendt [mailto:gisaalter op gmail.com]
> Sent: vrijdag 11 mei 2007 11:48
> To: Pieter De Graef
> Cc: dirk.frigne op dfc.be; list op gegis.org
> Subject: Re: [geGIS] HTTP Status 404 - Servlet action is not available
>
> Pieter,
>
> Inderdaad, uiteindelijk was het feit dat een nieuw aangemaakte
> featuretype-directory die was blijven staan de oorzaak...
> Het toevoegen van een wfs lukt prima, het configureren van een
> wms voorlopig niet. Is het mogelijk me hiermee op weg te helpen ?
> Dank voor jullie snelle reactie en vele hulp !
>
> Groet
> Steven
>
> On 5/11/07, Pieter De Graef <pieter op dfc.be> wrote:
> > Steven,
> >
> > Aan deze foutmelding kan ik niet direct opmaken wat er fout is gegaan.
> Zijn
> > er geen andere foutboodschappen in de log?
> >
> > Als je bovendien zegt dat geoserver ook niet bereikbaar is, zou ik me
> > concentreren op configuratiezaken die vanuit geoserver afkomstig zijn
> zoals
> > DataStores en FeatureTypes.
> >
> > Groetjes,
> >
> > Pieter De Graef
> >
> > DFC Software Engineering
> > Brugsesteenweg 587
> > B-9030 Gent
> > Belgium
> > T: +32 9 236 61 96
> > F: +32 9 236 54 12
> > E: pieter.degraef op dfc.be
> > W: www.dfc.be
> >
> > -----Original Message-----
> > From: list-bounces op gegis.org [mailto:list-bounces op gegis.org] On Behalf Of
> > Steven De Vriendt
> > Sent: vrijdag 11 mei 2007 8:23
> > To: dirk.frigne op dfc.be
> > Cc: list op gegis.org
> > Subject: Re: [geGIS] HTTP Status 404 - Servlet action is not available
> >
> > Dirk,
> >
> > Dank je voor je snelle reactie. Vreemd is dat ik m'n origineel,
> > werkende configuratiebestand gebruik. Na een heropstart van Tomcat
> > kreeg
> > ik de foutmelding..
> > Geoserver, normaal te vinden rechtstreeks onder de /gegis directory kan ik
> > ook niet benaderen (dit is vermoedelijk onafhankelijk van het
> > configuratiebestand).
> >
> > Als bijlage stuur ik het fragment van de log-file...
> >
> > 10937 [Thread-1] INFO
> > org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/gegis]
> > - Marking servlet action as unavailable
> > 10937 [Thread-1] ERROR
> > org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/gegis]
> > - Servlet /gegis threw load() exception
> > javax.servlet.UnavailableException
> > at
> >
> org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:
> > 1169)
> > at
> > org.apache.struts.action.ActionServlet.init(ActionServlet.java:473)
> > at javax.servlet.GenericServlet.init(GenericServlet.java:211)
> > at
> >
> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:11
> > 05)
> > at
> > org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932)
> > at
> >
> org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:
> > 3951)
> > at
> > org.apache.catalina.core.StandardContext.start(StandardContext.java:4225)
> > at
> >
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:7
> > 59)
> > at
> > org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
> > at
> > org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
> > at
> > org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:809)
> > at
> > org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:698)
> > at
> > org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:472)
> > at
> > org.apache.catalina.startup.HostConfig.start(HostConfig.java:1122)
> > at
> > org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
> > at
> >
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor
> > t.java:119)
> > at
> > org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021)
> > at
> > org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
> > at
> > org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
> > at
> > org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
> > at
> > org.apache.catalina.core.StandardService.start(StandardService.java:450)
> > at
> > org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
> > at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> > at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> > at java.lang.reflect.Method.invoke(Unknown Source)
> > at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
> > at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
> > 26453 [http-5555-Processor24] INFO
> >
> org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/gegis].[acti
> > on]
> > - Servlet action is currently unavailable
> > 33156 [http-5555-Processor23] INFO
> >
> org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/gegis].[acti
> > on]
> > - Servlet action is currently unavailable
> > ERROR compiling http://gisaalter.dyndns.org:5555/gegis/welcome.do
> > 33281 [http-5555-Processor25] INFO
> >
> org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/gegis].[acti
> > on]
> > - Servlet action is currently unavailable
> > ERROR compiling http://gisaalter.dyndns.org:5555/gegis/admin/index.do
> > 33359 [http-5555-Processor24] INFO
> >
> org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/gegis].[acti
> > on]
> > - Servlet action is currently unavailable
> > ERROR compiling http://gisaalter.dyndns.org:5555/gegis/config/index.do
> > 33453 [http-5555-Processor22] INFO
> >
> org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/gegis].[acti
> > on]
> > - Servlet action is currently unavailable
> > ERROR compiling
> http://gisaalter.dyndns.org:5555/gegis/contactInformation.do
> > 33812 [http-5555-Processor21] INFO
> >
> org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/gegis].[acti
> > on]
> > - Servlet action is currently unavailable
> > ERROR compiling http://gisaalter.dyndns.org:5555/gegis/config/wfs/index.do
> > 33859 [http-5555-Processor20] INFO
> >
> org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/gegis].[acti
> > on]
> > - Servlet action is currently unavailable
> > ERROR compiling
> > http://gisaalter.dyndns.org:5555/gegis/config/wfs/description.do
> > 33937 [http-5555-Processor23] INFO
> >
> org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/gegis].[acti
> > on]
> > - Servlet action is currently unavailable
> > ERROR compiling
> http://gisaalter.dyndns.org:5555/gegis/config/wfs/content.do
> > 34031 [http-5555-Processor25] INFO
> >
> org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/gegis].[acti
> > on]
> > - Servlet action is currently unavailable
> > ERROR compiling http://gisaalter.dyndns.org:5555/gegis/config/wms/index.do
> > 34078 [http-5555-Processor24] INFO
> >
> org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/gegis].[acti
> > on]
> > - Servlet action is currently unavailable
> > ERROR compiling
> > http://gisaalter.dyndns.org:5555/gegis/config/wms/description.do
> > 34140 [http-5555-Processor22] INFO
> >
> org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/gegis].[acti
> > on]
> > - Servlet action is currently unavailable
> > ERROR compiling
> http://gisaalter.dyndns.org:5555/gegis/config/wms/content.do
> > 34218 [http-5555-Processor22] INFO
> >
> org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/gegis].[acti
> > on]
> > - Servlet action is currently unavailable
> > ERROR compiling
> http://gisaalter.dyndns.org:5555/gegis/config/data/index.do
> > 34328 [http-5555-Processor18] INFO
> >
> org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/gegis].[acti
> > on]
> > - Servlet action is currently unavailable
> > ERROR compiling
> http://gisaalter.dyndns.org:5555/gegis/config/data/store.do
> > 34453 [http-5555-Processor19] INFO
> >
> org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/gegis].[acti
> > on]
> > - Servlet action is currently unavailable
> > ERROR compiling
> > http://gisaalter.dyndns.org:5555/gegis/config/data/namespace.do
> > 34547 [http-5555-Processor17] INFO
> >
> org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/gegis].[acti
> > on]
> > - Servlet action is currently unavailable
> > ERROR compiling
> http://gisaalter.dyndns.org:5555/gegis/config/data/style.do
> > 34672 [http-5555-Processor16] INFO
> >
> org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/gegis].[acti
> > on]
> > - Servlet action is currently unavailable
> > ERROR compiling
> > http://gisaalter.dyndns.org:5555/gegis/config/validation/index.do
> > 34750 [http-5555-Processor15] INFO
> >
> org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/gegis].[acti
> > on]
> > - Servlet action is currently unavailable
> > ERROR compiling
> > http://gisaalter.dyndns.org:5555/gegis/config/validation/test.do
> > 34906 [http-5555-Processor14] INFO
> >
> org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/gegis].[acti
> > on]
> > - Servlet action is currently unavailable
> >
> > Ik doe nog een aantal pogingen.
> >
> > Groet
> > Steven
> >
> >
> > On 5/11/07, Dirk Frigne <dirk.frigne op dfc.be> wrote:
> > > Steven,
> > >
> > > Ik vermoed dat dit een configuratieprobleem zal zijn.
> > > Kijk eens of je eerder geen errors vindt in je logfile.
> > >
> > > Dirk
> > >
> > > ir Dirk Frigne
> > > DFC Software Engineering
> > > Brugsesteenweg 587
> > > B-9030 Gent
> > > Belgium
> > > T: +32 9 236 61 96
> > > F: +32 9 236 54 12
> > > E: dirk.frigne op dfc.be
> > > W: www.dfc.be
> > > www.gegis.org
> > > www.cadrie.com
> > > www.frigne.be
> > >
> > >
> > >
> > > >-----Oorspronkelijk bericht-----
> > > >Van: list-bounces op gegis.org [mailto:list-bounces op gegis.org] Namens
> Steven
> > > De
> > > >Vriendt
> > > >Verzonden: donderdag 10 mei 2007 20:10
> > > >Aan: list op gegis.org
> > > >Onderwerp: [geGIS] HTTP Status 404 - Servlet action is not available
> > > >
> > > >Collega's,
> > > >
> > > >Krijg een vreemde melding na het heropstarten van Apache Tomcat.
> > > >Het inlogvenster van gegis is bereikbaar, doch na het inloggen krijg ik
> > > >volgende melding:
> > > >
> > > >HTTP Status 404 - Servlet action is not available
> > > >
> > >
> >
> >---------------------------------------------------------------------------
> > > -----
> > > >
> > > >type Status report
> > > >
> > > >message Servlet action is not available
> > > >
> > > >description The requested resource (Servlet action is not available)
> > > >is not available.
> > > >
> > > >Wanneer ik de Apache-log dieper bekijk bots ik op volgende lijnen:
> > > >
> > > >30969 [Thread-1] INFO
> > > >org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/gegis]
> > > >- Marking servlet action as unavailable
> > > >30969 [Thread-1] ERROR
> > > >org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/gegis]
> > > >- Servlet /gegis threw load() exception
> > > >javax.servlet.UnavailableException
> > > >
> > > >De Apache-testpagina is echter bereikbaar, gegis weigert echter alle
> > > dienst...
> > > >
> > > >Dank voor het behandelen van dit probleem !
> > > >
> > > >Groet
> > > >Steven
> > > >_______________________________________________
> > > >List mailing list
> > > >List op gegis.org
> > > >http://www.gegis.org/mailman/listinfo/list
> > >
> > >
> > _______________________________________________
> > List mailing list
> > List op gegis.org
> > http://www.gegis.org/mailman/listinfo/list
> >
> >
>
>
------------- volgend deel ------------
Een niet-tekst bijlage is verwijderd...
Naam: stdout_20070511.log
Type: application/octet-stream
Grootte: 49824 bytes
Omschrijving: niet beschikbaar
Url : http://www.gegis.org/pipermail/list/attachments/20070511/7ab8662e/attachment-0001.obj
Meer informatie over de List
maillijst