[OpenLayers-Users] ol4jsf proxy
Gerome Bracquemont
gerome.bracquemont at gmail.com
Fri Jan 13 08:30:20 EST 2012
I use this one :
ol4jsf-core-2.2.jar
2012/1/13 Robert Anderson <ranomail at gmail.com>
> Ok,
>
> Which ol4jsf version are you using?
>
>
>
>
> On Fri, Jan 13, 2012 at 10:16 AM, Gerome Bracquemont <
> gerome.bracquemont at gmail.com> wrote:
>
>> I'm using geoserver,
>> i've alredy added
>>
>> <servlet>
>> <servlet-name>OL4JSFProxy</servlet-name>
>>
>> <servlet-class>org.ol4jsf.proxy.servlet.OL4JSFProxy</servlet-class>
>> <load-on-startup>0</load-on-startup>
>> </servlet>
>>
>> <servlet-mapping>
>> <servlet-name>OL4JSFProxy</servlet-name>
>> <url-pattern>/OL4JSFProxy/*</url-pattern>
>> </servlet-mapping>
>>
>> in my web.xml
>>
>> I can see it starting in the console. but Geoserver returns me an error
>> 400 for the getcapabilities request
>>
>> 2012/1/13 Robert Anderson <ranomail at gmail.com>
>>
>>> 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
>>>>
>>>>
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/openlayers-users
>>>
>>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/openlayers-users
>>
>>
>
> _______________________________________________
> 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/f467337a/attachment-0001.html
More information about the Users
mailing list