grouper-users - RE: [grouper-users] Running Ldappc.
Subject: Grouper Users - Open Discussion List
List archive
- From: "Sanjay Vivek" <>
- To: <>
- Subject: RE: [grouper-users] Running Ldappc.
- Date: Fri, 5 Oct 2007 12:23:02 +0100
Hi Tom,
That really helped. Thanks again.
Cheers
Sanjay
>-----Original Message-----
>From: Tom Barton
>[mailto:]
>
>Sent: 01 October 2007 16:58
>To:
>
>Subject: Re: [grouper-users] Running Ldappc.
>
>I guess this is one of those rough edges that need smoothing. :-)
>
>My practice has been to use the build directory and its
>subdirectories.
>I keep copies of jars and config files there, and a shell
>script (below) that sits in the installation directory builds
>a classpath accordingly.
>
>--
>
>#!/bin/sh
>
>APP_HOME=./build/ldappc
>
># The user's $CLASSPATH
>CP=${CLASSPATH}
># Append build classes
>CP=${CP}:${APP_HOME}/classes
># Append config files
>CP=${CP}:${APP_HOME}/conf
># Append libs
>for f in ${APP_HOME}/lib/*.jar; do CP=${CP}:${f}; done
>
>java -classpath $(cygpath -wp ${CP}) -Xmx256m \
> edu.internet2.middleware.ldappc.Ldappc \
> -subject GrouperSystem \
> $*
>
>--
>
>Note that my script contains a cygwin-specific usage
>'$(cygpath -wp ${CP})' that you should replace with '${CP}' if
>you're not using cygwin.
>
>Tom
>
>caleb racey wrote:
>> We have solved this problem by copying ldappc.xml into the classes
>> directory from the conf directory. We then run ldappc from that dir,
>> it get rid of the error about configuration files not being
>found but
>> then complains about not finding one off the apache commons classes.
>> This suggests that we have our classpath setup wrong or the
>> provisioning connector build is failing to pickup everything
>it needs. Has anyone
>> encountered this?
>>
>> Caleb Racey
>> Webteam
>> ISS
>> Newcastle University.
>>
>>
>> >-----Original Message-----
>> >From: Sanjay Vivek
>> [mailto:]
>> >Sent: 01 October 2007 15:58
>> >To:
>>
>> >Subject: [grouper-users] Running Ldappc.
>> >
>> >Hi everyone,
>> >
>> >I'm attempting to run the ldappc program but I get the following
>> errors:
>> >
>> > classes]# java edu.internet2.middleware.ldappc.Ldappc -subject
>> >GrouperSystem -groups > >Oct 1, 2007 3:42:47 PM
>> edu.internet2.middleware.ldappc.logging.DebugLog
>> >info
>> >INFO: [edu.internet2.middleware.ldappc.Ldappc] Starting
>the Ldappc
>> >Program >Oct 1, 2007 3:42:48 PM
>> edu.internet2.middleware.ldappc.logging.DebugLog
>> >info
>> >INFO: Running version: 1.0
>> >Oct 1, 2007 3:42:48 PM
>> edu.internet2.middleware.ldappc.logging.DebugLog
>> >info
>> >INFO: Created on: 2007-01-11
>> >Oct 1, 2007 3:42:48 PM
>> edu.internet2.middleware.ldappc.logging.DebugLog
>> >info
>> >INFO: [edu.internet2.middleware.ldappc.InputOptions]
>Starting Ldappc
>> >with the following arguments:
>> >Oct 1, 2007 3:42:48 PM
>> edu.internet2.middleware.ldappc.logging.DebugLog
>> >info
>> >INFO: [edu.internet2.middleware.ldappc.InputOptions]
>-subject >Oct
>> 1, 2007 3:42:48 PM edu.internet2.middleware.ldappc.logging.DebugLog
>> >info
>> >INFO: [edu.internet2.middleware.ldappc.InputOptions]
>GrouperSystem
>> >Oct 1, 2007 3:42:48 PM
>> edu.internet2.middleware.ldappc.logging.DebugLog
>> >info
>> >INFO: [edu.internet2.middleware.ldappc.InputOptions] -groups >Oct
>> 1, 2007 3:42:48 PM edu.internet2.middleware.ldappc.logging.DebugLog
>> >info
>> >INFO:
>[edu.internet2.middleware.ldappc.LdappcProvisionControl] *****
>> >Starting Provisioning ***** >Exception in thread "main"
>>
>>edu.internet2.middleware.ldappc.LdappcConfigurationException: Unable
>> to >locate required system resource: ldappc.xml
>> > at
>>
>>>
>edu.internet2.middleware.ldappc.ConfigManager.getSystemResourceURL(Co
>>> nf
>> i
>> >gManager.java:729)
>> > at
>>
>>>
>edu.internet2.middleware.ldappc.ConfigManager.getInstance(ConfigManag
>>> er
>> .
>> >java:339)
>> > at
>>
>>>
>edu.internet2.middleware.ldappc.LdappcGrouperProvisioner.<init>(Ldapp
>>> cG
>> r
>> >ouperProvisioner.java:82)
>> > at
>>
>>>
>edu.internet2.middleware.ldappc.LdappcProvisionControl.run(LdappcProv
>>> is
>> i
>> >onControl.java:68)
>> > at
>edu.internet2.middleware.ldappc.Ldappc.main(Ldappc.java:96)
>> >
>> >
>> >My ldappc.xml file is in
>> >/my_install_directory/ldappc_1_0/conf/ldappc.xml and I
>believe this
>> is >where it should be. Do I have to edit any other config or
>> properties >files? Any help would be appreciated. Cheers.
>> >
>> >
>> >
>> >Regards
>> >--------------
>> >Sanjay Vivek
>> >Web Team
>> >ISS
>> >University of Newcastle Upon Tyne
>
- Running Ldappc., Sanjay Vivek, 10/01/2007
- RE: [grouper-users] Running Ldappc., caleb racey, 10/01/2007
- Re: [grouper-users] Running Ldappc., Tom Barton, 10/01/2007
- RE: [grouper-users] Running Ldappc., Sanjay Vivek, 10/05/2007
- Re: [grouper-users] Running Ldappc., Tom Barton, 10/01/2007
- RE: [grouper-users] Running Ldappc., caleb racey, 10/01/2007
Archive powered by MHonArc 2.6.16.