Return-Path: X-Original-To: apmail-directory-dev-archive@www.apache.org Delivered-To: apmail-directory-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A1C3118F62 for ; Thu, 23 Jul 2015 16:19:39 +0000 (UTC) Received: (qmail 34597 invoked by uid 500); 23 Jul 2015 16:19:05 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 34545 invoked by uid 500); 23 Jul 2015 16:19:04 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 34533 invoked by uid 99); 23 Jul 2015 16:19:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Jul 2015 16:19:04 +0000 Date: Thu, 23 Jul 2015 16:19:04 +0000 (UTC) From: "Emmanuel Lecharny (JIRA)" To: dev@directory.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (DIRSERVER-2083) shared ldap name DN NoClassDefFoundError MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DIRSERVER-2083?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Emmanuel Lecharny resolved DIRSERVER-2083. ------------------------------------------ Resolution: Won't Fix Don't use 1.5.6. It's 5 years old, and it's not maintained. Switch to 2.0.0-M20 > shared ldap name DN NoClassDefFoundError > ---------------------------------------- > > Key: DIRSERVER-2083 > URL: https://issues.apache.org/jira/browse/DIRSERVER-2083 > Project: Directory ApacheDS > Issue Type: Bug > Affects Versions: 1.5.6 > Environment: Windows 7, IntelliJ 14.1, Java 8, Spring Boot > Reporter: vialleton > Labels: build > > I saw that you fixed that warning in the version 1.5.6 : > 2015-07-23 16:36:07.957 WARN 2080 --- [pool-3-thread-1] o.a.d.server.ldap.LdapProtocolHandler : Unexpected exception forcing session to close: sending disconnect notice to client. > java.lang.NullPointerException: null > at org.apache.directory.server.ldap.handlers.LdapRequestHandler.handleMessage(LdapRequestHandler.java:129) > at org.apache.directory.server.ldap.handlers.LdapRequestHandler.handleMessage(LdapRequestHandler.java:56) > at org.apache.mina.handler.demux.DemuxingIoHandler.messageReceived(DemuxingIoHandler.java:232) > at org.apache.directory.server.ldap.LdapProtocolHandler.messageReceived(LdapProtocolHandler.java:194) > at org.apache.mina.core.filterchain.DefaultIoFilterChain$TailFilter.messageReceived(DefaultIoFilterChain.java:721) > at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:433) > at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:47) > at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:801) > at org.apache.mina.core.filterchain.IoFilterEvent.fire(IoFilterEvent.java:71) > at org.apache.mina.core.session.IoEvent.run(IoEvent.java:63) > at org.apache.mina.filter.executor.UnorderedThreadPoolExecutor$Worker.runTask(UnorderedThreadPoolExecutor.java:480) > at org.apache.mina.filter.executor.UnorderedThreadPoolExecutor$Worker.run(UnorderedThreadPoolExecutor.java:434) > at java.lang.Thread.run(Thread.java:745) > 2015-07-23 16:36:07.961 WARN 2080 --- [pool-3-thread-1] o.a.d.server.ldap.LdapProtocolHandler : Null LdapSession given to cleanUpSession. > But now when I use 1.5.6 (core, core-entry, protocol-shared, protocol-ldap, server-jndi, shared-ldap) I got a comiplation error when Bean is instantiated : > Caused by: java.lang.ClassNotFoundException: org.apache.directory.shared.ldap.name.DN > at java.net.URLClassLoader$1.run(URLClassLoader.java:372) > at java.net.URLClassLoader$1.run(URLClassLoader.java:361) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(URLClassLoader.java:360) > at java.lang.ClassLoader.loadClass(ClassLoader.java:424) > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) > at java.lang.ClassLoader.loadClass(ClassLoader.java:357) > ... 120 more -- This message was sent by Atlassian JIRA (v6.3.4#6332)