Awesome! You found the error. I changed the data store ID of the datastore.xml and it seemed to work. Obviously, the source of that problem was I myself without myself noticing that I did smth fatal...
Cheers Andrea Aime! On 31.08.2011 09:21, Andrea Aime wrote: > On Tue, Aug 30, 2011 at 1:04 PM, Philippe Rufin > <[email protected]> wrote: >> 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://pastebin.com/JYwrSrHY ) and if you just want to read the "caused by" >> clauses, check here ( http://pastebin.com/aFcZ9YJj)! > 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.openplans.org/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 > > Via Poggio alle Viti 1187 > 55054 Massarosa (LU) > Italy > > phone: +39 0584 962313 > fax: +39 0584 962313 > > http://www.geo-solutions.it > http://geo-solutions.blogspot.com/ > http://www.youtube.com/user/GeoSolutionsIT > http://www.linkedin.com/in/andreaaime > http://twitter.com/geowolf > > ------------------------------------------------------- ------------------------------------------------------------------------------ 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.sf.net/sfu/arcsisghtdev2dev _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
