IIRC, the problem has been fixed.   Have you tried with a recent
snapshot of ServiceMix 3.2.2 ?
I can't recall if the problem was fixed in the previous release.

On Thu, Mar 6, 2008 at 1:52 PM, Ingo Mittrup
<[EMAIL PROTECTED]> wrote:
> Hi!
>
>  I am quite new to servicemix (so sorry for stupid questions ;-)) and
>  currently developing a servicemix-cxf-se service unit providing a long
>  running service (returns after 60 seconds+). While adapting the service
>  to service-cxf-se and invoking the service i'm getting into two problems:
>  a) a timeout exception when waiting > 10 sec although i've implemented
>  asynchronous communication and
>  b) a class cast exception when the size of the file to be returned
>  exceeds a certain threshold (don't know the threshold exactly: file with
>  21 kB works, file with 144 kB does not).
>
>  For issue b) i found this in JIRA:
>  http://issues.apache.org/jira/browse/CXF-99 . But it seems like the
>  problem isn't fixed (?).
>
>  Any comments/help???
>
>
>  Best regards
>  Ingo
>
>  = = = = = = = = = =
>  Here's the exception stack trace for issue b):
>
>  SCHWERWIEGEND: error sending Out message
>  java.lang.ClassCastException: java.io.BufferedOutputStream
>         at
>  org.apache.cxf.transport.jbi.JBIDestinationOutputStream.commitOutputM
>  essage(JBIDestinationOutputStream.java:76)
>         at
>  org.apache.cxf.transport.jbi.JBIDestinationOutputStream.doClose(JBIDe
>  stinationOutputStream.java:62)
>         at
>  org.apache.cxf.io.CachedOutputStream.close(CachedOutputStream.java:11
>  9)
>         at
>  org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:6
>  6)
>         at
>  org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndi
>  ngInterceptor.handleMessage(MessageSenderInterceptor.java:62)
>         at
>  org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseIntercept
>  orChain.java:207)
>         at
>  org.apache.cxf.interceptor.OutgoingChainInterceptor.handleMessage(Out
>  goingChainInterceptor.java:74)
>         at
>  org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseIntercept
>  orChain.java:207)
>         at
>  org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainIniti
>  ationObserver.java:73)
>         at
>  org.apache.cxf.transport.jbi.JBIDispatcherUtil.dispatch(JBIDispatcher
>  Util.java:148)
>         at
>  org.apache.servicemix.cxfse.CxfSeEndpoint.process(CxfSeEndpoint.java:
>  187)
>         at
>  org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLi
>  feCycle.java:538)
>         at
>  org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(Async
>  BaseLifeCycle.java:490)
>         at
>  org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLife
>  Cycle.java:46)
>         at
>  org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBoun
>  d(DeliveryChannelImpl.java:610)
>         at
>  org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlo
>  w.java:170)
>         at
>  org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.j
>  ava:167)
>         at
>  org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.jav
>  a:134)
>         at
>  java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
>  utor.java:650)
>         at
>  java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
>  .java:675)
>         at java.lang.Thread.run(Thread.java:595)
>
>



-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/

Reply via email to