There may be something such as a firewall that is preventing the cache tests from starting up.
You can try running "mvn -Dmaven.test.skip=true package" to skip the tests. -Scott On Jan 17, 2008 3:06 PM, spg pco <[EMAIL PROTECTED]> wrote: > Hello! I'm currently examining and evaluating CAS for a project. I have > downloaded cas-server-3.1.1 and am receiving errors when I try to run 'mvn > package' > > mvn -v output: > Maven version: 2.0.8 > Java version: 1.5.0_13 > OS name: "linux" version: "2.6.22-14-generic" arch: "i386" Family: "unix" > > The error occurs in the cas-server-integration-jboss module, which I'm not > currently using, but may want to at some point. I'm able to build > cas-server-core and cas-server-webapp for my evaluation, but I'd like to > keep things as clean as possible. The cas.war generated by > cas-server-webapp works fine in my test environment (using > esup-phpcas-0.5.1-1 client). > > The relevant parts of the error message: > Tests run: 13, Failures: 0, Errors: 13, Skipped: 0, Time elapsed: 2.155sec > <<< FAILURE! > testAddTicketToCache( > org.jasig.cas.ticket.registry.JBossCacheTicketRegistryTests ) Time > elapsed: 1.148 sec <<< ERROR! > org.springframework.beans.factory.BeanCreationException: Error creating > bean with name 'ticketRegistry' defined in class path resource [ > jbossTestContext.xml]: Cannot resolve reference to bean 'cache' while > setting bean property 'cache'; nested exception is > org.springframework.beans.factory.BeanCreationException: Error creating > bean with name 'cache' defined in class path resource [ > jbossTestContext.xml]: Error setting property values; nested exception is > org.springframework.beans.PropertyBatchUpdateException ; nested > PropertyAccessExceptions (1) are: > PropertyAccessException 1: > org.springframework.beans.MethodInvocationException: Property > 'configLocation' threw exception; nested exception is > java.lang.RuntimeException : org.jgroups.ChannelException: failed to start > protocol stack > Caused by: org.springframework.beans.factory.BeanCreationException: Error > creating bean with name 'cache' defined in class path resource [ > jbossTestContext.xml ]: Error setting property values; nested exception is > org.springframework.beans.PropertyBatchUpdateException; nested > PropertyAccessExceptions (1) are: > PropertyAccessException 1: > org.springframework.beans.MethodInvocationException : Property > 'configLocation' threw exception; nested exception is > java.lang.RuntimeException: org.jgroups.ChannelException: failed to start > protocol stack > Caused by: org.springframework.beans.PropertyBatchUpdateException ; nested > PropertyAccessException details (1) are: > PropertyAccessException 1: > org.springframework.beans.MethodInvocationException: Property > 'configLocation' threw exception; nested exception is > java.lang.RuntimeException : org.jgroups.ChannelException: failed to start > protocol stack > > > _______________________________________________ > Yale CAS mailing list > [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] http://tp.its.yale.edu/mailman/listinfo/cas
