[ 
http://jira.nuxeo.org/browse/NXP-1886?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Olivier Grisel updated NXP-1886:
--------------------------------

    Summary: LDAPFilterMatcher breaks with "java.io.IOException: Read end dead" 
 after 30min of usage  (was: LDAPFilterMatcher breaks "java.io.IOException: 
Read end dead" with after 30min of usage)

org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
        at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
        at 
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
        at java.lang.Thread.run(Thread.java:595)
Caused by: org.nuxeo.ecm.core.api.WrappedException: Exception: 
org.nuxeo.ecm.directory.DirectoryException . message: error during reference 
search for gjaunot
        at 
org.nuxeo.ecm.directory.ldap.LDAPReference.getSourceIdsForTarget(LDAPReference.java:520)
        at org.nuxeo.ecm.directory.InverseReference.getTargetIdsForSource 
(InverseReference.java:98)
        at 
org.nuxeo.ecm.directory.ldap.LDAPSession.ldapResultToDocumentModel(LDAPSession.java:670)
        ... 77 more
Caused by: org.nuxeo.ecm.core.api.WrappedException: Exception: 
org.nuxeo.ecm.directory.DirectoryException . message: could not parse LDAP 
filter: (&(!(employeenumber=00000000))(inacentredecout=SI*)(objectclass=person))
        at 
org.nuxeo.ecm.directory.ldap.LDAPFilterMatcher.match(LDAPFilterMatcher.java:77)
        at 
org.nuxeo.ecm.directory.ldap.LDAPReference.getSourceIdsForTarget(LDAPReference.java:509)
        ... 79 more
Caused by: org.nuxeo.ecm.core.api.WrappedException: Exception: 
java.io.IOException. message: Read end dead
        at 
java.io.PipedInputStream.checkStateForReceive(PipedInputStream.java:192)
        at java.io.PipedInputStream.receive(PipedInputStream.java:156)
        at java.io.PipedOutputStream.write(PipedOutputStream.java :129)
        at java.io.OutputStream.write(OutputStream.java:58)
        at 
org.apache.directory.shared.ldap.filter.FilterParserImpl.parse(FilterParserImpl.java:139)
        at org.nuxeo.ecm.directory.ldap.LDAPFilterMatcher.match 
(LDAPFilterMatcher.java:74)
        ... 80 more

> LDAPFilterMatcher breaks with "java.io.IOException: Read end dead"  after 
> 30min of usage
> ----------------------------------------------------------------------------------------
>
>                 Key: NXP-1886
>                 URL: http://jira.nuxeo.org/browse/NXP-1886
>             Project: Nuxeo Enterprise Platform 5
>          Issue Type: Bug
>          Components: Directory
>    Affects Versions: 5.1.2
>            Reporter: Olivier Grisel
>            Assignee: Olivier Grisel
>             Fix For: 5.1.3, 5.2 M1
>
>   Original Estimate: 2 days
>  Remaining Estimate: 2 days
>
> After ~30 of usage against 
> Relevant par of the stacktrace in comment.
> Investigation directions:
>  - Maybe a thread safety problem in the Pipe* API used by the Apache 
> Directory parser => solution: embed the LDAPFilterMatcher instance in the 
> LDAPSession instance instead of the LDAPReference instance
>  - Write a new unittest to bench under high volume a single LDAPFilterMatcher 
> instance with various filterexpr and see what happens

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets

Reply via email to