Apache Directory Project - Re: [jira] Closed: (DIRMINA-91) BufferUnderflowException while calling ProtocolViolati

This is Interesting: Free IT Magazines  
Home > Archive > Apache Directory Project > September 2005 > Re: [jira] Closed: (DIRMINA-91) BufferUnderflowException while calling ProtocolViolati





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: [jira] Closed: (DIRMINA-91) BufferUnderflowException while calling ProtocolViolati
Rodrigo Kumpera

2005-09-21, 5:45 pm

Wouldn=B4t this cause a resource leak when the exception is uncaught?


On 9/21/05, Trustin Lee (JIRA) <jira-1oDqGaOF3Lkdnm+yROfE0A@public.gmane.org> wrote:
> [ http://issues.apache.org/jira/brows...A-91?page=3Dall ]
>
> Trustin Lee closed DIRMINA-91:
> ------------------------------
>
> Resolution: Fixed
>
> I found that IoAdapter don't delay the release of the buffer which caused=

decoding failure. The buffer will be released immediately when IoAdapter.=
SessionHandlerAdapter.dataRead() method returns regardless ProtocolViolatio=
nException uses it or not.
>
> I fixed this issue by acquiring the buffer once more when I create Protoc=

olViolationException.
>
ssage()[vbcol=seagreen]
-------[vbcol=seagreen]
>
BufferUnderflowException in my server. It dosn't seem to affect the server =
however.[vbcol=seagreen]
ava:720)[vbcol=seagreen]
umper.java:78)[vbcol=seagreen]
uffer.java:1029)[vbcol=seagreen]
colViolationException.java:84)[vbcol=seagreen]
ught(A9MasterProtocolHandler.java:41)[vbcol=seagreen]
ht(AbstractProtocolFilterChain.java:142)[vbcol=seagreen]
onCaught(AbstractProtocolFilterChain.java:405)[vbcol=seagreen]
ractProtocolFilterChain.java:50)[vbcol=seagreen]
onCaught(AbstractProtocolFilterChain.java:518)[vbcol=seagreen]
ht(AbstractProtocolFilterChain.java:93)[vbcol=seagreen]
onCaught(AbstractProtocolFilterChain.java:405)[vbcol=seagreen]
(AbstractProtocolFilterChain.java:396)[vbcol=seagreen]
onCaught(ProtocolSessionManagerFilterCha
in.java:71)[vbcol=seagreen]
onCaught(AbstractProtocolFilterChain.java:405)[vbcol=seagreen]
ractProtocolFilterChain.java:50)[vbcol=seagreen]
onCaught(AbstractProtocolFilterChain.java:518)[vbcol=seagreen]
t(ProtocolThreadPoolFilter.java:116)[vbcol=seagreen]
ool.java:393)[vbcol=seagreen]
33)[vbcol=seagreen]
>
> --
> This message is automatically generated by JIRA.
> -
> If you think it was sent incorrectly contact one of the administrators:
> http://issues.apache.org/jira/secur...nistrators.jspa
> -
> For more information on JIRA, see:
> http://www.atlassian.com/software/jira
>
>


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com