Eric Portalez wrote:
This is in the class org.apache.webdav.lib.WebdavSession.java in
jakarta-slide-webdavlib-2.1.jar

uh oh...


You must not manage your connections manually. The connection
manager will take care of that.

You means I have nothing to do ?

Exactly.

How does manager do this ?

This depends on the connection manager that is used. The multi-threaded connection manager will keep a connection open for a while so it can be reused. But connections time out evetuall. Normally this happens after 30 seconds to 1 minute.

> Is there
something to parameter ? I ask this question because my connections
are not released.

I assume you connect to a Slide WebDav server using the slide WebDav client library. What makes you think your connections are not released properly?

> I had to make my connections become not persistants
by adding the following attribute to the launching of my server : -Dhttp.keepAlive=false

This system property is used by Sun's HttpUrlConnection. This should not have any effect on Tomcat's server connections.

Eric PORTALEZ


--
[web]  http://www.odi.ch/
[blog] http://www.odi.ch/weblog/
[pgp]  key 0x81CF3416
       finger print F2B1 B21F F056 D53E 5D79 A5AF 02BE 70F5 81CF 3416

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to