Hi all, I have a problem with my webservice using Axis2 1.4.1. I have implemented a webservice which allows the client to upload files to the server, including some file metadata. On the client I enabled MTOM, to support uploading of large files to. Now everything works fine for file up to lets say 40 MB. If i want to upload a file which is greater than those 40 MB the following happens. Here are the logs:
16:54:19 DEBUG org.apache.commons.httpclient.params.DefaultHttpParams.setParameter(DefaultHttpParams.java:151) Set parameter http.connection.timeout = 180000 16:54:19 DEBUG org.apache.commons.httpclient.params.DefaultHttpParams.setParameter(DefaultHttpParams.java:151) Set parameter http.socket.timeout = 180000 16:54:19 DEBUG org.apache.commons.httpclient.params.DefaultHttpParams.setParameter(DefaultHttpParams.java:151) Set parameter http.socket.timeout = 180000 16:54:19 DEBUG org.apache.commons.httpclient.MultiThreadedHttpConnectionManager.getConnectionWithTimeout(MultiThreadedHttpConnectionManager.java:412) HttpConnectionManager.getConnection: config = HostConfiguration[host=https://mypc.com:8443], timeout = 0 16:54:19 DEBUG org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$ConnectionPool.createConnection(MultiThreadedHttpConnectionManager.java:760) Allocating new connection, hostConfig=HostConfiguration[host=https://mypc.com:8443] 16:54:19 DEBUG org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:692) Open connection to mypc.com:8443 network: Verbindung von http://mypc.com:8443/ mit Proxy=DIRECT wird hergestellt 16:54:19 DEBUG org.apache.commons.httpclient.Wire.wire(Wire.java:70) >> "POST /myservices/DocumentManipulationService HTTP/1.1[\r][\n]" 16:54:19 DEBUG org.apache.commons.httpclient.HttpMethodBase.addHostRequestHeader(HttpMethodBase.java:1352) Adding Host request header 16:54:19 DEBUG Until now everything is okay, Axis2 ist starting to send the request. But as you can see on the lines above, now Axis2 is closing the connection. org.apache.commons.httpclient.HttpConnection.releaseConnection(HttpConnection.java:1178) Releasing connection back to connection manager. 16:54:19 DEBUG org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$ConnectionPool.freeConnection(MultiThreadedHttpConnectionManager.java:979) Freeing connection, hostConfig=HostConfiguration[host=https://mypc.com:8443] 16:54:19 DEBUG org.apache.commons.httpclient.util.IdleConnectionHandler.add(IdleConnectionHandler.java:76) Adding connection at: 1275317659852 16:54:19 DEBUG org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$ConnectionPool.notifyWaitingThread(MultiThreadedHttpConnectionManager.java:961) Notifying no-one, there are no waiting threads The webservice call does not return and no exception is thrown. Does anyone know whats happening here? It would be great to get some help. Greetings, Andi -- GMX.at - Österreichs FreeMail-Dienst mit über 2 Mio Mitgliedern E-Mail, SMS & mehr! Kostenlos: http://portal.gmx.net/de/go/atfreemail --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
