I reverted again and my json problem went away – I think I will stick with 2.5 for now
I did move my data_dir though but via environment variable as its a windows machine
···
Mark Ismail
Principal IT Officer
Tel: 0151 443 3021
Knowsley Council ê Westmorland Road ê Huyton ê L36 9GL
Save time – use the IT Service Desk Self Serve Application
From: Ismail, Mark [mailto:mark.ismail@…6440…]
Sent: 05 June 2014 13:28
To: ‘Stefano Iacovella’
Cc: geoserver mailing list (geoserver-users@lists.sourceforge.net)
Subject: Re: [Geoserver-users] Recommended method to upgrade 2.5 to 2.5.1
I did as you suggested Stefano and I have moved my data_dir and all seemed fine until I did a wmsgetfeatureinfo
Getting an error from openlayers.js
Unhandled exception at line 450, column 350 in http://localhost:51416/Scripts/openlayers/OpenLayers.js
0x800a03ea - JavaScript runtime error: Syntax error
The error is something to do with parsing json
I will revert the server again and see if it is something to do with the 2.5.1 installation handling JSON calls differently
Mark Ismail
Principal IT Officer
Tel: 0151 443 3021
Knowsley Council ê Westmorland Road ê Huyton ê L36 9GL
Save time – use the IT Service Desk Self Serve Application
From: Stefano Iacovella [mailto:stefano.iacovella@…84…]
Sent: 05 June 2014 12:02
To: Ismail, Mark
Cc: geoserver mailing list (geoserver-users@lists.sourceforge.net)
Subject: Re: [Geoserver-users] Recommended method to upgrade 2.5 to 2.5.1
2014-06-05 12:56 GMT+02:00 Ismail, Mark <mark.ismail@…6440…>:
I didn’t use a custom folder – I went for default installation and setup – I will go read up on it
Just restore the snapshot of your virtual machine, then copy the data_directory contents to another folder on the file system. Then upgrade to 2.5.1, open the web.xml file and serarch for the following code:
GEOSERVER_DATA_DIR
/opt/data_dir_geoserver
Uncomment it, as it is commented by default, and change the value to the location where you saved your data_directory contents.
Stefano
41.95581N 12.52854E
http://www.linkedin.com/in/stefanoiacovella
http://twitter.com/#!/Iacovellas
This e-mail and any attachments are confidential. It may contain privileged information and is intended for the named recipient(s) only. It must not be distributed without consent. If you are not one of the intended recipients, please notify the sender immediately and do not disclose, distribute, or retain this email or any part of it and do not take any action based on it.
Unless expressly stated, opinions in this email are those of the individual sender, and not of Knowsley MBC. Legally binding obligations can only be created for, or be entered into on behalf of, Knowsley MBC by duly authorised officers or representatives.
Knowsley MBC excludes any liability whatsoever for any offence caused, any direct or consequential loss arising from the use, or reliance on, this e-mail or its contents. We believe but do not warrant that this e-mail and any attachments are virus free. You must therefore take full responsibility for virus checking and no responsibility is accepted for loss or damage arising from viruses or changes made to this message after it was sent. Knowsley MBC reserves the right to monitor and/or record all e-mail communications through its network in accordance with relevant legislation.