I recently turned into a noob regarding geoserver jboss. I managed to
get geoserver running on Jboss and started adding layers
enthousiastically. Then I stopped and restarted JBoss. And then the
data_dir got reset as that is what JBoss does...

So, when you deploy on JBoss ALWAYS use an external data_dir.

(from the person who found out the hard way ;-)

2015-02-26 10:29 GMT+01:00 Just van den Broecke <[email protected]>:
> Fellow countrymen: I agree with Andrea: throughout the years I made many
> GeoServer 2.x upgrades up to recent 2.6.2 without issues, using the
> same,separate GS data dir, e.g. specified using an env var in
> /etc/default/tomcat on Ubuntu.
>
> What could cause problems though are various kinds of temporary files:
> to begin with caching/cookies in your browser possibly causing Wicket
> errors. Shift-reload may already help here. Plus possibly server
> container temp files like under the Tomcat work dir. In case of any
> problems, cleaning temporaries is a first action. Caching is a blessing
> and a curse ;-).
>
> best,
>
> Just
>
> On 24-02-15 14:22, Roel De Nijs wrote:
>> After Richard’s reply I decided to start from scratch using a fresh data
>> directory from the geoserver 2.6.2 war. Deleted all demo workspaces and
>> copied our workspaces from the old data directory. Restarted geoserver
>> and all previously mentioned problems have vanished. I can preview
>> layers again and delete layers. Yay!
>>
>> Thanks guys for the help and putting me in the right direction!
>>
>> *Van:*Andrea Aime [mailto:[email protected]]
>> *Verzonden:* maandag 23 februari 2015 14:03
>> *Aan:* Richard Duivenvoorde
>> *CC:* GeoServer Mailing List List
>> *Onderwerp:* Re: [Geoserver-users] web admin interface broken in geoserver
>>
>> On Mon, Feb 23, 2015 at 1:18 PM, Richard Duivenvoorde
>> <[email protected] <mailto:[email protected]>> wrote:
>>
>>
>>     Hi Roel,
>>
>>     if I remember correct I had the same problem upgrading to 2.6
>>     (and the wicket stacktraces are not very helpfull)
>>
>>     by 'merging/overwriting' my external data directory with the 2.6 data
>>     directory I managed to apparently get stuff back which were
>>     needed/changed(?) in wicket/templates. (maybe vars defined in compiled
>>     jsp pages or so??)
>>     But I lost my 'default polygon/point styles' because of this copy for
>>     example, giving problems with layers which used those.
>>
>>     I lost some confidence in the 'upgrading'-scenario's of Geoserver
>>     because of this. IF working with a external data directory, things
>>     should not brake when you upgrade. I can imagine that there is some new
>>     stuff needed (templates, variables whatever), but it would be nice if
>>     you can do an 'easy' upgrade of your external data dir then.
>>
>> GeoServer upgrades are indeed meant to be uneventful, and all the tests
>>
>> we run in GeoServer are actually running against older versions of data
>> directory
>>
>> syntaxes (we just never needed to upgrade them to the current content of
>>
>> the xml files.).
>>
>> However, if people do not provide reproducible ways to trigger the problems,
>>
>> there is nothing we can do to fix them
>>
>> Personally I haven't encountered problems in normal project activity
>>
>> Cheers
>>
>> Andrea
>>
>> --
>>
>> ==
>>
>> GeoServer Professional Services from the experts! Visit
>>
>> http://goo.gl/NWWaa2 for more information.
>>
>> ==
>>
>> Ing. Andrea Aime
>>
>> @geowolf
>>
>> Technical Lead
>>
>> GeoSolutions S.A.S.
>>
>> Via Poggio alle Viti 1187
>>
>> 55054  Massarosa (LU)
>>
>> Italy
>>
>> phone: +39 0584 962313
>>
>> fax: +39 0584 1660272
>>
>> mob: +39 339 8844549
>>
>> http://www.geo-solutions.it
>>
>> http://twitter.com/geosolutions_it
>>
>> *AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*
>>
>> Le informazioni contenute in questo messaggio di posta elettronica e/o
>> nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
>> loro utilizzo è consentito esclusivamente al destinatario del messaggio,
>> per le finalità indicate nel messaggio stesso. Qualora riceviate questo
>> messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
>> darcene notizia via e-mail e di procedere alla distruzione del messaggio
>> stesso, cancellandolo dal Vostro sistema. Conservare il messaggio
>> stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti,
>> copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento
>> contrario ai principi dettati dal D.Lgs. 196/2003.
>>
>> The information in this message and/or attachments, is intended solely
>> for the attention and use of the named addressee(s) and may be
>> confidential or proprietary in nature or covered by the provisions of
>> privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New Data
>> Protection Code).Any use not in accord with its purpose, any disclosure,
>> reproduction, copying, distribution, or either dissemination, either
>> whole or partial, is strictly forbidden except previous formal approval
>> of the named addressee(s). If you are not the intended recipient, please
>> contact immediately the sender by telephone, fax or e-mail and delete
>> the information in this message that has been received in error. The
>> sender does not give any warranty or accept liability as the content,
>> accuracy or completeness of sent messages and accepts no responsibility
>> for changes made after they were sent or for other risks which arise as
>> a result of e-mail transmission, viruses, etc.
>>
>> -------------------------------------------------------
>>
>> Congres publieke ruimte <http://www.congrespubliekeruimte.be>
>> ------------------------------------------------------------------------
>>
>> /Volg Aquafin op Facebook <https://www.facebook.com/AquafinNV> | Twitter
>> <https://twitter.com/aquafinnv> | YouTube
>> <http://www.youtube.com/channel/UCk_4P5BJ-MtEEDCkCsR_KqQ?feature=mhee> |
>> LinkedIN <http://www.linkedin.com/company/aquafin/products> /
>>
>> Disclaimer: zie www.aquafin.be <http://www.aquafin.be> P Denk aan het
>> milieu. Druk deze mail niet onnodig af.
>>
>>
>> ------------------------------------------------------------------------------
>> Dive into the World of Parallel Programming The Go Parallel Website, 
>> sponsored
>> by Intel and developed in partnership with Slashdot Media, is your hub for 
>> all
>> things parallel software development, from weekly thought leadership blogs to
>> news, videos, case studies, tutorials and more. Take a look and join the
>> conversation now. http://goparallel.sourceforge.net/
>>
>>
>>
>> _______________________________________________
>> Geoserver-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>
>
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming The Go Parallel Website, sponsored
> by Intel and developed in partnership with Slashdot Media, is your hub for all
> things parallel software development, from weekly thought leadership blogs to
> news, videos, case studies, tutorials and more. Take a look and join the
> conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users



-- 
Milo van der Linden
dogodigi
t: +31-6-16598808

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to