Re: Possible bug with printing plugin?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: Possible bug with printing plugin?

Jakob Miksch
Dear all,

I experienced the same problem: with GeoServer 2.14.1 the Print Plugin did not work anymore.

This solution outlined by Andrea solved it:

--> copy `jts-core-1.14.0.jar` additionally to `geoserver/webapps/geoserver/WEB-INF/lib`

The `lib` directory finally contains `jts-core-1.14.0.jar` and `jts-core-1.16.0.jar` side-by-side.

Maybe this helpful for someone.

Best wishes from snowy Austria,
Jakob




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




_______________________________________________
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?

Ian Turton
This is a known issue - https://osgeo-org.atlassian.net/browse/GEOS-9051 I see there are pull requests mentioned in the ticket 

Ian

On Wed, 6 Feb 2019 at 16:08, Jakob Miksch <[hidden email]> wrote:
Dear all,

I experienced the same problem: with GeoServer 2.14.1 the Print Plugin did not work anymore.

This solution outlined by Andrea solved it:

--> copy `jts-core-1.14.0.jar` additionally to `geoserver/webapps/geoserver/WEB-INF/lib`

The `lib` directory finally contains `jts-core-1.14.0.jar` and `jts-core-1.16.0.jar` side-by-side.

Maybe this helpful for someone.

Best wishes from snowy Austria,
Jakob




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


_______________________________________________
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


--
Ian Turton


_______________________________________________
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
Looks like the ticket is marked as fixed in 2.14.2, which has been released in January 2019. Jakob, want to give it a try?

Cheers
Andrea

On Wed, Feb 6, 2019 at 5:31 PM Ian Turton <[hidden email]> wrote:
This is a known issue - https://osgeo-org.atlassian.net/browse/GEOS-9051 I see there are pull requests mentioned in the ticket 

Ian

On Wed, 6 Feb 2019 at 16:08, Jakob Miksch <[hidden email]> wrote:
Dear all,

I experienced the same problem: with GeoServer 2.14.1 the Print Plugin did not work anymore.

This solution outlined by Andrea solved it:

--> copy `jts-core-1.14.0.jar` additionally to `geoserver/webapps/geoserver/WEB-INF/lib`

The `lib` directory finally contains `jts-core-1.14.0.jar` and `jts-core-1.16.0.jar` side-by-side.

Maybe this helpful for someone.

Best wishes from snowy Austria,
Jakob




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


_______________________________________________
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


--
Ian Turton
_______________________________________________
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