Scott Battaglia wrote: > I took your text and was able to deploy it successfully on my machine. > Maybe you have a stray non-valid XML character or a weird encoding? > > -Scott
Well, I took the content you sent, pasted it in, compiled. Same error. I copied the content (from vi through putty), pasted it into notepad, deleted the deployerConfig file, recreated, pasted and recompiled with the same error. I'm running RH Enterprise 5 as well. I'm wondering if there might be some issue... > > On 5/18/07, * Rob Wiltbank* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> > wrote: > > I am, unfortunately. > > I tried writing up another file, modifying things slightly and still get > that same error... I'm pretty solidly stuck on this. > > Rob > > Scott Battaglia wrote: > > The validator that I ran it through makes it look like your XML is > > correct. Everything seems to line up to. Are you still having > this problem? > > > > -Scott > > > > On 5/15/07, * Rob Wiltbank* <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]> <mailto: [EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>>> wrote: > > > > I've went back and taken a loot at the example deployerConfig and > > realized that I was missing a bit... I've modified it, but > some thing's > > still not quite right. Here's the error I'm receiving: > > > > The Throwable encountered at context listener initialization was: > > > org.springframework.beans.factory.BeanDefinitionStoreException: Line 1 > > in XML document from ServletContext resource > > [/WEB-INF/deployerConfigContext.xml] is invalid; nested > exception is > > org.xml.sax.SAXParseException : cvc-elt.1: Cannot find the > > declaration of > > element 'property'. > > > > The Throwable encountered at dispatcher servlet > initialization was: > > > org.springframework.beans.factory.BeanDefinitionStoreException: Line 1 > > in XML document from ServletContext resource > > [/WEB-INF/deployerConfigContext.xml] is invalid; nested > exception is > > org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the > declaration of > > element 'property'. > > > > ...and my new deployerConfigContext.xml > > > > <?xml version="1.0" encoding="UTF-8"?> > > <!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" > > " http://www.springframework.org/dtd/spring-beans.dtd"> > > > > <beans> > > <bean id="authenticationManager" > > class="org.jasig.cas.authentication.AuthenticationManagerImpl "> > > <property name="credentialsToPrincipalResolvers"> > > <list> > > <bean > > > > class="org.jasig.cas.authentication.principal.UsernamePasswordCredentialsToPrincipalResolver > > > " > > /> > > <bean > > > > class="org.jasig.cas.authentication.principal.HttpBasedServiceCredentialsToPrincipalResolver" > > /> > > </list> > > </property> > > > > > > <property name="authenticationHandlers"> > > <list> > > <bean > > class=" > > org.jasig.cas.authentication.handler.support.HttpBasedServiceCredentialsAuthenticationHandler > > " > > /> > > <bean > > > class="org.jasig.cas.adaptors.ldap.BindLdapAuthenticationHandler " > > > <property name="filter" value="cn=%u" /> > > <property name="searchBase" value="ou=Domain > > Users,dc=college,dc=edu" /> > > <property name="contextSource" > ref="contextSource" /> > > </bean> > > </list> > > </property> > > </bean> > > > > <bean id="contextSource" > > > class="org.jasig.cas.adaptors.ldap.util.AuthenticatedLdapContextSource"> > > <property name="authenticatedReadOnly" value="true" /> > > <property name="userName" value="ldap_ro" /> > > <property name="password" value="a_secret" /> > > <property name="urls"> > > <list> > > <value>ldaps://ldap.college.edu/</value> > > <value>ldaps://ldap.college.edu/</value> > > </list> > > </property> > > > > <property name="baseEnvironmentProperties"> > > <map> > > <entry> > > > > <key><value> java.naming.security.authentication</value></key> > > <value>simple</value> > > </entry> > > </map> > > </property> > > </bean> > > </beans> > > > > _______________________________________________ > > Yale CAS mailing list > > [email protected] <mailto:[email protected]> > <mailto:[email protected] <mailto:[email protected]>> > > http://tp.its.yale.edu/mailman/listinfo/cas > > > > > > > > > > -- > > -Scott Battaglia > > > > LinkedIn: http://www.linkedin.com/in/scottbattaglia > > > > > > > > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > Yale CAS mailing list > > [email protected] <mailto:[email protected]> > > http://tp.its.yale.edu/mailman/listinfo/cas > > > > > > !DSPAM:464dbebc26341786213249! > > > _______________________________________________ > Yale CAS mailing list > [email protected] <mailto:[email protected]> > http://tp.its.yale.edu/mailman/listinfo/cas > > > > > -- > -Scott Battaglia > > LinkedIn: http://www.linkedin.com/in/scottbattaglia > !DSPAM:464e062c26342077315316! > > > ------------------------------------------------------------------------ > > _______________________________________________ > Yale CAS mailing list > [email protected] > http://tp.its.yale.edu/mailman/listinfo/cas > > > !DSPAM:464e062c26342077315316! _______________________________________________ Yale CAS mailing list [email protected] http://tp.its.yale.edu/mailman/listinfo/cas
