[OpenLayers-Users] ol4jsf proxy

Robert Anderson ranomail at gmail.com
Fri Jan 13 08:09:38 EST 2012


Hi,

Are you using a JEE 6 server? otherwise, you have to add the servlet
mapping in web.xml:

    <servlet>
        <servlet-name>OL4JSFProxy</servlet-name>
        <servlet-class>org.ol4jsf.proxy.servlet.OL4JSFProxy</servlet-class>
        <load-on-startup>0</load-on-startup>
    </servlet>

Best regards,

Robert

On Fri, Jan 13, 2012 at 10:02 AM, Gerome Bracquemont <
gerome.bracquemont at gmail.com> wrote:

> Hy all,
>
> I've tried to install the ol4jsf proxy but i got some issues
>
> Geoserver port : 176.31.233.151:8080
>
> ol4jsf-proxy.xml:
> <?xml version="1.0" encoding="UTF-8"?>
> <ol4jsf-proxy>
>     <use-environment id="desenv" />
>     <environment id="desenv">
>         <description>Development Environment.</description>
>         <resources>
>             <resource name="wms">
>                 <url>http://176.31.233.151:8080/geoserver/wms</url>
>                 <authentication>
>                             <username>admin</username>
>                              <password>geoserver</password>
>                  </authentication>
>             </resource>
>         </resources>
>     </environment>
> </ol4jsf-proxy>
>
> Geoserver strats correctly.
>
> When I try the get capabilties :
> http://176.31.233.151:8080/geoserver/OL4JSFProxy/wms?service=WMS&request=GetCapabilities
>
> Geoserver returns me an error 400.
> I would like to know what is the url to use the proxy ?
>
> thanks a lot in advance
> _______________________________________________
> Users mailing list
> Users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20120113/2433017b/attachment.html


More information about the Users mailing list