Try checking your catalina.out file and see if you see anything.

Cheers,
Scott


On Tue, Jan 12, 2010 at 1:03 PM, Leandro Cascino Repolho <
[email protected]> wrote:

> Thank you very much, that worked out!
>
> I am just having another trouble configuring CAS with JDBC (MySQL). The
> “cas.log” doesn’t show any errors, only a message in the user interface is
> shown after submitting the login form, something like: "CAS is Unavailable"
> - " There was an error trying to complete your request. Please notify your
> support desk or try again.".
>
> Could you help me?
>
> Here is my deployerConfigContext.xml:
>
> <property name="authenticationHandlers">
> [...]
> <bean
>
> class="org.jasig.cas.adaptors.jdbc.SearchModeSearchDatabaseAuthenticationHan
> dler">
>        <property name="fieldUser">
>                <value>user_column</value>
>        </property>
>        <property name="fieldPassword">
>                <value>password_column</value>
>        </property>
>        <property name="tableUsers">
>                <value>user_table</value>
>        </property>
>        <property name="dataSource" ref="dataSource"/>
> </bean>
> […]
> <bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource">
>        <property name="driverClassName">
>                <value>com.mysql.jdbc.Driver</value>
>        </property>
>        <property name="url">
>                <value>jdbc:mysql://localhost:3306/cas</value>
>        </property>
>        <property name="username"><value>root</value></property>
>        <property name="password"><value>12345</value></property>
> </bean>
> […]
>
> And these are the lines of “cas.log” after submitting login form:
>
> 2010-01-12 15:43:34,212 INFO
> [org.jasig.cas.web.flow.AuthenticationViaFormAction] - FormObjectClass not
> set.  Using default class of
> org.jasig.cas.authentication.principal.UsernamePasswordCredentials with
> formObjectName credentials and validator
> org.jasig.cas.validation.UsernamePasswordCredentialsValidator.
>
> Regards,
> --
> Leandro Cascino Repolho
> +55 11 80207884
>
> De: Scott Battaglia [mailto:[email protected]]
> Enviada em: terça-feira, 12 de janeiro de 2010 11:53
> Para: [email protected]
> Assunto: Re: [cas-dev] Error with fresh installation
>
> Our latest build left out a few files. We've got some open JIRA issues to
> update the build script.
>
> In the meantime, you can add "-Dmaven.test.skip=true" to skip them.
>
> We also have a document in our wiki describing the Maven2 WAR Overlay
> method:
>
> http://www.ja-sig.org/wiki/display/CASUM/Best+Practice+-+Setting+Up+CAS+Loca
> lly+using+the+Maven2+WAR+Overlay+Method<http://www.ja-sig.org/wiki/display/CASUM/Best+Practice+-+Setting+Up+CAS+Loca%0Ally+using+the+Maven2+WAR+Overlay+Method>
>
> It might be helpful as a more sustainable method for maintaining CAS
> locally.
>
> Cheers,
> Scott
>
> On Tue, Jan 12, 2010 at 8:46 AM, Leandro Cascino Repolho
> <[email protected]> wrote:
> Hi,
>
> I am trying to install a freshly downloaded ‘CAS 3.3.5’ but always getting
> the error bellow after running “mvn package install”:
>
> [ERROR MESSAGE BEGINS]
>
> […]
>
> Tests run: 355, Failures: 0, Errors: 6, Skipped: 0
>
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] There are test failures.
>
> Please refer to
> D:\downloads\cas-server-3.3.5\cas-server-core\target\surefire-re
> ports for the individual test results.
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 44 seconds
> [INFO] Finished at: Tue Jan 12 11:30:47 BRST 2010
> [INFO] Final Memory: 24M/44M
> [INFO]
> ------------------------------------------------------------------------
>
> [ERROR MESSAGE ENDS]
>
> I have searched the “ERROR!” message in the “surefire-reports” folder and
> found theses lines:
>
> 1)
>
> testWithAlternativeRealm(org.jasig.cas.authentication.handler.support.JaasAu
> thenticationHandlerTests)  Time elapsed: 0.015 sec  <<< ERROR!
> 2)
>
> testWithAlternativeRealmAndValidCredentials(org.jasig.cas.authentication.han
> dler.support.JaasAuthenticationHandlerTests)  Time elapsed: 0 sec  <<<
> ERROR!
> 3)
>
> testWithValidCredenials(org.jasig.cas.authentication.handler.support.JaasAut
> henticationHandlerTests)  Time elapsed: 0 sec  <<< ERROR!
> 4)
>
> testWithInvalidCredentials(org.jasig.cas.authentication.handler.support.Jaas
> AuthenticationHandlerTests)  Time elapsed: 0 sec  <<< ERROR!
> 5)
>
> testResponse(org.jasig.cas.authentication.principal.GoogleAccountsServiceTes
> ts)  Time elapsed: 0.015 sec  <<< ERROR!
> 6)
>
> testNoService(org.jasig.cas.web.support.GoogleAccountsArgumentExtractorTests
> )  Time elapsed: 0 sec  <<< ERROR!
>
> --
> Leandro Cascino Repolho
> +55 11 80207884
> --
> 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-dev
>
> --
> 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-dev
>
>
> --
> 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-dev
>
>

-- 
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-dev

Reply via email to