[Users] Printprovider problem

Ralph Dell RDell at CatawbaCountyNC.gov
Tue May 3 20:51:32 CEST 2011


I have recently installed the geoserver printing module and set up a app
using the PrintProvider. The development went well until I realized that
GET was not going to work for me because of the  URL length. After
changing the method to POST I cannot get the printing to work at all in
firefox. I have taken a step back and am currently testing with a local
copy of the geoext example print-page.html and getting my
printCapabilities from demo.opengeo.org or localhost:8080

 

I believe have a proxy problem but I do not know why, nor how to fix it
. 

 

In config.yaml I have the entries 

- !localMatch

    dummy: true

- !dnsMatch

    host: demo.opengeo.org      I have tested with and without the line
port:80

 

I can load the printCapabilities from opengeo and localhost   

 

After clicking the print button in  HttpFox I see (going to opengeo)

Method               Result                   Type
url

 

Options                200
text/plain(NS_ERROR_DOM_BAD_URI)
http://demo.opengeo.org/geoserver/pdf/create.json

 

I have a similar error from my localhost

 

The BAD_URI error indicates different domain names are being used, but I
do not see that as being the case., and Method Options tells me I have a
proxy issue.

My local test environment is  geoext 1.0,   geoserver 2.0.3 (jetty),
OpenLayers 2.10, extjs 3.3.1, windows XP, and my web server is IIS

 

When going to my localhost after clicking the print button

The printprovider print exception listener response.statusText is
"communication failure"

My geoserver request log has "OPTIONS /geoserver/pdf/create.json
HTTP/1.1" 200 0

My geoserver.log contains DEBUG [geoserver.filters] - filtering
http://localhost:8080/geoserver/pdf/create.json

 

I'm lost. Any suggestions on what I am missing would be appreciated.

 

The post will work in IE 7 & 8. I do get the message "This page is
accessing information that is not under your control. ... Do you want to
continue"

 

Ralph Dell

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.geoext.org/pipermail/users/attachments/20110503/1f66c610/attachment-0001.htm 


More information about the Users mailing list