[
https://jira.jboss.org/browse/JBIDE-7432?page=com.atlassian.jira.plugin.s...
]
Ben Clare commented on JBIDE-7432:
----------------------------------
Here is the server log output to the console on the GET request:
22:29:58,700 ERROR [STDERR] 1658224 [http-127.0.0.1-8080-2] ERROR
org.jboss.resteasy.core.SynchronousDispatcher - failed to execute
22:29:58,738 ERROR [STDERR] javax.ws.rs.WebApplicationException
22:29:58,738 ERROR [STDERR] at
com.restfully.shop.services.CustomerResource.getCustomer(CustomerResource.java:55)
22:29:58,738 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
22:29:58,738 ERROR [STDERR] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
22:29:58,739 ERROR [STDERR] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
22:29:58,739 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
22:29:58,739 ERROR [STDERR] at
org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:117)
22:29:58,739 ERROR [STDERR] at
org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:260)
22:29:58,739 ERROR [STDERR] at
org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:232)
22:29:58,739 ERROR [STDERR] at
org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:166)
22:29:58,739 ERROR [STDERR] at
org.jboss.resteasy.core.DispatcherUtilities.getJaxrsResponse(DispatcherUtilities.java:142)
22:29:58,739 ERROR [STDERR] at
org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:356)
22:29:58,740 ERROR [STDERR] at
org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:173)
22:29:58,740 ERROR [STDERR] at
org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:93)
22:29:58,757 ERROR [STDERR] at
org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:68)
22:29:58,757 ERROR [STDERR] at
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
22:29:58,757 ERROR [STDERR] at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
22:29:58,758 ERROR [STDERR] at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
22:29:58,758 ERROR [STDERR] at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
22:29:58,758 ERROR [STDERR] at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
22:29:58,758 ERROR [STDERR] at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
22:29:58,758 ERROR [STDERR] at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
22:29:58,758 ERROR [STDERR] at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
22:29:58,758 ERROR [STDERR] at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
22:29:58,758 ERROR [STDERR] at
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
22:29:58,758 ERROR [STDERR] at
org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
22:29:58,758 ERROR [STDERR] at
org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
22:29:58,758 ERROR [STDERR] at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
22:29:58,758 ERROR [STDERR] at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
22:29:58,758 ERROR [STDERR] at
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
22:29:58,759 ERROR [STDERR] at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
22:29:58,759 ERROR [STDERR] at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
22:29:58,759 ERROR [STDERR] at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
22:29:58,759 ERROR [STDERR] at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
22:29:58,759 ERROR [STDERR] at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
22:29:58,759 ERROR [STDERR] at java.lang.Thread.run(Thread.java:619)
OPTIONS method returns [POST, OPTIONS] for RESTEasy simple project in
Web Service Test View
--------------------------------------------------------------------------------------------
Key: JBIDE-7432
URL:
https://jira.jboss.org/browse/JBIDE-7432
Project: Tools (JBoss Tools)
Issue Type: Bug
Affects Versions: 3.2.0.CR1
Reporter: Ben Clare
Assignee: Brian Fitzpatrick
Attachments: GETResponse.png, OPTIONSResponse.png, POSTData.png,
POSTResponse.png
I have set up the RESTEasy sample project (simple) and used the Web Service Test View to
return the available options. The options are:
POST, OPTIONS
The documentation located at
http://community.jboss.org/wiki/UsingtheWebServiceTester
suggests that the options should be:
GET, HEAD, POST, PUT, DELETE, TRACE, and OPTIONS
The JBoss Tools Project Examples version is reported by Eclipse as:
JBoss Tools Community Project
Examples 1.1.0.v20100908-1606-H23-M2 org.jboss.tools.community.project.examples.feature.feature.group
Any idea as to why the options do not include GET, HEAD, PUT, DELETE and TRACE
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira