Thanks for the kind reply.. It is working now. Regret again for the delayed
reply..
--
View this message in context:
http://osgeo-org.1560.x6.nabble.com/Re-Reg-Map-not-printed-in-mapfish-print-WMS-layer-is-Secured-tp5106623p5136192.html
Sent from the GeoServer - User mailing list archive at
Thank you Mauro - looks like it works now.
Sincerely,
Paulius Litvinas
GIS consultant
line
map
S. Žukausko str. 17,
LT-08234 Vilnius, Lithuania
telephone
Tel. + 370 5 278 8456
Mob. +370 656 10 089
mail_and_earth
mailto:paul...@infoera.lt paul...@infoera.lt
http://www.infoera.lt/
Hi,
as I answered to Paulius, it's not enough to use the latest jar, you also
have to:
1) update geoserver web.xml to include the mapfish-print Spring application
context:
to use the new jar you also need to make a change in geoserver
WEB-INF/lib/web.xml to load the mapfish spring application
Hi maurao,
Thanks for the prompt reply. However, regret for the delayed reply from our
end.. But we tried the jar file you had shared. But still we are still
facing the same problem.
Which GeoServer version and the corresponding jar file we should use for
bringing map print functionality
Hello,
I tried to replace existing print-lib jar with jar from
http://central.maven.org/maven2/org/mapfish/print/print-lib/2.0.0/print-lib-
2.0.0.jar in geoserver lib folder.
I am using GeoServer 2.4.5 windows installer on Windows Server 2008 R2 x64
on java 1.6 x32.
Got the following
Is there any more errors in the log?
On Thu, Apr 3, 2014 at 3:39 PM, Paulius Litvinas paul...@infoera.lt wrote:
Hello,
I tried to replace existing print-lib jar with jar from
http://central.maven.org/maven2/org/mapfish/print/print-lib/2.0.0/print-lib-2.0.0.jarin
geoserver lib folder.
Hi Paulius, to use the new jar you also need to make a change in geoserver
WEB-INF/lib/web.xml to load the mapfish spring application context.
Locate this section in the file:
context-param
param-namecontextConfigLocation/param-name
param-valueclasspath*:/applicationContext.xml
Hi Mahalakshmi,
the functionality you are looking for (headers) is not available in the
current printing plugin.
We will probably make it available soon on master, so please stay tuned.
In the meantime, if you wish, you can try to replace the print-lib jar you
have in your geoserver WEB-INF\lib
Hi
I got around the printing authenticated layers issue by creating a user
in Geoserver called printer with access to all layers.
You can then add this security block in your config.yaml to send all
print requests as a specified user:
Security:
- !basicAuth
Matcher: !dnsMatch
host:
Hi Thomas, just for your info, in latest MapFish-print 2.0 SNAPSHOT, you
can also add this to the config.yaml:
headers: ['Cookie', 'Referer', 'Authorization']
to let MapFish forward the basic auth to geoserver. This obviously works if
your app and geoserver are under the same basic auth domain.
Hi
I got around the printing authenticated layers issue by creating a user
in Geoserver called printer with access to all layers.
You can then add this security block in your config.yaml to send all
print requests as a specified user:
Security:
- !basicAuth
Matcher: !dnsMatch
host:
11 matches
Mail list logo