directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexei Zakharov (JIRA)" <j...@apache.org>
Subject [jira] Updated: (DIRSERVER-607) Geronimo unit test hangs while running Apache DS on BEA VM
Date Tue, 11 Apr 2006 15:21:19 GMT
     [ http://issues.apache.org/jira/browse/DIRSERVER-607?page=all ]

Alexei Zakharov updated DIRSERVER-607:
--------------------------------------

    Attachment: MyApacheDSTest.java

Running MyApacheDSTest on ApacheDS 0.9.3 and different VMs.

SUN 1.4.2 & SUN 1.5 & BEA 1.5
=============================

Everything is OK. The output is:

Starting LDAP Directory service
[18:44:58] WARN [org.apache.ldap.server.DefaultDirectoryService] - You didn't ch
ange the admin password of directory service instance 'default'.  Please update
the admin password as soon as possible to prevent a possible security breach.
[18:44:58] INFO [org.apache.ldap.server.jndi.ServerContextFactory] - LDIF load d
irectory not specified.  No LDIF files will be loaded.
[18:44:58] INFO [org.apache.ldap.server.jndi.ServerContextFactory] - Successful
bind of LDAP Service completed: (SOCKET, ldap, 0.0.0.0/0.0.0.0:9389)
LDAP Directory service started.
in testMe()
exiting testMe
Test PASSED
[18:45:00] INFO [org.apache.ldap.server.jndi.ServerContextFactory] - Unbind of L
DAP Service complete: (SOCKET, ldap, 0.0.0.0/0.0.0.0:9389)



BEA 1.4.2
=========

Hangs with the following stack:

[18:02:45] WARN [org.apache.ldap.server.DefaultDirectoryService] - You didn't ch
ange the admin password of directory service instance 'default'.  Please update
the admin password as soon as possible to prevent a possible security breach.
[18:02:45] INFO [org.apache.ldap.server.jndi.ServerContextFactory] - LDIF load d
irectory not specified.  No LDIF files will be loaded.
[18:02:45] INFO [org.apache.ldap.server.jndi.ServerContextFactory] - Successful
bind of LDAP Service completed: (SOCKET, ldap, 0.0.0.0/0.0.0.0:9389)
LDAP Directory service started.
in testMe()
java.lang.IllegalArgumentException: cannot match with empty pattern
        at org.apache.commons.lang.Validate.isTrue(ZLjava.lang.String;)V(Validat
e.java:191)
        at org.apache.asn1.ber.digester.TagTree.getNormalNode(Lorg.apache.common
s.collections.primitives.IntStack;)Lorg.apache.asn1.ber.digester.TagNode;(TagTre
e.java:448)
        at org.apache.asn1.ber.digester.TagTree.getNode(Lorg.apache.commons.coll
ections.primitives.IntStack;)Lorg.apache.asn1.ber.digester.TagNode;(TagTree.java
:405)
        at org.apache.asn1.ber.digester.TagTree.match(Lorg.apache.commons.collec
tions.primitives.IntStack;)Ljava.util.List;(TagTree.java:392)
        at org.apache.asn1.ber.digester.RulesBase.match(Lorg.apache.commons.coll
ections.primitives.IntStack;)Ljava.util.List;(RulesBase.java:105)
        at org.apache.asn1.ber.digester.BERDigester$DigesterCallback.decodeOccur
red(Lorg.apache.asn1.codec.stateful.StatefulDecoder;Ljava.lang.Object;)V(BERDige
ster.java:199)
        at org.apache.asn1.ber.BERDecoder.fireDecodeOccurred(Lorg.apache.asn1.be
r.Tuple;)V(BERDecoder.java:399)
        at org.apache.asn1.ber.BERDecoder.decodeValue(Ljava.nio.ByteBuffer;)V(BE
RDecoder.java:226)
        at org.apache.asn1.ber.BERDecoder.decode(Ljava.lang.Object;)V(BERDecoder
.java:159)
        at org.apache.asn1.ber.digester.BERDigester.decode(Ljava.lang.Object;)V(
BERDigester.java:145)
        at org.apache.ldap.common.berlib.asn1.SnickersDecoder.decode(Ljava.lang.
Object;)V(SnickersDecoder.java:98)
        at org.apache.ldap.common.message.MessageDecoder.decode(Ljava.lang.Objec
t;)V(MessageDecoder.java:141)
        at org.apache.asn1.codec.mina.Asn1CodecDecoder.decode(Lorg.apache.mina.p
rotocol.ProtocolSession;Lorg.apache.mina.common.ByteBuffer;Lorg.apache.mina.prot
ocol.ProtocolDecoderOutput;)V(Asn1CodecDecoder.java:41)
        at org.apache.mina.protocol.io.IoAdapter$SessionHandlerAdapter.dataRead(
Lorg.apache.mina.io.IoSession;Lorg.apache.mina.common.ByteBuffer;)V(IoAdapter.ja
va:136)
$
io.IoFilter$NextFilter;Lorg.apache.mina.io.IoSession;Lorg.apache.mina.common.Byt
eBuffer;)V(AbstractIoFilterChain.java:152)
        at org.apache.mina.io.AbstractIoFilterChain.callNextDataRead(Lorg.apache
.mina.io.AbstractIoFilterChain$Entry;Lorg.apache.mina.io.IoSession;Lorg.apache.m
ina.common.ByteBuffer;)V(AbstractIoFilterChain.java:372)
        at org.apache.mina.io.AbstractIoFilterChain.access$1000(Lorg.apache.mina
.io.AbstractIoFilterChain;Lorg.apache.mina.io.AbstractIoFilterChain$Entry;Lorg.a
pache.mina.io.IoSession;Lorg.apache.mina.common.ByteBuffer;)V(AbstractIoFilterCh
ain.java:51)
        at org.apache.mina.io.AbstractIoFilterChain$Entry$1.dataRead(Lorg.apache
.mina.io.IoSession;Lorg.apache.mina.common.ByteBuffer;)V(AbstractIoFilterChain.j
ava:531)
        at org.apache.mina.io.AbstractIoFilterChain$1.dataRead(Lorg.apache.mina.
io.IoFilter$NextFilter;Lorg.apache.mina.io.IoSession;Lorg.apache.mina.common.Byt
eBuffer;)V(AbstractIoFilterChain.java:100)
        at org.apache.mina.io.AbstractIoFilterChain.callNextDataRead(Lorg.apache
.mina.io.AbstractIoFilterChain$Entry;Lorg.apache.mina.io.IoSession;Lorg.apache.m
ina.common.ByteBuffer;)V(AbstractIoFilterChain.java:372)
        at org.apache.mina.io.AbstractIoFilterChain.dataRead(Lorg.apache.mina.io
.IoSession;Lorg.apache.mina.common.ByteBuffer;)V(AbstractIoFilterChain.java:363)

        at org.apache.mina.io.IoSessionManagerFilterChain$1.dataRead(Lorg.apache
.mina.io.IoFilter$NextFilter;Lorg.apache.mina.io.IoSession;Lorg.apache.mina.comm
on.ByteBuffer;)V(IoSessionManagerFilterChain.java:77)
        at org.apache.mina.io.AbstractIoFilterChain.callNextDataRead(Lorg.apache
.mina.io.AbstractIoFilterChain$Entry;Lorg.apache.mina.io.IoSession;Lorg.apache.m
ina.common.ByteBuffer;)V(AbstractIoFilterChain.java:372)
        at org.apache.mina.io.AbstractIoFilterChain.access$1000(Lorg.apache.mina
.io.AbstractIoFilterChain;Lorg.apache.mina.io.AbstractIoFilterChain$Entry;Lorg.a
pache.mina.io.IoSession;Lorg.apache.mina.common.ByteBuffer;)V(AbstractIoFilterCh
ain.java:51)
        at org.apache.mina.io.AbstractIoFilterChain$Entry$1.dataRead(Lorg.apache
.mina.io.IoSession;Lorg.apache.mina.common.ByteBuffer;)V(AbstractIoFilterChain.j
ava:531)
        at org.apache.mina.io.filter.IoThreadPoolFilter.processEvent(Ljava.lang.
Object;Lorg.apache.mina.common.Session;Lorg.apache.mina.util.EventType;Ljava.lan
g.Object;)V(IoThreadPoolFilter.java:107)
        at org.apache.mina.util.BaseThreadPool$Worker.processEvents(Lorg.apache.
mina.util.BaseThreadPool$SessionBuffer;)V(BaseThreadPool.java:410)
        at org.apache.mina.util.BaseThreadPool$Worker.run()V(BaseThreadPool.java
:355)
        at java.lang.Thread.startThreadFromVM(Ljava.lang.Thread;)V(Unknown Sourc
e)





> Geronimo unit test hangs while running Apache DS on BEA VM
> ----------------------------------------------------------
>
>          Key: DIRSERVER-607
>          URL: http://issues.apache.org/jira/browse/DIRSERVER-607
>      Project: Directory ApacheDS
>         Type: Bug

>     Versions: 1.0-RC1, pre-1.0
>  Environment: CPU 3Ghz Pentium 4, 2 GB RAM, Win XP professional SP 2 
>     Reporter: Alexei Zakharov
>  Attachments: MyApacheDSTest.java
>
> This bug is the result of the investigation performed on Geronimo unit test failure on
BEA VMs.  Geronimo uses Apache DS for its internal needs. And one of the unit tests on Geronimo's
"directory" module hangs on BEA VM due the strange behaviour of ApacheDS on BEA VMs. See the
attached testcases. To simplify things all Geronimo stuff was removed from the code.

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


Mime
View raw message