[Live-demo] Enable JSONP for GeoServer
Patric Hafner | geOps
patric.hafner at geops.de
Wed Jul 10 00:50:18 PDT 2013
Am 09.07.2013 23:39, schrieb Hamish:
> Patric:
>> I agree. Sine rev 10338, install_geoserver.sh will create file
>> /etc/profile.d/geoserver.sh and export variable JAVA_OPTS to enable
>> JSONP. I am going to check the next build the verify it.
>
> that's not what I had in mind; I've just commented out the change.
>
> If start_geoserver.sh needs special Java opts, then those should
> go into the start_geoserver.sh script, not be applied system wide.
Thats what I have suggested in my first mail:
>>> 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"
Is this what you thought about?
Best regards,
Patric
--
web www.geops.de
rss www.geops.de/blog/feed
follow www.twitter.com/geops
More information about the Osgeolive
mailing list