-
Bug
-
Resolution: Done
-
Major
-
JDG 7.2 ER2
-
None
Rest-endpoint quickstart is possible to build but execution lead to the errors:
[WARNING] java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:297) at java.lang.Thread.run(Thread.java:748) Caused by: java.lang.RuntimeException: java.io.IOException: Server returned HTTP response code: 406 for URL: http://localhost:8080/rest/teams/teams at org.jboss.as.quickstarts.datagrid.rest.RESTCache.doOperation(RestCache.java:79) at org.jboss.as.quickstarts.datagrid.rest.RESTCache.get(RestCache.java:124) at org.jboss.as.quickstarts.datagrid.rest.FootballManager.<init>(FootballManager.java:56) at org.jboss.as.quickstarts.datagrid.rest.FootballManager.main(FootballManager.java:137) ... 6 more Caused by: java.io.IOException: Server returned HTTP response code: 406 for URL: http://localhost:8080/rest/teams/teams at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1894) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1492) at org.jboss.as.quickstarts.datagrid.rest.RESTCache.doOperation(RestCache.java:67) ... 9 more
- is caused by
-
ISPN-8752 REST server fails to parse media-range with single asterisk
- Closed