On Fri, Oct 8, 2010 at 9:16 AM, Miles Jordan <[email protected]> wrote:
> Andrea Aime wrote:
>> On Fri, Oct 8, 2010 at 2:19 AM, Miles Jordan <[email protected]>
>> wrote:
>>> Does Geoserver 2.1 change the structure of the data directory at
>> all?
>>
>> It does add some elements in the xml config files.
>> Data directories are backwards compatible, not forwards, meaning once
>> you use them with version n+1 you cannot generally go back to n
>> without manually fixing the dir.
>>
>>> I deployed 2.1 on my testing server (Ubuntu 8.4/Tomcat 6/war) and
>> then undeployed it but now when I try starting 2.0.2 again it fails
>> with:
>>>
>>> CannotResolveClassException: coverageAccess
>>
>> Hum... I know a virtual services element was added in global.xml, as
>> well as a coverage access one.
>> Remove them both and 2.0.2 might be able to open the data dir (unless
>> I'm forgetting other additions).
>
> Too late.. I restored a backed up copy and it works again. Good to know that 
> it's not backwards compatible though. All good :p

Backwards compatible it is: version N can always read data directories
created by version N-X (with a small X ;-) )
Forwards compatible it is not: version N cannot read data directories
created by N+X

Cheers
Andrea

-----------------------------------------------------
Ing. Andrea Aime
Senior Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584962313
fax:     +39 0584962313

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf

-----------------------------------------------------

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to