camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From berdoni <berd...@gmail.com>
Subject Re: Jetty proxy Rest service fails for file uploading
Date Fri, 08 Nov 2013 12:21:05 GMT
I have implemented a Multipart ReST file upload service for testing the route
in case of a multipart WS. Direct call works OK but not the camel jetty
proxy. In this case I don't get an ERROR just a status code 500.

14:18:56,114 | DEBUG | HttpClient-364   | JettyContentExchange             |
178 - org.apache.camel.camel-jetty - 2.10.4 | TaskComplete with state 7 for
url: http//127.0.0.1:8080/radiator/services/rest/pong
14:18:56,114 | DEBUG | HttpClient-364   | DefaultJettyHttpBinding          |
178 - org.apache.camel.camel-jetty - 2.10.4 | HTTP responseCode: 200
14:18:56,115 | DEBUG | rvices/rest/pong | Server                           |
111 - org.eclipse.jetty.util - 7.5.4.v20111024 | REQUEST
/radiator/services/rest/pong on
org.eclipse.jetty.server.nio.SelectChannelConnector$SelectChannelHttpConnection@5e23df0e@127.0.0.1:8081<->127.0.0.1:55493
14:18:56,115 | DEBUG | rvices/rest/pong | ContextHandler                   |
111 - org.eclipse.jetty.util - 7.5.4.v20111024 | scope
null||/radiator/services/rest/pong @ o.e.j.s.ServletContextHandler{/,null}
14:18:56,116 | DEBUG | rvices/rest/pong | ContextHandler                   |
111 - org.eclipse.jetty.util - 7.5.4.v20111024 |
context=||/radiator/services/rest/pong @
o.e.j.s.ServletContextHandler{/,null}
14:18:56,116 | DEBUG | rvices/rest/pong | ServletHandler                   |
111 - org.eclipse.jetty.util - 7.5.4.v20111024 | servlet
||/radiator/services/rest/pong ->
org.apache.camel.component.jetty.CamelContinuationServlet-529820391
14:18:56,116 | DEBUG | rvices/rest/pong | ServletHandler                   |
111 - org.eclipse.jetty.util - 7.5.4.v20111024 |
chain=org.apache.camel.component.jetty.CamelFilterWrapper-252017599->org.apache.camel.component.jetty.CamelContinuationServlet-529820391
14:18:56,116 | DEBUG | rvices/rest/pong | ServletHandler                   |
111 - org.eclipse.jetty.util - 7.5.4.v20111024 | call filter
org.apache.camel.component.jetty.CamelFilterWrapper-252017599
14:18:56,116 | DEBUG | rvices/rest/pong | ServletHandler                   |
111 - org.eclipse.jetty.util - 7.5.4.v20111024 | call servlet
org.apache.camel.component.jetty.CamelContinuationServlet-529820391
14:18:56,117 | DEBUG | rvices/rest/pong | Server                           |
111 - org.eclipse.jetty.util - 7.5.4.v20111024 | RESPONSE
/radiator/services/rest/pong  200
14:18:56,120 | DEBUG | /rest/uploadFile | Server                           |
111 - org.eclipse.jetty.util - 7.5.4.v20111024 | REQUEST
/radiator/services/rest/uploadFile on
org.eclipse.jetty.server.nio.SelectChannelConnector$SelectChannelHttpConnection@5e23df0e@127.0.0.1:8081<->127.0.0.1:55493
14:18:56,120 | DEBUG | /rest/uploadFile | ContextHandler                   |
111 - org.eclipse.jetty.util - 7.5.4.v20111024 | scope
null||/radiator/services/rest/uploadFile @
o.e.j.s.ServletContextHandler{/,null}
14:18:56,120 | DEBUG | /rest/uploadFile | ContextHandler                   |
111 - org.eclipse.jetty.util - 7.5.4.v20111024 |
context=||/radiator/services/rest/uploadFile @
o.e.j.s.ServletContextHandler{/,null}
14:18:56,120 | DEBUG | /rest/uploadFile | ServletHandler                   |
111 - org.eclipse.jetty.util - 7.5.4.v20111024 | servlet
||/radiator/services/rest/uploadFile ->
org.apache.camel.component.jetty.CamelContinuationServlet-529820391
14:18:56,120 | DEBUG | /rest/uploadFile | ServletHandler                   |
111 - org.eclipse.jetty.util - 7.5.4.v20111024 |
chain=org.apache.camel.component.jetty.CamelFilterWrapper-252017599->org.apache.camel.component.jetty.CamelContinuationServlet-529820391
14:18:56,120 | DEBUG | /rest/uploadFile | ServletHandler                   |
111 - org.eclipse.jetty.util - 7.5.4.v20111024 | call filter
org.apache.camel.component.jetty.CamelFilterWrapper-252017599
14:18:56,178 | DEBUG | /rest/uploadFile | ServletHandler                   |
111 - org.eclipse.jetty.util - 7.5.4.v20111024 | call servlet
org.apache.camel.component.jetty.CamelContinuationServlet-529820391
14:18:56,178 | INFO  | /rest/uploadFile | route17                          |
95 - org.apache.camel.camel-core - 2.10.4 | Service Proxied
14:18:56,178 | DEBUG | /rest/uploadFile | SendProcessor                    |
95 - org.apache.camel.camel-core - 2.10.4 | >>>>
Endpoint[http://127.0.0.1:8080/] Exchange[Message: [Body is instance of
org.apache.camel.StreamCache]]
14:18:56,179 | DEBUG | /rest/uploadFile | HttpExchange                     |
111 - org.eclipse.jetty.util - 7.5.4.v20111024 | URI =
http://127.0.0.1:8080/radiator/services/rest/uploadFile
14:18:56,180 | DEBUG | /rest/uploadFile | JettyHttpProducer                |
178 - org.apache.camel.camel-jetty - 2.10.4 | Sending HTTP request to:
http//127.0.0.1:8080/radiator/services/rest/uploadFile
14:18:56,180 | DEBUG | /rest/uploadFile | nio                              |
111 - org.eclipse.jetty.util - 7.5.4.v20111024 | Required scheduleWrite
SCEP@1798153031java.nio.channels.SocketChannel[connected
local=/127.0.0.1:55494 remote=/127.0.0.1:8080][o=true
d=false,io=1,w=true,rb=false,wb=false]
14:18:56,181 | DEBUG | /rest/uploadFile | Server                           |
111 - org.eclipse.jetty.util - 7.5.4.v20111024 | RESPONSE
/radiator/services/rest/uploadFile  200
14:18:56,181 | DEBUG | tp1224111075-373 | AsyncHttpConnection              |
111 - org.eclipse.jetty.util - 7.5.4.v20111024 | suspended
org.eclipse.jetty.server.nio.SelectChannelConnector$SelectChannelHttpConnection@5e23df0e@127.0.0.1:8081<->127.0.0.1:55493
14:18:56,186 | DEBUG | HttpClient-366   | JettyContentExchange             |
178 - org.apache.camel.camel-jetty - 2.10.4 | TaskComplete with state 7 for
url: http//127.0.0.1:8080/radiator/services/rest/uploadFile
14:18:56,186 | DEBUG | HttpClient-366   | DefaultJettyHttpBinding          |
178 - org.apache.camel.camel-jetty - 2.10.4 | HTTP responseCode: 500
14:18:56,188 | DEBUG | /rest/uploadFile | Server                           |
111 - org.eclipse.jetty.util - 7.5.4.v20111024 | REQUEST
/radiator/services/rest/uploadFile on
org.eclipse.jetty.server.nio.SelectChannelConnector$SelectChannelHttpConnection@5e23df0e@127.0.0.1:8081<->127.0.0.1:55493
14:18:56,189 | DEBUG | /rest/uploadFile | ContextHandler                   |
111 - org.eclipse.jetty.util - 7.5.4.v20111024 | scope
null||/radiator/services/rest/uploadFile @
o.e.j.s.ServletContextHandler{/,null}
14:18:56,189 | DEBUG | /rest/uploadFile | ContextHandler                   |
111 - org.eclipse.jetty.util - 7.5.4.v20111024 |
context=||/radiator/services/rest/uploadFile @
o.e.j.s.ServletContextHandler{/,null}
14:18:56,189 | DEBUG | nt-363 Selector0 | nio                              |
111 - org.eclipse.jetty.util - 7.5.4.v20111024 | destroyEndPoint
SCEP@1798153031java.nio.channels.SocketChannel[closed][o=false
d=false,io=1,w=true,rb=false,wb=false]
14:18:56,189 | DEBUG | /rest/uploadFile | ServletHandler                   |
111 - org.eclipse.jetty.util - 7.5.4.v20111024 | servlet
||/radiator/services/rest/uploadFile ->
org.apache.camel.component.jetty.CamelContinuationServlet-529820391
14:18:56,189 | DEBUG | /rest/uploadFile | ServletHandler                   |
111 - org.eclipse.jetty.util - 7.5.4.v20111024 |
chain=org.apache.camel.component.jetty.CamelFilterWrapper-252017599->org.apache.camel.component.jetty.CamelContinuationServlet-529820391
14:18:56,189 | DEBUG | /rest/uploadFile | ServletHandler                   |
111 - org.eclipse.jetty.util - 7.5.4.v20111024 | call filter
org.apache.camel.component.jetty.CamelFilterWrapper-252017599
14:18:56,189 | DEBUG | /rest/uploadFile | ServletHandler                   |
111 - org.eclipse.jetty.util - 7.5.4.v20111024 | call servlet
org.apache.camel.component.jetty.CamelContinuationServlet-529820391
14:18:56,190 | DEBUG | /rest/uploadFile | Server                           |
111 - org.eclipse.jetty.util - 7.5.4.v20111024 | RESPONSE
/radiator/services/rest/uploadFile  500
14:18:57,534 | DEBUG | heckpoint Worker | MessageDatabase                  |
78 - org.apache.activemq.activemq-core - 5.7.0 | Checkpoint started.
14:18:57,537 | DEBUG | heckpoint Worker | MessageDatabase                  |
78 - org.apache.activemq.activemq-core - 5.7.0 | Checkpoint done.
14:19:02,537 | DEBUG | heckpoint Worker | MessageDatabase                  |
78 - org.apache.activemq.activemq-core - 5.7.0 | Checkpoint started.



--
View this message in context: http://camel.465427.n5.nabble.com/Jetty-proxy-Rest-service-fails-for-file-uploading-tp5742769p5742844.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message