Please zip your geoserver data dir and send me the zip file. I must have a look at your configuration, otherwise we are playing ping pong here.
Cheers Christian Quoting Jérémie Pedoia <[email protected]>: > I checked that and I have lost feature-pregeneralized*.jar in my multiple > uninstall-install... > I put it back. > There is no problem at the pregeneralized data store creation > but when I want to publish layers, > geoserver does not find the data store: > Caused by: java.lang.RuntimeException: java.io.IOException: Data store named > dspg_rhs in workspace ws_rhs not found > My two jar files are not in the same versions, do you think this can make > this error? > Cheers > > 2011/3/30 <[email protected]> > >> I had exact this problem with another user yesterday. >> >> Please check your <geoserver_install_dir>WEB-INF/lib directory. >> You must find two jar files >> >> feature-pregeneralized*.jar >> gt-feature-pregeneralized*.jar >> >> Use a zip or jar utility to list the content of the first, you must see >> >> org/geoserver/data/gen/info/GeneralizationInfosProviderImpl.class >> >> >> Cheers >> Christian >> >> >> Quoting Jérémie Pedoia <[email protected]>: >> >> Hi. >>> >>> Whatever I specify for my xml path, Geoserver returns to me >>> the previous error: "Error creating data store, check the parameters. >>> Error message: >>> org.geoserver.data.gen.info.GeneralizationInfosProviderImpl" >>> >>> I join the geoserver.log as wished. >>> Thank you for all. >>> >>> 2011/3/29 <[email protected]> >>> >>> 1) >>>> If your xml file is in >>>> >>>> GEOSERVER_DATA_DIR/data/rhs.xml then you can specifiy a relative path >>>> >>>> data/rhs.xml >>>> >>>> 2) >>>> Im not working with Windows, bat ASFAIK an absolute file URL is like >>>> >>>> file:///C:/Documents/..... >>>> >>>> Please try 1), if you get a strack trace in the >>>> GEOSERVER_DATA_DIR/logs/geoserver.log, send me the log file. >>>> >>>> Cheers >>>> Chrstian >>>> >>>> >>>> >>>> Quoting Jérémie Pedoia <[email protected]>: >>>> >>>> Hi, >>>> >>>>> Following your indications, I changed geotools by geoserver >>>>> but geoserver returns while saving data store this error message: >>>>> "Error creating data store, check the parameters. Error message: >>>>> org.geoserver.data.gen.info.GeneralizationInfosProviderImpl" >>>>> I am on windows and I have to specify entire pathes like " >>>>> http://localhost:8080/geoserver/data/rhs.xml" for xml. >>>>> Geoserver does not support pathes like file:data/rhs.xml >>>>> Is there any link with the error? >>>>> Any clue? >>>>> Thank you for your help. >>>>> >>>>> 2011/3/28 <[email protected]> >>>>> >>>>> Hi looking at your description, I see the problem. >>>>> >>>>>> >>>>>> Take a look at the tutorial you followed, the last sentence before the >>>>>> section "Conclusion". >>>>>> >>>>>> Also remember to change org.geotools.* to org.geoserver.* in the fields >>>>>> "RepositoryClassName" and "GeneralizationInfosProviderClassName". >>>>>> >>>>>> You simply forget to change geotools to geoserver for the 2 class >>>>>> names. >>>>>> The geotools classes are not aware of any gesoerver concepts and as a >>>>>> consequence, your base layer is not found. >>>>>> >>>>>> Please try and give me a ping, even on successful deployment. >>>>>> >>>>>> Cheers >>>>>> Christian >>>>>> >>>>>> >>>>>> >>>>>> Quoting Jérémie Pedoia <[email protected]>: >>>>>> >>>>>> Hi Christian. >>>>>> >>>>>> Thank you for helping me. >>>>>>> I guess you have seen my new post >>>>>>> here< >>>>>>> >>>>>>> >>>>>>> http://osgeo-org.1803224.n2.nabble.com/Generalizing-data-store-creation-crashes-Geoserver-td6206578.html >>>>>>> > >>>>>>> >>>>>>> . >>>>>>> To answer your request, following is the datastore.xml >>>>>>> the names have changed because I had to delete them, >>>>>>> geoserver crashed. >>>>>>> >>>>>>> >>>>>>> <dataStore> >>>>>>> <id>DataStoreInfoImpl--2dc064c9:12ef926c8f9:-7ffe</id> >>>>>>> <name>reseau_hydro_secondaire</name> >>>>>>> <type>PostGIS</type> >>>>>>> <enabled>true</enabled> >>>>>>> <workspace> >>>>>>> <id>WorkspaceInfoImpl--2dc064c9:12ef926c8f9:-8000</id> >>>>>>> </workspace> >>>>>>> <connectionParameters> >>>>>>> <entry key="Connection timeout">20</entry> >>>>>>> <entry key="port">5432</entry> >>>>>>> <entry key="passwd">postgres</entry> >>>>>>> <entry key="dbtype">postgis</entry> >>>>>>> <entry key="host">localhost</entry> >>>>>>> <entry key="validate connections">false</entry> >>>>>>> <entry key="max connections">10</entry> >>>>>>> <entry key="database">test</entry> >>>>>>> <entry key="namespace">http://localhost:8080/geoserver/</entry> >>>>>>> <entry key="schema">public</entry> >>>>>>> <entry key="Loose bbox">true</entry> >>>>>>> <entry key="Expose primary keys">false</entry> >>>>>>> <entry key="fetch size">1000</entry> >>>>>>> <entry key="Max open prepared statements">50</entry> >>>>>>> <entry key="preparedStatements">false</entry> >>>>>>> <entry key="user">postgres</entry> >>>>>>> <entry key="min connections">1</entry> >>>>>>> </connectionParameters> >>>>>>> </dataStore> >>>>>>> >>>>>>> >>>>>>> thank you again. >>>>>>> >>>>>>> 2011/3/25 <[email protected]> >>>>>>> >>>>>>> We can check on the file system. >>>>>>> >>>>>>> >>>>>>>> cd <GEOSERVER_DATA_DIR> >>>>>>>> >>>>>>>> Here you find a directory "workspaces". >>>>>>>> >>>>>>>> Within this directory, there should a be a directory for each >>>>>>>> namespace, >>>>>>>> in >>>>>>>> your case "test". >>>>>>>> >>>>>>>> Within test you should find a directory named "Reseau_hydro". >>>>>>>> >>>>>>>> Within "Reseau_hydro", there is a filed called datastore.xml >>>>>>>> describing >>>>>>>> the >>>>>>>> store. >>>>>>>> >>>>>>>> Can you check this ? >>>>>>>> >>>>>>>> Cheers >>>>>>>> Christian >>>>>>>> >>>>>>>> >>>>>>>> Quoting jeee <[email protected]>: >>>>>>>> >>>>>>>> Hi all, >>>>>>>> >>>>>>>> I fixed the previous error. >>>>>>>> >>>>>>>>> It was a xml parsing error. I had spaces before "<?xml..." >>>>>>>>> So I have a new one. In geoserver log, Data store named Reseau_hydro >>>>>>>>> in >>>>>>>>> workspace test not found. >>>>>>>>> I do not understand because my postgis data store is named >>>>>>>>> Reseau_hydro >>>>>>>>> in >>>>>>>>> the test workspace. >>>>>>>>> Any idea. Thank you. >>>>>>>>> jeee >>>>>>>>> >>>>>>>>> -- >>>>>>>>> View this message in context: >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> http://osgeo-org.1803224.n2.nabble.com/PostGis-feature-pregeneralized-trouble-tp6202854p6205852.html >>>>>>>>> Sent from the GeoServer - User mailing list archive at Nabble.com. >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> ------------------------------------------------------------------------------ >>>>>>>>> Enable your software for Intel(R) Active Management Technology to >>>>>>>>> meet >>>>>>>>> the >>>>>>>>> growing manageability and security demands of your customers. >>>>>>>>> Businesses >>>>>>>>> are taking advantage of Intel(R) vPro (TM) technology - will your >>>>>>>>> software >>>>>>>>> be a part of the solution? Download the Intel(R) Manageability >>>>>>>>> Checker >>>>>>>>> today! http://p.sf.net/sfu/intel-dev2devmar >>>>>>>>> _______________________________________________ >>>>>>>>> Geoserver-users mailing list >>>>>>>>> [email protected] >>>>>>>>> https://lists.sourceforge.net/lists/listinfo/geoserver-users >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> ---------------------------------------------------------------- >>>>>>>> This message was sent using IMP, the Internet Messaging Program. >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>> Pedoia Jérémie - Technicien SIG >>>>>>> Etudiant du master 2 SIGMA >>>>>>> Université Toulouse II - Le Mirail >>>>>>> @: [email protected] >>>>>>> skype: jeremie.pedoia >>>>>>> CV: http://jeremie.pedoia.optis-heberge.fr/ >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>> ---------------------------------------------------------------- >>>>>> This message was sent using IMP, the Internet Messaging Program. >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>> -- >>>>> Pedoia Jérémie - Technicien SIG >>>>> Etudiant du master 2 SIGMA >>>>> Université Toulouse II - Le Mirail >>>>> @: [email protected] >>>>> skype: jeremie.pedoia >>>>> CV: http://jeremie.pedoia.optis-heberge.fr/ >>>>> >>>>> >>>>> >>>> >>>> ---------------------------------------------------------------- >>>> This message was sent using IMP, the Internet Messaging Program. >>>> >>>> >>>> >>>> >>> >>> -- >>> Pedoia Jérémie - Technicien SIG >>> Etudiant du master 2 SIGMA >>> Université Toulouse II - Le Mirail >>> @: [email protected] >>> skype: jeremie.pedoia >>> CV: http://jeremie.pedoia.optis-heberge.fr/ >>> >>> >> >> >> ---------------------------------------------------------------- >> This message was sent using IMP, the Internet Messaging Program. >> >> >> > > > -- > Pedoia Jérémie - Technicien SIG > Etudiant du master 2 SIGMA > Université Toulouse II - Le Mirail > @: [email protected] > skype: jeremie.pedoia > CV: http://jeremie.pedoia.optis-heberge.fr/ > ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
