[Geoserver-devel] Supporting JAI-EXT Enabling System property flag

Hi lists (sorry for cross-posting).
Since feature freeze is coming, we did some internal discussion about the capability to fully disable/enable JAI-EXT operations in GeoServer.
As you may have noticed, right now there is already a section in the JAI GUI page which allows to decide for each supported operation (add, multiply, mosaic, affine, …) whether to use the standard JAI one or the JAI-EXT’s one instead.
http://docs.geoserver.org/latest/en/user/webadmin/server/JAI.html

However, since JAI-EXT operations are relatively new, we would like to make sure they can be fully turned off (together with the related subsection in GeoServer GUI). Moreover, being a new feature coming with 2.8.x we would like to keep it disabled by default.

Server admins would turn it on with something like
-Dorg.geotools.jaiext.enabled=true at startup script.

Therefore, I’m going to add support for this flag.
(I will for sure open JIRA and pull requests for this)

Hope this helps.
Cheers,
Daniele

···

==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.

Ing. Daniele Romagnoli
Senior Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272

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.

Thanks Daniele, Andrea mentioned it in the meeting yesterday so the change is expected.

Personally I have a bit of trouble keeping track of all these system property flags in GeoServer. But hesitate at adding them to the documentation as each seem to represent an internal experiment.

···

On 26 August 2015 at 09:19, Daniele Romagnoli <daniele.romagnoli@anonymised.com> wrote:

Hi lists (sorry for cross-posting).
Since feature freeze is coming, we did some internal discussion about the capability to fully disable/enable JAI-EXT operations in GeoServer.
As you may have noticed, right now there is already a section in the JAI GUI page which allows to decide for each supported operation (add, multiply, mosaic, affine, …) whether to use the standard JAI one or the JAI-EXT’s one instead.
http://docs.geoserver.org/latest/en/user/webadmin/server/JAI.html

However, since JAI-EXT operations are relatively new, we would like to make sure they can be fully turned off (together with the related subsection in GeoServer GUI). Moreover, being a new feature coming with 2.8.x we would like to keep it disabled by default.

Server admins would turn it on with something like
-Dorg.geotools.jaiext.enabled=true at startup script.

Therefore, I’m going to add support for this flag.
(I will for sure open JIRA and pull requests for this)

Hope this helps.
Cheers,
Daniele

==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.

Ing. Daniele Romagnoli
Senior Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272

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.



GeoTools-Devel mailing list
GeoTools-Devel@anonymised.coms.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel


Jody Garnett

On Wed, Aug 26, 2015 at 6:24 PM, Jody Garnett <jody.garnett@anonymised.com>
wrote:

Thanks Daniele, Andrea mentioned it in the meeting yesterday so the change
is expected.

Personally I have a bit of trouble keeping track of all these system
property flags in GeoServer. But hesitate at adding them to the
documentation as each seem to represent an internal experiment.

I don't know how can you see most of them as "internal experiments".

Most of them are there to allow usage of a new system vs old system, either
allowing people in need to try the new system
that is known to not be as functional as the old one, or have the new one
work by default, but allow a fallback
to the old one in case something goes belly up when people actually try
stuff on their machines (as we all know, we
receive little/no testing from betas by the user base, so this is just
being cautious to me).

As for documenting them, I guess it's case by case, but most of the time,
we probably don't want to,
or we might want to lump them all in a "advanced and hopefully not useful"
section for the people
that want to go the extra mile, as the default is the choice making sense
for the majority of users.

Cheers
Andrea

--

GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V 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.

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

Perhaps my language choice was poor, the difference between old/new system should mostly be hidden. The system property toggle allows someone deploying geoserver to swap between implementations if needed.

This is different from a Hint which explicitly makes the choice up to the programmer (although a default can be provided by a system property).

···

On 26 August 2015 at 10:08, Andrea Aime <andrea.aime@anonymised.com> wrote:


Jody Garnett

On Wed, Aug 26, 2015 at 6:24 PM, Jody Garnett <jody.garnett@anonymised.com> wrote:

Thanks Daniele, Andrea mentioned it in the meeting yesterday so the change is expected.

Personally I have a bit of trouble keeping track of all these system property flags in GeoServer. But hesitate at adding them to the documentation as each seem to represent an internal experiment.

I don’t know how can you see most of them as “internal experiments”.

Most of them are there to allow usage of a new system vs old system, either allowing people in need to try the new system
that is known to not be as functional as the old one, or have the new one work by default, but allow a fallback
to the old one in case something goes belly up when people actually try stuff on their machines (as we all know, we
receive little/no testing from betas by the user base, so this is just being cautious to me).

As for documenting them, I guess it’s case by case, but most of the time, we probably don’t want to,
or we might want to lump them all in a “advanced and hopefully not useful” section for the people
that want to go the extra mile, as the default is the choice making sense for the majority of users.

Cheers
Andrea

==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V 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.