Hi Peter,

Packages are not used many more. I suggest to move back to .zip archives.

Packages have been initiated for deployments which require distribution
software packages.

Regards,

-- 
Sebastien BAHLOUL
IAM / Security specialist
Ldap Synchronization Connector : http://lsc-project.org
Blog : http://sbahloul.wordpress.com/



2011/10/12 Peter Worden <[email protected]>

>  This error is encountered only with use of the RPM installer on a Ubuntu
> server 10.04 64 bit machine.  Use of the tar.gz or zip packages works
> flawlessly.
>
> *Here is the error encountered while following the quickstart guide for
> 1.2:*
> <username>@<hostname>:/usr/share/doc/lsc/sample/bin$ sudo ./lsc-sample
> --start-ldap-server
> Starting LDAP server on ldap://localhost:33389/ ...
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/apache/commons/cli/ParseException
> Caused by: java.lang.ClassNotFoundException:
> org.apache.commons.cli.ParseException
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
> Could not find the main class: org.lsc.utils.LdapServer.  Program will
> exit.
>
> This was the process I followed to install LSC from RPM on Ubuntu server
> 10.04 64 bit:
> *Convert RPM to DEB:*
>
> Install necessary stuff:
> sudo apt-get install alien dpkg-dev debhelper build-essential
>
> Get the LSC package:
> cd /usr/local/src
> sudo wget
> http://tools.lsc-project.org/attachments/download/148/lsc-1.2.1-0.el5.noarch.rpm
>
> Convert the package to DEB:
> sudo alien lsc-1.2.1-0.el5.noarch.rpm
>
> Install the Debian version:
> sudo dpkg -i lsc-1.2.1-0.el5.noarch.deb
>
> I noticed there were warnings when running the sudo alien conversion
> command, but ignored them.  I'm assuming that is normal since many errors
> are typically encountered when compiling applications on nix distros.
>
> Anyway, could someone please assist me in locating the cause of error and
> shed some light on possible solution/workaround.
>
> Lastly, what is the benefit of running LSC from the package installer vs
> running it from the zip or .gz packages?
>
> Many thanks,
> Pete
>
> _______________________________________________________________
> Ldap Synchronization Connector (LSC) - http://lsc-project.org
>
> lsc-users mailing list
> [email protected]
> http://lists.lsc-project.org/listinfo/lsc-users
>
>
_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org

lsc-users mailing list
[email protected]
http://lists.lsc-project.org/listinfo/lsc-users

Reply via email to