directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Zoerner (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DIRSERVER-935) Test hangs on non-existant schema entry lookup
Date Thu, 17 May 2007 18:00:20 GMT

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

Stefan Zoerner commented on DIRSERVER-935:
------------------------------------------

Problem reproducible in my environment. Server logs an exception, but the connections to the
client is still open, and probably no response is sent to the client due to this error ...

[19:26:09] ERROR [org.apache.directory.shared.ldap.codec.LdapMessageGrammar] - Invalid root
DN given : monkeywrench,ou=syntaxes,cn=xsd,ou=schema (0x6D 0x6F 0x6E 0x6B 0x65 0x79 0x77 0x72
0x65 0x6E 0x63 0x68 0x2C 0x6F 0x75 0x3D 0x73 0x79 0x6E 0x74 0x61 0x78 0x65 0x73 0x2C 0x63
0x6E 0x3D 0x78 0x73 0x64 0x2C 0x6F 0x75 0x3D 0x73 0x63 0x68 0x65 0x6D 0x61 ) is invalid :
Bad DN : monkeywrench,ou=syntaxes,cn=xsd,ou=schema
[19:26:09] ERROR [org.apache.directory.shared.ldap.codec.LdapMessageGrammar] - Invalid root
DN given : monkeywrench,ou=syntaxes,cn=xsd,ou=schema (0x6D 0x6F 0x6E 0x6B 0x65 0x79 0x77 0x72
0x65 0x6E 0x63 0x68 0x2C 0x6F 0x75 0x3D 0x73 0x79 0x6E 0x74 0x61 0x78 0x65 0x73 0x2C 0x63
0x6E 0x3D 0x78 0x73 0x64 0x2C 0x6F 0x75 0x3D 0x73 0x63 0x68 0x65 0x6D 0x61 ) is invalid :
Bad DN : monkeywrench,ou=syntaxes,cn=xsd,ou=schema
[19:26:09] INFO [org.apache.directory.server.ldap.LdapProtocolProvider$LdapProtocolHandler]
- [/127.0.0.1:4349] CLOSED
[19:26:09] INFO [org.apache.directory.server.ldap.LdapProtocolProvider$LdapProtocolHandler]
- [/127.0.0.1:4349] EXCEPTION:
org.apache.mina.filter.codec.ProtocolDecoderException: org.apache.directory.shared.ldap.message.ResponseCarryingMessageException:
Invalid root DN given : monkeywrench,ou=syntaxes,cn=xsd,ou=schema (0x6D 0x6F 0x6E 0x6B 0x65
0x79 0x77 0x72 0x65 0x6E 0x63 0x68 0x2C 0x6F 0x75 0x3D 0x73 0x79 0x6E 0x74 0x61 0x78 0x65
0x73 0x2C 0x63 0x6E 0x3D 0x78 0x73 0x64 0x2C 0x6F 0x75 0x3D 0x73 0x63 0x68 0x65 0x6D 0x61
) is invalid (Hexdump: 30 06 02 01 07 50 01 06)
	at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:174)
	at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(AbstractIoFilterChain.java:362)
	at org.apache.mina.common.support.AbstractIoFilterChain.access$1200(AbstractIoFilterChain.java:54)
	at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceived(AbstractIoFilterChain.java:800)
	at org.apache.mina.filter.executor.ExecutorFilter.processEvent(ExecutorFilter.java:243)
	at org.apache.mina.filter.executor.ExecutorFilter$ProcessEventsRunnable.run(ExecutorFilter.java:305)
	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
	at java.lang.Thread.run(Unknown Source)
Caused by: org.apache.directory.shared.ldap.message.ResponseCarryingMessageException: Invalid
root DN given : monkeywrench,ou=syntaxes,cn=xsd,ou=schema (0x6D 0x6F 0x6E 0x6B 0x65 0x79 0x77
0x72 0x65 0x6E 0x63 0x68 0x2C 0x6F 0x75 0x3D 0x73 0x79 0x6E 0x74 0x61 0x78 0x65 0x73 0x2C
0x63 0x6E 0x3D 0x78 0x73 0x64 0x2C 0x6F 0x75 0x3D 0x73 0x63 0x68 0x65 0x6D 0x61 ) is invalid
	at org.apache.directory.shared.ldap.message.MessageDecoder.decode(MessageDecoder.java:226)
	at org.apache.directory.shared.asn1.codec.Asn1CodecDecoder.decode(Asn1CodecDecoder.java:53)
	at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:163)
	... 8 more


> Test hangs on non-existant schema entry lookup
> ----------------------------------------------
>
>                 Key: DIRSERVER-935
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-935
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: ldap
>    Affects Versions: 1.5.1
>            Reporter: Ole Ersoy
>            Priority: Minor
>             Fix For: pre-2.0
>
>         Attachments: CreateSyntaxEntrySelfContainedTest.java
>
>
> Hey Guys,
> I do a lookup like this inside a test:
>         syntaxContext.lookup(xsdSyntaxStringRDN);
> //      syntaxContext.lookup("monkeywrench");
> If I leave the monkeywrench lookup commented
> out, the test runs fine repeatedly.
> If I comment in the monkeywrench the
> test just hangs.  I was expecting
> a NamingException.
> I pasted a self contained test for this
> below.
> 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