Can you post your /WEB-INF/deployerConfigContext.xml file (make sure you
remove any sensitive network/password details).
It looks like you have an error in this file at line 85.


Yes, if you make any changes to your pom.xml file then you will need to
rebuild the project.
e.g. In your CAS working directory execute "mvn package install" from the
command line.
*Note:* You'll need to have installed Maven for this to work:
http://maven.apache.org/run-maven/index.html

This build process will create a war file which you can deploy to your
application server (e.g. Tomcat).


This is a very good page on how to get started with customising CAS using
Maven and overlays:
https://wiki.jasig.org/display/CASUM/Best+Practice+-+Setting+Up+CAS+Locally+using+the+Maven2+WAR+Overlay+Method

The benefit of this approach is that once it is setup you can easily upgrade
CAS without having to manually apply your site specific changes.

Unfortunately if you are a .Net developer the learning curve for CAS is
significant as a lot of the documentation/customisation assumes some degree
of experience with Java, Spring and Maven. Once you get over this hurdle
you'll find it is very powerful.


David



On Thu, Sep 2, 2010 at 3:33 AM, Victor Careaga <bichosoft4...@gmail.com>wrote:

> 2010-09-01 10:12:47,671 ERROR
> [org.jasig.cas.web.init.SafeContextLoaderListener] -
> SafeContextLoaderListener:
> The Spring ContextLoaderListener we wrap threw on contextInitialized.
> But for our having caught this error, the web application context would not
> have initialized.
> org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line
> 85 in XML document from ServletContext resource
> [/WEB-INF/deployerConfigContext.xml] is invalid; nested exception is
> org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was
> found starting with element 'property'. One of '{"
> http://www.springframework.org/schema/beans":description, "
> http://www.springframework.org/schema/beans":bean, "
> http://www.springframework.org/schema/beans":ref, "
> http://www.springframework.org/schema/beans":idref, "
> http://www.springframework.org/schema/beans":value, "
> http://www.springframework.org/schema/beans":null, "
> http://www.springframework.org/schema/beans":array, "
> http://www.springframework.org/schema/beans":list, "
> http://www.springframework.org/schema/beans":set, "
> http://www.springframework.org/schema/beans":map, "
> http://www.springframework.org/schema/beans":props, WC[##other:"
> http://www.springframework.org/schema/beans"]}' is expected.
>  at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:396)
> at
> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143)
>  at
> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178)
> at
> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149)
>  at
> org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:124)
>
> org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:130)
>  at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
> Caused by: org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid
> content was found starting with element 'property'. One of '{"
> http://www.springframework.org/schema/beans":description, "
> http://www.springframework.org/schema/beans":bean, "
> http://www.springframework.org/schema/beans":ref, "
> http://www.springframework.org/schema/beans":idref, "
> http://www.springframework.org/schema/beans":value, "
> http://www.springframework.org/schema/beans":null, "
> http://www.springframework.org/schema/beans":array, "
> http://www.springframework.org/schema/beans":list, "
> http://www.springframework.org/schema/beans":set, "
> http://www.springframework.org/schema/beans":map, "
> http://www.springframework.org/schema/beans":props, WC[##other:"
> http://www.springframework.org/schema/beans"]}' is expected.
>  at
> com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(Unknown
> Source)
> ... 40 more
>
> Hi david thx for the help and advices this is my cas.log
> a question if change the pom.xml file then you'll need to rebuild the
> WAR???
> well thx for the help grettings
> bicho
>
>
> 2010/8/31 David Harrison <david.harri...@stress-free.co.nz>
>
>> Can you post the output of the Tomcat log file (logs/catalina.out) and/or
>> the cas.log file.
>>
>> Before doing so, stop Tomcat and delete any existing logs.
>> This way the log file should not be excessively large.
>>
>> What you are looking for is any "Error" or "Exception thrown" messages
>> within the log file.
>> e.g. "class not found...", or "unable to connect to..."
>>
>> Once you identify where the error is occurring do a Google search and you
>> should find some answers.
>> e.g. Google search for: jasig cas "unable to connect"
>>
>>
>> David
>>
>>
>>
>> On Wed, Sep 1, 2010 at 7:14 AM, Victor Careaga 
>> <bichosoft4...@gmail.com>wrote:
>>
>>> Hi thx for the advices  but i still not connected to AD well this are my
>>> process
>>>
>>> first
>>> agregate
>>>
>>> <dependency>
>>>      <groupId>${project.groupId}</groupId>
>>>      <artifactId>cas-server-support-ldap</artifactId>
>>>      <version>${project.version}</version></dependency>
>>>
>>>  to my pom file
>>>
>>>
>>> later
>>>
>>> <bean id="contextSource" 
>>> class="org.springframework.ldap.core.support.LdapContextSource">
>>>  <property name="urls">
>>>   <list>
>>>    <value>ldaps://yourdc.yourdomain.edu/</value>
>>>   </list>
>>>  </property>
>>>  <property name="userDn" 
>>> value="{cn=bind_user_goes_here,cn=Users,dc=yourdomain,dc=edu}"/>
>>>  <property name="password" value="{bind_user_password_goes_here}"/>
>>>  <property name="baseEnvironmentProperties">
>>>   <map>
>>>    <entry>
>>>      <key>
>>>       <value>java.naming.security.authentication</value>
>>>      </key>
>>>      <value>simple</value>
>>>    </entry>
>>>   </map>
>>>  </property></bean>
>>>
>>>
>>>
>>> this in deloyerconfigcontext.xml
>>>
>>>
>>> <bean id="contextSource" 
>>> class="org.springframework.ldap.core.support.LdapContextSource">
>>>  <property name="urls">
>>>   <list>
>>>    <value>ldaps://yourdc.yourdomain.edu/</value>
>>>   </list>
>>>  </property>
>>>  <property name="userDn" 
>>> value="{cn=bind_user_goes_here,cn=Users,dc=yourdomain,dc=edu}"/>
>>>  <property name="password" value="{bind_user_password_goes_here}"/>
>>>  <property name="baseEnvironmentProperties">
>>>   <map>
>>>    <entry>
>>>      <key>
>>>       <value>java.naming.security.authentication</value>
>>>      </key>
>>>      <value>simple</value>
>>>    </entry>
>>>   </map>
>>>  </property></bean>
>>>
>>>
>>> cahnge userDN and oasword but my service dont star well thx a lot for the 
>>> help
>>>
>>> grettings bicho
>>>
>>>
>>> 2010/8/31 Marvin Addison <marvin.addi...@gmail.com>
>>>
>>>> > Note: There maybe a decent .Net CAS client library
>>>>
>>>> There certainly is,
>>>> https://wiki.jasig.org/display/CASC/.Net+Cas+Client.  This is the .NET
>>>> client that everyone should be migrating to.  It's on track to be an
>>>> "official" Jasig client that is fully supported, meaning you'll get
>>>> quick and authoritative answers to questions posted on this list as
>>>> well as sound documentation.
>>>>
>>>> M
>>>>
>>>> --
>>>> You are currently subscribed to cas-dev@lists.jasig.org as:
>>>> bichosoft4...@gmail.com
>>>>
>>>> To unsubscribe, change settings or access archives, see
>>>> http://www.ja-sig.org/wiki/display/JSG/cas-dev
>>>>
>>>
>>>
>>>
>>> --
>>>                Z
>>>
>>>  (LI)
>>>
>>> ¿Suspiras al recordar aquellos días del Minix-1.1, cuando los hombres
>>> eran hombres y escribían sus propios drivers?
>>>
>>> Errare humanum est
>>>
>>>
>>>
>>>
>>> blog personal
>>>
>>> http://bicho-soft.blogspot.com/
>>>
>>> --
>>>
>>> You are currently subscribed to cas-dev@lists.jasig.org as: 
>>> david.harri...@stress-free.co.nz
>>>
>>>
>>>
>>> To unsubscribe, change settings or access archives, see 
>>> http://www.ja-sig.org/wiki/display/JSG/cas-dev
>>>
>>>
>>  --
>>
>> You are currently subscribed to cas-dev@lists.jasig.org as: 
>> bichosoft4...@gmail.com
>>
>>
>> To unsubscribe, change settings or access archives, see 
>> http://www.ja-sig.org/wiki/display/JSG/cas-dev
>>
>>
>
>
> --
>                Z
>
>  (LI)
>
> ¿Suspiras al recordar aquellos días del Minix-1.1, cuando los hombres eran
> hombres y escribían sus propios drivers?
>
> Errare humanum est
>
>
>
>
> blog personal
>
> http://bicho-soft.blogspot.com/
>
> --
> You are currently subscribed to cas-dev@lists.jasig.org as: 
> david.harri...@stress-free.co.nz
>
> To unsubscribe, change settings or access archives, see 
> http://www.ja-sig.org/wiki/display/JSG/cas-dev
>
>

-- 
You are currently subscribed to cas-dev@lists.jasig.org as: 
arch...@mail-archive.com
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-dev

Reply via email to