grouper-users - Re: [grouper-users] ldappcng downloading schema document?
Subject: Grouper Users - Open Discussion List
List archive
- From: Tom Zeller <>
- To: Scott Koranda <>
- Cc: "" <>
- Subject: Re: [grouper-users] ldappcng downloading schema document?
- Date: Thu, 23 Sep 2010 10:14:05 -0500
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; b=Mb8uccKwBn4m1DDQbKPz3aPf0injY60fqoOirThONO3yUgn1+WGeTy5vFB+mNjSv7c YTtOx72wGDgHL5xuVuh81CJBx/gExr2tYDM1FpNYjwaff0LQ5XQq6L1/RONd7PSVsRAt VlmZmSnNyaZhaDKtxSg0KCJEi+MWzm7W3Bxzs=
The schema files necessary for spring are bundled in the provided
ldappcng jar from
http://www.internet2.edu/grouper/release/1.6.1/grouper.ldappcng-1.6.1.tar.gz
> unzip -l lib/custom/ldappcng-1.6.1.jar | grep xsd
9552 08-12-10 16:18 schema/ldappc.xsd
43281 08-12-10 16:18 schema/spring-beans-2.5.xsd
2628 08-12-10 16:18 schema/pstc_spmlv2_async.xsd
...
However, building from source should have the same result for you as
it does for me.
I also have been inconsistent about the location of schema files,
there are references to the classpath as well as a URL. All
configuration files should reference the classpath so that network
connectivity is not required.
ldappc-internal.xml :
<beans ...
xsi:schemaLocation="
http://www.springframework.org/schema/beans
classpath:/schema/spring-beans-2.5.xsd
http://www.springframework.org/schema/util
classpath:/schema/spring-util-2.5.xsd">
and ldappc-ldap.example.xml
<beans ...
xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
http://www.springframework.org/schema/util
http://www.springframework.org/schema/util/spring-util-2.5.xsd">
We probably should investigate the issues you encountered building from
source.
TomZ
On Thu, Sep 23, 2010 at 9:43 AM, Scott Koranda
<>
wrote:
> Hi,
>
> I happened to try running ldappcng during a network outage and
> I saw this error:
>
> Caused by: org.xml.sax.SAXParseException: schema_reference.4:
> Failed to read schema document
> 'http://www.springframework.org/schema/beans/spring-beans-2.5.xsd',
> because 1) could not find the document; 2) the document could
> not be read; 3) the root element of the document is not
> <xsd:schema>.
>
> When the network came back up ldappcng was able to run without
> errors.
>
> Is ldappcng trying to download a schema file each time it is
> run?
>
> If so, is it a consequence of having built the package from
> source instead of using the released binary?
>
> Thanks,
>
> Scott
>
- [grouper-users] ldappcng downloading schema document?, Scott Koranda, 09/23/2010
- Re: [grouper-users] ldappcng downloading schema document?, Tom Zeller, 09/23/2010
- Re: [grouper-users] ldappcng downloading schema document?, Scott Koranda, 09/23/2010
- Re: [grouper-users] ldappcng downloading schema document?, Tom Zeller, 09/23/2010
- Re: [grouper-users] ldappcng downloading schema document?, Scott Koranda, 09/23/2010
- Re: [grouper-users] ldappcng downloading schema document?, Tom Zeller, 09/23/2010
Archive powered by MHonArc 2.6.16.