[Geoserver-users] Printing module

Hello,

I'm a beginner here and I'm trying to create a docker container with geoserver.

I have used several images or reports but the print module always failed.

Does anyone know which version is correct for printing scale maps (1:150,000)?

Regards

The gs-printing module? What fails? Be more specific…

I recently (last year?) changed the PDF engine from iText to OpenPDF in order to remain GPL. While tests pass as I do not use the module myself and cannot comment on how well it functions.

During the code sprint last week we updated it again to include functionality developed for the GeoNode community by GeoSolutions. Also made it build with Java 11…

Jody

On Fri, Sep 1, 2023 at 12:14 PM Sailing Control - Kiko <kiko.de.carlos@anonymised.com> wrote:

Hello,

I’m a beginner here and I’m trying to create a docker container with
geoserver.

I have used several images or reports but the print module always failed.

Does anyone know which version is correct for printing scale maps
(1:150,000)?

Regards


Geoserver-users mailing list

Please make sure you read the following two resources before posting to this list:

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

Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Hello,

First my apologies because I did not respond to your help.

I try to be more specific.

I have a geoserver (docker.osgeo.org/geoserver:2.24.0) and it works fine.

But I want to use a printing module and it gives me an http 500 error with /pdf/info.json

It’s obviously a server error caused by misconfiguration.

“Error occurred while reading configuration file ‘/opt/geoserver_data/printing/config.yaml’: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘mapPrinter’: Unsatisfied dependency expressed through field ‘configFactory’; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘configFactory’: Unsatisfied dependency expressed through field ‘threadResources’; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘threadResources’: Lookup method resolution failed; nested exception is java.lang.IllegalStateException: Failed to introspect Class [org.mapfish.print.ThreadResources] from ClassLoader [ParallelWebappClassLoader”

note: i’m usssing a predefined config.yaml

Could you help me?

Regardrs

···

El 1/9/23 a las 23:02, Jody Garnett escribió:

The gs-printing module? What fails? Be more specific…

I recently (last year?) changed the PDF engine from iText to OpenPDF in order to remain GPL. While tests pass as I do not use the module myself and cannot comment on how well it functions.

During the code sprint last week we updated it again to include functionality developed for the GeoNode community by GeoSolutions. Also made it build with Java 11…

Jody

On Fri, Sep 1, 2023 at 12:14 PM Sailing Control - Kiko <kiko.de.carlos@anonymised.com> wrote:

Hello,

I’m a beginner here and I’m trying to create a docker container with
geoserver.

I have used several images or reports but the print module always failed.

Does anyone know which version is correct for printing scale maps
(1:150,000)?

Regards


Geoserver-users mailing list

Please make sure you read the following two resources before posting to this list:

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

Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Hi

I did this way, I downloaded GeoServer 2.10 .war, extracted it and copied the commons-httpclient-3.1.jar file from WEB-INF/lib folder to the new versions WEB_INF/lib folder. Have yet not fully tested everything so please make backups but atleast /pdf/info.json output was ok.

Maario

Kontakt Sailing Control - Kiko (<kiko.de.carlos@anonymised.com>) kirjutas kuupäeval P, 26. november 2023 kell 10:46:

Hello,

First my apologies because I did not respond to your help.

I try to be more specific.

I have a geoserver (docker.osgeo.org/geoserver:2.24.0) and it works fine.

But I want to use a printing module and it gives me an http 500 error with /pdf/info.json

It’s obviously a server error caused by misconfiguration.

“Error occurred while reading configuration file ‘/opt/geoserver_data/printing/config.yaml’: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘mapPrinter’: Unsatisfied dependency expressed through field ‘configFactory’; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘configFactory’: Unsatisfied dependency expressed through field ‘threadResources’; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘threadResources’: Lookup method resolution failed; nested exception is java.lang.IllegalStateException: Failed to introspect Class [org.mapfish.print.ThreadResources] from ClassLoader [ParallelWebappClassLoader”

note: i’m usssing a predefined config.yaml

Could you help me?

Regardrs

El 1/9/23 a las 23:02, Jody Garnett escribió:

The gs-printing module? What fails? Be more specific…

I recently (last year?) changed the PDF engine from iText to OpenPDF in order to remain GPL. While tests pass as I do not use the module myself and cannot comment on how well it functions.

During the code sprint last week we updated it again to include functionality developed for the GeoNode community by GeoSolutions. Also made it build with Java 11…

Jody

On Fri, Sep 1, 2023 at 12:14 PM Sailing Control - Kiko <kiko.de.carlos@anonymised.com> wrote:

Hello,

I’m a beginner here and I’m trying to create a docker container with
geoserver.

I have used several images or reports but the print module always failed.

Does anyone know which version is correct for printing scale maps
(1:150,000)?

Regards


Geoserver-users mailing list

Please make sure you read the following two resources before posting to this list:

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

Geoserver-users@lists.sourceforge.net
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:

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

Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users