Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-6836

soap-mtom quickstart : org.apache.cxf.interceptor.Fault: Could not write attachments

    XMLWordPrintable

Details

    • % %

    Description

      After building, installing and running "mvn exec:java -Pkaraf" i get this error:

      [INFO] Building SwitchYard Quickstart: soap-mtom 2.1.0.redhat-630269
      [INFO] ------------------------------------------------------------------------
      [INFO] 
      [INFO] --- exec-maven-plugin:1.6.0:java (default-cli) @ switchyard-soap-mtom ---
      17:32:17,889 WARN  [org.apache.cxf.phase.PhaseInterceptorChain] Interceptor for {urn:switchyard-quickstart:soap-mtom:1.0}ImageServiceService#{urn:switchyard-quickstart:soap-mtom:1.0}resizeImage has thrown exception, unwinding now
      org.apache.cxf.interceptor.Fault: Could not write attachments.
      	at org.apache.cxf.interceptor.AttachmentOutInterceptor$AttachmentOutEndingInterceptor.handleMessage(AttachmentOutInterceptor.java:105)
      	at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:272)
      	at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:572)
      	at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:481)
      	at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:382)
      	at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:335)
      	at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:96)
      	at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:136)
      	at com.sun.proxy.$Proxy40.resizeImage(Unknown Source)
      	at org.switchyard.quickstarts.soap.mtom.SoapMtomClient.sendMessage(SoapMtomClient.java:60)
      	at org.switchyard.quickstarts.soap.mtom.SoapMtomClient.main(SoapMtomClient.java:41)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:95)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
      	at java.lang.reflect.Method.invoke(Method.java:507)
      	at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:282)
      	at java.lang.Thread.run(Thread.java:785)
      Caused by: java.net.ConnectException: Connection refused
      	at java.net.PlainSocketImpl.socketConnect(Native Method)
      	at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:380)
      

      I can see this in build 269, but not in 262

      Attachments

        Activity

          People

            yfang@redhat.com Freeman(Yue) Fang
            jkasztur@redhat.com Jan Kasztura (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: