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 Mon, 17 Apr 2006 16:01:18 GMT
     [ http://issues.apache.org/jira/browse/DIRSERVER-607?page=all ]

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

    Attachment: bea142_08.log

Hi Emmanuel,

I have tried most recent win32 versions of JRockit available at bea.com. Here are test results:

jrockit-R26.3.0-jre1.5.0_06:
1. MyApacheDSTest (ApacheDS 0.9.2) hangs with 30% probability (20:6)
2. MyApacheDSTest (ApacheDS 0.9.3) works well
3. MyApacheDS10Test (ApacheDS 1.0 RC1) works well

jrockit-j2re1.4.2_08:
4. MyApacheDSTest (ApacheDS 0.9.2) hangs on jrockit-j2re1.4.2_08 with 30% probability (20:6)
5. MyApacheDSTest (ApacheDS 0.9.3) works well
6. MyApacheDS10Test (ApacheDS 1.0 RC1) hangs with the following stack (the same as with my
old version of JRockit 1.4.2): 
Starting LDAP Directory service
LDAP Directory service started.
in testMe()
javax.naming.CommunicationException: Request: 1 cancelled
        at com.sun.jndi.ldap.LdapRequest.getReplyBer()Lcom/sun/jndi/ldap/BerDeco
der;(LdapRequest.java:60)
        at com.sun.jndi.ldap.Connection.readReply(Lcom/sun/jndi/ldap/LdapRequest
;)Lcom/sun/jndi/ldap/BerDecoder;(Connection.java:405)
        at com.sun.jndi.ldap.LdapClient.ldapBind(Ljava/lang/String;[B[Ljavax/nam
ing/ldap/Control;Ljava/lang/String;Z)Lcom/sun/jndi/ldap/LdapResult;(LdapClient.j
ava:340)
        at com.sun.jndi.ldap.LdapClient.authenticate(ZLjava/lang/String;Ljava/la
ng/Object;ILjava/lang/String;[Ljavax/naming/ldap/Control;Ljava/util/Hashtable;)L
com/sun/jndi/ldap/LdapResult;(LdapClient.java:193)
        at com.sun.jndi.ldap.LdapCtx.connect(Z)V(LdapCtx.java:2640)
        at com.sun.jndi.ldap.LdapCtx.<init>(Ljava/lang/String;Ljava/lang/String;
ILjava/util/Hashtable;Z)V(LdapCtx.java:290)
        at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(Ljava/lang/String;Ljava/
util/Hashtable;)Ljavax/naming/directory/DirContext;(LdapCtxFactory.java:175)
        at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs([Ljava/lang/String;Ljav
a/util/Hashtable;)Ljavax/naming/directory/DirContext;(LdapCtxFactory.java:193)
        at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(Ljava/lang/Object
;Ljava/util/Hashtable;)Ljavax/naming/directory/DirContext;(LdapCtxFactory.java:1
36)
        at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(Ljava/util/Hashtab
le;)Ljavax/naming/Context;(LdapCtxFactory.java:66)
        at javax.naming.spi.NamingManager.getInitialContext(Ljava/util/Hashtable
;)Ljavax/naming/Context;(NamingManager.java:662)
        at javax.naming.InitialContext.getDefaultInitCtx()Ljavax/naming/Context;
(InitialContext.java:243)
        at javax.naming.InitialContext.init(Ljava/util/Hashtable;)V(InitialConte
xt.java:219)
        at javax.naming.InitialContext.<init>(Ljava/util/Hashtable;)V(InitialCon
text.java:195)
        at javax.naming.directory.InitialDirContext.<init>(Ljava/util/Hashtable;
)V(InitialDirContext.java:80)
        at MyApacheDS10Test.testMe()V(MyApacheDS10Test.java:84)
        at MyApacheDS10Test.main([Ljava/lang/String;)V(MyApacheDS10Test.java:103
)
See the log attached. This log seems to be identical with the log from my previous version
of JRockit. 

So since ApacheDS 0.9.2 is not going to be supported anymore we have only one open issue -
ApacheDS 1.0 RC1 on jrockit-j2re1.4.2_08@win32. However, version 0.9.3 works well.

Alexei


> 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: MyApacheDS10Test.java, MyApacheDSTest.java, bea142.log, bea142_08.log,
bea15.log
>
> 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