分享

GeoServer HTTP ERROR: 503

 LibraryPKU 2013-10-09
Hi everybody,

I′ve seen this question was asked before but I couldn′t find any solution to the problem. Since yesterday, my Geoserver does not reply on any requests anymore, I can′t even access the Geoserver UI. I didn′t change any settings since the last time I used Geoserver and it worked fine then. This is the HTTP error message:

HTTP ERROR: 503
SERVICE_UNAVAILABLE
RequestURI=/geoserver/web
Powered by jetty://

Has anybody experienced something similar? I posted the error log here ( http:///JYwrSrHY ) and if you just want to read the "caused by" clauses, check here ( http:///aFcZ9YJj)!

Any help is appreciated!

Philippe
------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p./sfu/arcsisghtdev2dev
_______________________________________________
Geoserver-users mailing list
Geoserver-users <at> lists.
https://lists./lists/listinfo/geoserver-users

Re: GeoServer HTTP ERROR: 503

GeoServer is not starting up anymore because its configuration is ruined:
        at org.geoserver.config.DefaultGeoServerLoader.loadCatalog(DefaultGeoServerLoader.java:37)

Nested in org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'gwcCatalogConfiguration' defined in URL
[jar:file:/C:/Program%20Files%20(x86)/OpenGeo/OpenGeo%20Suite/webapps/geoserver/WEB-INF/lib/gwc-2.1-SNAPSHOT.jar!/geowebcache-geoserver-context.xml]:
Cannot resolve reference to bean 'rawCatalog' while setting
constructor argument; nested exception is
org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'rawCatalog' defined in URL
[jar:file:/C:/Program%20Files%20(x86)/OpenGeo/OpenGeo%20Suite/webapps/geoserver/WEB-INF/lib/main-2.1-SNAPSHOT.jar!/applicationContext.xml]:
Initialization of bean failed; nested exception is
java.lang.RuntimeException: java.lang.IllegalArgumentException:
Resource must be part of a store:
java.lang.IllegalArgumentException: Resource must be part of a store
        at org.geoserver.catalog.impl.CatalogImpl.validate(CatalogImpl.java:368)
        at org.geoserver.catalog.impl.CatalogImpl.add(CatalogImpl.java:354)
        at org.geoserver.config.GeoServerLoader.readCatalog(GeoServerLoader.java:382)
        at org.geoserver.config.GeoServerLoader.readCatalog(GeoServerLoader.java:220)

As far as I can see you have a layer sitting around whose store has
been deleted.
This should never happen, did you try to modify the on disk GeoServer
catalog configuration
by hand? My guess is that the id of the feature types/coverage in the
store "cases" do not
match the one of the store file itself.

For example, the states_shapefile store.xml has:

<dataStore>
<id>DataStoreInfoImpl--570ae188:124761b8d78:-7fd9</id>
<name>states_shapefile</name>
<enabled>true</enabled>
<workspace>
<id>WorkspaceInfoImpl--570ae188:124761b8d78:-7ffd</id>
</workspace>
<connectionParameters>
<entry key="namespace">http://www./topp</entry>
<entry key="url">file:data/shapefiles/states.shp</entry>
</connectionParameters>
</dataStore>

and the featuretype.xml contained in the states sub-directory has:

<featureType>
<id>FeatureTypeInfoImpl--570ae188:124761b8d78:-7fc1</id>
...
<store class="dataStore">
<id>DataStoreInfoImpl--570ae188:124761b8d78:-7fd9</id>
</store>
</featureType>

The featureType/store/id element must match the store id.

Cheers
Andrea

--
-------------------------------------------------------
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead


    本站是提供个人知识管理的网络存储空间,所有内容均由用户发布,不代表本站观点。请注意甄别内容中的联系方式、诱导购买等信息,谨防诈骗。如发现有害或侵权内容,请点击一键举报。
    转藏 分享 献花(0

    0条评论

    发表

    请遵守用户 评论公约

    类似文章 更多