tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Can Eskikaya <can.eskik...@novastor.com>
Subject Unsupported HTTP Request Method :OPTIONS
Date Fri, 27 Sep 2013 14:28:02 GMT
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.

Mime
View raw message