axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas B. (JIRA)" <j...@apache.org>
Subject [jira] Updated: (AXIS2-4744) Connection is released while sending files over mtom
Date Wed, 16 Jun 2010 13:01:52 GMT

     [ https://issues.apache.org/jira/browse/AXIS2-4744?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andreas B. updated AXIS2-4744:
------------------------------

    Description: 
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 client side 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

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.
  

16:54:19 DEBUG 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.

  was:
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 client side 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.


> Connection is released while sending files over mtom
> ----------------------------------------------------
>
>                 Key: AXIS2-4744
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4744
>             Project: Axis2
>          Issue Type: Bug
>    Affects Versions: 1.4.1
>         Environment: Tomcat v5.5, JRE 1.6.20, Windows Vista 64 bit
>            Reporter: Andreas B.
>            Priority: Blocker
>
> 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 client side 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
> 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.
>   
> 16:54:19 DEBUG 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


Mime
View raw message