axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Neu" <peter....@gmx.net>
Subject AW: AW: Axis2: Problems with running MTOM Sample - [Solved]
Date Thu, 23 Nov 2006 12:12:05 GMT
Got it!

Cheers,
Pete

> -----Urspr√ľngliche Nachricht-----
> Von: Peter Neu [mailto:peter.neu@gmx.net]
> Gesendet: Donnerstag, 23. November 2006 11:17
> An: axis-user@ws.apache.org
> Betreff: AW: AW: Axis2: Problems with running MTOM Sample
> 
> Hello,
> 
> I ran the example with: run.client -Dfile c:\out.txt -Ddest c:\in.txt
> 
> But the error message is the same. I just can't think of what might be
> wrong. Just for changes I tried the other attachment sample
> "soapwithattachments". It also didn't work but the error message is
> somehow
> different. Maybe this helps a bit:
> 
> First thing which is strange: The run-client triggers a redeploy on the
> server and then error on client side is this:
> 
> [java] INFO: Deploying Web service  version.aar
> [java] Exception in thread "main" org.apache.axis2.AxisFault:
> Exception occurred while trying to invoke service method uploadFile
> [java]     at
> org.apache.axis2.description.OutInAxisOperationClient.execute
> (OutInAxisOperation.java:308)
> [java]     at
> sample.soapwithattachments.client.SWAClient.transferFile(SWAC
> lient.java:133)
> [java]     at
> sample.soapwithattachments.client.SWAClient.main(SWAClient.ja
> va:81)
> [java] Java Result: 1
> 
> Also on the server side an error occurs:
> 
> 23.11.2006 11:06:49 org.apache.axis2.rpc.receivers.RPCMessageReceiver
> invokeBusinessLogic
> SCHWERWIEGEND: Exception occurred while trying to invoke service method
> uploadFile
> java.lang.reflect.InvocationTargetException
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>         at java.lang.reflect.Method.invoke(Unknown Source)
>         at
> org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCM
> es
> sageReceiver.
> java:118)
>         at
> org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.receive(Abstra
> ct
> InOutSyncMess
> ageReceiver.java:39)
>         at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:493)
>         at
> org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(
> HT
> TPTransportUt
> ils.java:319)
>         at
> org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:247)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>         at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicati
> on
> FilterChain.j
> ava:252)
>         at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilter
> Ch
> ain.java:173)
> 
>         at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.
> ja
> va:213)
>         at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.
> ja
> va:178)
>         at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:1
> 26
> )
>         at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:1
> 05
> )
>         at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.ja
> va
> :107)
>         at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148
> )
>         at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
>         at
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.proces
> sC
> onnection(Htt
> p11BaseProtocol.java:664)
>         at
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.j
> av
> a:527)
>         at
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollower
> Wo
> rkerThread.ja
> va:80)
>         at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.j
> av
> a:684)
>         at java.lang.Thread.run(Unknown Source)
> Caused by: java.lang.NullPointerException
>         at
> sample.soapwithattachments.service.AttachmentService.uploadFile(Attachment
> Se
> rvice.java:21
> )
>         ... 25 more
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message