List Info

Thread: HttpUrl Input/Output stream problems




HttpUrl Input/Output stream problems
user name
2006-11-30 23:51:14
We had a similar issue. There appears to be some sort of
resource leak  with
the Parse(inputStream) methods.
By changing:

Alistair Young wrote:
> 
> ...
> SomeDocument doc =
SomeDocument.Factory.parse(request.getInputStream());
> 
> ...
> 

To 

theString=
aMethodToConvertToString(request.getInputStream());
SomeDocument doc = SomeDocument.Factory.parse(theString);

we eliminated the behaviour.

-- 
View this message in context: http://www.nabble.com/HttpUrl-
Input-Output-stream-problems-tf2519760.html#a7630728
Sent from the Xml Beans - User mailing list archive at
Nabble.com.


------------------------------------------------------------
---------
To unsubscribe, e-mail: user-unsubscribexmlbeans.apache.org
For additional commands, e-mail: user-helpxmlbeans.apache.org

HttpUrl Input/Output stream problems
user name
2006-12-01 15:46:10
thanks for that tip - I'll give it a go

Alistair


--------------
mov eax,1
mov ebx,0
int 80h




On 30 Nov 2006, at 23:51, emfoss wrote:


We had a similar issue. There appears to be some sort of resource leak  with
the Parse(inputStream) methods.
By changing:

Alistair Young wrote:

...
SomeDocument doc = SomeDocument.Factory.parse(request.getInputStream());

...


To 

theString= aMethodToConvertToString(request.getInputStream());
SomeDocument doc = SomeDocument.Factory.parse(theString);

we eliminated the behaviour.

-- 
Sent from the Xml Beans - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribexmlbeans.apache.org">user-unsubscribexmlbeans.apache.org
For additional commands, e-mail: user-helpxmlbeans.apache.org">user-helpxmlbeans.apache.org


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )