You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Beat Burgener (JIRA)" <ji...@apache.org> on 2009/09/17 11:02:57 UTC

[jira] Created: (DIRSERVER-1409) Buffer underrun while connecting to Apache DS

Buffer underrun while connecting to Apache DS
---------------------------------------------

                 Key: DIRSERVER-1409
                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1409
             Project: Directory ApacheDS
          Issue Type: Bug
          Components: core
    Affects Versions: 1.0.2
         Environment: chrooted environment, Slackware 12.1.0 (32bit), JRE 1.5.0_19, tighten file permissions
            Reporter: Beat Burgener


ApacheDS run's well for some time, but suddenly does not allow new connections!
Connecting via telnet does open the connection, but that's it.
Apache Studio does start initiating the connection, but cannot establish one.
The following is logged:

[08:49:53] DEBUG [org.apache.directory.server.ldap.LdapProtocolProvider$LdapProtocolHandler] - [/192.168.255.31:4709]  doHandshake()
[08:49:53] DEBUG [org.apache.directory.server.ldap.LdapProtocolProvider$LdapProtocolHandler] - [/192.168.255.31:4709]   initialHandshakeStatus=NEED_UNWRAP
[08:49:53] DEBUG [org.apache.directory.server.ldap.LdapProtocolProvider$LdapProtocolHandler] - [/192.168.255.31:4709]  unwrapHandshake()
[08:49:53] DEBUG [org.apache.directory.server.ldap.LdapProtocolProvider$LdapProtocolHandler] - [/192.168.255.31:4709]    inNetBuffer: java.nio.DirectByteBuffer[pos=0 lim=0 cap=16665]
[08:49:53] DEBUG [org.apache.directory.server.ldap.LdapProtocolProvider$LdapProtocolHandler] - [/192.168.255.31:4709]    appBuffer: java.nio.DirectByteBuffer[pos=0 lim=33330 cap=33330]
[08:49:53] DEBUG [org.apache.directory.server.ldap.LdapProtocolProvider$LdapProtocolHandler] - [/192.168.255.31:4709]  Unwrap res:Status = BUFFER_UNDERFLOW HandshakeStatus = NEED_UNWRAP
bytesConsumed = 0 bytesProduced = 0


Well, as said, this is running in chroot, where Apache DS is started as root, but not run as root.
Further, limited libraries, devices are available.

As it works fine for some time, I do not really assume this to be an issue ...
But this is the target configuration, so I have to get it to work like this ...

If I can assist in any way, please do not hesitate to contact me

Thank you

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


[jira] Updated: (DIRSERVER-1409) Buffer underrun while connecting to Apache DS

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSERVER-1409?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lecharny updated DIRSERVER-1409:
-----------------------------------------

    Fix Version/s: 1.0.3

Not sure it will be fixed. Seems to be a problem in MINA

> Buffer underrun while connecting to Apache DS
> ---------------------------------------------
>
>                 Key: DIRSERVER-1409
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1409
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.0.2
>         Environment: chrooted environment, Slackware 12.1.0 (32bit), JRE 1.5.0_19, tighten file permissions
>            Reporter: Beat Burgener
>             Fix For: 1.0.3
>
>
> ApacheDS run's well for some time, but suddenly does not allow new connections!
> Connecting via telnet does open the connection, but that's it.
> Apache Studio does start initiating the connection, but cannot establish one.
> The following is logged:
> [08:49:53] DEBUG [org.apache.directory.server.ldap.LdapProtocolProvider$LdapProtocolHandler] - [/192.168.255.31:4709]  doHandshake()
> [08:49:53] DEBUG [org.apache.directory.server.ldap.LdapProtocolProvider$LdapProtocolHandler] - [/192.168.255.31:4709]   initialHandshakeStatus=NEED_UNWRAP
> [08:49:53] DEBUG [org.apache.directory.server.ldap.LdapProtocolProvider$LdapProtocolHandler] - [/192.168.255.31:4709]  unwrapHandshake()
> [08:49:53] DEBUG [org.apache.directory.server.ldap.LdapProtocolProvider$LdapProtocolHandler] - [/192.168.255.31:4709]    inNetBuffer: java.nio.DirectByteBuffer[pos=0 lim=0 cap=16665]
> [08:49:53] DEBUG [org.apache.directory.server.ldap.LdapProtocolProvider$LdapProtocolHandler] - [/192.168.255.31:4709]    appBuffer: java.nio.DirectByteBuffer[pos=0 lim=33330 cap=33330]
> [08:49:53] DEBUG [org.apache.directory.server.ldap.LdapProtocolProvider$LdapProtocolHandler] - [/192.168.255.31:4709]  Unwrap res:Status = BUFFER_UNDERFLOW HandshakeStatus = NEED_UNWRAP
> bytesConsumed = 0 bytesProduced = 0
> Well, as said, this is running in chroot, where Apache DS is started as root, but not run as root.
> Further, limited libraries, devices are available.
> As it works fine for some time, I do not really assume this to be an issue ...
> But this is the target configuration, so I have to get it to work like this ...
> If I can assist in any way, please do not hesitate to contact me
> Thank you

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