Re: Help with http upload component

2007-11-16 Thread lhe77
ollection.handle(HandlerCollection.java:114) >>>>at >>>> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139) >>>>at org.mortbay.jetty.Server.handle(Server.java:313) >>>>at >>>> org.mortbay.jetty.HttpConnect

Re: Help with http upload component

2007-11-16 Thread lhe77
t >> org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442) >> >> Powered by Jetty:// >> >> >> I attached the whole project to that posting for better testing. The >> servicemix version is 3.2 release version. >> >> Thanks in advance for any help, >> Lars >> >> >> Here is the ready to compile project for testing: >> http://www.nabble.com/file/p13762773/cp-http.tar.gz cp-http.tar.gz >> > > -- View this message in context: http://www.nabble.com/Help-with-http-upload-component-tf4810196s12049.html#a13788208 Sent from the ServiceMix - User mailing list archive at Nabble.com.

Re: Help with http upload component

2007-11-16 Thread lhe77
;>> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712) >>>>> at >>>>> org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:211) >>>>> at >>>>> org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) >>>>> at >>>>> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139) >>>>> at org.mortbay.jetty.Server.handle(Server.java:313) >>>>> at >>>>> org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:506) >>>>> at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:375) >>>>> at >>>>> org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:396) >>>>> at >>>>> org.mortbay.jetty.nio.SelectChannelConnector$RetryContinuation.run(SelectChannelConnector.java:511) >>>>> at >>>>> org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442) >>>>> >>>>> Powered by Jetty:// >>>>> >>>>> >>>>> I attached the whole project to that posting for better testing. The >>>>> servicemix version is 3.2 release version. >>>>> >>>>> Thanks in advance for any help, >>>>> Lars >>>>> >>>>> >>>>> Here is the ready to compile project for testing: >>>>> http://www.nabble.com/file/p13762773/cp-http.tar.gz cp-http.tar.gz >>>>> >>>>> >>>> >>> >>> >> >> > > -- View this message in context: http://www.nabble.com/Help-with-http-upload-component-tf4810196s12049.html#a13791430 Sent from the ServiceMix - User mailing list archive at Nabble.com.

Re: Help with http upload component

2007-11-16 Thread Freeman Fang
For your HandlerBean.java, change DataHandler dh = new DataHandler(new StreamDataSource(content.getInputStream())); to DataHandler dh = new DataHandler(new StreamDataSource(content.getInputStream()), content.getContentType()); Cheers Freeman lhe77 wrote: Wow, really strange thing. Maybe it

Re: Help with http upload component

2007-11-15 Thread Freeman Fang
Hi, Can't extract the attachment you append here http://www.nabble.com/file/p13762773/cp-http.tar.gz Freeman lhe77 wrote: Hi, I try to make a http uploader which processes the uploaded file and sends back the file after processing it. The http consumer is defined to use In-Out MEP and it

Help with http upload component

2007-11-14 Thread lhe77
testing: http://www.nabble.com/file/p13762773/cp-http.tar.gz cp-http.tar.gz -- View this message in context: http://www.nabble.com/Help-with-http-upload-component-tf4810196s12049.html#a13762773 Sent from the ServiceMix - User mailing list archive at Nabble.com.