Hi, You have syntax issues in your deployerConfigContext.xml file : *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 130 in XML document from ServletContext resource [/WEB-INF/deployerConfigContext.xml] is invalid; nested exception is org.xml.sax.SAXParseException; lineNumber: 130; columnNumber: 108; cvc-complex-type.3.2.2: Attribute 'singleton' is not allowed to appear in element 'bean'.*
Best regards, Jérôme 2013/11/7 Đào Văn Phong <[email protected]> > > Hi, > > This is CAS log. Can you help me check what problems that I encountered? > > > > 2013/11/7 Jérôme LELEU <[email protected]> > >> Hi, >> >> Your CAS logs are in a cas.log file, configured through : >> https://github.com/Jasig/cas/blob/3.5.x/cas-server-webapp/src/main/webapp/WEB-INF/classes/log4j.xml >> . >> It is stored somewhere depending on your configuration and application >> server. There might be another interesting logs files produced directly by >> your application server (like catalina.out for Tomcat). >> Best regards, >> Jérôme >> >> >> >> 2013/11/7 Đào Văn Phong <[email protected]> >> >>> Dear Jérôme, >>> >>> Thank for your help. I'm newbie for CAS server so I dont know where I >>> get CAS log. >>> >>> Thanks. >>> >>> >>> 2013/11/7 Jérôme LELEU <[email protected]> >>> >>>> Hi, >>>> >>>> As you get a 404, it means that your CAS server is not started or that >>>> you have some configuration issues with your urls. >>>> What do your CAS logs say ? >>>> Thanks. >>>> Best regards, >>>> Jérôme >>>> >>>> >>>> >>>> >>>> 2013/11/6 Đào Văn Phong <[email protected]> >>>> >>>>> Hi everyone, >>>>> >>>>> I try use POSTGRESQL for CAS but when I config follow guide in this >>>>> link >>>>> https://wiki.jasig.org/display/CASUM/Using+JDBC+for+Authentication and >>>>> I restart Apache tomcat and access https://localhost:8443/cas/login but >>>>> I received error message "Etat HTTP 404 - /cas/login". Below, I provide >>>>> all >>>>> step I follow. Can you help me check what wrong? >>>>> >>>>> Step 1: Replace >>>>> >>>>>> <bean class= >>>>>> "org.jasig.cas.authentication.handler.support.SimpleTestUsernamePasswordAuthenticationHandler" >>>>>> /> >>>>> >>>>> >>>>> by >>>>> >>>>> <bean id="SearchModeSearchDatabaseAuthenticationHandler" >>>>>> class="org.jasig.cas.adaptors.jdbc.SearchModeSearchDatabaseAuthenticationHandler" >>>>>> abstract="false" singleton="true" lazy-init="default" >>>>>> autowire="default" dependency-check="default"> >>>>>> <property name="tableUsers"> >>>>>> <value>users</value> >>>>>> </property> >>>>>> <property name="fieldUser"> >>>>>> <value>user_id</value> >>>>>> </property> >>>>>> <property name="fieldPassword"> >>>>>> <value>password</value> >>>>>> </property> >>>>>> <property name="dataSource" ref="dataSource" /> >>>>>> </bean> >>>>> >>>>> >>>>> In deployerConfigContext.xml >>>>> >>>>> Step 2: Add >>>>> >>>>>> <!-- PostgreSQL connector --> >>>>>> <bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource"> >>>>>> <property name="driverClassName"> >>>>>> <value>org.postgresql.Driver</value> >>>>>> </property> >>>>>> <property name="url"> >>>>>> <value>jdbc:postgresql://database-server-name:5432/db-name</value> >>>>>> </property> >>>>>> <property name="username"> >>>>>> <value>admusr</value> >>>>>> </property> >>>>>> <property name="password"> >>>>>> <value>admpwd</value> >>>>>> </property> >>>>>> </bean> >>>>> >>>>> >>>>> below >>>>> >>>>>> </list> >>>>>> </property> >>>>>> </bean> >>>>> >>>>> >>>>> Save deployerConfigContext.xml and restart apache. >>>>> >>>>> Thank so much. >>>>> -- >>>>> *ĐÀO VĂN PHONG* >>>>> *Hai Phong Private University* >>>>> >>>>> -- >>>>> 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 >>>> >>>> >>> >>> >>> -- >>> *ĐÀO VĂN PHONG* >>> *Hai Phong Private University* >>> >>> -- >>> 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 >> >> > > > -- > *ĐÀO VĂN PHONG* > *Hai Phong Private University* > > -- > 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
