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:23:19 GMT
     [ http://issues.apache.org/jira/browse/DIRSERVER-607?page=all ]

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

    Attachment: MyApacheDS10Test.java

Running MyApacheDS10Test on ApacheDS RC 1.0 & different VMs.


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

OK


Starting LDAP Directory service
log4j:WARN No appenders could be found for logger (org.apache.directory.shared.l
dap.name.DnParser).
log4j:WARN Please initialize the log4j system properly.
LDAP Directory service started.
in testMe()
exiting testMe
Test PASSED


BEA 1.4.2
=========

Test hangs with the following output:

Starting LDAP Directory service
log4j:WARN No appenders could be found for logger (org.apache.directory.shared.l
dap.name.DnParser).
log4j:WARN Please initialize the log4j system properly.
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
)



BEA 1.5
=======

Hangs with the message:

Starting LDAP Directory service
log4j:WARN No appenders could be found for logger (org.apache.directory.shared.l
dap.name.DnParser).
log4j:WARN Please initialize the log4j system properly.
LDAP Directory service started.
in testMe()
javax.naming.CommunicationException: Request: 1 cancelled
        at com.sun.jndi.ldap.LdapRequest.getReplyBer(LdapRequest.java:60)
        at com.sun.jndi.ldap.Connection.readReply(Connection.java:405)
        at com.sun.jndi.ldap.LdapClient.ldapBind(LdapClient.java:340)
        at com.sun.jndi.ldap.LdapClient.authenticate(LdapClient.java:192)
        at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2637)
        at com.sun.jndi.ldap.LdapCtx.<init>(LdapCtx.java:283)
        at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:175)

        at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(LdapCtxFactory.java:193
)
        at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.ja
va:136)
        at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.jav
a:66)
        at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:6
67)
        at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247
)
        at javax.naming.InitialContext.init(InitialContext.java:223)
        at javax.naming.InitialContext.<init>(InitialContext.java:197)
        at javax.naming.directory.InitialDirContext.<init>(InitialDirContext.jav
a:82)
        at MyApacheDS10Test.testMe(MyApacheDS10Test.java:84)
        at MyApacheDS10Test.main(MyApacheDS10Test.java:103)


> 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
>
> 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