[Geoserver-devel] [JIRA] (GEOS-7977) Can't enable CORS in jetty

Nguyen Quang Long created an issue

GeoServer / BugGEOS-7977

Can’t enable CORS in jetty

Issue Type:

BugBug

Affects Versions:

2.10.1

Assignee:

Unassigned

Components:

Configuration

Created:

04/Feb/17 5:05 PM

Environment:

Ubuntu 16.04LTS. Geoserver 2.10.1 binary.

Priority:

MediumMedium

Reporter:

Nguyen Quang Long

Hi,
I have problem when control CORS in geoserver 2.10.1 binary. I had found any solution in OSGEO and try all these.
1.Copy jetty-servlet to lib
2. Edit web.xml
<filter>
<filter-name>cross-origin</filter-name>
<filter-class>org.eclipse.jetty.servlets.CrossOriginFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>cross-origin</filter-name>
<url-pattern>/cometd/*</url-pattern>
</filter-mapping>

But, after doing this, I can’t acces web admin. It appear
HTTP ERROR: 503
Problem accessing /geoserver/web/. Reason:
Service Unavailable

Anybody got same problem and help me. Thank for your help.

Add Comment

Add Comment

This message was sent by Atlassian JIRA (v1000.718.6#100026-sha1:9c7297b)

Atlassian logo