Not sure if this is right but don't you need to reference the dtd? I 

had to do this for tx

 

 

From: Scott Battaglia [mailto:[email protected]] 
Sent: Wednesday, May 04, 2011 9:25 AM
To: [email protected]
Subject: Re: [cas-user] Issues getting initial CAS/LDAP setup (using Maven)

 

Can you post the entire config file (minus the passwords :-))

 

On Tue, May 3, 2011 at 6:41 PM, Andrew Morgan <[email protected]> wrote:

On Tue, 3 May 2011, Paul Chauvet wrote:

----- Original Message -----

On Tue, 3 May 2011, Paul Chauvet wrote:

Add the following bean to deployerConfigContext.xml:
<bean id="httpClient" class="org.jasig.cas.util.HttpClient"/>
You can add it at the end, after auditTrailManager.
Andy

Hi Andy, Thanks much for the reply. Unfortunately I'm still getting
the
same error. I've included the full error below instead of just the
first
portion. 2011-05-03 16:00:17,471 ERROR
[org.springframework.web.context.ContextLoader] - <Context
initialization failed>
org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException:
Line 48 in XML document from ServletContext resource
[/WEB-INF/deployerConfigContext.xml] is invalid; nested exception is
org.xml.sax.SAXParseException: Attribute "p:httpClient-ref" must be
declared for element type "bean". at

Hmmm, what is line 48?
Andy

Lines 47 & 48 are: <bean
class="org.jasig.cas.authentication.handler.support.HttpBasedServiceCredenti
alsAuthenticationHandler" p:httpClient-ref="httpClient" /> I've tried having
both on the same long line to no effect.

 

That looks identical to mine:

       <property name="authenticationHandlers">
           <list>


               <bean
class="org.jasig.cas.authentication.handler.support.HttpBasedServiceCredenti
alsAuthenticationHandler"
                   p:httpClient-ref="httpClient" />

...



       <bean id="httpClient" class="org.jasig.cas.util.HttpClient"/>



Maybe you should post your whole deployerConfigContext.xml again in case I
missed something else.

       Andy



-- 
You are currently subscribed to [email protected] as:
[email protected]
To unsubscribe, change settings or access archives, see
http://www.ja-sig.org/wiki/display/JSG/cas-user

 

-- 
You are currently subscribed to [email protected] as:
[email protected]
To unsubscribe, change settings or access archives, see
http://www.ja-sig.org/wiki/display/JSG/cas-user

-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to