Its probably coming from one of the CAS 3.3.2 dependencies (either cas-server-core or cas-server-webapp.
On Wed, Nov 10, 2010 at 4:11 PM, Bryan Wooten <[email protected]> wrote: > Cool tip thanks Scott! I get this running from my overlay directory. But > I don’t see any reference to spring-beans-2.5.6. Now I am more confused. > > > > > > [INFO] [dependency:tree {execution: default-cli}] > > [INFO] org.uofu.cas:uofu-cas:war:1.4-SNAPSHOT > > [INFO] +- org.jasig.cas:cas-server-webapp:war:3.3.2:compile > > [INFO] +- org.jasig.cas:cas-server-core:jar:3.3.2:compile > > [INFO] | +- org.jasig.service:person-directory-impl:jar:1.1.2:compile > > [INFO] | | +- org.jasig.service:person-directory-api:jar:1.1.2:compile > > [INFO] | | +- commons-lang:commons-lang:jar:2.2:compile > > [INFO] | | \- commons-collections:commons-collections:jar:3.2:compile > > [INFO] | +- jdom:jdom:jar:1.0:compile > > [INFO] | +- org.springframework:spring-orm:jar:2.5.6:compile > > [INFO] | | +- aopalliance:aopalliance:jar:1.0:compile > > [INFO] | | \- org.springframework:spring-context:jar:2.5.6:compile > > [INFO] | +- org.springframework:spring-core:jar:2.5.6:compile > > [INFO] | +- org.springframework:spring-webmvc:jar:2.5.6:compile > > [INFO] | | +- > org.springframework:spring-context-support:jar:2.5.6:compile > > [INFO] | | \- org.springframework:spring-web:jar:2.5.6:compile > > [INFO] | +- org.hibernate:hibernate-annotations:jar:3.3.1.GA:compile > > [INFO] | | +- org.hibernate:hibernate:jar:3.2.6.ga:compile > > [INFO] | | | +- net.sf.ehcache:ehcache:jar:1.2.3:compile > > [INFO] | | | \- asm:asm-attrs:jar:1.5.3:compile > > [INFO] | | +- org.hibernate:hibernate-commons-annotations:jar:3.0.0.ga: > compile > > [INFO] | | \- org.hibernate:ejb3-persistence:jar:1.0.1.GA:compile > > [INFO] | +- org.apache.santuario:xmlsec:jar:1.4.0:runtime > > [INFO] | +- commons-codec:commons-codec:jar:1.3:runtime > > [INFO] | +- org.opensaml:opensaml:jar:1.1b:compile > > [INFO] | +- javax.persistence:persistence-api:jar:1.0:compile > > [INFO] | +- javax.xml:xmldsig:jar:1.0:compile > > [INFO] | +- org.inspektr:inspektr-core:jar:0.7.0:compile > > [INFO] | | +- javax.servlet:servlet-api:jar:2.4:compile > > [INFO] | | +- aspectj:aspectjweaver:jar:1.5.3:runtime > > [INFO] | | \- aspectj:aspectjrt:jar:1.5.3:compile > > [INFO] | +- commons-logging:commons-logging:jar:1.1:compile > > [INFO] | \- org.springframework:spring-webflow:jar:1.0.5:compile > > [INFO] | +- ognl:ognl:jar:2.6.9:compile > > [INFO] | \- org.springframework:spring-binding:jar:1.0.5:compile > > [INFO] +- commons-dbcp:commons-dbcp:jar:1.4:runtime > > [INFO] | \- commons-pool:commons-pool:jar:1.5.4:runtime > > [INFO] +- org.hibernate:hibernate-entitymanager:jar:3.5.0-CR-2:compile > > [INFO] | +- org.hibernate:hibernate-core:jar:3.5.0-CR-2:compile > > [INFO] | | +- antlr:antlr:jar:2.7.6:compile > > [INFO] | | +- dom4j:dom4j:jar:1.6.1:compile > > [INFO] | | | \- xml-apis:xml-apis:jar:1.0.b2:compile > > [INFO] | | \- javax.transaction:jta:jar:1.1:compile > > [INFO] | +- cglib:cglib:jar:2.2:compile > > [INFO] | | \- asm:asm:jar:3.1:compile > > [INFO] | +- javassist:javassist:jar:3.9.0.GA:compile > > [INFO] | \- > org.hibernate.javax.persistence:hibernate-jpa-2.0-api:jar:1.0.0-CR-1:compile > > [INFO] +- org.springframework:spring-jdbc:jar:3.0.1.RELEASE:compile > > [INFO] | \- org.springframework:spring-tx:jar:3.0.1.RELEASE:compile > > [INFO] | \- org.springframework:spring-aop:jar:3.0.1.RELEASE:compile > > [INFO] | \- org.springframework:spring-asm:jar:3.0.1.RELEASE:compile > > [INFO] +- org.springframework:spring-beans:jar:3.0.1.RELEASE:compile > > [INFO] +- org.slf4j:slf4j-api:jar:1.5.8:compile > > [INFO] +- org.slf4j:slf4j-log4j12:jar:1.5.8:runtime > > [INFO] | \- log4j:log4j:jar:1.2.14:runtime > > [INFO] \- org.slf4j:jcl-over-slf4j:jar:1.5.8:compile > > [INFO] > ------------------------------------------------------------------------ > > [INFO] BUILD SUCCESSFUL > > [INFO] > ------------------------------------------------------------------------ > > > > Bryan Wooten > > > > [email protected] > > Work: 801.585.9323 > > Cell: 801.414.3593 > > > > *From:* Scott Battaglia [mailto:[email protected]] > *Sent:* Wednesday, November 10, 2010 2:05 PM > > *To:* [email protected] > *Subject:* Re: [cas-user] Still have Service Manager Troubles > > > > If you run mvn dependency:tree it should tell you where its coming from. > > On Wed, Nov 10, 2010 at 3:59 PM, Bryan Wooten <[email protected]> > wrote: > > Ok this is strange. When I build CAS 3.4.2.1 I get > spring-beans-3.0.1RELEASE.jar in the cas.war file. > > > > Then when I build using overlay my cas.war gets spring-beans-2.5.6. If I > add a dependency to spring-beans version 3.0.1.RELEASE in my pom.xml file my > cas.war get both spring-beans jar files. > > > > I can’t figure out where or why spring-beans-2.5.6 is getting included. > Any thoughts? > > > > Bryan Wooten > > > > [email protected] > > Work: 801.585.9323 > > Cell: 801.414.3593 > > > > *From:* Scott Battaglia [mailto:[email protected]] > *Sent:* Wednesday, November 10, 2010 11:10 AM > > > *To:* [email protected] > > *Subject:* Re: [cas-user] Still have Service Manager Troubles > > > > Typically that means you've got conflicting Spring JARs on the classpath. > > On Wed, Nov 10, 2010 at 12:23 PM, Bryan Wooten <[email protected]> > wrote: > > Ok, I had some bad xml in deployer config, but now I am getting this error: > > > > > [#|2010-11-10T10:16:27.904-0700|INFO|glassfish3.0.1|javax.enterprise.system.std.com.sun.enterprise.v3.services.impl|_ > > ThreadID=28;_ThreadName=Thread-1;|2010-11-10 10:16:27,889 ERROR > [org.springframework.web.context.ContextLoader] - <Co > > ntext initialization failed> > > org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected > exception parsing XML document from Servle > > tContext resource [/WEB-INF/deployerConfigContext.xml]; nested exception is > java.lang.NoSuchMethodError: org.springfr > > > amework.beans.MutablePropertyValues.add(Ljava/lang/String;Ljava/lang/Object;)Lorg/springframework/beans/MutableProper > > tyValues; > > at > org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReade > > r.java:420) > > > > Bryan Wooten > > > > [email protected] > > Work: 801.585.9323 > > Cell: 801.414.3593 > > > > *From:* Bryan Wooten [mailto:[email protected]] > *Sent:* Wednesday, November 10, 2010 9:03 AM > *To:* [email protected] > *Subject:* [cas-user] Still have Service Manager Troubles > > > > I installed a Glassfish 3 server which supports JPA 2. Now when I try to > deploy CAS I get this error: > > > > > [#|2010-11-10T08:49:24.847-0700|INFO|glassfish3.0.1|javax.enterprise.system.std.com.sun.enterprise.v3.services.impl|_ThreadID=28;_ThreadName=Thread > > -1;|2010-11-10 08:49:24,829 ERROR > [org.springframework.web.context.ContextLoader] - <Context initialization > failed> > > org.springframework.beans.factory.BeanCreationException: Error creating > bean with name 'servicesManager' defined in ServletContext resource [/WEB-I > > NF/spring-configuration/applicationContext.xml]: Cannot resolve reference > to bean 'serviceRegistryDao' while setting constructor argument; nested e > > xception is org.springframework.beans.factory.BeanCreationException: Error > creating bean with name 'serviceRegistryDao' defined in ServletContext r > > esource [/WEB-INF/deployerConfigContext.xml]: Cannot resolve reference to > bean 'entityManagerFactory' while setting bean property 'entityManagerFac > > tory'; nested exception is > org.springframework.beans.factory.BeanCreationException: Error creating bean > with name 'entityManagerFactory' defined in > > ServletContext resource [/WEB-INF/deployerConfigContext.xml]: Invocation > of init method failed; nested exception is java.lang.AbstractMethodError: > > > > org.springframework.orm.jpa.persistenceunit.SpringPersistenceUnitInfo.getValidationMode()Ljavax/persistence/ValidationMode; > > at > org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:275) > > at > org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104) > > at > org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:479) > > at > org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:162) > > at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java > > :925) > > > > Has anyone gotten CAS Service Manager to work on Glassfish 3? > > > > Bryan Wooten > > > > [email protected] > > Work: 801.585.9323 > > Cell: 801.414.3593 > > > > -- > > > > 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 > > > > -- > > 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 > > > > -- > > 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 > > -- 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
