thanks, that's fixed: https://issues.apache.org/jira/browse/OPENEJB-2038
*Romain Manni-Bucau* *Twitter: @rmannibucau <https://twitter.com/rmannibucau>* *Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau* *Github: https://github.com/rmannibucau* 2013/9/27 Can Eskikaya <[email protected]> > I have a openejb 4.6.0 standalone server running and a method with > javax.ws.rs.OPTIONS; annotaded. > > The server starts and shows me the line: > ep 27, 2013 4:07:03 PM org.apache.openejb.server.cxf.rs.CxfRsHttpListener > logEndpoints > NFO: OPTIONS http://0.0.0.0:4204/dcservice/api/node/show > -> String getFunctions() > > But if i call the URI with http method OPTIONS, the server response the > error: > > java.io.IOException: Unsupported HTTP Request Method :OPTIONS > at > > org.apache.openejb.server.httpd.HttpRequestImpl.parseMethod(HttpRequestImpl.java:433) > at > > org.apache.openejb.server.httpd.HttpRequestImpl.readRequestLine(HttpRequestImpl.java:399) > at > > org.apache.openejb.server.httpd.HttpRequestImpl.readMessage(HttpRequestImpl.java:337) > at > > org.apache.openejb.server.httpd.OpenEJBHttpServer.process(OpenEJBHttpServer.java:217) > at > > org.apache.openejb.server.httpd.OpenEJBHttpServer.processRequest(OpenEJBHttpServer.java:193) > at > > org.apache.openejb.server.httpd.OpenEJBHttpServer.service(OpenEJBHttpServer.java:108) > at > > org.apache.openejb.server.httpd.HttpEjbServer.service(HttpEjbServer.java:63) > at > > org.apache.openejb.server.ServerServiceFilter.service(ServerServiceFilter.java:64) > at > > org.apache.openejb.server.ServerServiceFilter.service(ServerServiceFilter.java:64) > at > org.apache.openejb.server.ServiceStats.service(ServiceStats.java:54) > at > > org.apache.openejb.server.ServerServiceFilter.service(ServerServiceFilter.java:64) > at > org.apache.openejb.server.ServiceLogger.service(ServiceLogger.java:93) > at > > org.apache.openejb.server.ServerServiceFilter.service(ServerServiceFilter.java:64) > at > org.apache.openejb.server.ServicePool.access$201(ServicePool.java:39) > at > org.apache.openejb.server.ServicePool$3.run(ServicePool.java:200) > at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown > Source) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown > Source) > at java.lang.Thread.run(Unknown Source) > > *Is the method realy unsuported?* > > > > > > > > -- > View this message in context: > http://openejb.979440.n4.nabble.com/Unsupported-HTTP-Request-Method-OPTIONS-tp4665322.html > Sent from the OpenEJB User mailing list archive at Nabble.com. >
