directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Felix Knecht (JIRA)" <>
Subject [jira] Resolved: (DIRSERVER-1316) apacheds.bat in noarch installer causes NoClassDefFoundError on Windows
Date Thu, 26 Feb 2009 00:25:01 GMT


Felix Knecht resolved DIRSERVER-1316.

    Resolution: Fixed
      Assignee: Felix Knecht

Borrowed cpappend.bat script from apache-tomcat. You'll need to have to latest daemon-plugin
to build the zip file.
See commit

Nope it works this time

> apacheds.bat in noarch installer causes NoClassDefFoundError on Windows
> -----------------------------------------------------------------------
>                 Key: DIRSERVER-1316
>                 URL:
>             Project: Directory ApacheDS
>          Issue Type: Bug
>         Environment: Windows XP, SP 2
> Cygwin
> Java(TM) SE Runtime Environment (build 1.6.0_10-b33)
>            Reporter: Stefan Zoerner
>            Assignee: Felix Knecht
>             Fix For: 1.5.5
> After building the installers as descroibed here
> I have unzipped the
> Starting the server via apacheds.bat causes an error.
> StefanZ@oose-sz /cygdrive/c/java/apacheds_1.5.5-SNAPSHOT$ ./apacheds.bat
> Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/directory/server/UberjarMain
> Caused by: java.lang.ClassNotFoundException:
> Main
>         at$ Source)
> Problem is probably within here (from apacheds.bat):
> for /F %%a in ('dir lib\ /a /b /-p /o') do set ADS_CP=%ADS_CP%;"lib\%%a" 
> The variable ADS_CP does only contain the last jar-file in lib, the concatenation within
the for loop seems not work. For each iteration, the value for %ADS_CP% in the set operation
seems to be still the old one ("").

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message