Return-Path: X-Original-To: apmail-directory-users-archive@www.apache.org Delivered-To: apmail-directory-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9CB3611CF5 for ; Tue, 19 Aug 2014 10:40:15 +0000 (UTC) Received: (qmail 53708 invoked by uid 500); 19 Aug 2014 10:40:15 -0000 Delivered-To: apmail-directory-users-archive@directory.apache.org Received: (qmail 53679 invoked by uid 500); 19 Aug 2014 10:40:15 -0000 Mailing-List: contact users-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@directory.apache.org Delivered-To: mailing list users@directory.apache.org Received: (qmail 53656 invoked by uid 99); 19 Aug 2014 10:40:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Aug 2014 10:40:14 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [12.70.203.122] (HELO mail.cim.vipahealth.com) (12.70.203.122) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Aug 2014 10:39:49 +0000 Received: from localhost (localhost [127.0.0.1]) by mail.cim.vipahealth.com (Postfix) with ESMTP id 28FE3A274E for ; Tue, 19 Aug 2014 06:39:02 -0400 (EDT) X-Virus-Scanned: Debian amavisd-new at mail.cim.vipahealth.com Received: from mail.cim.vipahealth.com ([127.0.0.1]) by localhost (mail.cim.vipahealth.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WR1i5MYICBxD for ; Tue, 19 Aug 2014 06:38:45 -0400 (EDT) Received: from cim.vipahealth.com (localhost [127.0.0.1]) by mail.cim.vipahealth.com (Postfix) with ESMTP id 3FCC3A2741 for ; Tue, 19 Aug 2014 06:38:45 -0400 (EDT) Received: from 99-108-98-41.lightspeed.miamfl.sbcglobal.net ([99.108.98.41]) (SquirrelMail authenticated user drpalomo@cim.vipahealth.com) by cim.vipahealth.com with HTTP; Tue, 19 Aug 2014 06:38:45 -0400 Message-ID: In-Reply-To: References: <105a892e051012d54ee1682769726ede.squirrel@cim.vipahealth.com> Date: Tue, 19 Aug 2014 06:38:45 -0400 Subject: Re: starting a 2nd partition fails From: drpalomo@cim.vipahealth.com To: users@directory.apache.org User-Agent: SquirrelMail/1.4.22 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Virus-Checked: Checked by ClamAV on apache.org > On Tue, Aug 19, 2014 at 5:47 AM, wrote: > >> ubuntu 12.04 >> java installed >> apacheds installed from deb binary >> the default partition starts and shuts down well >> created a 2nd partition by copying the contents of default to >> /var/lib/apacheds/new/ >> I changed the ports to other than 10389 and 10636 >> when I run -- /opt/apacheds/bin/./apacheds console new == I get the >> following error >> > looks like you have a classpath issue, please double check That is likely but I do not know how to fix. I have multiple java apps running from non default directories and they all run well. Will read up but a answer here will be very useful. Thx > >> any help will be greatly appreciated >> thx in advance >> >> Running ApacheDS - net... >> wrapper | --> Wrapper Started as Console >> wrapper | Launching a JVM... >> wrapper | JVM exited while loading the application. >> jvm 1 | Exception in thread "main" java.lang.NoClassDefFoundError: >> Main >> jvm 1 | Caused by: java.lang.ClassNotFoundException: Main >> jvm 1 | at >> java.net.URLClassLoader$1.run(URLClassLoader.java:202) >> jvm 1 | at java.security.AccessController.doPrivileged(Native >> Method) >> jvm 1 | at >> java.net.URLClassLoader.findClass(URLClassLoader.java:190) >> jvm 1 | at java.lang.ClassLoader.loadClass(ClassLoader.java:306) >> jvm 1 | at >> sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) >> jvm 1 | at java.lang.ClassLoader.loadClass(ClassLoader.java:247) >> jvm 1 | Could not find the main class: Main. Program will exit. >> wrapper | Launching a JVM... >> wrapper | JVM exited while loading the application. >> jvm 2 | Exception in thread "main" java.lang.NoClassDefFoundError: >> Main >> jvm 2 | Caused by: java.lang.ClassNotFoundException: Main >> jvm 2 | at >> java.net.URLClassLoader$1.run(URLClassLoader.java:202) >> jvm 2 | at java.security.AccessController.doPrivileged(Native >> Method) >> jvm 2 | at >> java.net.URLClassLoader.findClass(URLClassLoader.java:190) >> jvm 2 | at java.lang.ClassLoader.loadClass(ClassLoader.java:306) >> jvm 2 | at >> sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) >> jvm 2 | at java.lang.ClassLoader.loadClass(ClassLoader.java:247) >> jvm 2 | Could not find the main class: Main. Program will exit. >> wrapper | Launching a JVM... >> wrapper | JVM exited while loading the application. >> jvm 3 | Exception in thread "main" java.lang.NoClassDefFoundError: >> Main >> jvm 3 | Caused by: java.lang.ClassNotFoundException: Main >> jvm 3 | at >> java.net.URLClassLoader$1.run(URLClassLoader.java:202) >> jvm 3 | at java.security.AccessController.doPrivileged(Native >> Method) >> jvm 3 | at >> java.net.URLClassLoader.findClass(URLClassLoader.java:190) >> jvm 3 | at java.lang.ClassLoader.loadClass(ClassLoader.java:306) >> jvm 3 | at >> sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) >> jvm 3 | at java.lang.ClassLoader.loadClass(ClassLoader.java:247) >> jvm 3 | Could not find the main class: Main. Program will exit. >> >> >> > > > -- > Kiran Ayyagari > http://keydap.com >