directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DIRSERVER-942) Server Feezes When Doing https://issues.apache.org/jira/browse/DIRSERVER-935
Date Wed, 22 Aug 2007 14:36:30 GMT

    [ https://issues.apache.org/jira/browse/DIRSERVER-942?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12521802
] 

Emmanuel Lecharny commented on DIRSERVER-942:
---------------------------------------------

After more investigation, I found that when the decoder throw an exception, no response is
created and sent back to the client immediatly (or the response is created, but not sent,
as the decodeOccured() method is never called). 

I have changed the way the exception is handled in the TwixDecoder.decode() method so that
the decodeOccured() method is called and the LdapMessageContainer is cleaned and the buffer
is emptied. It worked. As a side effect, the connection is closed, and I hope that it is the
expected behavior (to be double checked), otherwise we must find another solution (may be
not throwing an exception could be the solution).

> Server Feezes When Doing https://issues.apache.org/jira/browse/DIRSERVER-935
> ----------------------------------------------------------------------------
>
>                 Key: DIRSERVER-942
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-942
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: ldap
>    Affects Versions: 1.5.0
>            Reporter: Ole Ersoy
>            Priority: Blocker
>             Fix For: 1.5.1
>
>         Attachments: CreateSyntaxEntrySelfContainedTest.java, IllegalDNITest.java, thread-dump.txt
>
>
> This is related to https://issues.apache.org/jira/browse/DIRSERVER-935
> By accident I tried running some code that deletes (935 looks up)
> entries that are not present.
> The server froze and I could not connect with LS
> anymore.
> First I assumed it crashed, so I tried doing
> ./apacheds start
> But I still could not connect
> so I tried doing 
> ./apacheds stop
> ./aapcheds start
> and back to normal.
> I need to code a self contained test for this.
> Cheers,
> - Ole

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


Mime
View raw message