Re: [Geoserver-users] GeoServer printing module fails

2021-04-09 Thread Rahkonen Jukka (MML)
Hi,

A new issue was just opened https://osgeo-org.atlassian.net/browse/GEOS-10015. 
I do not know if it is due to your report but check and comment if you have 
something to add into it.

-Jukka Rahkonen-

Lähettäjä: Stephen V. Mather via Geoserver-users 

Lähetetty: perjantai 9. huhtikuuta 2021 5.44
Vastaanottaja: GeoServer Users 
Aihe: [Geoserver-users] GeoServer printing module fails

Hi All,

Still an avid GeoServer user over here in Cleveland. It's been a long time 
since I've had a question. I've been lurking again for a few weeks, but know so 
little now that I haven't been able to be helpful again yet.

Anyway, when stuff just works, there's not much to worry about. Around late May 
of last year, we deployed a new GeoServer instance and everything worked great 
except the print module. The dates on my logs are 28 May, and I see a 29 May 
query regarding failures in the GeoServer printing module. I might have posted 
something similar if I hadn't been working on a bunch of other problems.
https://sourceforge.net/p/geoserver/mailman/geoserver-users/thread/ce54c7a7-55dd-de07-346f-4dac9f286cb3%40gmail.com/#msg37025030

The error I get is the same as the one reported by Tamas:

http://localhost:8080/geoserver/pdf/info.json yields:

org.springframework.web.util.NestedServletException: Handler dispatch failed; 
nested exception is java.lang.NoSuchMethodError: 'void 
org.json.JSONWriter.(java.io.Writer)'
So, out of thoroughness, as I dove back into this problem, I upgraded to 2.19 
for GeoServer and the printing module, and I get the same error.

In an extra spurt of thoroughness, I installed geoserver and the print module 
again but didn't point it at my data directory, but alas, same error, no dice.

> lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.2 LTS
Release: 20.04
Codename: focal

> java --version
openjdk 11.0.10 2021-01-19
OpenJDK Runtime Environment (build 11.0.10+9-Ubuntu-0ubuntu1.20.04)
OpenJDK 64-Bit Server VM (build 11.0.10+9-Ubuntu-0ubuntu1.20.04, mixed mode, 
sharing)

Apache Tomcat/9.0.30

Any hunches where I should look next to solve the problem? A quick grep for 
JSONWriter in the WEB-INF directory shows a single json jar and some jars that 
may reference it:

> grep -r JSONWriter .
Binary file ./print-lib-2.1.5.jar matches
Binary file ./jettison-1.0.1.jar matches
Binary file ./json-20180813.jar matches
Binary file ./wicket-core-7.6.0.jar matches

A search for jars with json in their name is pretty discrete:

> find /opt/tomcat -name "json*.jar"
/opt/tomcat/webapps/geoserver/WEB-INF/lib/json-20180813.jar
/opt/tomcat/webapps/geoserver/WEB-INF/lib/json-lib-2.4.2-geoserver.jar
/opt/tomcat/webapps/geoserver/WEB-INF/lib/json-simple-1.1.1.jar

Thanks,
Best,
Steve

[cid:image002.jpg@01D72D27.982D7790]Stephen V. Mather
GIS Manager
(216) 635-3243 (Work)
clevelandmetroparks.com<http://www.clemetparks.com>


___
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


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


[Geoserver-users] GeoServer printing module fails

2021-04-08 Thread Stephen V. Mather via Geoserver-users
Hi All,

Still an avid GeoServer user over here in Cleveland. It's been a long time 
since I've had a question. I've been lurking again for a few weeks, but know so 
little now that I haven't been able to be helpful again yet.

Anyway, when stuff just works, there's not much to worry about. Around late May 
of last year, we deployed a new GeoServer instance and everything worked great 
except the print module. The dates on my logs are 28 May, and I see a 29 May 
query regarding failures in the GeoServer printing module. I might have posted 
something similar if I hadn't been working on a bunch of other problems.
https://sourceforge.net/p/geoserver/mailman/geoserver-users/thread/ce54c7a7-55dd-de07-346f-4dac9f286cb3%40gmail.com/#msg37025030

The error I get is the same as the one reported by Tamas:

http://localhost:8080/geoserver/pdf/info.json yields:

org.springframework.web.util.NestedServletException: Handler dispatch failed; 
nested exception is java.lang.NoSuchMethodError: 'void 
org.json.JSONWriter.(java.io.Writer)'

So, out of thoroughness, as I dove back into this problem, I upgraded to 2.19 
for GeoServer and the printing module, and I get the same error.

In an extra spurt of thoroughness, I installed geoserver and the print module 
again but didn't point it at my data directory, but alas, same error, no dice.

> lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.2 LTS
Release: 20.04
Codename: focal

> java --version
openjdk 11.0.10 2021-01-19
OpenJDK Runtime Environment (build 11.0.10+9-Ubuntu-0ubuntu1.20.04)
OpenJDK 64-Bit Server VM (build 11.0.10+9-Ubuntu-0ubuntu1.20.04, mixed mode, 
sharing)

Apache Tomcat/9.0.30

Any hunches where I should look next to solve the problem? A quick grep for 
JSONWriter in the WEB-INF directory shows a single json jar and some jars that 
may reference it:

> grep -r JSONWriter .
Binary file ./print-lib-2.1.5.jar matches
Binary file ./jettison-1.0.1.jar matches
Binary file ./json-20180813.jar matches
Binary file ./wicket-core-7.6.0.jar matches

A search for jars with json in their name is pretty discrete:

> find /opt/tomcat -name "json*.jar"
/opt/tomcat/webapps/geoserver/WEB-INF/lib/json-20180813.jar
/opt/tomcat/webapps/geoserver/WEB-INF/lib/json-lib-2.4.2-geoserver.jar
/opt/tomcat/webapps/geoserver/WEB-INF/lib/json-simple-1.1.1.jar

Thanks,
Best,
Steve

[http://sig.cmparks.net/cmp-ms-90x122.png] Stephen V. Mather
GIS Manager
(216) 635-3243 (Work)
clevelandmetroparks.com



___
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


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


Re: [Geoserver-users] GeoServer printing module fails

2020-05-30 Thread Tamas Szekeres
Thank you, that could probably the reason, though only geoserver and the
print plugin were installed.
Regardless of this issue the geoserver print plugin is working fine,
however is is based on the v2 version, so I had to install the v3 as a
separate webapp.

Best regards,

Tamas


mark  ezt írta (időpont: 2020. máj. 30., Szo, 13:25):

> On 2020-05-29 19:23, Tamas Szekeres wrote:
>
>
> The exception is as follows:
>
> Handler dispatch failed; nested exception is java.lang.NoSuchMethodError:
> 'void org.json.JSONWriter.(java.io.Writer)'
>
> this looks like you have ended up with an incompatible version of the
> org.json libraries;
>
> most likely you have 2 or more org.json jars in the lib directory of
> geoserver and tomcat ends up loading the wrong one
> ___
> 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
>
>
> 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:
- 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


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


Re: [Geoserver-users] GeoServer printing module fails

2020-05-30 Thread mark

On 2020-05-29 19:23, Tamas Szekeres wrote:


The exception is as follows:

Handler dispatch failed; nested exception is 
java.lang.NoSuchMethodError: 'void 
org.json.JSONWriter.(java.io.Writer)'


this looks like you have ended up with an incompatible version of the 
org.json libraries;


most likely you have 2 or more org.json jars in the lib directory of 
geoserver and tomcat ends up loading the wrong one


___
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


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


Re: [Geoserver-users] GeoServer printing module fails

2020-05-30 Thread mark

On 2020-05-29 22:06, Tamas Szekeres wrote:


Hi Andrea,

I'm not too familiar where to obtain the correct OpenJDK binary set 
for Windows.


go to https://adoptopenjdk.net/




___
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


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


Re: [Geoserver-users] GeoServer printing module fails

2020-05-29 Thread Tamas Szekeres
Hi Andrea,

I'm not too familiar where to obtain the correct OpenJDK binary set for
Windows.

Just tried this version https://jdk.java.net/java-se-ri/11 which
produces the same error
Also tried this version https://jdk.java.net/java-se-ri/8-MR3 which did not
work at all (TomCat service failed on startup)

Thanks,

Tamas



Andrea Aime  ezt írta (időpont: 2020. máj.
29., P, 19:33):

> On Fri, May 29, 2020 at 7:30 PM Tamas Szekeres 
> wrote:
>
>> Dear All,
>>
>> I've created a new installation of GeoServer 2.17.0 on Tomcat 9 and and
>> OpenJDK 14.0.1.
>>
>
> As a first step, I would try out OpenJDK 11 or OpenJDK8. GeoServer is
> supported only on JDK8 and JDK 11 (LTS releases),
> I believe that JDK8 deploys are still predominant
>
> 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 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


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


Re: [Geoserver-users] GeoServer printing module fails

2020-05-29 Thread Andrea Aime
On Fri, May 29, 2020 at 7:30 PM Tamas Szekeres  wrote:

> Dear All,
>
> I've created a new installation of GeoServer 2.17.0 on Tomcat 9 and and
> OpenJDK 14.0.1.
>

As a first step, I would try out OpenJDK 11 or OpenJDK8. GeoServer is
supported only on JDK8 and JDK 11 (LTS releases),
I believe that JDK8 deploys are still predominant

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


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


[Geoserver-users] GeoServer printing module fails

2020-05-29 Thread Tamas Szekeres
Dear All,

I've created a new installation of GeoServer 2.17.0 on Tomcat 9 and and
OpenJDK 14.0.1.
The only extension I've installed so far is
the geoserver-2.17.0-printing-plugin, however the following url mentioned
in the documentation

fails:

http://localhost:8080/geoserver/pdf/info.json

The exception is as follows:

Handler dispatch failed; nested exception is java.lang.NoSuchMethodError:
'void org.json.JSONWriter.(java.io.Writer)'

*Exception*

org.springframework.web.util.NestedServletException: Handler dispatch
failed; nested exception is java.lang.NoSuchMethodError: 'void
org.json.JSONWriter.(java.io.Writer)'

org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1055)

org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943)

org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006)

org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:898)
javax.servlet.http.HttpServlet.service(HttpServlet.java:634)

org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883)
javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)

org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:26)

org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:69)

org.geoserver.wms.animate.AnimatorFilter.doFilter(AnimatorFilter.java:70)

org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:66)

 ...

*Root Cause*

java.lang.NoSuchMethodError: 'void org.json.JSONWriter.(java.io.Writer)'

org.mapfish.print.servlet.MapPrinterServlet.getInfo(MapPrinterServlet.java:290)

org.mapfish.print.servlet.MapPrinterServlet.doGet(MapPrinterServlet.java:99)
javax.servlet.http.HttpServlet.service(HttpServlet.java:634)
javax.servlet.http.HttpServlet.service(HttpServlet.java:741)

org.springframework.web.servlet.mvc.ServletWrappingController.handleRequestInternal(ServletWrappingController.java:166)

org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:177)

org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:52)

org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1040)

org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943)

 ...

Any idea how to work around this?

Thanks,

Tamas Szekeres
___
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


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


Re: [Geoserver-users] GeoServer Printing Module

2013-11-11 Thread Jerome A. Wendell
Thanks to everyone who responded to my posts concerning the printing problem
that I was having.  Since I am also using GeoExt, my OpenLayers ProxyHost
was not being used for the POST requests sent for printing, which was
causing the Access-Control-Allow-Origin problem.  Phil Scadden recommended
looking into override-ext-ajax.js, which has the Ext components that call
Ext.Ajax methods use the OpenLayers proxy.  This resolved my current issue.

 

Thank you Jesse for all of your patience and guidance while helping me work
through the problem.

 

Thank you Jonathan for your replies and the suggestions about installing the
MapFish servlet.

 

Thank you Mauro for your replies and help troubleshooting the issue.

 

Jerome Wendell

 

From: Jerome A. Wendell [mailto:jawend...@suddenlink.net] 
Sent: Wednesday, November 06, 2013 10:18 AM
To: 'Jonathan Moules'
Cc: 'Mauro Bartolomeoli'; 'GeoServer Mailing List List'
Subject: Re: [Geoserver-users] GeoServer Printing Module

 

Jonathan,

 

Thanks for your reply.  I am already using a proxy server for OpenLayers.

 

Thanks,

 

Jerome

 

 

From: Jonathan Moules [mailto:jonathanmou...@warwickshire.gov.uk] 
Sent: Wednesday, November 06, 2013 10:02 AM
To: jawend...@suddenlink.net
Cc: Jesse Eichar; Mauro Bartolomeoli; GeoServer Mailing List List
Subject: Re: [Geoserver-users] GeoServer Printing Module

 

Hi Jerome,

You can get around that with a proxy server. Google for "openlayers proxy"
and hopefully you should find something.

Basically you can't do XML stuff unless the browser sees it going to and
coming from the same domain/port as the application. so
www.example.com/webapp. You're using a different port, which is normal. Thus
the conventional solution is to set up a simple proxy script.

 

Regards,

Jonathan

 

 

On 6 November 2013 14:56, Jerome A. Wendell 
wrote:

Jonathan,

 

I installed the MapFish printing servlet as you suggested, and can print OSM
and WMS layers fine using a GET request.  I have been trying to print vector
layers, and the spec information for the print request exceeds the maximum
length of a GET request.  I have been trying to use POST, but I get the
following error:

 

XMLHttpRequest cannot load
http://www.mydomain.com:8080/print/pdf/create.json. Origin
http://www.mydomain.com is not allowed by Access-Control-Allow-Origin.

 

I have researched this error, and found a possible solution to be at the
following link:

 

http://enable-cors.org/index.html

 

I have checked and the suggested information to put into the web.config file
on IIS7 is already in the web.config on our server.  I also found some
information for a cross origin filter for Jetty at the following link:

 

 
http://stackoverflow.com/questions/8303162/jetty-cross-origin-filter/8454168
#8454168

 

I have tried adding that to the web.xml file for MapFish print, and it
doesn't appear to have any affect.  I added it to the web.xml file for
GeoServer, and it seems to break a number of things.

 

Have you or anyone else experienced the Access-Control-Allow-Origin problem,
and what did you do to fix it?  Any suggestions?

 

Thanks,

 

Jerome

 

From: Jonathan Moules [mailto:jonathanmou...@warwickshire.gov.uk] 
Sent: Thursday, October 31, 2013 8:35 AM
To: jawend...@suddenlink.net
Cc: Jesse Eichar; Mauro Bartolomeoli; GeoServer Mailing List List
Subject: Re: [Geoserver-users] GeoServer Printing Module

 

Hi Jerome,

You're already using Jetty - it's the server that Geoserver runs out of.
Stick it in the webapps directory and it should work. You'll need to restart
jetty/geoserver of course.

 

Jonathan

 

 

On 31 October 2013 12:31, Jerome A. Wendell 
wrote:

Jonathan,

 

Thanks for your reply.  That is the file that I downloaded.  I have not
installed Jetty, does it come as part of the Windows Server or GeoServer
installation?  I have been able to extract the files from the .war file.

 

Thanks for your help,

 

Jerome

 

 

From: Jonathan Moules [mailto:jonathanmou...@warwickshire.gov.uk] 
Sent: Thursday, October 31, 2013 5:04 AM
To: jawend...@suddenlink.net
Cc: Jesse Eichar; Mauro Bartolomeoli; GeoServer Mailing List List
Subject: Re: [Geoserver-users] GeoServer Printing Module

 

Hi Jerome,

Yep, this file:

https://oss.sonatype.org/content/repositories/snapshots/org/mapfish/print/pr
int-servlet/2.0-SNAPSHOT/print-servlet-2.0-SNAPSHOT.war

 

If that's where you've put Tomcat/Jetty (I'm guessing Jetty as you windows
installed), then yes, that's where you want to place the war file. Actually
you'll probably want to extract it into that directory (it's basically a zip
file with a different extension) and then delete the .war itself.

After that you can access it in the way previously described.

Regards,

Jonathan

 

 

On 30 October 2013 20:40, Jerome A. Wendell 
wrote:

Jonathan,

 

The war file that I found at the link 

Re: [Geoserver-users] GeoServer Printing Module

2013-11-06 Thread Jerome A. Wendell
Jesse,

 

Yes, I am already using a proxy server in python.

 

Jerome

 

From: Jesse Eichar [mailto:jesse.eic...@camptocamp.com] 
Sent: Wednesday, November 06, 2013 10:13 AM
To: jawendell
Cc: Jonathan Moules; Mauro Bartolomeoli; GeoServer Mailing List List
Subject: Re: [Geoserver-users] GeoServer Printing Module

 

TO get around access control issues you usually need to make the request via a 
proxy on the same server as where the base requested page.  I saw that you have 
one in python.  (or at least that is what it looked like).

Jesse

 

On Wed, Nov 6, 2013 at 3:56 PM, Jerome A. Wendell  
wrote:

Jonathan,

 

I installed the MapFish printing servlet as you suggested, and can print OSM 
and WMS layers fine using a GET request.  I have been trying to print vector 
layers, and the spec information for the print request exceeds the maximum 
length of a GET request.  I have been trying to use POST, but I get the 
following error:

 

XMLHttpRequest cannot load 
http://www.mydomain.com:8080/print/pdf/create.json. Origin 
http://www.mydomain.com is not allowed by Access-Control-Allow-Origin.

 

I have researched this error, and found a possible solution to be at the 
following link:

 

http://enable-cors.org/index.html

 

I have checked and the suggested information to put into the web.config file on 
IIS7 is already in the web.config on our server.  I also found some information 
for a cross origin filter for Jetty at the following link:

 


http://stackoverflow.com/questions/8303162/jetty-cross-origin-filter/8454168#8454168

 

I have tried adding that to the web.xml file for MapFish print, and it doesn’t 
appear to have any affect.  I added it to the web.xml file for GeoServer, and 
it seems to break a number of things.

 

Have you or anyone else experienced the Access-Control-Allow-Origin problem, 
and what did you do to fix it?  Any suggestions?

 

Thanks,

 

Jerome

 

From: Jonathan Moules [mailto:jonathanmou...@warwickshire.gov.uk] 
Sent: Thursday, October 31, 2013 8:35 AM


To: jawend...@suddenlink.net
Cc: Jesse Eichar; Mauro Bartolomeoli; GeoServer Mailing List List
Subject: Re: [Geoserver-users] GeoServer Printing Module

 

Hi Jerome,

You're already using Jetty - it's the server that Geoserver runs out of. Stick 
it in the webapps directory and it should work. You'll need to restart 
jetty/geoserver of course.

 

Jonathan

 

 

On 31 October 2013 12:31, Jerome A. Wendell  wrote:

Jonathan,

 

Thanks for your reply.  That is the file that I downloaded.  I have not 
installed Jetty, does it come as part of the Windows Server or GeoServer 
installation?  I have been able to extract the files from the .war file.

 

Thanks for your help,

 

Jerome

 

 

From: Jonathan Moules [mailto:jonathanmou...@warwickshire.gov.uk] 
Sent: Thursday, October 31, 2013 5:04 AM
To: jawend...@suddenlink.net
Cc: Jesse Eichar; Mauro Bartolomeoli; GeoServer Mailing List List
Subject: Re: [Geoserver-users] GeoServer Printing Module

 

Hi Jerome,

Yep, this file:

https://oss.sonatype.org/content/repositories/snapshots/org/mapfish/print/print-servlet/2.0-SNAPSHOT/print-servlet-2.0-SNAPSHOT.war

 

If that's where you've put Tomcat/Jetty (I'm guessing Jetty as you windows 
installed), then yes, that's where you want to place the war file. Actually 
you'll probably want to extract it into that directory (it's basically a zip 
file with a different extension) and then delete the .war itself.

After that you can access it in the way previously described.

Regards,

Jonathan

 

 

On 30 October 2013 20:40, Jerome A. Wendell  wrote:

Jonathan,

 

The war file that I found at the link provided is 
print-servlet-2.0-SNAPSHOT.war.  Is this the correct file?

 

Also, the print directory that you suggested, would that be C:\Program Files 
(x86)\GeoServer 2.4.0\webapps\print?

 

Thanks,

 

Jerome

 


This transmission is intended for the named addressee(s) only and may contain 
sensitive or protectively marked material up to RESTRICTED 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 transmission in error please notify the 
sender immediately. All email traffic sent to or from us, including without 
limitation all GCSX traffic, may be subject to recording and/or monitoring in 
accordance with relevant legislation.

 


This transmission is intended for the named addressee(s) only and may contain 
sensitive or protectively marked material up to RESTRICTED 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 transmission in error please notify the 
sender immediately. All email traffic sent to or from us, including

Re: [Geoserver-users] GeoServer Printing Module

2013-11-06 Thread Jerome A. Wendell
Jonathan,

 

Thanks for your reply.  I am already using a proxy server for OpenLayers.

 

Thanks,

 

Jerome

 

 

From: Jonathan Moules [mailto:jonathanmou...@warwickshire.gov.uk] 
Sent: Wednesday, November 06, 2013 10:02 AM
To: jawend...@suddenlink.net
Cc: Jesse Eichar; Mauro Bartolomeoli; GeoServer Mailing List List
Subject: Re: [Geoserver-users] GeoServer Printing Module

 

Hi Jerome,

You can get around that with a proxy server. Google for "openlayers proxy"
and hopefully you should find something.

Basically you can't do XML stuff unless the browser sees it going to and
coming from the same domain/port as the application. so
www.example.com/webapp. You're using a different port, which is normal. Thus
the conventional solution is to set up a simple proxy script.

 

Regards,

Jonathan

 

 

On 6 November 2013 14:56, Jerome A. Wendell 
wrote:

Jonathan,

 

I installed the MapFish printing servlet as you suggested, and can print OSM
and WMS layers fine using a GET request.  I have been trying to print vector
layers, and the spec information for the print request exceeds the maximum
length of a GET request.  I have been trying to use POST, but I get the
following error:

 

XMLHttpRequest cannot load
http://www.mydomain.com:8080/print/pdf/create.json. Origin
http://www.mydomain.com is not allowed by Access-Control-Allow-Origin.

 

I have researched this error, and found a possible solution to be at the
following link:

 

http://enable-cors.org/index.html

 

I have checked and the suggested information to put into the web.config file
on IIS7 is already in the web.config on our server.  I also found some
information for a cross origin filter for Jetty at the following link:

 

 
http://stackoverflow.com/questions/8303162/jetty-cross-origin-filter/8454168
#8454168

 

I have tried adding that to the web.xml file for MapFish print, and it
doesn't appear to have any affect.  I added it to the web.xml file for
GeoServer, and it seems to break a number of things.

 

Have you or anyone else experienced the Access-Control-Allow-Origin problem,
and what did you do to fix it?  Any suggestions?

 

Thanks,

 

Jerome

 

From: Jonathan Moules [mailto:jonathanmou...@warwickshire.gov.uk] 
Sent: Thursday, October 31, 2013 8:35 AM
To: jawend...@suddenlink.net
Cc: Jesse Eichar; Mauro Bartolomeoli; GeoServer Mailing List List
Subject: Re: [Geoserver-users] GeoServer Printing Module

 

Hi Jerome,

You're already using Jetty - it's the server that Geoserver runs out of.
Stick it in the webapps directory and it should work. You'll need to restart
jetty/geoserver of course.

 

Jonathan

 

 

On 31 October 2013 12:31, Jerome A. Wendell 
wrote:

Jonathan,

 

Thanks for your reply.  That is the file that I downloaded.  I have not
installed Jetty, does it come as part of the Windows Server or GeoServer
installation?  I have been able to extract the files from the .war file.

 

Thanks for your help,

 

Jerome

 

 

From: Jonathan Moules [mailto:jonathanmou...@warwickshire.gov.uk] 
Sent: Thursday, October 31, 2013 5:04 AM
To: jawend...@suddenlink.net
Cc: Jesse Eichar; Mauro Bartolomeoli; GeoServer Mailing List List
Subject: Re: [Geoserver-users] GeoServer Printing Module

 

Hi Jerome,

Yep, this file:

https://oss.sonatype.org/content/repositories/snapshots/org/mapfish/print/pr
int-servlet/2.0-SNAPSHOT/print-servlet-2.0-SNAPSHOT.war

 

If that's where you've put Tomcat/Jetty (I'm guessing Jetty as you windows
installed), then yes, that's where you want to place the war file. Actually
you'll probably want to extract it into that directory (it's basically a zip
file with a different extension) and then delete the .war itself.

After that you can access it in the way previously described.

Regards,

Jonathan

 

 

On 30 October 2013 20:40, Jerome A. Wendell 
wrote:

Jonathan,

 

The war file that I found at the link provided is
print-servlet-2.0-SNAPSHOT.war.  Is this the correct file?

 

Also, the print directory that you suggested, would that be C:\Program Files
(x86)\GeoServer 2.4.0\webapps\print?

 

Thanks,

 

Jerome

 


This transmission is intended for the named addressee(s) only and may
contain sensitive or protectively marked material up to RESTRICTED 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 transmission in error
please notify the sender immediately. All email traffic sent to or from us,
including without limitation all GCSX traffic, may be subject to recording
and/or monitoring in accordance with relevant legislation.

 


This transmission is intended for the named addressee(s) only and may
contain sensitive or protectively marked material up to RESTRICTED and
should be handled accordingly. Unless you are the named addressee (or
auth

Re: [Geoserver-users] GeoServer Printing Module

2013-11-06 Thread Jesse Eichar
TO get around access control issues you usually need to make the request
via a proxy on the same server as where the base requested page.  I saw
that you have one in python.  (or at least that is what it looked like).

Jesse


On Wed, Nov 6, 2013 at 3:56 PM, Jerome A. Wendell
wrote:

> Jonathan,
>
>
>
> I installed the MapFish printing servlet as you suggested, and can print
> OSM and WMS layers fine using a GET request.  I have been trying to print
> vector layers, and the spec information for the print request exceeds the
> maximum length of a GET request.  I have been trying to use POST, but I get
> the following error:
>
>
>
> XMLHttpRequest cannot load
> http://www.mydomain.com:8080/print/pdf/create.json. Origin
> http://www.mydomain.com is not allowed by Access-Control-Allow-Origin.
>
>
>
> I have researched this error, and found a possible solution to be at the
> following link:
>
>
>
> http://enable-cors.org/index.html
>
>
>
> I have checked and the suggested information to put into the web.config
> file on IIS7 is already in the web.config on our server.  I also found some
> information for a cross origin filter for Jetty at the following link:
>
>
>
>
> http://stackoverflow.com/questions/8303162/jetty-cross-origin-filter/8454168#8454168
>
>
>
> I have tried adding that to the web.xml file for MapFish print, and it
> doesn’t appear to have any affect.  I added it to the web.xml file for
> GeoServer, and it seems to break a number of things.
>
>
>
> Have you or anyone else experienced the Access-Control-Allow-Origin
> problem, and what did you do to fix it?  Any suggestions?
>
>
>
> Thanks,
>
>
>
> Jerome
>
>
>
> *From:* Jonathan Moules [mailto:jonathanmou...@warwickshire.gov.uk]
> *Sent:* Thursday, October 31, 2013 8:35 AM
>
> *To:* jawend...@suddenlink.net
> *Cc:* Jesse Eichar; Mauro Bartolomeoli; GeoServer Mailing List List
> *Subject:* Re: [Geoserver-users] GeoServer Printing Module
>
>
>
> Hi Jerome,
>
> You're already using Jetty - it's the server that Geoserver runs out of.
> Stick it in the webapps directory and it should work. You'll need to
> restart jetty/geoserver of course.
>
>
>
> Jonathan
>
>
>
>
>
> On 31 October 2013 12:31, Jerome A. Wendell 
> wrote:
>
> Jonathan,
>
>
>
> Thanks for your reply.  That is the file that I downloaded.  I have not
> installed Jetty, does it come as part of the Windows Server or GeoServer
> installation?  I have been able to extract the files from the .war file.
>
>
>
> Thanks for your help,
>
>
>
> Jerome
>
>
>
>
>
> *From:* Jonathan Moules [mailto:jonathanmou...@warwickshire.gov.uk]
> *Sent:* Thursday, October 31, 2013 5:04 AM
> *To:* jawend...@suddenlink.net
> *Cc:* Jesse Eichar; Mauro Bartolomeoli; GeoServer Mailing List List
> *Subject:* Re: [Geoserver-users] GeoServer Printing Module
>
>
>
> Hi Jerome,
>
> Yep, this file:
>
>
> https://oss.sonatype.org/content/repositories/snapshots/org/mapfish/print/print-servlet/2.0-SNAPSHOT/print-servlet-2.0-SNAPSHOT.war
>
>
>
> If that's where you've put Tomcat/Jetty (I'm guessing Jetty as you windows
> installed), then yes, that's where you want to place the war file. Actually
> you'll probably want to extract it into that directory (it's basically a
> zip file with a different extension) and then delete the .war itself.
>
> After that you can access it in the way previously described.
>
> Regards,
>
> Jonathan
>
>
>
>
>
> On 30 October 2013 20:40, Jerome A. Wendell 
> wrote:
>
> Jonathan,
>
>
>
> The war file that I found at the link provided is
> print-servlet-2.0-SNAPSHOT.war.  Is this the correct file?
>
>
>
> Also, the print directory that you suggested, would that be C:\Program
> Files (x86)\GeoServer 2.4.0\webapps\print?
>
>
>
> Thanks,
>
>
>
> Jerome
>
>
>
>
> This transmission is intended for the named addressee(s) only and may
> contain sensitive or protectively marked material up to RESTRICTED 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 transmission in error
> please notify the sender immediately. All email traffic sent to or from us,
> including without limitation all GCSX traffic, may be subject to recording
> and/or monitoring in accordance with relevant legislation.
>
>
>
>
> This transmission

Re: [Geoserver-users] GeoServer Printing Module

2013-11-06 Thread Jonathan Moules
Hi Jerome,
You can get around that with a proxy server. Google for "openlayers proxy"
and hopefully you should find something.
Basically you can't do XML stuff unless the browser sees it going to and
coming from the same domain/port as the application. so
www.example.com/webapp. You're using a different port, which is normal.
Thus the conventional solution is to set up a simple proxy script.

Regards,
Jonathan



On 6 November 2013 14:56, Jerome A. Wendell wrote:

> Jonathan,
>
>
>
> I installed the MapFish printing servlet as you suggested, and can print
> OSM and WMS layers fine using a GET request.  I have been trying to print
> vector layers, and the spec information for the print request exceeds the
> maximum length of a GET request.  I have been trying to use POST, but I get
> the following error:
>
>
>
> XMLHttpRequest cannot load
> http://www.mydomain.com:8080/print/pdf/create.json. Origin
> http://www.mydomain.com is not allowed by Access-Control-Allow-Origin.
>
>
>
> I have researched this error, and found a possible solution to be at the
> following link:
>
>
>
> http://enable-cors.org/index.html
>
>
>
> I have checked and the suggested information to put into the web.config
> file on IIS7 is already in the web.config on our server.  I also found some
> information for a cross origin filter for Jetty at the following link:
>
>
>
>
> http://stackoverflow.com/questions/8303162/jetty-cross-origin-filter/8454168#8454168
>
>
>
> I have tried adding that to the web.xml file for MapFish print, and it
> doesn’t appear to have any affect.  I added it to the web.xml file for
> GeoServer, and it seems to break a number of things.
>
>
>
> Have you or anyone else experienced the Access-Control-Allow-Origin
> problem, and what did you do to fix it?  Any suggestions?
>
>
>
> Thanks,
>
>
>
> Jerome
>
>
>
> *From:* Jonathan Moules [mailto:jonathanmou...@warwickshire.gov.uk]
> *Sent:* Thursday, October 31, 2013 8:35 AM
> *To:* jawend...@suddenlink.net
> *Cc:* Jesse Eichar; Mauro Bartolomeoli; GeoServer Mailing List List
> *Subject:* Re: [Geoserver-users] GeoServer Printing Module
>
>
>
> Hi Jerome,
>
> You're already using Jetty - it's the server that Geoserver runs out of.
> Stick it in the webapps directory and it should work. You'll need to
> restart jetty/geoserver of course.
>
>
>
> Jonathan
>
>
>
>
>
> On 31 October 2013 12:31, Jerome A. Wendell 
> wrote:
>
> Jonathan,
>
>
>
> Thanks for your reply.  That is the file that I downloaded.  I have not
> installed Jetty, does it come as part of the Windows Server or GeoServer
> installation?  I have been able to extract the files from the .war file.
>
>
>
> Thanks for your help,
>
>
>
> Jerome
>
>
>
>
>
> *From:* Jonathan Moules [mailto:jonathanmou...@warwickshire.gov.uk]
> *Sent:* Thursday, October 31, 2013 5:04 AM
> *To:* jawend...@suddenlink.net
> *Cc:* Jesse Eichar; Mauro Bartolomeoli; GeoServer Mailing List List
> *Subject:* Re: [Geoserver-users] GeoServer Printing Module
>
>
>
> Hi Jerome,
>
> Yep, this file:
>
>
> https://oss.sonatype.org/content/repositories/snapshots/org/mapfish/print/print-servlet/2.0-SNAPSHOT/print-servlet-2.0-SNAPSHOT.war
>
>
>
> If that's where you've put Tomcat/Jetty (I'm guessing Jetty as you windows
> installed), then yes, that's where you want to place the war file. Actually
> you'll probably want to extract it into that directory (it's basically a
> zip file with a different extension) and then delete the .war itself.
>
> After that you can access it in the way previously described.
>
> Regards,
>
> Jonathan
>
>
>
>
>
> On 30 October 2013 20:40, Jerome A. Wendell 
> wrote:
>
> Jonathan,
>
>
>
> The war file that I found at the link provided is
> print-servlet-2.0-SNAPSHOT.war.  Is this the correct file?
>
>
>
> Also, the print directory that you suggested, would that be C:\Program
> Files (x86)\GeoServer 2.4.0\webapps\print?
>
>
>
> Thanks,
>
>
>
> Jerome
>
>
>
>
> This transmission is intended for the named addressee(s) only and may
> contain sensitive or protectively marked material up to RESTRICTED 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 transmission in error
> please notify the sender immediately. All email traffic sent to or from us,
> including without limitati

Re: [Geoserver-users] GeoServer Printing Module

2013-11-06 Thread Jerome A. Wendell
Jonathan,

 

I installed the MapFish printing servlet as you suggested, and can print OSM
and WMS layers fine using a GET request.  I have been trying to print vector
layers, and the spec information for the print request exceeds the maximum
length of a GET request.  I have been trying to use POST, but I get the
following error:

 

XMLHttpRequest cannot load
http://www.mydomain.com:8080/print/pdf/create.json. Origin
http://www.mydomain.com is not allowed by Access-Control-Allow-Origin.

 

I have researched this error, and found a possible solution to be at the
following link:

 

http://enable-cors.org/index.html

 

I have checked and the suggested information to put into the web.config file
on IIS7 is already in the web.config on our server.  I also found some
information for a cross origin filter for Jetty at the following link:

 

 
http://stackoverflow.com/questions/8303162/jetty-cross-origin-filter/8454168
#8454168

 

I have tried adding that to the web.xml file for MapFish print, and it
doesn't appear to have any affect.  I added it to the web.xml file for
GeoServer, and it seems to break a number of things.

 

Have you or anyone else experienced the Access-Control-Allow-Origin problem,
and what did you do to fix it?  Any suggestions?

 

Thanks,

 

Jerome

 

From: Jonathan Moules [mailto:jonathanmou...@warwickshire.gov.uk] 
Sent: Thursday, October 31, 2013 8:35 AM
To: jawend...@suddenlink.net
Cc: Jesse Eichar; Mauro Bartolomeoli; GeoServer Mailing List List
Subject: Re: [Geoserver-users] GeoServer Printing Module

 

Hi Jerome,

You're already using Jetty - it's the server that Geoserver runs out of.
Stick it in the webapps directory and it should work. You'll need to restart
jetty/geoserver of course.

 

Jonathan

 

 

On 31 October 2013 12:31, Jerome A. Wendell 
wrote:

Jonathan,

 

Thanks for your reply.  That is the file that I downloaded.  I have not
installed Jetty, does it come as part of the Windows Server or GeoServer
installation?  I have been able to extract the files from the .war file.

 

Thanks for your help,

 

Jerome

 

 

From: Jonathan Moules [mailto:jonathanmou...@warwickshire.gov.uk] 
Sent: Thursday, October 31, 2013 5:04 AM
To: jawend...@suddenlink.net
Cc: Jesse Eichar; Mauro Bartolomeoli; GeoServer Mailing List List
Subject: Re: [Geoserver-users] GeoServer Printing Module

 

Hi Jerome,

Yep, this file:

https://oss.sonatype.org/content/repositories/snapshots/org/mapfish/print/pr
int-servlet/2.0-SNAPSHOT/print-servlet-2.0-SNAPSHOT.war

 

If that's where you've put Tomcat/Jetty (I'm guessing Jetty as you windows
installed), then yes, that's where you want to place the war file. Actually
you'll probably want to extract it into that directory (it's basically a zip
file with a different extension) and then delete the .war itself.

After that you can access it in the way previously described.

Regards,

Jonathan

 

 

On 30 October 2013 20:40, Jerome A. Wendell 
wrote:

Jonathan,

 

The war file that I found at the link provided is
print-servlet-2.0-SNAPSHOT.war.  Is this the correct file?

 

Also, the print directory that you suggested, would that be C:\Program Files
(x86)\GeoServer 2.4.0\webapps\print?

 

Thanks,

 

Jerome

 


This transmission is intended for the named addressee(s) only and may
contain sensitive or protectively marked material up to RESTRICTED 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 transmission in error
please notify the sender immediately. All email traffic sent to or from us,
including without limitation all GCSX traffic, may be subject to recording
and/or monitoring in accordance with relevant legislation.

 


This transmission is intended for the named addressee(s) only and may
contain sensitive or protectively marked material up to RESTRICTED 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 transmission in error
please notify the sender immediately. All email traffic sent to or from us,
including without limitation all GCSX traffic, may be subject to recording
and/or monitoring in accordance with relevant legislation.

--
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-use

Re: [Geoserver-users] GeoServer Printing Module

2013-11-04 Thread Jesse Eichar
Can you provide me the spec.json file so I can look at it and see if I can
see the problem?

Jesse


On Mon, Nov 4, 2013 at 8:53 PM, Jerome A. Wendell
wrote:

> Jesse,
>
>
>
> I have been running various tests, and have reviewed the documentation.  I
> have not been able to look at the vector examples on Github, the files
> cannot be displayed.  I have still not been successful in printing the
> vector layer.  I have to use GET for my requests because when I try to use
> POST, I get the error it failed to load resource because it is not allowed
> by Access-Control-Allow-Origin.  I researched that error and the web.config
> on our server contains the information to prevent that error, so I am not
> sure why that is happening.
>
>
>
> I have tried running the standalone application on spec information that I
> have captured for maps that do work, and I continue to get the “Cannot
> parse the spec file” error and it says it is caused by a JSONObject text
> must begin with ‘{‘ at character 1.  I replaced the urlencoding with a {,
> and then it gives an error cause by expected a ‘:’ after a key at character
> . .  I have tried replacing the urlencode characters with the actual
> character, and then it complains about the next one.  Should the
> urlencoding prevent the file from running?
>
>
>
> Thanks,
>
>
>
> Jerome
>
>
>
>
>
> *From:* Jesse Eichar [mailto:jesse.eic...@camptocamp.com]
> *Sent:* Friday, November 01, 2013 1:56 AM
>
> *To:* jawendell
> *Cc:* Mauro Bartolomeoli; GeoServer Mailing List List
> *Subject:* Re: [Geoserver-users] GeoServer Printing Module
>
>
>
> Hi Jerome,
>
>
>
> I had asked you to download a "standalone" application instead of a
> webapplication.  It is useful for debugging issues sometimes.
>
>
>
> The yaml parameter I think should be pretty straightforward.  It is the
> print application configuration and exists on the server with the print
> servlet/webapplication.
>
>
>
> The spec parameter simulates the browsers print request.  Therefore it has
> to contain the same json that a print request makes.  As you can see in the
> console above it is complaining about the format of the request.
>
>
>
> In order to get the spec data you can:
>
>- Open a browser.
>- go to the print page
>- Open the developer tools for that browser (F12 if using chrome) .
>- make a print request.
>- Look in the developer tools for the browser and find the POST data
>for the print request.
>- Copy the post data in to a file
>
> that POST data is what needs to be in a spec.
>
>
>
> For comparison you can look at several examples that are online:
>
>
>
> https://github.com/mapfish/mapfish-print/tree/master/samples
>
>
>
> You can also read the documentation about the spec:
>
>
>
> http://www.mapfish.org/doc/print/protocol.html
>
>
>
> Jesse
>
>
>
> On Thu, Oct 31, 2013 at 7:29 PM, Jerome A. Wendell <
> jawend...@suddenlink.net> wrote:
>
> I have run the command for the standalone module, and I get the following
> error:
>
>  Does anyone know a solution for the “Cannot parse the spec file” error?
>
>
>
> Thanks,
>
>
>
> Jerome
>
>
>
>
>
> *From:* Jesse Eichar [mailto:jesse.eic...@camptocamp.com]
> *Sent:* Wednesday, October 30, 2013 2:56 PM
>
>
> *To:* jawendell
> *Cc:* Mauro Bartolomeoli; GeoServer Mailing List List
> *Subject:* Re: [Geoserver-users] GeoServer Printing Module
>
>
>
> Really nothing useful there is there...  could you download:
>
>
>
>
> http://search.maven.org/remotecontent?filepath=org/mapfish/print/print-standalone/1.2.0/print-standalone-1.2.0.jar
>
>
>
> and run it with your request to see if there is something broken with the
> version of mapfish-print that you are using?
>
>
>
> Command to run:
>
>
>
> java -jar print-standalone-1.2.0.jar  --config=config.yaml
> --spec=spec.json --output=print.pdf --verbose=3
>
>
>
> where config.yaml is the configuration you find within geoserver somewhere
>
> the spec.json is what is posted by the browser.
>
> verbose 3 will give maximum logging.
>
> print.pdf will be the generated file.
>
>
>
>
>
> Lets see if this works.  We have to be a bit careful in the case that the
> config.yaml or the spec.json is not compatible with the newer version but I
> think in most cases backwards compatibility was maintained as best as
> possible.
>
>
>
> Jesse
>
>
>
<>--
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] GeoServer Printing Module

2013-11-04 Thread Jerome A. Wendell
Jesse,

 

I have been running various tests, and have reviewed the documentation.  I have 
not been able to look at the vector examples on Github, the files cannot be 
displayed.  I have still not been successful in printing the vector layer.  I 
have to use GET for my requests because when I try to use POST, I get the error 
it failed to load resource because it is not allowed by 
Access-Control-Allow-Origin.  I researched that error and the web.config on our 
server contains the information to prevent that error, so I am not sure why 
that is happening.

 

I have tried running the standalone application on spec information that I have 
captured for maps that do work, and I continue to get the “Cannot parse the 
spec file” error and it says it is caused by a JSONObject text must begin with 
‘{‘ at character 1.  I replaced the urlencoding with a {, and then it gives an 
error cause by expected a ‘:’ after a key at character . .  I have tried 
replacing the urlencode characters with the actual character, and then it 
complains about the next one.  Should the urlencoding prevent the file from 
running?

 

Thanks,

 

Jerome

 

 

From: Jesse Eichar [mailto:jesse.eic...@camptocamp.com] 
Sent: Friday, November 01, 2013 1:56 AM
To: jawendell
Cc: Mauro Bartolomeoli; GeoServer Mailing List List
Subject: Re: [Geoserver-users] GeoServer Printing Module

 

Hi Jerome,

 

I had asked you to download a "standalone" application instead of a 
webapplication.  It is useful for debugging issues sometimes.  

 

The yaml parameter I think should be pretty straightforward.  It is the print 
application configuration and exists on the server with the print 
servlet/webapplication.

 

The spec parameter simulates the browsers print request.  Therefore it has to 
contain the same json that a print request makes.  As you can see in the 
console above it is complaining about the format of the request.

 

In order to get the spec data you can:

*   Open a browser.  
*   go to the print page
*   Open the developer tools for that browser (F12 if using chrome) . 
*   make a print request.
*   Look in the developer tools for the browser and find the POST data for 
the print request.
*   Copy the post data in to a file

that POST data is what needs to be in a spec.

 

For comparison you can look at several examples that are online:

 

https://github.com/mapfish/mapfish-print/tree/master/samples

 

You can also read the documentation about the spec:

 

http://www.mapfish.org/doc/print/protocol.html

 

Jesse

 

On Thu, Oct 31, 2013 at 7:29 PM, Jerome A. Wendell  
wrote:

I have run the command for the standalone module, and I get the following error:



Does anyone know a solution for the “Cannot parse the spec file” error?

 

Thanks,

 

Jerome

 

 

From: Jesse Eichar [mailto:jesse.eic...@camptocamp.com] 
Sent: Wednesday, October 30, 2013 2:56 PM


To: jawendell
Cc: Mauro Bartolomeoli; GeoServer Mailing List List
Subject: Re: [Geoserver-users] GeoServer Printing Module

 

Really nothing useful there is there...  could you download:

 

http://search.maven.org/remotecontent?filepath=org/mapfish/print/print-standalone/1.2.0/print-standalone-1.2.0.jar

 

and run it with your request to see if there is something broken with the 
version of mapfish-print that you are using?

 

Command to run:

 

java -jar print-standalone-1.2.0.jar  --config=config.yaml --spec=spec.json 
--output=print.pdf --verbose=3

 

where config.yaml is the configuration you find within geoserver somewhere

the spec.json is what is posted by the browser.

verbose 3 will give maximum logging.

print.pdf will be the generated file.

 

 

Lets see if this works.  We have to be a bit careful in the case that the 
config.yaml or the spec.json is not compatible with the newer version but I 
think in most cases backwards compatibility was maintained as best as possible.

 

Jesse

 

<>--
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] GeoServer Printing Module

2013-10-31 Thread Jerome A. Wendell
Jonathan,

 

Thanks.  I appreciate your instructions.

 

Jerome

 

 

From: Jonathan Moules [mailto:jonathanmou...@warwickshire.gov.uk] 
Sent: Thursday, October 31, 2013 8:35 AM
To: jawend...@suddenlink.net
Cc: Jesse Eichar; Mauro Bartolomeoli; GeoServer Mailing List List
Subject: Re: [Geoserver-users] GeoServer Printing Module

 

Hi Jerome,

You're already using Jetty - it's the server that Geoserver runs out of.
Stick it in the webapps directory and it should work. You'll need to restart
jetty/geoserver of course.

 

Jonathan

 

 

On 31 October 2013 12:31, Jerome A. Wendell 
wrote:

Jonathan,

 

Thanks for your reply.  That is the file that I downloaded.  I have not
installed Jetty, does it come as part of the Windows Server or GeoServer
installation?  I have been able to extract the files from the .war file.

 

Thanks for your help,

 

Jerome

 

 

From: Jonathan Moules [mailto:jonathanmou...@warwickshire.gov.uk] 
Sent: Thursday, October 31, 2013 5:04 AM
To: jawend...@suddenlink.net
Cc: Jesse Eichar; Mauro Bartolomeoli; GeoServer Mailing List List
Subject: Re: [Geoserver-users] GeoServer Printing Module

 

Hi Jerome,

Yep, this file:

https://oss.sonatype.org/content/repositories/snapshots/org/mapfish/print/pr
int-servlet/2.0-SNAPSHOT/print-servlet-2.0-SNAPSHOT.war

 

If that's where you've put Tomcat/Jetty (I'm guessing Jetty as you windows
installed), then yes, that's where you want to place the war file. Actually
you'll probably want to extract it into that directory (it's basically a zip
file with a different extension) and then delete the .war itself.

After that you can access it in the way previously described.

Regards,

Jonathan

 

 

On 30 October 2013 20:40, Jerome A. Wendell 
wrote:

Jonathan,

 

The war file that I found at the link provided is
print-servlet-2.0-SNAPSHOT.war.  Is this the correct file?

 

Also, the print directory that you suggested, would that be C:\Program Files
(x86)\GeoServer 2.4.0\webapps\print?

 

Thanks,

 

Jerome

 


This transmission is intended for the named addressee(s) only and may
contain sensitive or protectively marked material up to RESTRICTED 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 transmission in error
please notify the sender immediately. All email traffic sent to or from us,
including without limitation all GCSX traffic, may be subject to recording
and/or monitoring in accordance with relevant legislation.

 


This transmission is intended for the named addressee(s) only and may
contain sensitive or protectively marked material up to RESTRICTED 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 transmission in error
please notify the sender immediately. All email traffic sent to or from us,
including without limitation all GCSX traffic, may be subject to recording
and/or monitoring in accordance with relevant legislation.

--
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] GeoServer Printing Module

2013-10-31 Thread Jonathan Moules
Hi Jerome,
You're already using Jetty - it's the server that Geoserver runs out of.
Stick it in the webapps directory and it should work. You'll need to
restart jetty/geoserver of course.

Jonathan



On 31 October 2013 12:31, Jerome A. Wendell wrote:

> Jonathan,
>
> ** **
>
> Thanks for your reply.  That is the file that I downloaded.  I have not
> installed Jetty, does it come as part of the Windows Server or GeoServer
> installation?  I have been able to extract the files from the .war file.**
> **
>
> ** **
>
> Thanks for your help,
>
> ** **
>
> Jerome
>
> ** **
>
> ** **
>
> *From:* Jonathan Moules [mailto:jonathanmou...@warwickshire.gov.uk]
> *Sent:* Thursday, October 31, 2013 5:04 AM
> *To:* jawend...@suddenlink.net
> *Cc:* Jesse Eichar; Mauro Bartolomeoli; GeoServer Mailing List List
> *Subject:* Re: [Geoserver-users] GeoServer Printing Module
>
> ** **
>
> Hi Jerome,
>
> Yep, this file:
>
>
> https://oss.sonatype.org/content/repositories/snapshots/org/mapfish/print/print-servlet/2.0-SNAPSHOT/print-servlet-2.0-SNAPSHOT.war
> 
>
> ** **
>
> If that's where you've put Tomcat/Jetty (I'm guessing Jetty as you windows
> installed), then yes, that's where you want to place the war file. Actually
> you'll probably want to extract it into that directory (it's basically a
> zip file with a different extension) and then delete the .war itself.
>
> After that you can access it in the way previously described.
>
> Regards,
>
> Jonathan
>
> ** **
>
> ** **
>
> On 30 October 2013 20:40, Jerome A. Wendell 
> wrote:
>
> Jonathan,
>
>  
>
> The war file that I found at the link provided is
> print-servlet-2.0-SNAPSHOT.war.  Is this the correct file?
>
>  
>
> Also, the print directory that you suggested, would that be C:\Program
> Files (x86)\GeoServer 2.4.0\webapps\print?
>
>  
>
> Thanks,
>
>  
>
> Jerome
>
>  
>
>
> This transmission is intended for the named addressee(s) only and may
> contain sensitive or protectively marked material up to RESTRICTED 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 transmission in error
> please notify the sender immediately. All email traffic sent to or from us,
> including without limitation all GCSX traffic, may be subject to recording
> and/or monitoring in accordance with relevant legislation.
>

-- 
This transmission is intended for the named addressee(s) only and may 
contain sensitive or protectively marked material up to RESTRICTED 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 transmission in error 
please notify the sender immediately. All email traffic sent to or from us, 
including without limitation all GCSX traffic, may be subject to recording 
and/or monitoring in accordance with relevant legislation.
--
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] GeoServer Printing Module

2013-10-31 Thread Jerome A. Wendell
Jukka,

 

Thanks for the suggestion.  Even the space in the name of the Program Files
(x86) directory has caused issues.

 

Thanks,

 

Jerome

 

 

From: Rahkonen Jukka [mailto:jukka.rahko...@mmmtike.fi] 
Sent: Thursday, October 31, 2013 6:52 AM
To: 'GeoServer Mailing List List'
Subject: Re: [Geoserver-users] GeoServer Printing Module

 

Hi,

 

I am remembering that there was some other Geoserver issue with Windows 7
when GS was installed into C:\Program Files (x86)\ because operating system
is limiting some operations in that directory. Perhaps it will not change
anything but it will not take long to install Geoserver into for example to
c:\geoserver_421 and have a try. It can be more practical anyway for the
future.

 

-Jukka Rahkonen-

 

Jerome A. Wendell wrote:

 

Jonathan,

 

The war file that I found at the link provided is
print-servlet-2.0-SNAPSHOT.war.  Is this the correct file?

 

Also, the print directory that you suggested, would that be C:\Program Files
(x86)\GeoServer 2.4.0\webapps\print?

 

Thanks,

 

Jerome

 

 

From: Jonathan Moules [mailto:jonathanmou...@warwickshire.gov.uk] 
Sent: Wednesday, October 30, 2013 8:31 AM
To: jawend...@suddenlink.net
Cc: Jesse Eichar; Mauro Bartolomeoli; GeoServer Mailing List List
Subject: Re: [Geoserver-users] GeoServer Printing Module

 

Hi Jerome,

An alternate option is to use a stand-alone instance. You can get a
pre-compiled war file (treat in the same way as a Geoserver .war) here:

https://oss.sonatype.org/content/repositories/snapshots/org/mapfish/print/pr
int-servlet/2.0-SNAPSHOT/

 

It's also a much newer version than the one that GeoServer uses.

Jonathan

 

 

On 30 October 2013 12:18, Jerome A. Wendell 
wrote:

Jesse,

 

Thanks for your reply.  I knew there was a time difference.  I just
appreciate that you are still helping me.  I will go through the steps that
you have outlined, and let you know what the results are.

 

Thanks again for all of your help.

 

Jerome

 

From: Jesse Eichar [mailto:jesse.eic...@camptocamp.com] 
Sent: Wednesday, October 30, 2013 4:38 AM
To: jawendell
Cc: Mauro Bartolomeoli; GeoServer Mailing List List
Subject: Re: [Geoserver-users] GeoServer Printing Module

 

Sorry to take so long to respond.  I am in switzerland so I imagine I work
at different hours from you.

 

I have attached a class file (and the source code) for you that lists the
formats your image-io install supports.  Run it as follows:

 

java -classpath . ListFormats

 

It should give output like:

 

BMP

bmp

jpg

JPG

wbmp

jpeg

png

PNG

JPEG

WBMP

GIF

gif

 

This only checks the configuration of your default java. to get a more
accurate view of what mapfish print has access to you need to change to:

 

java -classpath .: ListFormats

 

For example:

 

java -classpath .:WEB-INF/lib/imageio-ext.jar:WEB-INF/lib/mapfish-print.jar
ListFormats

 

 

You will want to add all the jars in the WEB-INF/lib directory to get a
complete picture.

 

If the first or the second list PNG or png then it should be configured
correctly and your problem lays elsewhere.

 

The logging is configured in the WEB-INF/classes/log4j.properties file.  You
can change DEBUG to TRACE to possibly get more information.  

 

Also try log4j.rootLogger=DEBUG, R

 

 

Feel free to post the full log somewhere so I can look at the full log.

 

Jesse

 

 



--
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951
<http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
> &iu=/4140/ostg.clktrk
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

 


This transmission is intended for the named addressee(s) only and may
contain sensitive or protectively marked material up to RESTRICTED 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 transmission in error
please notify the sender immediately. All email traffic sent to or from us,
including without limitation all GCSX traffic, may be subject to recording
and/or monitoring in accordance with relevant legislation.

--
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.

Re: [Geoserver-users] GeoServer Printing Module

2013-10-31 Thread Jerome A. Wendell
Jonathan,

 

Thanks for your reply.  That is the file that I downloaded.  I have not
installed Jetty, does it come as part of the Windows Server or GeoServer
installation?  I have been able to extract the files from the .war file.

 

Thanks for your help,

 

Jerome

 

 

From: Jonathan Moules [mailto:jonathanmou...@warwickshire.gov.uk] 
Sent: Thursday, October 31, 2013 5:04 AM
To: jawend...@suddenlink.net
Cc: Jesse Eichar; Mauro Bartolomeoli; GeoServer Mailing List List
Subject: Re: [Geoserver-users] GeoServer Printing Module

 

Hi Jerome,

Yep, this file:

https://oss.sonatype.org/content/repositories/snapshots/org/mapfish/print/pr
int-servlet/2.0-SNAPSHOT/print-servlet-2.0-SNAPSHOT.war

 

If that's where you've put Tomcat/Jetty (I'm guessing Jetty as you windows
installed), then yes, that's where you want to place the war file. Actually
you'll probably want to extract it into that directory (it's basically a zip
file with a different extension) and then delete the .war itself.

After that you can access it in the way previously described.

Regards,

Jonathan

 

 

On 30 October 2013 20:40, Jerome A. Wendell 
wrote:

Jonathan,

 

The war file that I found at the link provided is
print-servlet-2.0-SNAPSHOT.war.  Is this the correct file?

 

Also, the print directory that you suggested, would that be C:\Program Files
(x86)\GeoServer 2.4.0\webapps\print?

 

Thanks,

 

Jerome

 


This transmission is intended for the named addressee(s) only and may
contain sensitive or protectively marked material up to RESTRICTED 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 transmission in error
please notify the sender immediately. All email traffic sent to or from us,
including without limitation all GCSX traffic, may be subject to recording
and/or monitoring in accordance with relevant legislation.

--
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] GeoServer Printing Module

2013-10-31 Thread Rahkonen Jukka
Hi,

I am remembering that there was some other Geoserver issue with Windows 7 when 
GS was installed into C:\Program Files (x86)\ because operating system is 
limiting some operations in that directory. Perhaps it will not change anything 
but it will not take long to install Geoserver into for example to 
c:\geoserver_421 and have a try. It can be more practical anyway for the future.

-Jukka Rahkonen-
Jerome A. Wendell wrote:

Jonathan,

The war file that I found at the link provided is 
print-servlet-2.0-SNAPSHOT.war.  Is this the correct file?

Also, the print directory that you suggested, would that be C:\Program Files 
(x86)\GeoServer 2.4.0\webapps\print?

Thanks,

Jerome


From: Jonathan Moules [mailto:jonathanmou...@warwickshire.gov.uk]
Sent: Wednesday, October 30, 2013 8:31 AM
To: jawend...@suddenlink.net<mailto:jawend...@suddenlink.net>
Cc: Jesse Eichar; Mauro Bartolomeoli; GeoServer Mailing List List
Subject: Re: [Geoserver-users] GeoServer Printing Module

Hi Jerome,
An alternate option is to use a stand-alone instance. You can get a 
pre-compiled war file (treat in the same way as a Geoserver .war) here:
https://oss.sonatype.org/content/repositories/snapshots/org/mapfish/print/print-servlet/2.0-SNAPSHOT/

It's also a much newer version than the one that GeoServer uses.
Jonathan


On 30 October 2013 12:18, Jerome A. Wendell 
mailto:jawend...@suddenlink.net>> wrote:
Jesse,

Thanks for your reply.  I knew there was a time difference.  I just appreciate 
that you are still helping me.  I will go through the steps that you have 
outlined, and let you know what the results are.

Thanks again for all of your help.

Jerome

From: Jesse Eichar 
[mailto:jesse.eic...@camptocamp.com<mailto:jesse.eic...@camptocamp.com>]
Sent: Wednesday, October 30, 2013 4:38 AM
To: jawendell
Cc: Mauro Bartolomeoli; GeoServer Mailing List List
Subject: Re: [Geoserver-users] GeoServer Printing Module

Sorry to take so long to respond.  I am in switzerland so I imagine I work at 
different hours from you.

I have attached a class file (and the source code) for you that lists the 
formats your image-io install supports.  Run it as follows:

java -classpath . ListFormats

It should give output like:

BMP
bmp
jpg
JPG
wbmp
jpeg
png
PNG
JPEG
WBMP
GIF
gif

This only checks the configuration of your default java. to get a more accurate 
view of what mapfish print has access to you need to change to:

java -classpath .: ListFormats

For example:

java -classpath .:WEB-INF/lib/imageio-ext.jar:WEB-INF/lib/mapfish-print.jar 
ListFormats


You will want to add all the jars in the WEB-INF/lib directory to get a 
complete picture.

If the first or the second list PNG or png then it should be configured 
correctly and your problem lays elsewhere.

The logging is configured in the WEB-INF/classes/log4j.properties file.  You 
can change DEBUG to TRACE to possibly get more information.

Also try log4j.rootLogger=DEBUG, R


Feel free to post the full log somewhere so I can look at the full log.

Jesse



--
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net<mailto:Geoserver-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/geoserver-users


This transmission is intended for the named addressee(s) only and may contain 
sensitive or protectively marked material up to RESTRICTED 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 transmission in error please notify the 
sender immediately. All email traffic sent to or from us, including without 
limitation all GCSX traffic, may be subject to recording and/or monitoring in 
accordance with relevant legislation.
--
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] GeoServer Printing Module

2013-10-31 Thread Jonathan Moules
Hi Jerome,
Yep, this file:
https://oss.sonatype.org/content/repositories/snapshots/org/mapfish/print/print-servlet/2.0-SNAPSHOT/print-servlet-2.0-SNAPSHOT.war

If that's where you've put Tomcat/Jetty (I'm guessing Jetty as you windows
installed), then yes, that's where you want to place the war file. Actually
you'll probably want to extract it into that directory (it's basically a
zip file with a different extension) and then delete the .war itself.
After that you can access it in the way previously described.
Regards,
Jonathan



On 30 October 2013 20:40, Jerome A. Wendell wrote:

> Jonathan,
>
> ** **
>
> The war file that I found at the link provided is
> print-servlet-2.0-SNAPSHOT.war.  Is this the correct file?
>
> ** **
>
> Also, the print directory that you suggested, would that be C:\Program
> Files (x86)\GeoServer 2.4.0\webapps\print?
>
> ** **
>
> Thanks,
>
> ** **
>
> Jerome
>
> **
>

-- 
This transmission is intended for the named addressee(s) only and may 
contain sensitive or protectively marked material up to RESTRICTED 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 transmission in error 
please notify the sender immediately. All email traffic sent to or from us, 
including without limitation all GCSX traffic, may be subject to recording 
and/or monitoring in accordance with relevant legislation.
--
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] GeoServer Printing Module

2013-10-30 Thread Jerome A. Wendell
Jonathan,

 

The war file that I found at the link provided is
print-servlet-2.0-SNAPSHOT.war.  Is this the correct file?

 

Also, the print directory that you suggested, would that be C:\Program Files
(x86)\GeoServer 2.4.0\webapps\print?

 

Thanks,

 

Jerome

 

 

From: Jonathan Moules [mailto:jonathanmou...@warwickshire.gov.uk] 
Sent: Wednesday, October 30, 2013 8:31 AM
To: jawend...@suddenlink.net
Cc: Jesse Eichar; Mauro Bartolomeoli; GeoServer Mailing List List
Subject: Re: [Geoserver-users] GeoServer Printing Module

 

Hi Jerome,

An alternate option is to use a stand-alone instance. You can get a
pre-compiled war file (treat in the same way as a Geoserver .war) here:

https://oss.sonatype.org/content/repositories/snapshots/org/mapfish/print/pr
int-servlet/2.0-SNAPSHOT/

 

It's also a much newer version than the one that GeoServer uses.

Jonathan

 

 

On 30 October 2013 12:18, Jerome A. Wendell 
wrote:

Jesse,

 

Thanks for your reply.  I knew there was a time difference.  I just
appreciate that you are still helping me.  I will go through the steps that
you have outlined, and let you know what the results are.

 

Thanks again for all of your help.

 

Jerome

 

From: Jesse Eichar [mailto:jesse.eic...@camptocamp.com] 
Sent: Wednesday, October 30, 2013 4:38 AM
To: jawendell
Cc: Mauro Bartolomeoli; GeoServer Mailing List List
Subject: Re: [Geoserver-users] GeoServer Printing Module

 

Sorry to take so long to respond.  I am in switzerland so I imagine I work
at different hours from you.

 

I have attached a class file (and the source code) for you that lists the
formats your image-io install supports.  Run it as follows:

 

java -classpath . ListFormats

 

It should give output like:

 

BMP

bmp

jpg

JPG

wbmp

jpeg

png

PNG

JPEG

WBMP

GIF

gif

 

This only checks the configuration of your default java. to get a more
accurate view of what mapfish print has access to you need to change to:

 

java -classpath .: ListFormats

 

For example:

 

java -classpath .:WEB-INF/lib/imageio-ext.jar:WEB-INF/lib/mapfish-print.jar
ListFormats

 

 

You will want to add all the jars in the WEB-INF/lib directory to get a
complete picture.

 

If the first or the second list PNG or png then it should be configured
correctly and your problem lays elsewhere.

 

The logging is configured in the WEB-INF/classes/log4j.properties file.  You
can change DEBUG to TRACE to possibly get more information.  

 

Also try log4j.rootLogger=DEBUG, R

 

 

Feel free to post the full log somewhere so I can look at the full log.

 

Jesse

 

 



--
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951
<http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
> &iu=/4140/ostg.clktrk
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

 


This transmission is intended for the named addressee(s) only and may
contain sensitive or protectively marked material up to RESTRICTED 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 transmission in error
please notify the sender immediately. All email traffic sent to or from us,
including without limitation all GCSX traffic, may be subject to recording
and/or monitoring in accordance with relevant legislation.

--
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] GeoServer Printing Module

2013-10-30 Thread Jerome A. Wendell
Jesse,

 

I failed to mention in my reply a few moments ago, that I do not have a 
WEB-INF\classes\log4j.properties file.

 

Thanks,

 

Jerome

 

 

From: Jesse Eichar [mailto:jesse.eic...@camptocamp.com] 
Sent: Wednesday, October 30, 2013 4:38 AM
To: jawendell
Cc: Mauro Bartolomeoli; GeoServer Mailing List List
Subject: Re: [Geoserver-users] GeoServer Printing Module

 

Sorry to take so long to respond.  I am in switzerland so I imagine I work at 
different hours from you.

 

I have attached a class file (and the source code) for you that lists the 
formats your image-io install supports.  Run it as follows:

 

java -classpath . ListFormats

 

It should give output like:

 

BMP

bmp

jpg

JPG

wbmp

jpeg

png

PNG

JPEG

WBMP

GIF

gif

 

This only checks the configuration of your default java. to get a more accurate 
view of what mapfish print has access to you need to change to:

 

java -classpath .: ListFormats

 

For example:

 

java -classpath .:WEB-INF/lib/imageio-ext.jar:WEB-INF/lib/mapfish-print.jar 
ListFormats

 

 

You will want to add all the jars in the WEB-INF/lib directory to get a 
complete picture.

 

If the first or the second list PNG or png then it should be configured 
correctly and your problem lays elsewhere.

 

The logging is configured in the WEB-INF/classes/log4j.properties file.  You 
can change DEBUG to TRACE to possibly get more information.  

 

Also try log4j.rootLogger=DEBUG, R

 

 

Feel free to post the full log somewhere so I can look at the full log.

 

Jesse

 

 

--
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] GeoServer Printing Module

2013-10-30 Thread Jerome A. Wendell
Jonathan,

 

Thanks, I appreciate the additional explanation.  I have a lot to learn.

 

Jerome

 

 

From: Jonathan Moules [mailto:jonathanmou...@warwickshire.gov.uk] 
Sent: Wednesday, October 30, 2013 9:58 AM
To: jawend...@suddenlink.net
Cc: Jesse Eichar; Mauro Bartolomeoli; GeoServer Mailing List List
Subject: Re: [Geoserver-users] GeoServer Printing Module

 

Hi Jerome,

Hmmm, ok. There's a .war install for GeoServer which is what I was referring
to.

Basically:
Extract the .war file into wherever the /geoserver/ directory is in your
install. You'll then be able to access it via a similar url.

So:
www.example.com:8080/geoserver/

www.example.com:8080/print/

if you put it into a directory called "print".

Regards,

Jonathan

 

On 30 October 2013 13:11, Jerome A. Wendell 
wrote:

Jonathan,

 

Thanks for the additional information.  If I can't get my problem resolved,
I may need to take a look at the stand-alone instance.  When you say to
treat it in the same way as a GeoServer .war, I am not sure what you mean.
I used the Windows installer for GeoServer.

 

I appreciate your help.

 

Jerome

 

 

From: Jonathan Moules [mailto:jonathanmou...@warwickshire.gov.uk] 
Sent: Wednesday, October 30, 2013 8:31 AM
To: jawend...@suddenlink.net
Cc: Jesse Eichar; Mauro Bartolomeoli; GeoServer Mailing List List
Subject: Re: [Geoserver-users] GeoServer Printing Module

 

Hi Jerome,

An alternate option is to use a stand-alone instance. You can get a
pre-compiled war file (treat in the same way as a Geoserver .war) here:

https://oss.sonatype.org/content/repositories/snapshots/org/mapfish/print/pr
int-servlet/2.0-SNAPSHOT/

 

It's also a much newer version than the one that GeoServer uses.

Jonathan

 

 

On 30 October 2013 12:18, Jerome A. Wendell 
wrote:

Jesse,

 

Thanks for your reply.  I knew there was a time difference.  I just
appreciate that you are still helping me.  I will go through the steps that
you have outlined, and let you know what the results are.

 

Thanks again for all of your help.

 

Jerome

 

From: Jesse Eichar [mailto:jesse.eic...@camptocamp.com] 
Sent: Wednesday, October 30, 2013 4:38 AM
To: jawendell
Cc: Mauro Bartolomeoli; GeoServer Mailing List List
Subject: Re: [Geoserver-users] GeoServer Printing Module

 

Sorry to take so long to respond.  I am in switzerland so I imagine I work
at different hours from you.

 

I have attached a class file (and the source code) for you that lists the
formats your image-io install supports.  Run it as follows:

 

java -classpath . ListFormats

 

It should give output like:

 

BMP

bmp

jpg

JPG

wbmp

jpeg

png

PNG

JPEG

WBMP

GIF

gif

 

This only checks the configuration of your default java. to get a more
accurate view of what mapfish print has access to you need to change to:

 

java -classpath .: ListFormats

 

For example:

 

java -classpath .:WEB-INF/lib/imageio-ext.jar:WEB-INF/lib/mapfish-print.jar
ListFormats

 

 

You will want to add all the jars in the WEB-INF/lib directory to get a
complete picture.

 

If the first or the second list PNG or png then it should be configured
correctly and your problem lays elsewhere.

 

The logging is configured in the WEB-INF/classes/log4j.properties file.  You
can change DEBUG to TRACE to possibly get more information.  

 

Also try log4j.rootLogger=DEBUG, R

 

 

Feel free to post the full log somewhere so I can look at the full log.

 

Jesse

 

 



--
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951
<http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
> &iu=/4140/ostg.clktrk
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

 


This transmission is intended for the named addressee(s) only and may
contain sensitive or protectively marked material up to RESTRICTED 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 transmission in error
please notify the sender immediately. All email traffic sent to or from us,
including without limitation all GCSX traffic, may be subject to recording
and/or monitoring in accordance with relevant legislation.

 


This transmission is intended for the named addressee(s) only and may
contain sensitive or protectively marked material up to RESTRICTED and
should be handled accordingly. Unless you are the named addressee (or
authorised to receive it for the addressee) you may not c

Re: [Geoserver-users] GeoServer Printing Module

2013-10-30 Thread Jerome A. Wendell
Jesse,

 

I appears that I am doing something wrong, or I have put the file in the wrong 
place.  I placed the file in the WEB-INF/classes directory.  When I try to run 
java –classpath . ListFormats I get the following error:

 



 

When I execute the second command, java -classpath 
.:WEB-INF/lib/imageio-ext.jar:WEB-INF/lib/mapfish-print.jar ListFormats I get 
the following error:

 



 

Obviously I am a rookie at this, and I appreciate your patience.  I am running 
a Windows 64-bit server, and have 32-bit Java 6 Update 39 jre installed, along 
with Java SE Development Kit 6 Update 39.  If you can advise me as to what I am 
doing wrong I would really appreciate it.

 

Thanks,

 

Jerome

 

 

From: Jesse Eichar [mailto:jesse.eic...@camptocamp.com] 
Sent: Wednesday, October 30, 2013 4:38 AM
To: jawendell
Cc: Mauro Bartolomeoli; GeoServer Mailing List List
Subject: Re: [Geoserver-users] GeoServer Printing Module

 

Sorry to take so long to respond.  I am in switzerland so I imagine I work at 
different hours from you.

 

I have attached a class file (and the source code) for you that lists the 
formats your image-io install supports.  Run it as follows:

 

java -classpath . ListFormats

 

It should give output like:

 

BMP

bmp

jpg

JPG

wbmp

jpeg

png

PNG

JPEG

WBMP

GIF

gif

 

This only checks the configuration of your default java. to get a more accurate 
view of what mapfish print has access to you need to change to:

 

java -classpath .: ListFormats

 

For example:

 

java -classpath .:WEB-INF/lib/imageio-ext.jar:WEB-INF/lib/mapfish-print.jar 
ListFormats

 

 

You will want to add all the jars in the WEB-INF/lib directory to get a 
complete picture.

 

If the first or the second list PNG or png then it should be configured 
correctly and your problem lays elsewhere.

 

The logging is configured in the WEB-INF/classes/log4j.properties file.  You 
can change DEBUG to TRACE to possibly get more information.  

 

Also try log4j.rootLogger=DEBUG, R

 

 

Feel free to post the full log somewhere so I can look at the full log.

 

Jesse

 

 

<><>--
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] GeoServer Printing Module

2013-10-30 Thread Jonathan Moules
Hi Jerome,
Hmmm, ok. There's a .war install for GeoServer which is what I was
referring to.
Basically:
Extract the .war file into wherever the /geoserver/ directory is in your
install. You'll then be able to access it via a similar url.
So:
www.example.com:8080/geoserver/
www.example.com:8080/print/

if you put it into a directory called "print".
Regards,
Jonathan


On 30 October 2013 13:11, Jerome A. Wendell wrote:

> Jonathan,
>
> ** **
>
> Thanks for the additional information.  If I can’t get my problem
> resolved, I may need to take a look at the stand-alone instance.  When you
> say to treat it in the same way as a GeoServer .war, I am not sure what you
> mean.  I used the Windows installer for GeoServer.
>
> ** **
>
> I appreciate your help.
>
> ** **
>
> Jerome
>
> ** **
>
> ** **
>
> *From:* Jonathan Moules [mailto:jonathanmou...@warwickshire.gov.uk]
> *Sent:* Wednesday, October 30, 2013 8:31 AM
> *To:* jawend...@suddenlink.net
> *Cc:* Jesse Eichar; Mauro Bartolomeoli; GeoServer Mailing List List
> *Subject:* Re: [Geoserver-users] GeoServer Printing Module
>
> ** **
>
> Hi Jerome,
>
> An alternate option is to use a stand-alone instance. You can get a
> pre-compiled war file (treat in the same way as a Geoserver .war) here:***
> *
>
>
> https://oss.sonatype.org/content/repositories/snapshots/org/mapfish/print/print-servlet/2.0-SNAPSHOT/
> 
>
> ** **
>
> It's also a much newer version than the one that GeoServer uses.
>
> Jonathan
>
> ** **
>
> ** **
>
> On 30 October 2013 12:18, Jerome A. Wendell 
> wrote:
>
> Jesse,
>
>  
>
> Thanks for your reply.  I knew there was a time difference.  I just
> appreciate that you are still helping me.  I will go through the steps that
> you have outlined, and let you know what the results are.
>
>  
>
> Thanks again for all of your help.
>
>  
>
> Jerome
>
>  
>
> *From:* Jesse Eichar [mailto:jesse.eic...@camptocamp.com]
> *Sent:* Wednesday, October 30, 2013 4:38 AM
> *To:* jawendell
> *Cc:* Mauro Bartolomeoli; GeoServer Mailing List List
> *Subject:* Re: [Geoserver-users] GeoServer Printing Module
>
>  
>
> Sorry to take so long to respond.  I am in switzerland so I imagine I work
> at different hours from you.
>
>  
>
> I have attached a class file (and the source code) for you that lists the
> formats your image-io install supports.  Run it as follows:
>
>  
>
> java -classpath . ListFormats
>
>  
>
> It should give output like:
>
>  
>
> BMP
>
> bmp
>
> jpg
>
> JPG
>
> wbmp
>
> jpeg
>
> png
>
> PNG
>
> JPEG
>
> WBMP
>
> GIF
>
> gif
>
>  
>
> This only checks the configuration of your default java. to get a more
> accurate view of what mapfish print has access to you need to change to:**
> **
>
>  
>
> java -classpath .: ListFormats
>
>  
>
> For example:
>
>  
>
> java -classpath
> .:WEB-INF/lib/imageio-ext.jar:WEB-INF/lib/mapfish-print.jar ListFormats***
> *
>
>  
>
>  
>
> You will want to add all the jars in the WEB-INF/lib directory to get a
> complete picture.
>
>  
>
> If the first or the second list PNG or png then it should be configured
> correctly and your problem lays elsewhere.
>
>  
>
> The logging is configured in the WEB-INF/classes/log4j.properties file.
>  You can change DEBUG to TRACE to possibly get more information.  
>
>  
>
> Also try log4j.rootLogger=DEBUG, R
>
>  
>
>  
>
> Feel free to post the full log somewhere so I can look at the full log.***
> *
>
>  
>
> Jesse
>
>  
>
>  
>
>
>
> --
> Android is increasing in popularity, but the open development platform that
> developers love is also attractive to malware creators. Download this white
> paper to learn more about secure code signing practices that can help keep
> Android apps secure.
> http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
> ___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
> ** **
>
>
> This transmission is intended for the named addressee(s) only and may
> contain sensitive or prot

Re: [Geoserver-users] GeoServer Printing Module

2013-10-30 Thread Jerome A. Wendell
Jesse,

 

I guess the documentation that explains the setup is on the MapFish web site.  
Previously I looked at doing a full install of MapFish, but then I realized 
that all I needed was the printing module.

 

Thanks,

 

Jerome

 

 

From: Jesse Eichar [mailto:jesse.eic...@camptocamp.com] 
Sent: Wednesday, October 30, 2013 9:01 AM
To: Jonathan Moules
Cc: jawendell; Mauro Bartolomeoli; GeoServer Mailing List List
Subject: Re: [Geoserver-users] GeoServer Printing Module

 

The newer versions also have ImageIO (a software only version) that helps 
simplify setup.

 

Jesse

On Wed, Oct 30, 2013 at 1:30 PM, Jonathan Moules 
 wrote:

Hi Jerome,

An alternate option is to use a stand-alone instance. You can get a 
pre-compiled war file (treat in the same way as a Geoserver .war) here:

https://oss.sonatype.org/content/repositories/snapshots/org/mapfish/print/print-servlet/2.0-SNAPSHOT/

 

It's also a much newer version than the one that GeoServer uses.

Jonathan

 

 

On 30 October 2013 12:18, Jerome A. Wendell  wrote:

Jesse,

 

Thanks for your reply.  I knew there was a time difference.  I just appreciate 
that you are still helping me.  I will go through the steps that you have 
outlined, and let you know what the results are.

 

Thanks again for all of your help.

 

Jerome

 

From: Jesse Eichar [mailto:jesse.eic...@camptocamp.com] 
Sent: Wednesday, October 30, 2013 4:38 AM
To: jawendell
Cc: Mauro Bartolomeoli; GeoServer Mailing List List
Subject: Re: [Geoserver-users] GeoServer Printing Module

 

Sorry to take so long to respond.  I am in switzerland so I imagine I work at 
different hours from you.

 

I have attached a class file (and the source code) for you that lists the 
formats your image-io install supports.  Run it as follows:

 

java -classpath . ListFormats

 

It should give output like:

 

BMP

bmp

jpg

JPG

wbmp

jpeg

png

PNG

JPEG

WBMP

GIF

gif

 

This only checks the configuration of your default java. to get a more accurate 
view of what mapfish print has access to you need to change to:

 

java -classpath .: ListFormats

 

For example:

 

java -classpath .:WEB-INF/lib/imageio-ext.jar:WEB-INF/lib/mapfish-print.jar 
ListFormats

 

 

You will want to add all the jars in the WEB-INF/lib directory to get a 
complete picture.

 

If the first or the second list PNG or png then it should be configured 
correctly and your problem lays elsewhere.

 

The logging is configured in the WEB-INF/classes/log4j.properties file.  You 
can change DEBUG to TRACE to possibly get more information.  

 

Also try log4j.rootLogger=DEBUG, R

 

 

Feel free to post the full log somewhere so I can look at the full log.

 

Jesse

 

 

 

--
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951 
<http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk> 
&iu=/4140/ostg.clktrk

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

 


This transmission is intended for the named addressee(s) only and may contain 
sensitive or protectively marked material up to RESTRICTED 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 transmission in error please notify the 
sender immediately. All email traffic sent to or from us, including without 
limitation all GCSX traffic, may be subject to recording and/or monitoring in 
accordance with relevant legislation.

 

--
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] GeoServer Printing Module

2013-10-30 Thread Jerome A. Wendell
Jonathan,

 

Thanks for the additional information.  If I can't get my problem resolved,
I may need to take a look at the stand-alone instance.  When you say to
treat it in the same way as a GeoServer .war, I am not sure what you mean.
I used the Windows installer for GeoServer.

 

I appreciate your help.

 

Jerome

 

 

From: Jonathan Moules [mailto:jonathanmou...@warwickshire.gov.uk] 
Sent: Wednesday, October 30, 2013 8:31 AM
To: jawend...@suddenlink.net
Cc: Jesse Eichar; Mauro Bartolomeoli; GeoServer Mailing List List
Subject: Re: [Geoserver-users] GeoServer Printing Module

 

Hi Jerome,

An alternate option is to use a stand-alone instance. You can get a
pre-compiled war file (treat in the same way as a Geoserver .war) here:

https://oss.sonatype.org/content/repositories/snapshots/org/mapfish/print/pr
int-servlet/2.0-SNAPSHOT/

 

It's also a much newer version than the one that GeoServer uses.

Jonathan

 

 

On 30 October 2013 12:18, Jerome A. Wendell 
wrote:

Jesse,

 

Thanks for your reply.  I knew there was a time difference.  I just
appreciate that you are still helping me.  I will go through the steps that
you have outlined, and let you know what the results are.

 

Thanks again for all of your help.

 

Jerome

 

From: Jesse Eichar [mailto:jesse.eic...@camptocamp.com] 
Sent: Wednesday, October 30, 2013 4:38 AM
To: jawendell
Cc: Mauro Bartolomeoli; GeoServer Mailing List List
Subject: Re: [Geoserver-users] GeoServer Printing Module

 

Sorry to take so long to respond.  I am in switzerland so I imagine I work
at different hours from you.

 

I have attached a class file (and the source code) for you that lists the
formats your image-io install supports.  Run it as follows:

 

java -classpath . ListFormats

 

It should give output like:

 

BMP

bmp

jpg

JPG

wbmp

jpeg

png

PNG

JPEG

WBMP

GIF

gif

 

This only checks the configuration of your default java. to get a more
accurate view of what mapfish print has access to you need to change to:

 

java -classpath .: ListFormats

 

For example:

 

java -classpath .:WEB-INF/lib/imageio-ext.jar:WEB-INF/lib/mapfish-print.jar
ListFormats

 

 

You will want to add all the jars in the WEB-INF/lib directory to get a
complete picture.

 

If the first or the second list PNG or png then it should be configured
correctly and your problem lays elsewhere.

 

The logging is configured in the WEB-INF/classes/log4j.properties file.  You
can change DEBUG to TRACE to possibly get more information.  

 

Also try log4j.rootLogger=DEBUG, R

 

 

Feel free to post the full log somewhere so I can look at the full log.

 

Jesse

 

 



--
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951
<http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
> &iu=/4140/ostg.clktrk
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

 


This transmission is intended for the named addressee(s) only and may
contain sensitive or protectively marked material up to RESTRICTED 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 transmission in error
please notify the sender immediately. All email traffic sent to or from us,
including without limitation all GCSX traffic, may be subject to recording
and/or monitoring in accordance with relevant legislation.

--
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] GeoServer Printing Module

2013-10-30 Thread Jesse Eichar
The newer versions also have ImageIO (a software only version) that helps
simplify setup.

Jesse

On Wed, Oct 30, 2013 at 1:30 PM, Jonathan Moules <
jonathanmou...@warwickshire.gov.uk> wrote:

> Hi Jerome,
> An alternate option is to use a stand-alone instance. You can get a
> pre-compiled war file (treat in the same way as a Geoserver .war) here:
>
> https://oss.sonatype.org/content/repositories/snapshots/org/mapfish/print/print-servlet/2.0-SNAPSHOT/
>
> It's also a much newer version than the one that GeoServer uses.
> Jonathan
>
>
>
> On 30 October 2013 12:18, Jerome A. Wendell wrote:
>
>> Jesse,
>>
>> ** **
>>
>> Thanks for your reply.  I knew there was a time difference.  I just
>> appreciate that you are still helping me.  I will go through the steps that
>> you have outlined, and let you know what the results are.
>>
>> ** **
>>
>> Thanks again for all of your help.
>>
>> ** **
>>
>> Jerome
>>
>> ** **
>>
>> *From:* Jesse Eichar [mailto:jesse.eic...@camptocamp.com]
>> *Sent:* Wednesday, October 30, 2013 4:38 AM
>> *To:* jawendell
>> *Cc:* Mauro Bartolomeoli; GeoServer Mailing List List
>> *Subject:* Re: [Geoserver-users] GeoServer Printing Module
>>
>> ** **
>>
>> Sorry to take so long to respond.  I am in switzerland so I imagine I
>> work at different hours from you.
>>
>> ** **
>>
>> I have attached a class file (and the source code) for you that lists the
>> formats your image-io install supports.  Run it as follows:
>>
>> ** **
>>
>> java -classpath . ListFormats
>>
>> ** **
>>
>> It should give output like:
>>
>> ** **
>>
>> BMP
>>
>> bmp
>>
>> jpg
>>
>> JPG
>>
>> wbmp
>>
>> jpeg
>>
>> png
>>
>> PNG
>>
>> JPEG
>>
>> WBMP
>>
>> GIF
>>
>> gif
>>
>> ** **
>>
>> This only checks the configuration of your default java. to get a more
>> accurate view of what mapfish print has access to you need to change to:*
>> ***
>>
>> ** **
>>
>> java -classpath .: ListFormats
>>
>> ** **
>>
>> For example:
>>
>> ** **
>>
>> java -classpath
>> .:WEB-INF/lib/imageio-ext.jar:WEB-INF/lib/mapfish-print.jar ListFormats**
>> **
>>
>> ** **
>>
>> ** **
>>
>> You will want to add all the jars in the WEB-INF/lib directory to get a
>> complete picture.
>>
>> ** **
>>
>> If the first or the second list PNG or png then it should be configured
>> correctly and your problem lays elsewhere.
>>
>> ** **
>>
>> The logging is configured in the WEB-INF/classes/log4j.properties file.
>>  You can change DEBUG to TRACE to possibly get more information.  
>>
>> ** **
>>
>> Also try log4j.rootLogger=DEBUG, R
>>
>> ** **
>>
>> ** **
>>
>> Feel free to post the full log somewhere so I can look at the full log.**
>> **
>>
>> ** **
>>
>> Jesse
>>
>>  
>>
>> ** **
>>
>>
>> --
>> Android is increasing in popularity, but the open development platform
>> that
>> developers love is also attractive to malware creators. Download this
>> white
>> paper to learn more about secure code signing practices that can help keep
>> Android apps secure.
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
>> ___
>> Geoserver-users mailing list
>> Geoserver-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>
>>
>
> This transmission is intended for the named addressee(s) only and may
> contain sensitive or protectively marked material up to RESTRICTED 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 transmission in error
> please notify the sender immediately. All email traffic sent to or from us,
> including without limitation all GCSX traffic, may be subject to recording
> and/or monitoring in accordance with relevant legislation.
>
--
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] GeoServer Printing Module

2013-10-30 Thread Jonathan Moules
Hi Jerome,
An alternate option is to use a stand-alone instance. You can get a
pre-compiled war file (treat in the same way as a Geoserver .war) here:
https://oss.sonatype.org/content/repositories/snapshots/org/mapfish/print/print-servlet/2.0-SNAPSHOT/

It's also a much newer version than the one that GeoServer uses.
Jonathan



On 30 October 2013 12:18, Jerome A. Wendell wrote:

> Jesse,
>
> ** **
>
> Thanks for your reply.  I knew there was a time difference.  I just
> appreciate that you are still helping me.  I will go through the steps that
> you have outlined, and let you know what the results are.
>
> ** **
>
> Thanks again for all of your help.
>
> ** **
>
> Jerome
>
> ** **
>
> *From:* Jesse Eichar [mailto:jesse.eic...@camptocamp.com]
> *Sent:* Wednesday, October 30, 2013 4:38 AM
> *To:* jawendell
> *Cc:* Mauro Bartolomeoli; GeoServer Mailing List List
> *Subject:* Re: [Geoserver-users] GeoServer Printing Module
>
> ** **
>
> Sorry to take so long to respond.  I am in switzerland so I imagine I work
> at different hours from you.
>
> ** **
>
> I have attached a class file (and the source code) for you that lists the
> formats your image-io install supports.  Run it as follows:
>
> ** **
>
> java -classpath . ListFormats
>
> ** **
>
> It should give output like:
>
> ** **
>
> BMP
>
> bmp
>
> jpg
>
> JPG
>
> wbmp
>
> jpeg
>
> png
>
> PNG
>
> JPEG
>
> WBMP
>
> GIF
>
> gif
>
> ** **
>
> This only checks the configuration of your default java. to get a more
> accurate view of what mapfish print has access to you need to change to:**
> **
>
> ** **
>
> java -classpath .: ListFormats
>
> ** **
>
> For example:
>
> ** **
>
> java -classpath
> .:WEB-INF/lib/imageio-ext.jar:WEB-INF/lib/mapfish-print.jar ListFormats***
> *
>
> ** **
>
> ** **
>
> You will want to add all the jars in the WEB-INF/lib directory to get a
> complete picture.
>
> ** **
>
> If the first or the second list PNG or png then it should be configured
> correctly and your problem lays elsewhere.
>
> ** **
>
> The logging is configured in the WEB-INF/classes/log4j.properties file.
>  You can change DEBUG to TRACE to possibly get more information.  
>
> ** **
>
> Also try log4j.rootLogger=DEBUG, R
>
> ** **
>
> ** **
>
> Feel free to post the full log somewhere so I can look at the full log.***
> *
>
> ** **
>
> Jesse
>
>  
>
> ** **
>
>
> --
> Android is increasing in popularity, but the open development platform that
> developers love is also attractive to malware creators. Download this white
> paper to learn more about secure code signing practices that can help keep
> Android apps secure.
> http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
> ___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>

-- 
This transmission is intended for the named addressee(s) only and may 
contain sensitive or protectively marked material up to RESTRICTED 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 transmission in error 
please notify the sender immediately. All email traffic sent to or from us, 
including without limitation all GCSX traffic, may be subject to recording 
and/or monitoring in accordance with relevant legislation.
--
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] GeoServer Printing Module

2013-10-30 Thread Jerome A. Wendell
Jesse,

 

Thanks for your reply.  I knew there was a time difference.  I just appreciate 
that you are still helping me.  I will go through the steps that you have 
outlined, and let you know what the results are.

 

Thanks again for all of your help.

 

Jerome

 

From: Jesse Eichar [mailto:jesse.eic...@camptocamp.com] 
Sent: Wednesday, October 30, 2013 4:38 AM
To: jawendell
Cc: Mauro Bartolomeoli; GeoServer Mailing List List
Subject: Re: [Geoserver-users] GeoServer Printing Module

 

Sorry to take so long to respond.  I am in switzerland so I imagine I work at 
different hours from you.

 

I have attached a class file (and the source code) for you that lists the 
formats your image-io install supports.  Run it as follows:

 

java -classpath . ListFormats

 

It should give output like:

 

BMP

bmp

jpg

JPG

wbmp

jpeg

png

PNG

JPEG

WBMP

GIF

gif

 

This only checks the configuration of your default java. to get a more accurate 
view of what mapfish print has access to you need to change to:

 

java -classpath .: ListFormats

 

For example:

 

java -classpath .:WEB-INF/lib/imageio-ext.jar:WEB-INF/lib/mapfish-print.jar 
ListFormats

 

 

You will want to add all the jars in the WEB-INF/lib directory to get a 
complete picture.

 

If the first or the second list PNG or png then it should be configured 
correctly and your problem lays elsewhere.

 

The logging is configured in the WEB-INF/classes/log4j.properties file.  You 
can change DEBUG to TRACE to possibly get more information.  

 

Also try log4j.rootLogger=DEBUG, R

 

 

Feel free to post the full log somewhere so I can look at the full log.

 

Jesse

 

 

--
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] GeoServer Printing Module

2013-10-30 Thread Jesse Eichar
Sorry to take so long to respond.  I am in switzerland so I imagine I work
at different hours from you.

I have attached a class file (and the source code) for you that lists the
formats your image-io install supports.  Run it as follows:

java -classpath . ListFormats

It should give output like:

BMP
bmp
jpg
JPG
wbmp
jpeg
png
PNG
JPEG
WBMP
GIF
gif

This only checks the configuration of your default java. to get a more
accurate view of what mapfish print has access to you need to change to:

java -classpath .: ListFormats

For example:

java -classpath .:WEB-INF/lib/imageio-ext.jar:WEB-INF/lib/mapfish-print.jar
ListFormats


You will want to add all the jars in the WEB-INF/lib directory to get a
complete picture.

If the first or the second list PNG or png then it should be configured
correctly and your problem lays elsewhere.

The logging is configured in the WEB-INF/classes/log4j.properties file.
 You can change DEBUG to TRACE to possibly get more information.

Also try log4j.rootLogger=DEBUG, R


Feel free to post the full log somewhere so I can look at the full log.

Jesse

> ** **
>
<><>

ListFormats.class
Description: Binary data


ListFormats.java
Description: Binary data
--
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] GeoServer Printing Module

2013-10-29 Thread Jerome A. Wendell
Jonathan,

 

Thanks for your reply.  I have been looking at my layer definitions, and it
appears the vector layers are displayed in PNG format.  However, the
features on the vector layers are selected from a WMS layer (which also
displays in PNG format), and the WMS layers print fine.  That part is a
little confusing.  I will check into image magick.

 

Thanks,

 

Jerome

 

 

From: Jonathan Moules [mailto:jonathanmou...@warwickshire.gov.uk] 
Sent: Tuesday, October 29, 2013 9:37 AM
To: jawend...@suddenlink.net
Cc: Jesse Eichar; Mauro Bartolomeoli; GeoServer Mailing List List
Subject: Re: [Geoserver-users] GeoServer Printing Module

 

Hi Jerome,

Your logs appear to be suggesting you're outputting in PNG format.
Specifically the list line:

 

 About to write png image

 

Might be worth investigating if you are actually requesting PDF too. In the
interim it's probably worth trying the imagemagick thing.

Regards,

Jonathan 

 

On 29 October 2013 13:13, Jerome A. Wendell 
wrote:

Jesse,

 

Thanks for your reply.  Actually I am trying to print to a PDF file.  Does
that still require image magick?

 

Thanks,

 

Jerome


This transmission is intended for the named addressee(s) only and may
contain sensitive or protectively marked material up to RESTRICTED 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 transmission in error
please notify the sender immediately. All email traffic sent to or from us,
including without limitation all GCSX traffic, may be subject to recording
and/or monitoring in accordance with relevant legislation.

--
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] GeoServer Printing Module

2013-10-29 Thread Jonathan Moules
Hi Jerome,
Your logs appear to be suggesting you're outputting in PNG format.
Specifically the list line:

 About to write png image


Might be worth investigating if you are actually requesting PDF too. In the
interim it's probably worth trying the imagemagick thing.
Regards,
Jonathan

On 29 October 2013 13:13, Jerome A. Wendell wrote:

> Jesse,
>
> ** **
>
> Thanks for your reply.  Actually I am trying to print to a PDF file.  Does
> that still require image magick?
>
> ** **
>
> Thanks,
>
> ** **
>
> Jerome
>

-- 
This transmission is intended for the named addressee(s) only and may 
contain sensitive or protectively marked material up to RESTRICTED 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 transmission in error 
please notify the sender immediately. All email traffic sent to or from us, 
including without limitation all GCSX traffic, may be subject to recording 
and/or monitoring in accordance with relevant legislation.
--
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] GeoServer Printing Module

2013-10-28 Thread Andrea Aime
On Mon, Oct 28, 2013 at 9:20 AM, Mauro Bartolomeoli <
mauro.bartolome...@geo-solutions.it> wrote:

> Hi Jerome, from the exception you get, it seems some java class is missing
> from your deploy. If you are using one of the latest GeoServer versions,
> 2.4.0 or 2.4.1, your problem could be that a couple of jars are missing
> from Geoserver WEB-INF/lib, because xerces dependency has been removed from
> Geoserver but the printing plugin still depends on it.
>

Mauro, to fix this issue it should be just a matter of adding a dependency
on xerces in the community/release/pom.xml,
and then add a *xerces* filter to catch those two extra jars.
We indeed have a ticket already: http://jira.codehaus.org/browse/GEOS-6072

Cheers
Andrea

-- 
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it 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

---
--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] GeoServer Printing Module

2013-10-26 Thread Mauro Bartolomeoli
Hi Jerome,
have you followed the instructions you can find here (
http://docs.geoserver.org/stable/en/user/community/printing/) to install
the plugin?

What kind of errors are you getting, in detail?

Regards,
Mauro Bartolomeoli


2013/10/25 Jerome A. Wendell 

> This may seem like a silly question, but once I have installed the
> GeoServer printing module and have confirmed that it is installed
> correctly, should everything be ready for me to print using the
> documentation and examples at the following link:
>
> ** **
>
> http://geoext.org/search.html?q=print
>
> ** **
>
> I have tried some of the examples and continue to get various errors.
> Just trying to make sure that I am not missing something.
>
> ** **
>
> Thanks,
>
> ** **
>
> Jerome Wendell
>
> ** **
>
> ** **
>
> ** **
>
>
> --
> October Webinars: Code for Performance
> Free Intel webinars can help you accelerate application performance.
> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most
> from
> the latest Intel processors and coprocessors. See abstracts and register >
> http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk
> ___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] GeoServer Printing Module

2013-10-25 Thread Jerome A. Wendell
This may seem like a silly question, but once I have installed the GeoServer
printing module and have confirmed that it is installed correctly, should
everything be ready for me to print using the documentation and examples at
the following link:

 

http://geoext.org/search.html?q=print

 

I have tried some of the examples and continue to get various errors.  Just
trying to make sure that I am not missing something.

 

Thanks,

 

Jerome Wendell

 

 

 

--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Geoserver printing module and Image in PDF

2013-07-24 Thread Roar Brænden
Hi,

It seems from the log that he get's a "401 - Unauthorized" http status
code. That sounds like Geoserver is requesting the url in a different
context than the original requests.

I don't know the module, but it would be interesting to find out how it
works.

Best regards

Roar Brænden


2013/6/21 Jonathan Moules 

> Good catch, I should have spotted that!
>
> On 21 June 2013 11:14, Andrea Aime  wrote:
>
>> On Fri, Jun 21, 2013 at 12:03 PM, Jonathan Moules <
>> jonathanmou...@warwickshire.gov.uk> wrote:
>>
>>> Hi,
>>> The part of the log you're showing is simply the requests to the server.
>>> You should be enter them into your browser and see what the images that are
>>> being requested are - this will give an indication of what's going on.
>>>
>>> But you've not really given enough information to help discern what's
>>> wrong. It could be any number of things. If you can turn logging up to
>>> GeoTools developer, that might add some extra stuff.
>>>
>>
>> I believe he's looking into the Jetty request log, whilst the interesting
>> information might be in $GEOSERVER_DATA_DIR/logs/geoserver.log :-p
>>
>> Cheers
>> Andrea
>>
>>
>> --
>> ==
>> Our support, Your Success! Visit http://opensdi.geo-solutions.it 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
>>
>> ---
>>
>
>
> This transmission is intended for the named addressee(s) only and may
> contain sensitive or protectively marked material up to RESTRICTED 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 transmission in error
> please notify the sender immediately. All email traffic sent to or from us,
> including without limitation all GCSX traffic, may be subject to recording
> and/or monitoring in accordance with relevant legislation.
>
>
> --
> This SF.net email is sponsored by Windows:
>
> Build for Windows Store.
>
> http://p.sf.net/sfu/windows-dev2dev
> ___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
--
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Geoserver printing module and Image in PDF

2013-06-21 Thread Jonathan Moules
Good catch, I should have spotted that!

On 21 June 2013 11:14, Andrea Aime  wrote:

> On Fri, Jun 21, 2013 at 12:03 PM, Jonathan Moules <
> jonathanmou...@warwickshire.gov.uk> wrote:
>
>> Hi,
>> The part of the log you're showing is simply the requests to the server.
>> You should be enter them into your browser and see what the images that are
>> being requested are - this will give an indication of what's going on.
>>
>> But you've not really given enough information to help discern what's
>> wrong. It could be any number of things. If you can turn logging up to
>> GeoTools developer, that might add some extra stuff.
>>
>
> I believe he's looking into the Jetty request log, whilst the interesting
> information might be in $GEOSERVER_DATA_DIR/logs/geoserver.log :-p
>
> Cheers
> Andrea
>
>
> --
> ==
> Our support, Your Success! Visit http://opensdi.geo-solutions.it 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
>
> ---
>

-- 
This transmission is intended for the named addressee(s) only and may 
contain sensitive or protectively marked material up to RESTRICTED 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 transmission in error 
please notify the sender immediately. All email traffic sent to or from us, 
including without limitation all GCSX traffic, may be subject to recording 
and/or monitoring in accordance with relevant legislation.
--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Geoserver printing module and Image in PDF

2013-06-21 Thread Andrea Aime
On Fri, Jun 21, 2013 at 12:03 PM, Jonathan Moules <
jonathanmou...@warwickshire.gov.uk> wrote:

> Hi,
> The part of the log you're showing is simply the requests to the server.
> You should be enter them into your browser and see what the images that are
> being requested are - this will give an indication of what's going on.
>
> But you've not really given enough information to help discern what's
> wrong. It could be any number of things. If you can turn logging up to
> GeoTools developer, that might add some extra stuff.
>

I believe he's looking into the Jetty request log, whilst the interesting
information might be in $GEOSERVER_DATA_DIR/logs/geoserver.log :-p

Cheers
Andrea


-- 
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it 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

---
--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Geoserver printing module and Image in PDF

2013-06-21 Thread Jonathan Moules
Hi,
The part of the log you're showing is simply the requests to the server.
You should be enter them into your browser and see what the images that are
being requested are - this will give an indication of what's going on.

But you've not really given enough information to help discern what's
wrong. It could be any number of things. If you can turn logging up to
GeoTools developer, that might add some extra stuff.

Jonathan



On 19 June 2013 17:11,  wrote:

> Hello people i am using geoserver 2.1.4 and i use the
> "geoserver-2.1-SNAPSHOT-printing-plugin.zip"  module of geoserver to
> export the data and the images do not show in the pdf file, and in the
> log of geoserver i get this, i dont know ehat is this or what can i do
> to repair it, thanks to all
>
> //---
>
> 10.8.194.10 -  -  [19/jun/2013:09:58:34 +] "GET
> /geoserver/une/wms?BBOX=-79.5662%2C21.894983%2C-79.5218%2C21.914013&HEIGHT=208&WIDTH=486&TRANSPARENT=true&map_resolution=50&VERSION=1.1.1&FORMAT=image%2Fpng&TILED=true&SERVICE=WMS&format_options=dpi%3A50&LAYERS=une%3Asigfre_cub_Adm_Prov&REQUEST=GetMap&STYLES=&TILESORIGIN=-84.956%2C19.825&SRS=EPSG%3A4326
> HTTP/1.1" 401
> 1495
> 10.8.194.10 -  -  [19/jun/2013:09:58:34 +] "GET
> /geoserver/une/wms?BBOX=-79.5662%2C21.894983%2C-79.5218%2C21.914013&HEIGHT=208&WIDTH=486&BGCOLOR=0x93B5DD&map_resolution=50&TILED=true&SERVICE=WMS&REQUEST=GetMap&STYLES=&TILESORIGIN=-84.956%2C19.825&TRANSPARENT=false&VERSION=1.1.1&FORMAT=image%2Fpng&format_options=dpi%3A50&LAYERS=une%3Asigfre_base&SRS=EPSG%3A4326
> HTTP/1.1" 401
> 1495
> 10.8.194.10 -  -  [19/jun/2013:09:58:34 +] "GET
> /geoserver/une/wms?BBOX=-79.677216%2C21.810436%2C-79.4108%2C21.998562&HEIGHT=83&WIDTH=118&BGCOLOR=0x93B5DD&map_resolution=50&TILED=true&SERVICE=WMS&REQUEST=GetMap&STYLES=&TILESORIGIN=-84.956%2C19.825&TRANSPARENT=false&VERSION=1.1.1&FORMAT=image%2Fpng&format_options=dpi%3A50&LAYERS=une%3Asigfre_base&SRS=EPSG%3A4326
> HTTP/1.1" 401
> 1495
> 10.8.194.10 -  -  [19/jun/2013:09:58:34 +] "GET
> /geoserver/une/wms?BBOX=-79.677216%2C21.810436%2C-79.4108%2C21.998562&HEIGHT=83&WIDTH=118&TRANSPARENT=true&map_resolution=50&VERSION=1.1.1&FORMAT=image%2Fpng&TILED=true&SERVICE=WMS&format_options=dpi%3A50&LAYERS=une%3Asigfre_cub_Adm_Prov&REQUEST=GetMap&STYLES=&TILESORIGIN=-84.956%2C19.825&SRS=EPSG%3A4326
> HTTP/1.1" 401
> 1495
>
>
>
> 
> This message was sent using IMP, the Internet Messaging Program.
>
>
> --
>
> Este mensaje le ha llegado mediante el servicio de correo electronico que
> ofrece Infomed para respaldar el cumplimiento de las misiones del Sistema
> Nacional de Salud. La persona que envia este correo asume el compromiso de
> usar el servicio a tales fines y cumplir con las regulaciones establecidas
>
> Infomed: http://www.sld.cu/
>
>
>
> --
> This SF.net email is sponsored by Windows:
>
> Build for Windows Store.
>
> http://p.sf.net/sfu/windows-dev2dev
> ___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>

-- 
This transmission is intended for the named addressee(s) only and may 
contain sensitive or protectively marked material up to RESTRICTED 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 transmission in error 
please notify the sender immediately. All email traffic sent to or from us, 
including without limitation all GCSX traffic, may be subject to recording 
and/or monitoring in accordance with relevant legislation.
--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Geoserver printing module and Image in PDF

2013-06-19 Thread islanis
Hello people i am using geoserver 2.1.4 and i use the  
"geoserver-2.1-SNAPSHOT-printing-plugin.zip"  module of geoserver to  
export the data and the images do not show in the pdf file, and in the  
log of geoserver i get this, i dont know ehat is this or what can i do  
to repair it, thanks to all

//---

10.8.194.10 -  -  [19/jun/2013:09:58:34 +] "GET  
/geoserver/une/wms?BBOX=-79.5662%2C21.894983%2C-79.5218%2C21.914013&HEIGHT=208&WIDTH=486&TRANSPARENT=true&map_resolution=50&VERSION=1.1.1&FORMAT=image%2Fpng&TILED=true&SERVICE=WMS&format_options=dpi%3A50&LAYERS=une%3Asigfre_cub_Adm_Prov&REQUEST=GetMap&STYLES=&TILESORIGIN=-84.956%2C19.825&SRS=EPSG%3A4326
 HTTP/1.1" 401  
1495
10.8.194.10 -  -  [19/jun/2013:09:58:34 +] "GET  
/geoserver/une/wms?BBOX=-79.5662%2C21.894983%2C-79.5218%2C21.914013&HEIGHT=208&WIDTH=486&BGCOLOR=0x93B5DD&map_resolution=50&TILED=true&SERVICE=WMS&REQUEST=GetMap&STYLES=&TILESORIGIN=-84.956%2C19.825&TRANSPARENT=false&VERSION=1.1.1&FORMAT=image%2Fpng&format_options=dpi%3A50&LAYERS=une%3Asigfre_base&SRS=EPSG%3A4326
 HTTP/1.1" 401  
1495
10.8.194.10 -  -  [19/jun/2013:09:58:34 +] "GET  
/geoserver/une/wms?BBOX=-79.677216%2C21.810436%2C-79.4108%2C21.998562&HEIGHT=83&WIDTH=118&BGCOLOR=0x93B5DD&map_resolution=50&TILED=true&SERVICE=WMS&REQUEST=GetMap&STYLES=&TILESORIGIN=-84.956%2C19.825&TRANSPARENT=false&VERSION=1.1.1&FORMAT=image%2Fpng&format_options=dpi%3A50&LAYERS=une%3Asigfre_base&SRS=EPSG%3A4326
 HTTP/1.1" 401  
1495
10.8.194.10 -  -  [19/jun/2013:09:58:34 +] "GET  
/geoserver/une/wms?BBOX=-79.677216%2C21.810436%2C-79.4108%2C21.998562&HEIGHT=83&WIDTH=118&TRANSPARENT=true&map_resolution=50&VERSION=1.1.1&FORMAT=image%2Fpng&TILED=true&SERVICE=WMS&format_options=dpi%3A50&LAYERS=une%3Asigfre_cub_Adm_Prov&REQUEST=GetMap&STYLES=&TILESORIGIN=-84.956%2C19.825&SRS=EPSG%3A4326
 HTTP/1.1" 401  
1495




This message was sent using IMP, the Internet Messaging Program.


--

Este mensaje le ha llegado mediante el servicio de correo electronico que 
ofrece Infomed para respaldar el cumplimiento de las misiones del Sistema 
Nacional de Salud. La persona que envia este correo asume el compromiso de usar 
el servicio a tales fines y cumplir con las regulaciones establecidas

Infomed: http://www.sld.cu/


--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] GeoServer Printing Module

2013-04-10 Thread Jonathan Moules
Hi,
  The tile cache is going OK for me; I'm using the GeoServer integrated GWC
with TMS layers.

Word of warning Jim - as you may have gathered from my other thread, 600DPI
uses lots of RAM on the server to generate the WMS requests. You'll
probably need to tweak some settings to get them to generate.

The first YAML template took me about a day to do (I used Stephen's
generously provided config as a guide). But now I can create a new one
inside of an hour. Fortunately I'm skipping the "wait on management's
approval" stage. :-)

Jonathan


On 9 April 2013 20:05, Stephen V. Mather wrote:

>  Hi Jim,
> Using a tile cache in the printing module will definitely apply scaling in
> strange ways to the symbolization.  Direct WMS rendering, however, should
> take into account the DPI parameter and scale fonts and symbols
> appropriately.
>
>  Best,
> Steve
>
>   [image: http://sig.cmparks.net/cmp-ms-90x122.png] Stephen V. Mather
> GIS Manager
> (216) 635-3243 (Work)
> clevelandmetroparks.com <http://www.clemetparks.com>
>
>
>
>
>--
> *From:* Jim White [jbw2...@earthlink.net]
> *Sent:* Tuesday, April 09, 2013 2:44 PM
> *To:* Jonathan Moules
> *Cc:* geoserver-users@lists.sourceforge.net
> *Subject:* Re: [Geoserver-users] GeoServer Printing Module
>
>  Jonathan,
>
> I used the print-form in the GeoExt examples to add dpi selection of 150,
> 300 and 600. Haven't had time with my boss yet to go over what the PDF
> should look like and any changes in YAML aside from dpi and adding
> permissions for printing OSM.
>
> All works good except for labels which change appearance at different dpi
> and sometimes don't show at all. I am using TileCache for the label layer,
> so not sure what difference that makes.
>
> Jim
>
>
>
>
> On 04/09/2013 07:03 AM, Jonathan Moules wrote:
>
> Hi Jim,
> Sorry for the delay, been out for a bit.
>
>  The high end of mine is 600dpi which works fine for me. Takes a while
> though, at least if there are rasters in there.
> I agree that YAML is a pain - one thing to note that got me for a while -
> spaces only, no tabs.
>
>  Jonathan
>
>
>
> On 28 March 2013 16:24, Jim White  wrote:
>
>> Hi Jonathan,
>>
>> I added 2 lines to my print function:
>>
>> printCapabilities.createURL =
>> "http://test.zo.ncsu.edu/geoserver/pdf/create.json";<http://test.zo.ncsu.edu/geoserver/pdf/create.json>
>> ;
>> printCapabilities.printURL =
>> "http://test.zo.ncsu.edu/geoserver/pdf/print.pdf";<http://test.zo.ncsu.edu/geoserver/pdf/print.pdf>
>> ;
>>
>> This fixed my problem. Now I just have to figure out config.yaml. Have
>> you tried to print at higher than 300 dpi?
>>
>> Thanks,
>> Jim
>>
>>
>>
>> On 03/28/2013 06:14 AM, Jonathan Moules wrote:
>>
>> Hi Jim,
>> It should just be a matter of setting the URL in your web-app. In mine
>> which is using GeoExt, I just set it to:
>> http://wppgeog3:8083/print/pdf
>> and make sure that URL is in my proxy and it works (its on a different
>> machine, so no chance of localhost being used).
>>
>>  Jonathan
>>
>>
>> On 27 March 2013 19:16, Jim White wrote:
>>
>>> Hi,
>>>
>>> I have installed the printing module, and have it sort of working from
>>> localhost, however when I try to access it from another IP I am redirected
>>> to
>>>
>>> http://127.0.0.1:8080/geoserver/pdf/print.pdf
>>>
>>> It looks like this has to do with printURL, and createURL in info.json.
>>> I use mod_proxy to access geoserver running on 8080. How do I set up my
>>> server to return the correct url and print from a computer other than
>>> localhost?
>>>
>>> Thanks,
>>> Jim
>>>
>>> --
>>> James B. White
>>> Cary, NC
>>> H: 919-380-9615
>>> M: 919-698-1765
>>> White Coding and Maps <http://whitecodingandmaps.com/>
>>>
>>>
>>> --
>>> Own the Future-Intel® Level Up Game Demo Contest 2013
>>> Rise to greatness in Intel's independent game demo contest.
>>> Compete for recognition, cash, and the chance to get your game
>>> on Steam. $5K grand prize plus 10 genre and skill prizes.
>>> Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
>>>  ___
>>> Geoserver-users mailing list
>>> Geoserver-

Re: [Geoserver-users] GeoServer Printing Module

2013-04-09 Thread Stephen V. Mather
Hi Jim,
Using a tile cache in the printing module will definitely apply scaling in 
strange ways to the symbolization.  Direct WMS rendering, however, should take 
into account the DPI parameter and scale fonts and symbols appropriately.

Best,
Steve

[http://sig.cmparks.net/cmp-ms-90x122.png] Stephen V. Mather
GIS Manager
(216) 635-3243 (Work)
clevelandmetroparks.com<http://www.clemetparks.com>




From: Jim White [jbw2...@earthlink.net]
Sent: Tuesday, April 09, 2013 2:44 PM
To: Jonathan Moules
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] GeoServer Printing Module

Jonathan,

I used the print-form in the GeoExt examples to add dpi selection of 150, 300 
and 600. Haven't had time with my boss yet to go over what the PDF should look 
like and any changes in YAML aside from dpi and adding permissions for printing 
OSM.

All works good except for labels which change appearance at different dpi and 
sometimes don't show at all. I am using TileCache for the label layer, so not 
sure what difference that makes.

Jim




On 04/09/2013 07:03 AM, Jonathan Moules wrote:
Hi Jim,
Sorry for the delay, been out for a bit.

The high end of mine is 600dpi which works fine for me. Takes a while though, 
at least if there are rasters in there.
I agree that YAML is a pain - one thing to note that got me for a while - 
spaces only, no tabs.

Jonathan



On 28 March 2013 16:24, Jim White 
mailto:jbw2...@earthlink.net>> wrote:
Hi Jonathan,

I added 2 lines to my print function:

printCapabilities.createURL = 
"http://test.zo.ncsu.edu/geoserver/pdf/create.json";<http://test.zo.ncsu.edu/geoserver/pdf/create.json>;
printCapabilities.printURL = 
"http://test.zo.ncsu.edu/geoserver/pdf/print.pdf";<http://test.zo.ncsu.edu/geoserver/pdf/print.pdf>;

This fixed my problem. Now I just have to figure out config.yaml. Have you 
tried to print at higher than 300 dpi?

Thanks,
Jim



On 03/28/2013 06:14 AM, Jonathan Moules wrote:
Hi Jim,
It should just be a matter of setting the URL in your web-app. In mine which is 
using GeoExt, I just set it to:
http://wppgeog3:8083/print/pdf
and make sure that URL is in my proxy and it works (its on a different machine, 
so no chance of localhost being used).

Jonathan


On 27 March 2013 19:16, Jim White 
mailto:jbw2...@earthlink.net>>wrote:
Hi,

I have installed the printing module, and have it sort of working from 
localhost, however when I try to access it from another IP I am redirected to

http://127.0.0.1:8080/geoserver/pdf/print.pdf

It looks like this has to do with printURL, and createURL in info.json. I use 
mod_proxy to access geoserver running on 8080. How do I set up my server to 
return the correct url and print from a computer other than localhost?

Thanks,
Jim

--
James B. White
Cary, NC
H: 919-380-9615
M: 919-698-1765
White Coding and Maps<http://whitecodingandmaps.com/>

--
Own the Future-Intel® Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game
on Steam. $5K grand prize plus 10 genre and skill prizes.
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
 ___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net<mailto:Geoserver-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/geoserver-users




This transmission is intended for the named addressee(s) only and may contain 
sensitive or protectively marked material up to RESTRICTED 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 transmission in error please notify the 
sender immediately. All email traffic sent to or from us, including without 
limitation all GCSX traffic, may be subject to recording and/or monitoring in 
accordance with relevant legislation.


--
James B. White
Cary, NC
H: 919-380-9615
M: 919-698-1765
White Coding and Maps<http://whitecodingandmaps.com/>



This transmission is intended for the named addressee(s) only and may contain 
sensitive or protectively marked material up to RESTRICTED 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 transmission in error please notify the 
sender immediately. All email traffic sent to or from us, including without 
limitation all GCSX traffic, may be subject to recording and/or monitoring in 
accordance with relevant legislation.


--
James B. White
Cary, NC

Re: [Geoserver-users] GeoServer Printing Module

2013-04-09 Thread Jim White

Jonathan,

I used the print-form in the GeoExt examples to add dpi selection of 
150, 300 and 600. Haven't had time with my boss yet to go over what the 
PDF should look like and any changes in YAML aside from dpi and adding 
permissions for printing OSM.


All works good except for labels which change appearance at different 
dpi and sometimes don't show at all. I am using TileCache for the label 
layer, so not sure what difference that makes.


Jim




On 04/09/2013 07:03 AM, Jonathan Moules wrote:

Hi Jim,
Sorry for the delay, been out for a bit.

The high end of mine is 600dpi which works fine for me. Takes a while 
though, at least if there are rasters in there.
I agree that YAML is a pain - one thing to note that got me for a 
while - spaces only, no tabs.


Jonathan



On 28 March 2013 16:24, Jim White > wrote:


Hi Jonathan,

I added 2 lines to my print function:

printCapabilities.createURL =
"http://test.zo.ncsu.edu/geoserver/pdf/create.json";
;
printCapabilities.printURL =
"http://test.zo.ncsu.edu/geoserver/pdf/print.pdf";
;

This fixed my problem. Now I just have to figure out config.yaml.
Have you tried to print at higher than 300 dpi?

Thanks,
Jim



On 03/28/2013 06:14 AM, Jonathan Moules wrote:

Hi Jim,
It should just be a matter of setting the URL in your web-app. In
mine which is using GeoExt, I just set it to:
http://wppgeog3:8083/print/pdf
and make sure that URL is in my proxy and it works (its on a
different machine, so no chance of localhost being used).

Jonathan


On 27 March 2013 19:16, Jim White mailto:jbw2...@earthlink.net>>wrote:

Hi,

I have installed the printing module, and have it sort of
working from localhost, however when I try to access it from
another IP I am redirected to

http://127.0.0.1:8080/geoserver/pdf/print.pdf

It looks like this has to do with printURL, and createURL in
info.json. I use mod_proxy to access geoserver running on
8080. How do I set up my server to return the correct url and
print from a computer other than localhost?

Thanks,
Jim

-- 
James B. White

Cary, NC
H: 919-380-9615
M: 919-698-1765
White Coding and Maps 


--
Own the Future-Intel® Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game
on Steam. $5K grand prize plus 10 genre and skill prizes.
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
 ___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net

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




This transmission is intended for the named addressee(s) only and
may contain sensitive or protectively marked material up to
RESTRICTED 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 transmission in error please notify the sender
immediately. All email traffic sent to or from us, including
without limitation all GCSX traffic, may be subject to recording
and/or monitoring in accordance with relevant legislation.



-- 
James B. White

Cary, NC
H: 919-380-9615
M: 919-698-1765
White Coding and Maps 




This transmission is intended for the named addressee(s) only and may 
contain sensitive or protectively marked material up to RESTRICTED 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 
transmission in error please notify the sender immediately. All email 
traffic sent to or from us, including without limitation all GCSX 
traffic, may be subject to recording and/or monitoring in accordance 
with relevant legislation.



--
James B. White
Cary, NC
H: 919-380-9615
M: 919-698-1765
White Coding and Maps 
--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. G

Re: [Geoserver-users] GeoServer Printing Module

2013-04-09 Thread Jonathan Moules
Hi Jim,
Sorry for the delay, been out for a bit.

The high end of mine is 600dpi which works fine for me. Takes a while
though, at least if there are rasters in there.
I agree that YAML is a pain - one thing to note that got me for a while -
spaces only, no tabs.

Jonathan



On 28 March 2013 16:24, Jim White  wrote:

> **
> Hi Jonathan,
>
> I added 2 lines to my print function:
>
> printCapabilities.createURL =
> "http://test.zo.ncsu.edu/geoserver/pdf/create.json";
> ;
> printCapabilities.printURL =
> "http://test.zo.ncsu.edu/geoserver/pdf/print.pdf";
> ;
>
> This fixed my problem. Now I just have to figure out config.yaml. Have you
> tried to print at higher than 300 dpi?
>
> Thanks,
> Jim
>
>
>
> On 03/28/2013 06:14 AM, Jonathan Moules wrote:
>
> Hi Jim,
> It should just be a matter of setting the URL in your web-app. In mine
> which is using GeoExt, I just set it to:
> http://wppgeog3:8083/print/pdf
> and make sure that URL is in my proxy and it works (its on a different
> machine, so no chance of localhost being used).
>
>  Jonathan
>
>
> On 27 March 2013 19:16, Jim White  wrote:
>
>> Hi,
>>
>> I have installed the printing module, and have it sort of working from
>> localhost, however when I try to access it from another IP I am redirected
>> to
>>
>> http://127.0.0.1:8080/geoserver/pdf/print.pdf
>>
>> It looks like this has to do with printURL, and createURL in info.json. I
>> use mod_proxy to access geoserver running on 8080. How do I set up my
>> server to return the correct url and print from a computer other than
>> localhost?
>>
>> Thanks,
>> Jim
>>
>> --
>> James B. White
>> Cary, NC
>> H: 919-380-9615
>> M: 919-698-1765
>> White Coding and Maps 
>>
>>
>> --
>> Own the Future-Intel® Level Up Game Demo Contest 2013
>> Rise to greatness in Intel's independent game demo contest.
>> Compete for recognition, cash, and the chance to get your game
>> on Steam. $5K grand prize plus 10 genre and skill prizes.
>> Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
>> 
 ___
>> Geoserver-users mailing list
>> Geoserver-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>
>>
>
>
> This transmission is intended for the named addressee(s) only and may
> contain sensitive or protectively marked material up to RESTRICTED 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 transmission in error
> please notify the sender immediately. All email traffic sent to or from us,
> including without limitation all GCSX traffic, may be subject to recording
> and/or monitoring in accordance with relevant legislation.
>
>
>
> --
> James B. White
> Cary, NC
> H: 919-380-9615
> M: 919-698-1765
> White Coding and Maps 
>


This transmission is intended for the named addressee(s) only and may contain 
sensitive or protectively marked material up to RESTRICTED 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 transmission in error please notify the 
sender immediately. All email traffic sent to or from us,  including without 
limitation all GCSX traffic, may be subject to recording and/or monitoring in 
accordance with relevant legislation.
--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] GeoServer Printing Module

2013-03-28 Thread Jim White

Hi Jonathan,

I added 2 lines to my print function:

printCapabilities.createURL = 
"http://test.zo.ncsu.edu/geoserver/pdf/create.json";;
printCapabilities.printURL = 
"http://test.zo.ncsu.edu/geoserver/pdf/print.pdf";;


This fixed my problem. Now I just have to figure out config.yaml. Have 
you tried to print at higher than 300 dpi?


Thanks,
Jim



On 03/28/2013 06:14 AM, Jonathan Moules wrote:

Hi Jim,
It should just be a matter of setting the URL in your web-app. In mine 
which is using GeoExt, I just set it to:

http://wppgeog3:8083/print/pdf
and make sure that URL is in my proxy and it works (its on a different 
machine, so no chance of localhost being used).


Jonathan


On 27 March 2013 19:16, Jim White > wrote:


Hi,

I have installed the printing module, and have it sort of working
from localhost, however when I try to access it from another IP I
am redirected to

http://127.0.0.1:8080/geoserver/pdf/print.pdf

It looks like this has to do with printURL, and createURL in
info.json. I use mod_proxy to access geoserver running on 8080.
How do I set up my server to return the correct url and print from
a computer other than localhost?

Thanks,
Jim

-- 
James B. White

Cary, NC
H: 919-380-9615
M: 919-698-1765
White Coding and Maps 


--
Own the Future-Intel® Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game
on Steam. $5K grand prize plus 10 genre and skill prizes.
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
 ___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net

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




This transmission is intended for the named addressee(s) only and may 
contain sensitive or protectively marked material up to RESTRICTED 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 
transmission in error please notify the sender immediately. All email 
traffic sent to or from us, including without limitation all GCSX 
traffic, may be subject to recording and/or monitoring in accordance 
with relevant legislation.



--
James B. White
Cary, NC
H: 919-380-9615
M: 919-698-1765
White Coding and Maps 
--
Own the Future-Intel® Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game 
on Steam. $5K grand prize plus 10 genre and skill prizes. 
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] GeoServer Printing Module

2013-03-28 Thread Jonathan Moules
Hi Jim,
It should just be a matter of setting the URL in your web-app. In mine
which is using GeoExt, I just set it to:
http://wppgeog3:8083/print/pdf
and make sure that URL is in my proxy and it works (its on a different
machine, so no chance of localhost being used).

Jonathan


On 27 March 2013 19:16, Jim White  wrote:

> **
> Hi,
>
> I have installed the printing module, and have it sort of working from
> localhost, however when I try to access it from another IP I am redirected
> to
>
> http://127.0.0.1:8080/geoserver/pdf/print.pdf
>
> It looks like this has to do with printURL, and createURL in info.json. I
> use mod_proxy to access geoserver running on 8080. How do I set up my
> server to return the correct url and print from a computer other than
> localhost?
>
> Thanks,
> Jim
>
> --
> James B. White
> Cary, NC
> H: 919-380-9615
> M: 919-698-1765
> White Coding and Maps 
>
>
> --
> Own the Future-Intel® Level Up Game Demo Contest 2013
> Rise to greatness in Intel's independent game demo contest.
> Compete for recognition, cash, and the chance to get your game
> on Steam. $5K grand prize plus 10 genre and skill prizes.
> Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
> 
___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>


This transmission is intended for the named addressee(s) only and may contain 
sensitive or protectively marked material up to RESTRICTED 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 transmission in error please notify the 
sender immediately. All email traffic sent to or from us,  including without 
limitation all GCSX traffic, may be subject to recording and/or monitoring in 
accordance with relevant legislation.
--
Own the Future-Intel® Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game 
on Steam. $5K grand prize plus 10 genre and skill prizes. 
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] GeoServer Printing Module

2013-03-27 Thread Jim White

Hi,

I have installed the printing module, and have it sort of working from 
localhost, however when I try to access it from another IP I am 
redirected to


http://127.0.0.1:8080/geoserver/pdf/print.pdf

It looks like this has to do with printURL, and createURL in info.json. 
I use mod_proxy to access geoserver running on 8080. How do I set up my 
server to return the correct url and print from a computer other than 
localhost?


Thanks,
Jim

--
James B. White
Cary, NC
H: 919-380-9615
M: 919-698-1765
White Coding and Maps 
--
Own the Future-Intel® Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game 
on Steam. $5K grand prize plus 10 genre and skill prizes. 
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] GeoServer Printing Module: exception with TMS layer

2012-12-08 Thread Jeroen Muris
Hello all,

This is my first message to this list as I only recently started using 
GeoServer, and I hope I've come to the right place.

When playing with the Heron Mapping Client, GeoServer and Mapfish Print, 
I found I could not print any TMS layer. In the end, I found a 
solution/workaround.

I'm using GeoServer 2.2.2 on on OpenSuSU 11.4 with OpenJDK Runtime 
Environment (IcedTea6 1.11.5), Apache 2 and Tomcat6.
Print module from 
http://gridlock.opengeo.org/geoserver/2.2.x/community-latest/geoserver-2.2-SNAPSHOT-printing-plugin.zip.
Heron MC from http://geoext-viewer.googlecode.com/files/heron-0.70.zip. 
Using configuration based on DefaultOptionsNL_PDOK.js. Sample TMS layer 
(in EPSG:28992 map):

new OpenLayers.Layer.TMS("Achtergrondkaart",
 Heron.pdok.urls.PDOKTMS,
 {
 layername: 'brtachtergrondkaart',
 type: 'png',
 format: "image/jpg",
 isBaseLayer: true,
 transparent: true,
 bgcolor: "0xff",
 visibility: true,
 singleTile: false,
 alpha:true,
 opacity: 1.0,
 attribution: "Bron: BRT Achtergrondkaart, © http://gridlock.opengeo.org/geoserver/2.2.x/community-latest/geoserver-2.2-SNAPSHOT-printing-plugin.zip.
 
The exception seems to stem from parsing the format parameter. This 
parameter in turn seems based on the type from the layer definition.

I found that adding a semicolon to the type setting for the layers made 
the exception disappear and led to a successful creation of PDF's.

I believe the request from Heron/GeoExt to GeoServer's pdf/create.json 
is correct with a format parameter without the semicolon. The bit of 
code for parsing the format parameter in Mapfish Print looks OK in the 
version of the source I looked at; it checks for a semicolon before 
assuming there is one. But I don't know if that is the same in the 
sources for the version of the GeoServer print module I use...

I hope someone is interested in the information above. Maybe it's as 
simple a recompiling the GeoServer Printing Module from the latest sources.

Regards, and thank you,

J-.

Jeroen Muris

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Geoserver printing Module - Pass map with and height to the server

2011-05-26 Thread Bart van den Eijnden (OSGIS)
Hi,

try passing a customParams object in the constructor of
GeoExt.data.PrintProvider.

/** api: property[customParams]
 *  ``Object`` Key-value pairs of custom data to be sent to the print
 *  service. Optional. This is e.g. useful for complex layout definitions
 *  on the server side that require additional parameters.
 */
customParams: null,

Best regards,
Bart

> Hi all
>
> I'm using GeoExt and the Geoserver printing module the create pdf files
> for printing.
> Since I would like to preserve the ascpect ration of the screen for the
> pdf print, I would like to pass the width and height of the map tho the
> server instead of the opposite way. The user manual of the printing
> module says, I can use variable substitution in this part but I didn't
> find out how to do that.
> Has any one experience with passing variables form the client to the
> server? Or is there a website with further imformation
> I tried somethin like this in the config.yaml file:
>
>   width: ${mapwith}
>   height: ${mapheight}
>
> This trowths an error in the LoadCapabilities request. Second problem:
> how/where the pass the variables in the json string
>
>
> Regard's
> Peter
>
>
>
>
>
> --
> vRanger cuts backup time in half-while increasing security.
> With the market-leading solution for virtual backup and recovery,
> you get blazing-fast, flexible, and affordable data protection.
> Download your free trial now.
> http://p.sf.net/sfu/quest-d2dcopy1___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>



--
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Geoserver printing Module - Pass map with and height to the server

2011-05-26 Thread Peter.Jehle
Hi all

I'm using GeoExt and the Geoserver printing module the create pdf files
for printing.
Since I would like to preserve the ascpect ration of the screen for the
pdf print, I would like to pass the width and height of the map tho the
server instead of the opposite way. The user manual of the printing
module says, I can use variable substitution in this part but I didn't
find out how to do that.
Has any one experience with passing variables form the client to the
server? Or is there a website with further imformation
I tried somethin like this in the config.yaml file:

  width: ${mapwith}
  height: ${mapheight}

This trowths an error in the LoadCapabilities request. Second problem:
how/where the pass the variables in the json string


Regard's
Peter





--
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Geoserver Printing module security

2010-10-18 Thread David Winslow
Unfortunately the integration of the printing module with GeoServer is quite
loose.  It is basically just a way to run the standalone MapFish printing
servlet with one less .war to worry about.  It actually just issues HTTP
requests to GeoServer even though they are running in the same process.

If we want to improve the printing servlet's integration, someone with some
Java skills will need to work on making it aware of GeoServer's stuff
somehow.  A naive approach duplicating the appropriate header
(Authorization/Cookie) for HTTP requests to the GeoServer hosting the print
servlet would probably be fairly easy, but you'd have to ask on the Mapfish
developers' list for details.

Hope this helps.

--
David Winslow
OpenGeo - http://opengeo.org/

On Mon, Oct 18, 2010 at 3:29 PM, Tony Stewart  wrote:

>  Is there any (easy) way to associate a Geoserver user with the printing
> module? The module is unable to access secured layers.
>
>
>
> Ideally the module would run as the ‘user’ that submitted the request, but
> I could live with a fixed user with broad read access. A fixed user would
> create a security loophole, but one that would take a bit of work to
> exploit.
>
>
>
> Tony Stewart
>
>
> --
> Download new Adobe(R) Flash(R) Builder(TM) 4
> The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly
> Flex(R) Builder(TM)) enable the development of rich applications that run
> across multiple browsers and platforms. Download your free trials today!
> http://p.sf.net/sfu/adobe-dev2dev
> ___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
--
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Geoserver Printing module security

2010-10-18 Thread Tony Stewart
Is there any (easy) way to associate a Geoserver user with the printing
module? The module is unable to access secured layers.

 

Ideally the module would run as the 'user' that submitted the request, but I
could live with a fixed user with broad read access. A fixed user would
create a security loophole, but one that would take a bit of work to
exploit.

 

Tony Stewart 

--
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users