Bug #115

After OpenDS 2.0 upgrade, directory fails to shutdown

Added by Sébastien Bahloul about 1 year ago. Updated 6 months ago.

Status:Closed Start:27/07/2009
Priority:Normal Due date:28/07/2009
Assigned to:Sébastien Bahloul % Done:

0%

Category:Core
Target version:1.2.0
Problem in version:

Description

Seen at the following URL: http://build.lsc-project.org/hudson/job/lsc-core/313/console

stopLdapServer:
[echo] Stopping OpenDS embedded server
[java] Exception in thread "main" java.lang.NullPointerException
[java] at org.opends.server.core.DirectoryServer.shutDown(DirectoryServer.java:8112)
[java] at org.opends.server.util.EmbeddedUtils.stopServer(EmbeddedUtils.java:101)
[java] at org.lsc.opends.EmbeddedOpenDS.shutdownServer(EmbeddedOpenDS.java:205)
[java] at org.lsc.utils.LdapServer.stop(LdapServer.java:94)
[java] at org.lsc.utils.LdapServer.usage(LdapServer.java:151)
[java] at org.lsc.utils.LdapServer.main(LdapServer.java:106)
[java] Java Result: 1
[INFO] Executed tasks

Associated revisions

Revision 579
Added by Sébastien Bahloul 7 months ago

Fixing #115 about stopLdapServer error by adding missing cobertura libraries to classpath

History

Updated by Rémy-Christophe Schermesser 9 months ago

I tried to debug this, but I could not manage to attach a debugger to the stoping mechanism of OpenDS.

Do you have any idea how to do it ?

I did dig in the source code of OpenDS. The problem comes from this attribute : directoryServer.connectionHandlers. But without a debugger it is hard to see what is happening.
We also are the only people with this problem (only 1 answer in google and it is this bug...)

Maybe we should ask the OpenDS guys ?

Updated by Jonathan Clarke 9 months ago

Rémy-Christophe Schermesser wrote:

Maybe we should ask the OpenDS guys ?

We could start by trying their latest version - there's a 2.2.0-RC2 out if anyone wants to give it a try:
http://www.opends.org/promoted-builds/2.2.0-RC2/

Updated by Rémy-Christophe Schermesser 9 months ago

I tried quickly and now OpenDS does not even start...

I will try to dig in.

Updated by Sébastien Bahloul 8 months ago

  • Status changed from Assigned to Feedback

This has been fixed in the revision r553 and r555.

Updated by Sébastien Bahloul 7 months ago

It seems that the reason for that is that the cobertura libraries are not available in the classpath :

http://old.nabble.com/Re%3A-java.lang.NoClassDefFoundError%3A-net-sourceforge-cobertura-coveragedata-HasBeenInstrumented-p6731376.html

Updated by Sébastien Bahloul 7 months ago

  • Status changed from Feedback to Closed

Embedded OpenDS stopping error fixed in r579, closing.

Updated by Jonathan Clarke 6 months ago

  • Target version changed from 1.2.x branch to 1.2.0

Already closed, just retargeting for 1.2.0 so that we can track which version contained the fix.

Also available in: Atom PDF