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.



------------------------------------------------------------------------------
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

Reply via email to