I'm using geoserver,<div>i've alredy added </div><div><br></div><div><div> <servlet></div><div> <servlet-name>OL4JSFProxy</servlet-name></div><div> <servlet-class>org.ol4jsf.proxy.servlet.OL4JSFProxy</servlet-class></div>
<div> <load-on-startup>0</load-on-startup></div><div> </servlet></div><div><br></div><div> <servlet-mapping></div><div> <servlet-name>OL4JSFProxy</servlet-name></div>
<div> <url-pattern>/OL4JSFProxy/*</url-pattern></div><div> </servlet-mapping></div><div><br></div><div>in my web.xml</div><div><br></div><div>I can see it starting in the console. but <span style="font-family:Verdana,Geneva,Helvetica,Arial,sans-serif;font-size:13px">Geoserver returns me an error 400 for the getcapabilities request</span></div>
<br><div class="gmail_quote">2012/1/13 Robert Anderson <span dir="ltr"><<a href="mailto:ranomail@gmail.com">ranomail@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br><br>Are you using a JEE 6 server? otherwise, you have to add the servlet mapping in web.xml:<br><br> <servlet><br> <servlet-name>OL4JSFProxy</servlet-name><br> <servlet-class>org.ol4jsf.proxy.servlet.OL4JSFProxy</servlet-class><br>
<load-on-startup>0</load-on-startup><br> </servlet><br><br>Best regards,<br><br>Robert<br><br><div class="gmail_quote"><div><div class="h5">On Fri, Jan 13, 2012 at 10:02 AM, Gerome Bracquemont <span dir="ltr"><<a href="mailto:gerome.bracquemont@gmail.com" target="_blank">gerome.bracquemont@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><span style="font-size:13px;font-family:Verdana,Geneva,Helvetica,Arial,sans-serif">Hy all, </span><br style="font-size:13px;font-family:Verdana,Geneva,Helvetica,Arial,sans-serif">
<br style="font-size:13px;font-family:Verdana,Geneva,Helvetica,Arial,sans-serif"><span style="font-size:13px;font-family:Verdana,Geneva,Helvetica,Arial,sans-serif">I've tried to install the ol4jsf proxy but i got some issues </span><br style="font-size:13px;font-family:Verdana,Geneva,Helvetica,Arial,sans-serif">
<br style="font-size:13px;font-family:Verdana,Geneva,Helvetica,Arial,sans-serif"><span style="font-size:13px;font-family:Verdana,Geneva,Helvetica,Arial,sans-serif">Geoserver port : <a href="http://176.31.233.151:8080" target="_blank">176.31.233.151:8080</a> </span><br style="font-size:13px;font-family:Verdana,Geneva,Helvetica,Arial,sans-serif">
<br style="font-size:13px;font-family:Verdana,Geneva,Helvetica,Arial,sans-serif"><span style="font-size:13px;font-family:Verdana,Geneva,Helvetica,Arial,sans-serif">ol4jsf-proxy.xml: </span><br style="font-size:13px;font-family:Verdana,Geneva,Helvetica,Arial,sans-serif">
<span style="font-size:13px;font-family:Verdana,Geneva,Helvetica,Arial,sans-serif"><?xml version="1.0" encoding="UTF-8"?> </span><br style="font-size:13px;font-family:Verdana,Geneva,Helvetica,Arial,sans-serif">
<span style="font-size:13px;font-family:Verdana,Geneva,Helvetica,Arial,sans-serif"><ol4jsf-proxy></span><br style="font-size:13px;font-family:Verdana,Geneva,Helvetica,Arial,sans-serif">
<span style="font-size:13px;font-family:Verdana,Geneva,Helvetica,Arial,sans-serif"> <use-environment id="desenv" /></span><br style="font-size:13px;font-family:Verdana,Geneva,Helvetica,Arial,sans-serif">
<span style="font-size:13px;font-family:Verdana,Geneva,Helvetica,Arial,sans-serif"> <environment id="desenv"></span><br style="font-size:13px;font-family:Verdana,Geneva,Helvetica,Arial,sans-serif">
<span style="font-size:13px;font-family:Verdana,Geneva,Helvetica,Arial,sans-serif"> <description>Development Environment.</description></span><br style="font-size:13px;font-family:Verdana,Geneva,Helvetica,Arial,sans-serif">
<span style="font-size:13px;font-family:Verdana,Geneva,Helvetica,Arial,sans-serif"> <resources></span><br style="font-size:13px;font-family:Verdana,Geneva,Helvetica,Arial,sans-serif">
<span style="font-size:13px;font-family:Verdana,Geneva,Helvetica,Arial,sans-serif"> <resource name="wms"></span><br style="font-size:13px;font-family:Verdana,Geneva,Helvetica,Arial,sans-serif">
<span style="font-size:13px;font-family:Verdana,Geneva,Helvetica,Arial,sans-serif"> <url></span><a href="http://176.31.233.151:8080/geoserver/wms" rel="nofollow" link="external" style="color:rgb(85,26,139);font-size:13px;font-family:Verdana,Geneva,Helvetica,Arial,sans-serif" target="_blank">http://176.31.233.151:8080/geoserver/wms</a><span style="font-size:13px;font-family:Verdana,Geneva,Helvetica,Arial,sans-serif"></url></span><br style="font-size:13px;font-family:Verdana,Geneva,Helvetica,Arial,sans-serif">
<span style="font-size:13px;font-family:Verdana,Geneva,Helvetica,Arial,sans-serif"> <authentication></span><br style="font-size:13px;font-family:Verdana,Geneva,Helvetica,Arial,sans-serif">
<span style="font-size:13px;font-family:Verdana,Geneva,Helvetica,Arial,sans-serif"> <username>admin</username></span><br style="font-size:13px;font-family:Verdana,Geneva,Helvetica,Arial,sans-serif">
<span style="font-size:13px;font-family:Verdana,Geneva,Helvetica,Arial,sans-serif"> <password>geoserver</password></span><br style="font-size:13px;font-family:Verdana,Geneva,Helvetica,Arial,sans-serif">
<span style="font-size:13px;font-family:Verdana,Geneva,Helvetica,Arial,sans-serif"> </authentication></span><br style="font-size:13px;font-family:Verdana,Geneva,Helvetica,Arial,sans-serif">
<span style="font-size:13px;font-family:Verdana,Geneva,Helvetica,Arial,sans-serif"> </resource></span><br style="font-size:13px;font-family:Verdana,Geneva,Helvetica,Arial,sans-serif">
<span style="font-size:13px;font-family:Verdana,Geneva,Helvetica,Arial,sans-serif"> </resources></span><br style="font-size:13px;font-family:Verdana,Geneva,Helvetica,Arial,sans-serif">
<span style="font-size:13px;font-family:Verdana,Geneva,Helvetica,Arial,sans-serif"> </environment></span><br style="font-size:13px;font-family:Verdana,Geneva,Helvetica,Arial,sans-serif">
<span style="font-size:13px;font-family:Verdana,Geneva,Helvetica,Arial,sans-serif"></ol4jsf-proxy></span><br style="font-size:13px;font-family:Verdana,Geneva,Helvetica,Arial,sans-serif">
<br style="font-size:13px;font-family:Verdana,Geneva,Helvetica,Arial,sans-serif"><span style="font-size:13px;font-family:Verdana,Geneva,Helvetica,Arial,sans-serif">Geoserver strats correctly. </span><br style="font-size:13px;font-family:Verdana,Geneva,Helvetica,Arial,sans-serif">
<br style="font-size:13px;font-family:Verdana,Geneva,Helvetica,Arial,sans-serif"><span style="font-size:13px;font-family:Verdana,Geneva,Helvetica,Arial,sans-serif">When I try the get capabilties : </span><a href="http://176.31.233.151:8080/geoserver/OL4JSFProxy/wms?service=WMS&request=GetCapabilities" rel="nofollow" link="external" style="color:rgb(85,26,139);font-size:13px;font-family:Verdana,Geneva,Helvetica,Arial,sans-serif" target="_blank">http://176.31.233.151:8080/geoserver/OL4JSFProxy/wms?service=WMS&request=GetCapabilities</a><br style="font-size:13px;font-family:Verdana,Geneva,Helvetica,Arial,sans-serif">
<br style="font-size:13px;font-family:Verdana,Geneva,Helvetica,Arial,sans-serif"><span style="font-size:13px;font-family:Verdana,Geneva,Helvetica,Arial,sans-serif">Geoserver returns me an error 400. </span><br style="font-size:13px;font-family:Verdana,Geneva,Helvetica,Arial,sans-serif">
<span style="font-size:13px;font-family:Verdana,Geneva,Helvetica,Arial,sans-serif">I would like to know what is the url to use the proxy ? </span><br style="font-size:13px;font-family:Verdana,Geneva,Helvetica,Arial,sans-serif">
<br style="font-size:13px;font-family:Verdana,Geneva,Helvetica,Arial,sans-serif"><span style="font-size:13px;font-family:Verdana,Geneva,Helvetica,Arial,sans-serif">thanks a lot in advance </span>
<br></div></div>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.osgeo.org" target="_blank">Users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/openlayers-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/openlayers-users</a><br>
<br></blockquote></div><br>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.osgeo.org">Users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/openlayers-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/openlayers-users</a><br>
<br></blockquote></div><br></div>