You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@xmlbeans.apache.org by emfoss <em...@yahoo.com> on 2006/12/01 00:51:14 UTC

Re: HttpUrl Input/Output stream problems

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-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: user-help@xmlbeans.apache.org


Re: HttpUrl Input/Output stream problems

Posted by Alistair Young <al...@smo.uhi.ac.uk>.
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.
>
> -- 
> 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-unsubscribe@xmlbeans.apache.org
> For additional commands, e-mail: user-help@xmlbeans.apache.org
>