[Live-demo] [OSGeo] #1136: Cartaro not working after GeoServer upgrade

OSGeo trac_osgeo at osgeo.org
Mon Jul 15 01:22:14 PDT 2013


#1136: Cartaro not working after GeoServer upgrade
---------------------+------------------------------------------------------
 Reporter:  kalxas   |       Owner:  live-demo@…              
     Type:  defect   |      Status:  new                      
 Priority:  major    |   Milestone:  OSGeoLive7.0             
Component:  LiveDVD  |    Keywords:                           
---------------------+------------------------------------------------------

Comment(by phaf):

 Yes, I can confirm this. This happens, because JSON_P is still not enabled
 (the change in commit r10338 was removed).

 For me it is unclear which way of activating would be acceptable for all
 (but activating in general seems to be okay for everybody). We had several
 discussions on the mailinglist but without result.

 I see two options:

 a) Modifying install_geoserver.sh to add the it directly to the startup
 script

 >>> In order to run Cartaro with GeoServer 2.3, it is necessary to set the
 >>> java system variable ENABLE_JSONP=true to enable the JSONP
 >>> (text/javascript) output format.
 >>> This can be done in /usr/local/lib/geoserver-2.3.2/bin/startup.sh
 Line 71
 >>>
 >>> -  export JAVA_OPTS="-XX:MaxPermSize=128m"
 >>> +  export JAVA_OPTS="-XX:MaxPermSize=128m -DENABLE_JSONP=true"

 b) Change startup script for Cartaro (start_cartaro.sh) and export
 JAVA_OPTS there before GeoServer will be started.


 I would prefer the second option. What do you think?

-- 
Ticket URL: <http://trac.osgeo.org/osgeo/ticket/1136#comment:6>
OSGeo <http://www.osgeo.org/>
OSGeo committee and general foundation issue tracker.


More information about the Live-demo mailing list