Possible bug with printing plugin?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

Possible bug with printing plugin?

GeoServer - User mailing list

Hi,

 

I’m getting two errors with the mapFish printing plugin on version 2.14.1. Here are bits of the stack traces (I can send the rest if needed):

 

ERROR: The remote server returned an error: (500) Internal Server Error.

CONTENT: Error while generating PDF:

java.lang.NoClassDefFoundError: com/vividsolutions/jts/geom/Geometry

at org.mapfish.print.map.renderers.TileRenderer.(TileRenderer.java:39)

at org.mapfish.print.map.readers.HTTPMapReader.render(HTTPMapReader.java:145)

at org.mapfish.print.map.readers.WMSMapReader.render(WMSMapReader.java:180)

For this one, could it be linked to the message here (https://docs.geoserver.org/stable/en/user/installation/upgrade.html)?

 

Second error reads:

ERROR: The remote server returned an error: (500) Internal Server Error.

CONTENT: Error while generating PDF:

java.lang.NoClassDefFoundError: Could not initialize class org.mapfish.print.map.renderers.TileRenderer

at org.mapfish.print.map.readers.HTTPMapReader.render(HTTPMapReader.java:145)

at org.mapfish.print.map.readers.WMSMapReader.render(WMSMapReader.java:180)

 

Do these look like bugs with that plugin or have I missed a configuration step whilst upgrading?

 

Thanks,

Paul

"This e-mail is intended for the named addressee(s) only and may contain information about individuals or other sensitive information and should be handled accordingly. Unless you are the named addressee (or authorised to receive it for the addressee) you may not copy or use it, or disclose it to anyone else. If you have received this email in error, kindly disregard the content of the message and notify the sender immediately. Please be aware that all email may be subject to recording and/or monitoring in accordance with relevant legislation."

_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this list:
- Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


[hidden email]
https://lists.sourceforge.net/lists/listinfo/geoserver-users
Reply | Threaded
Open this post in threaded view
|

Re: Possible bug with printing plugin?

geowolf
Hi Paul,
this smells like a result of the JTS upgrade, unfortunately GeoServer is using an old version of
mapfish (with no funds in sight to upgrade to the latest, I'm afraid, I've been told it's not an easy switch).

My guess is that you might get that to work by dropping an older version of JTS in GeoServe in parallel
with the current one, the new and the old ones are using different package names, so they should
not conflict with each other

Cheers
Andrea


On Fri, Nov 30, 2018 at 6:29 PM Paul Wittle via Geoserver-users <[hidden email]> wrote:

Hi,

 

I’m getting two errors with the mapFish printing plugin on version 2.14.1. Here are bits of the stack traces (I can send the rest if needed):

 

ERROR: The remote server returned an error: (500) Internal Server Error.

CONTENT: Error while generating PDF:

java.lang.NoClassDefFoundError: com/vividsolutions/jts/geom/Geometry

at org.mapfish.print.map.renderers.TileRenderer.(TileRenderer.java:39)

at org.mapfish.print.map.readers.HTTPMapReader.render(HTTPMapReader.java:145)

at org.mapfish.print.map.readers.WMSMapReader.render(WMSMapReader.java:180)

For this one, could it be linked to the message here (https://docs.geoserver.org/stable/en/user/installation/upgrade.html)?

 

Second error reads:

ERROR: The remote server returned an error: (500) Internal Server Error.

CONTENT: Error while generating PDF:

java.lang.NoClassDefFoundError: Could not initialize class org.mapfish.print.map.renderers.TileRenderer

at org.mapfish.print.map.readers.HTTPMapReader.render(HTTPMapReader.java:145)

at org.mapfish.print.map.readers.WMSMapReader.render(WMSMapReader.java:180)

 

Do these look like bugs with that plugin or have I missed a configuration step whilst upgrading?

 

Thanks,

Paul

"This e-mail is intended for the named addressee(s) only and may contain information about individuals or other sensitive information and should be handled accordingly. Unless you are the named addressee (or authorised to receive it for the addressee) you may not copy or use it, or disclose it to anyone else. If you have received this email in error, kindly disregard the content of the message and notify the sender immediately. Please be aware that all email may be subject to recording and/or monitoring in accordance with relevant legislation."
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this list:
- Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


[hidden email]
https://lists.sourceforge.net/lists/listinfo/geoserver-users


--

Regards, Andrea Aime == 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 di Montramito 3/A 55054 Massarosa (LU) phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it ------------------------------------------------------- Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia. This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail.



_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this list:
- Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


[hidden email]
https://lists.sourceforge.net/lists/listinfo/geoserver-users
Reply | Threaded
Open this post in threaded view
|

Re: Possible bug with printing plugin?

Alessio Fabiani-2
The following branch (2.1.3) [1] of the library, fixes the JTS dependencies.

The jars are also available through the GeoSolutions Maven Repository.



Il giorno ven 30 nov 2018 alle ore 19:30 Andrea Aime <[hidden email]> ha scritto:
Hi Paul,
this smells like a result of the JTS upgrade, unfortunately GeoServer is using an old version of
mapfish (with no funds in sight to upgrade to the latest, I'm afraid, I've been told it's not an easy switch).

My guess is that you might get that to work by dropping an older version of JTS in GeoServe in parallel
with the current one, the new and the old ones are using different package names, so they should
not conflict with each other

Cheers
Andrea


On Fri, Nov 30, 2018 at 6:29 PM Paul Wittle via Geoserver-users <[hidden email]> wrote:

Hi,

 

I’m getting two errors with the mapFish printing plugin on version 2.14.1. Here are bits of the stack traces (I can send the rest if needed):

 

ERROR: The remote server returned an error: (500) Internal Server Error.

CONTENT: Error while generating PDF:

java.lang.NoClassDefFoundError: com/vividsolutions/jts/geom/Geometry

at org.mapfish.print.map.renderers.TileRenderer.(TileRenderer.java:39)

at org.mapfish.print.map.readers.HTTPMapReader.render(HTTPMapReader.java:145)

at org.mapfish.print.map.readers.WMSMapReader.render(WMSMapReader.java:180)

For this one, could it be linked to the message here (https://docs.geoserver.org/stable/en/user/installation/upgrade.html)?

 

Second error reads:

ERROR: The remote server returned an error: (500) Internal Server Error.

CONTENT: Error while generating PDF:

java.lang.NoClassDefFoundError: Could not initialize class org.mapfish.print.map.renderers.TileRenderer

at org.mapfish.print.map.readers.HTTPMapReader.render(HTTPMapReader.java:145)

at org.mapfish.print.map.readers.WMSMapReader.render(WMSMapReader.java:180)

 

Do these look like bugs with that plugin or have I missed a configuration step whilst upgrading?

 

Thanks,

Paul

"This e-mail is intended for the named addressee(s) only and may contain information about individuals or other sensitive information and should be handled accordingly. Unless you are the named addressee (or authorised to receive it for the addressee) you may not copy or use it, or disclose it to anyone else. If you have received this email in error, kindly disregard the content of the message and notify the sender immediately. Please be aware that all email may be subject to recording and/or monitoring in accordance with relevant legislation."
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this list:
- Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


[hidden email]
https://lists.sourceforge.net/lists/listinfo/geoserver-users


--

Regards, Andrea Aime == 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 di Montramito 3/A 55054 Massarosa (LU) phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it ------------------------------------------------------- Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia. This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail.

_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this list:
- Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


[hidden email]
https://lists.sourceforge.net/lists/listinfo/geoserver-users


--

==

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

@alfa7691
Founder/Technical Lead


GeoSolutions S.A.S.
Via di Montramito 3/A - 55054  Massarosa (LU) - Italy
phone: +39 0584 962313
fax:     +39 0584 1660272
mob:   +39 331 6233686


http://www.geo-solutions.it
http://twitter.com/geosolutions_it
-------------------------------------------------------

Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia.


This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail.



_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this list:
- Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


[hidden email]
https://lists.sourceforge.net/lists/listinfo/geoserver-users
Reply | Threaded
Open this post in threaded view
|

Re: Possible bug with printing plugin?

geowolf
Hi,
can that be made into a release that we can depend on?
I also see there has been a recent fix here done on the official version: https://osgeo-org.atlassian.net/browse/GEOS-8968
So if we switch, we'd have to port over also the missing fixes that went into the official version... seems like they diverged some time ago:

Cheers
Andrea


On Mon, Dec 3, 2018 at 9:38 AM Alessio Fabiani <[hidden email]> wrote:
The following branch (2.1.3) [1] of the library, fixes the JTS dependencies.

The jars are also available through the GeoSolutions Maven Repository.



Il giorno ven 30 nov 2018 alle ore 19:30 Andrea Aime <[hidden email]> ha scritto:
Hi Paul,
this smells like a result of the JTS upgrade, unfortunately GeoServer is using an old version of
mapfish (with no funds in sight to upgrade to the latest, I'm afraid, I've been told it's not an easy switch).

My guess is that you might get that to work by dropping an older version of JTS in GeoServe in parallel
with the current one, the new and the old ones are using different package names, so they should
not conflict with each other

Cheers
Andrea


On Fri, Nov 30, 2018 at 6:29 PM Paul Wittle via Geoserver-users <[hidden email]> wrote:

Hi,

 

I’m getting two errors with the mapFish printing plugin on version 2.14.1. Here are bits of the stack traces (I can send the rest if needed):

 

ERROR: The remote server returned an error: (500) Internal Server Error.

CONTENT: Error while generating PDF:

java.lang.NoClassDefFoundError: com/vividsolutions/jts/geom/Geometry

at org.mapfish.print.map.renderers.TileRenderer.(TileRenderer.java:39)

at org.mapfish.print.map.readers.HTTPMapReader.render(HTTPMapReader.java:145)

at org.mapfish.print.map.readers.WMSMapReader.render(WMSMapReader.java:180)

For this one, could it be linked to the message here (https://docs.geoserver.org/stable/en/user/installation/upgrade.html)?

 

Second error reads:

ERROR: The remote server returned an error: (500) Internal Server Error.

CONTENT: Error while generating PDF:

java.lang.NoClassDefFoundError: Could not initialize class org.mapfish.print.map.renderers.TileRenderer

at org.mapfish.print.map.readers.HTTPMapReader.render(HTTPMapReader.java:145)

at org.mapfish.print.map.readers.WMSMapReader.render(WMSMapReader.java:180)

 

Do these look like bugs with that plugin or have I missed a configuration step whilst upgrading?

 

Thanks,

Paul

"This e-mail is intended for the named addressee(s) only and may contain information about individuals or other sensitive information and should be handled accordingly. Unless you are the named addressee (or authorised to receive it for the addressee) you may not copy or use it, or disclose it to anyone else. If you have received this email in error, kindly disregard the content of the message and notify the sender immediately. Please be aware that all email may be subject to recording and/or monitoring in accordance with relevant legislation."
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this list:
- Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


[hidden email]
https://lists.sourceforge.net/lists/listinfo/geoserver-users


--

Regards, Andrea Aime == 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 di Montramito 3/A 55054 Massarosa (LU) phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it ------------------------------------------------------- Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia. This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail.

_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this list:
- Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


[hidden email]
https://lists.sourceforge.net/lists/listinfo/geoserver-users


--

==

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

@alfa7691
Founder/Technical Lead


GeoSolutions S.A.S.
Via di Montramito 3/A - 55054  Massarosa (LU) - Italy
phone: +39 0584 962313
fax:     +39 0584 1660272
mob:   +39 331 6233686


http://www.geo-solutions.it
http://twitter.com/geosolutions_it
-------------------------------------------------------

Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia.


This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail.



--

Regards, Andrea Aime == 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 di Montramito 3/A 55054 Massarosa (LU) phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it ------------------------------------------------------- Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia. This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail.



_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this list:
- Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


[hidden email]
https://lists.sourceforge.net/lists/listinfo/geoserver-users
Reply | Threaded
Open this post in threaded view
|

Re: Possible bug with printing plugin?

Mauro Bartolomeoli-3
I think we should think about 2 different plans:
1. Short term: fix the printing plugin including old jts jars in the extension build
2. Medium / long: decide what to do with mapfish dependency. Try switching to mapfish 3 or commit patches to 2.1.x (official repo)? 

Il giorno lun 3 dic 2018, 01:53 Andrea Aime <[hidden email]> ha scritto:
Hi,
can that be made into a release that we can depend on?
I also see there has been a recent fix here done on the official version: https://osgeo-org.atlassian.net/browse/GEOS-8968
So if we switch, we'd have to port over also the missing fixes that went into the official version... seems like they diverged some time ago:

Cheers
Andrea


On Mon, Dec 3, 2018 at 9:38 AM Alessio Fabiani <[hidden email]> wrote:
The following branch (2.1.3) [1] of the library, fixes the JTS dependencies.

The jars are also available through the GeoSolutions Maven Repository.



Il giorno ven 30 nov 2018 alle ore 19:30 Andrea Aime <[hidden email]> ha scritto:
Hi Paul,
this smells like a result of the JTS upgrade, unfortunately GeoServer is using an old version of
mapfish (with no funds in sight to upgrade to the latest, I'm afraid, I've been told it's not an easy switch).

My guess is that you might get that to work by dropping an older version of JTS in GeoServe in parallel
with the current one, the new and the old ones are using different package names, so they should
not conflict with each other

Cheers
Andrea


On Fri, Nov 30, 2018 at 6:29 PM Paul Wittle via Geoserver-users <[hidden email]> wrote:

Hi,

 

I’m getting two errors with the mapFish printing plugin on version 2.14.1. Here are bits of the stack traces (I can send the rest if needed):

 

ERROR: The remote server returned an error: (500) Internal Server Error.

CONTENT: Error while generating PDF:

java.lang.NoClassDefFoundError: com/vividsolutions/jts/geom/Geometry

at org.mapfish.print.map.renderers.TileRenderer.(TileRenderer.java:39)

at org.mapfish.print.map.readers.HTTPMapReader.render(HTTPMapReader.java:145)

at org.mapfish.print.map.readers.WMSMapReader.render(WMSMapReader.java:180)

For this one, could it be linked to the message here (https://docs.geoserver.org/stable/en/user/installation/upgrade.html)?

 

Second error reads:

ERROR: The remote server returned an error: (500) Internal Server Error.

CONTENT: Error while generating PDF:

java.lang.NoClassDefFoundError: Could not initialize class org.mapfish.print.map.renderers.TileRenderer

at org.mapfish.print.map.readers.HTTPMapReader.render(HTTPMapReader.java:145)

at org.mapfish.print.map.readers.WMSMapReader.render(WMSMapReader.java:180)

 

Do these look like bugs with that plugin or have I missed a configuration step whilst upgrading?

 

Thanks,

Paul

"This e-mail is intended for the named addressee(s) only and may contain information about individuals or other sensitive information and should be handled accordingly. Unless you are the named addressee (or authorised to receive it for the addressee) you may not copy or use it, or disclose it to anyone else. If you have received this email in error, kindly disregard the content of the message and notify the sender immediately. Please be aware that all email may be subject to recording and/or monitoring in accordance with relevant legislation."
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this list:
- Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


[hidden email]
https://lists.sourceforge.net/lists/listinfo/geoserver-users


--

Regards, Andrea Aime == 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 di Montramito 3/A 55054 Massarosa (LU) phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it ------------------------------------------------------- Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia. This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail.

_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this list:
- Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


[hidden email]
https://lists.sourceforge.net/lists/listinfo/geoserver-users


--

==

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

@alfa7691
Founder/Technical Lead


GeoSolutions S.A.S.
Via di Montramito 3/A - 55054  Massarosa (LU) - Italy
phone: +39 0584 962313
fax:     +39 0584 1660272
mob:   +39 331 6233686


http://www.geo-solutions.it
http://twitter.com/geosolutions_it
-------------------------------------------------------

Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia.


This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail.



--

Regards, Andrea Aime == 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 di Montramito 3/A 55054 Massarosa (LU) phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it ------------------------------------------------------- Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia. This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail.

_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this list:
- Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


[hidden email]
https://lists.sourceforge.net/lists/listinfo/geoserver-users


_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this list:
- Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


[hidden email]
https://lists.sourceforge.net/lists/listinfo/geoserver-users
Reply | Threaded
Open this post in threaded view
|

Re: Possible bug with printing plugin?

GeoServer - User mailing list
In reply to this post by GeoServer - User mailing list
Hi,

I know it is perhaps a bit cheeky to ask and fully accept that it may not be something that can be quickly resolved but has anyone already looked at the creating the short term fix as described below?

I wondered if someone else has already had a go at building the extension with the old jts as I'm still not confident doing builds on my windows PC.

Is this bug applicable to the latest maintenance build as I've installed stable and I wonder if perhaps my short term fix is to use the maintenance build instead of the stable one. I believe the existing one we are using is no longer in maintenance.

Thanks,
Paul
----

Message: 2
Date: Mon, 3 Dec 2018 06:36:39 -0700
From: Mauro Bartolomeoli <[hidden email]>
To: Andrea Aime <[hidden email]>,  GeoServer Mailing
        List List <[hidden email]>
Subject: Re: [Geoserver-users] Possible bug with printing plugin?
Message-ID:
        <CADQU8v20kQ6aaF+5i=[hidden email]>
Content-Type: text/plain; charset="utf-8"

I think we should think about 2 different plans:
1. Short term: fix the printing plugin including old jts jars in the extension build 2. Medium / long: decide what to do with mapfish dependency. Try switching to mapfish 3 or commit patches to 2.1.x (official repo)?

Il giorno lun 3 dic 2018, 01:53 Andrea Aime <[hidden email]> ha scritto:

> Hi,
> can that be made into a release that we can depend on?
> I also see there has been a recent fix here done on the official version:
> https://osgeo-org.atlassian.net/browse/GEOS-8968
> So if we switch, we'd have to port over also the missing fixes that
> went into the official version... seems like they diverged some time ago:
> https://github.com/mapfish/mapfish-print/commits/release/2.1.3
>
> Cheers
> Andrea
>
>
> On Mon, Dec 3, 2018 at 9:38 AM Alessio Fabiani <
> [hidden email]> wrote:
>
>> The following branch (2.1.3) [1] of the library, fixes the JTS
>> dependencies.
>>
>> The jars are also available through the GeoSolutions Maven Repository.
>>
>> [1] - https://github.com/geosolutions-it/mapfish-print/tree/2.1.3
>>
>>
>> Il giorno ven 30 nov 2018 alle ore 19:30 Andrea Aime <
>> [hidden email]> ha scritto:
>>
>>> Hi Paul,
>>> this smells like a result of the JTS upgrade, unfortunately
>>> GeoServer is using an old version of mapfish (with no funds in sight
>>> to upgrade to the latest, I'm afraid, I've been told it's not an
>>> easy switch).
>>>
>>> My guess is that you might get that to work by dropping an older
>>> version of JTS in GeoServe in parallel with the current one, the new
>>> and the old ones are using different package names, so they should
>>> not conflict with each other
>>>
>>> Cheers
>>> Andrea
>>>
>>>
>>> On Fri, Nov 30, 2018 at 6:29 PM Paul Wittle via Geoserver-users <
>>> [hidden email]> wrote:
>>>
>>>> Hi,
>>>>
>>>>
>>>>
>>>> I?m getting two errors with the mapFish printing plugin on version
>>>> 2.14.1. Here are bits of the stack traces (I can send the rest if needed):
>>>>
>>>>
>>>>
>>>> ERROR: The remote server returned an error: (500) Internal Server Error.
>>>>
>>>> CONTENT: Error while generating PDF:
>>>>
>>>> java.lang.NoClassDefFoundError:
>>>> com/vividsolutions/jts/geom/Geometry
>>>>
>>>> at
>>>> org.mapfish.print.map.renderers.TileRenderer.(TileRenderer.java:39)
>>>>
>>>> at
>>>> org.mapfish.print.map.readers.HTTPMapReader.render(HTTPMapReader.ja
>>>> va:145)
>>>>
>>>> at
>>>> org.mapfish.print.map.readers.WMSMapReader.render(WMSMapReader.java
>>>> :180)
>>>>
>>>> For this one, could it be linked to the message here (
>>>> https://docs.geoserver.org/stable/en/user/installation/upgrade.html)?
>>>>
>>>>
>>>>
>>>> Second error reads:
>>>>
>>>> ERROR: The remote server returned an error: (500) Internal Server Error.
>>>>
>>>> CONTENT: Error while generating PDF:
>>>>
>>>> java.lang.NoClassDefFoundError: Could not initialize class
>>>> org.mapfish.print.map.renderers.TileRenderer
>>>>
>>>> at
>>>> org.mapfish.print.map.readers.HTTPMapReader.render(HTTPMapReader.ja
>>>> va:145)
>>>>
>>>> at
>>>> org.mapfish.print.map.readers.WMSMapReader.render(WMSMapReader.java
>>>> :180)
>>>>
>>>>
>>>>
>>>> Do these look like bugs with that plugin or have I missed a
>>>> configuration step whilst upgrading?
>>>>
>>>>
>>>>
>>>> Thanks,
>>>>
>>>> Paul
>>>> "This e-mail is intended for the named addressee(s) only and may
>>>> contain information about individuals or other sensitive
>>>> information and should be handled accordingly. Unless you are the
>>>> named addressee (or authorised to receive it for the addressee) you
>>>> may not copy or use it, or disclose it to anyone else. If you have
>>>> received this email in error, kindly disregard the content of the
>>>> message and notify the sender immediately. Please be aware that all
>>>> email may be subject to recording and/or monitoring in accordance with relevant legislation."
>>>> _______________________________________________
>>>> Geoserver-users mailing list
>>>>
>>>> Please make sure you read the following two resources before
>>>> posting to this list:
>>>> - Earning your support instead of buying it, but Ian Turton:
>>>> http://www.ianturton.com/talks/foss4g.html#/
>>>> - The GeoServer user list posting guidelines:
>>>> http://geoserver.org/comm/userlist-guidelines.html
>>>>
>>>> If you want to request a feature or an improvement, also see this:
>>>> https://github.com/geoserver/geoserver/wiki/Successfully-requesting
>>>> -and-integrating-new-features-and-improvements-in-GeoServer
>>>>
>>>>
>>>> [hidden email]
>>>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>>>
>>>
>>>
>>> --
>>>
>>> Regards, Andrea Aime == 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 di
>>> Montramito 3/A 55054 Massarosa (LU) phone: +39 0584 962313 fax: +39 0584 1660272 mob:
>>> +39 339 8844549 http://www.geo-solutions.it
>>> http://twitter.com/geosolutions_it
>>> ------------------------------------------------------- *Con
>>> riferimento alla normativa sul trattamento dei dati personali (Reg.
>>> UE
>>> 2016/679 - Regolamento generale sulla protezione dei dati ?GDPR?),
>>> si precisa che ogni circostanza inerente alla presente email (il suo
>>> contenuto, gli eventuali allegati, etc.) ? un dato la cui conoscenza ?
>>> riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il
>>> messaggio Le ? giunto per errore, ? tenuta/o a cancellarlo, ogni
>>> altra operazione ? illecita. Le sarei comunque grato se potesse darmene notizia.
>>> This email is intended only for the person or entity to which it is
>>> addressed and may contain information that is privileged,
>>> confidential or otherwise protected from disclosure. We remind that
>>> - as provided by European Regulation 2016/679 ?GDPR? - copying,
>>> dissemination or use of this e-mail or the information herein by
>>> anyone other than the intended recipient is prohibited. If you have
>>> received this email by mistake, please notify us immediately by
>>> telephone or e-mail.*
>>> _______________________________________________
>>> Geoserver-users mailing list
>>>
>>> Please make sure you read the following two resources before posting
>>> to this list:
>>> - Earning your support instead of buying it, but Ian Turton:
>>> http://www.ianturton.com/talks/foss4g.html#/
>>> - The GeoServer user list posting guidelines:
>>> http://geoserver.org/comm/userlist-guidelines.html
>>>
>>> If you want to request a feature or an improvement, also see this:
>>> https://github.com/geoserver/geoserver/wiki/Successfully-requesting-
>>> and-integrating-new-features-and-improvements-in-GeoServer
>>>
>>>
>>> [hidden email]
>>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>>
>>
>>
>> --
>>
>> ==
>>
>> GeoServer Professional Services from the experts! Visit
>> http://goo.gl/it488V for more information.
>> ==
>> Ing. Alessio Fabiani
>>
>> @alfa7691
>> Founder/Technical Lead
>>
>>
>> GeoSolutions S.A.S.
>> Via di Montramito 3/A - 55054  Massarosa (LU) - Italy
>> phone: +39 0584 962313
>> fax:     +39 0584 1660272
>> mob:   +39 331 6233686
>>
>>
>> http://www.geo-solutions.it
>> http://twitter.com/geosolutions_it
>> -------------------------------------------------------
>>
>> Con riferimento alla normativa sul trattamento dei dati personali (Reg.
>> UE 2016/679 - Regolamento generale sulla protezione dei dati ?GDPR?),
>> si precisa che ogni circostanza inerente alla presente email (il suo
>> contenuto, gli eventuali allegati, etc.) ? un dato la cui conoscenza ?
>> riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il
>> messaggio Le ? giunto per errore, ? tenuta/o a cancellarlo, ogni
>> altra operazione ? illecita. Le sarei comunque grato se potesse darmene notizia.
>>
>>
>> This email is intended only for the person or entity to which it is
>> addressed and may contain information that is privileged,
>> confidential or otherwise protected from disclosure. We remind that -
>> as provided by European Regulation 2016/679 ?GDPR? - copying,
>> dissemination or use of this e-mail or the information herein by
>> anyone other than the intended recipient is prohibited. If you have
>> received this email by mistake, please notify us immediately by telephone or e-mail.
>>
>
>
> --
>
> Regards, Andrea Aime == 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 di Montramito 3/A
> 55054 Massarosa (LU) phone: +39 0584 962313 fax: +39 0584 1660272 mob:
> +39 339
> 8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it
> ------------------------------------------------------- *Con
> riferimento alla normativa sul trattamento dei dati personali (Reg. UE
> 2016/679 - Regolamento generale sulla protezione dei dati ?GDPR?), si
> precisa che ogni circostanza inerente alla presente email (il suo
> contenuto, gli eventuali allegati, etc.) ? un dato la cui conoscenza ?
> riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il
> messaggio Le ? giunto per errore, ? tenuta/o a cancellarlo, ogni altra
> operazione ? illecita. Le sarei comunque grato se potesse darmene
> notizia. This email is intended only for the person or entity to which
> it is addressed and may contain information that is privileged,
> confidential or otherwise protected from disclosure. We remind that -
> as provided by European Regulation 2016/679 ?GDPR? - copying,
> dissemination or use of this e-mail or the information herein by
> anyone other than the intended recipient is prohibited. If you have
> received this email by mistake, please notify us immediately by
> telephone or e-mail.* _______________________________________________
> Geoserver-users mailing list
>
> Please make sure you read the following two resources before posting
> to this list:
> - Earning your support instead of buying it, but Ian Turton:
> http://www.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines:
> http://geoserver.org/comm/userlist-guidelines.html
>
> If you want to request a feature or an improvement, also see this:
> https://github.com/geoserver/geoserver/wiki/Successfully-requesting-an
> d-integrating-new-features-and-improvements-in-GeoServer
>
>
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
-------------- next part --------------
An HTML attachment was scrubbed...

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



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

Subject: Digest Footer

_______________________________________________
Geoserver-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geoserver-users


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

End of Geoserver-users Digest, Vol 151, Issue 9
***********************************************
"This e-mail is intended for the named addressee(s) only and may contain information about individuals or other sensitive information and should be handled accordingly. Unless you are the named addressee (or authorised to receive it for the addressee) you may not copy or use it, or disclose it to anyone else. If you have received this email in error, kindly disregard the content of the message and notify the sender immediately. Please be aware that all email may be subject to recording and/or monitoring in accordance with relevant legislation."


_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this list:
- Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


[hidden email]
https://lists.sourceforge.net/lists/listinfo/geoserver-users
Reply | Threaded
Open this post in threaded view
|

Re: Possible bug with printing plugin?

Tiago Vieira
Hi,

I'm using geoserver 2.14.1 with geoserver print extension.
I've both JTS vividsolutions and locationtech on WEB-INF/lib and everything
is working fine.

But I don't like this solution, because we migrate the entire project to
JTS@locationtech.

So i will try to create a pull request for version 2.1.4 of mapfish-print,
to upgrade to the new JTS.
 
The print-lib depends on this libs.
                        print-lib-2.1.3
                                itextpdf-5.4.4
                                xerceslmpl-2.11.0
                                metrics-core-3.0.2
                                metrics-healthchecks-3.0.2
                                metrics-httpclient-3.0.2
                                metrics-json-3.0.2
                                metrics-jvm-3.0.2
                                metrics-log4j-3.0.2
                                metrics-servlet-3.0.2
                                metrics-servlets-3.0.2
                                jyaml-1.3
                                mapfish-geo-lib-1.2.0
                                xml-apis-xerces-2.7.1

I notice that it uses the project "mapfish-geo-lib", where the last commit
was in 2013, and it also uses JTS@vividsolutions.

I suggest to remove that dependency from print-lib, and put those 7 classes
directly on print-lib project, upgrading the JTS@locationtech too.

Everyone is comfortable with this solution?

Thanks

Tiago




--
Sent from: http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f3786390.html


_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this list:
- Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


[hidden email]
https://lists.sourceforge.net/lists/listinfo/geoserver-users
Reply | Threaded
Open this post in threaded view
|

Re: Possible bug with printing plugin?

Tiago Vieira
Pull request on mapfish-print:
https://github.com/mapfish/mapfish-print/pull/772




--
Sent from: http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f3786390.html


_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this list:
- Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


[hidden email]
https://lists.sourceforge.net/lists/listinfo/geoserver-users