Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrading To Rave 0.16 Causes The Accelerator To Not Start #1

Open
ryanjbaxter opened this issue Oct 15, 2012 · 0 comments
Open

Upgrading To Rave 0.16 Causes The Accelerator To Not Start #1

ryanjbaxter opened this issue Oct 15, 2012 · 0 comments
Assignees

Comments

@ryanjbaxter
Copy link
Member

In my environment I upgraded the Rave dependency to 0.16 and the Accelerator no longer starts correctly. Looks like there are a bunch or errors creating some beans.

rbaxtermacpro:rave-package ryanjbaxter$ mvn cargo:run
[WARNING]
[WARNING] Some problems were encountered while building the effective settings
[WARNING] 'servers.server.id' must be unique but found duplicate server with id default @ /Users/ryanjbaxter/.m2/settings.xml
[WARNING]
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Rave Packager 0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- cargo-maven2-plugin:1.2.1:run (default-cli) @ rave-package ---
[INFO] [en2.ContainerRunMojo] Resolved container artifact org.codehaus.cargo:cargo-core-container-tomcat:jar:1.2.1 for container tomcat6x
[INFO] [stalledLocalDeployer] Deploying [/Users/ryanjbaxter/.m2/repository/org/opensocial/rave-shindig/0.1-SNAPSHOT/rave-shindig-0.1-SNAPSHOT.war] to [/Users/ryanjbaxter/workspaces/opensocial/rave-accelerator/rave-package/target/tomcat6x/webapps]...
[INFO] [stalledLocalDeployer] Deploying [/Users/ryanjbaxter/.m2/repository/org/opensocial/rave-portal/0.1-SNAPSHOT/rave-portal-0.1-SNAPSHOT.war] to [/Users/ryanjbaxter/workspaces/opensocial/rave-accelerator/rave-package/target/tomcat6x/webapps]...
[INFO] [talledLocalContainer] Tomcat 6.x starting...
[INFO] [talledLocalContainer] Listening for transport dt_socket at address: 8000
[WARNING] [talledLocalContainer] Oct 14, 2012 8:18:58 PM org.apache.catalina.startup.ClassLoaderFactory validateFile
[WARNING] [talledLocalContainer] WARNING: Problem with directory [/Users/ryanjbaxter/workspaces/opensocial/rave-accelerator/rave-package/target/tomcat6x/common/classes], exists: [false], isDirectory: [false], canRead: [false]
[WARNING] [talledLocalContainer] Oct 14, 2012 8:18:58 PM org.apache.catalina.startup.ClassLoaderFactory validateFile
[WARNING] [talledLocalContainer] WARNING: Problem with directory [/Users/ryanjbaxter/workspaces/opensocial/rave-accelerator/rave-package/target/tomcat6x/common/lib], exists: [false], isDirectory: [false], canRead: [false]
[WARNING] [talledLocalContainer] Oct 14, 2012 8:18:59 PM org.apache.catalina.startup.ClassLoaderFactory validateFile
[WARNING] [talledLocalContainer] WARNING: Problem with directory [/Users/ryanjbaxter/workspaces/opensocial/rave-accelerator/rave-package/target/tomcat6x/shared/classes], exists: [false], isDirectory: [false], canRead: [false]
[WARNING] [talledLocalContainer] Oct 14, 2012 8:18:59 PM org.apache.catalina.core.AprLifecycleListener init
[WARNING] [talledLocalContainer] INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: .:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java
[WARNING] [talledLocalContainer] Oct 14, 2012 8:19:00 PM org.apache.coyote.http11.Http11Protocol init
[WARNING] [talledLocalContainer] INFO: Initializing Coyote HTTP/1.1 on http-8080
[WARNING] [talledLocalContainer] Oct 14, 2012 8:19:00 PM org.apache.catalina.startup.Catalina load
[WARNING] [talledLocalContainer] INFO: Initialization processed in 945 ms
[WARNING] [talledLocalContainer] Oct 14, 2012 8:19:00 PM org.apache.catalina.core.StandardService start
[WARNING] [talledLocalContainer] INFO: Starting service Catalina
[WARNING] [talledLocalContainer] Oct 14, 2012 8:19:00 PM org.apache.catalina.core.StandardEngine start
[WARNING] [talledLocalContainer] INFO: Starting Servlet Engine: Apache Tomcat/6.0.35
[WARNING] [talledLocalContainer] Oct 14, 2012 8:19:00 PM org.apache.catalina.startup.HostConfig deployWAR
[WARNING] [talledLocalContainer] INFO: Deploying web application archive cargocpc.war
[WARNING] [talledLocalContainer] Oct 14, 2012 8:19:00 PM org.apache.catalina.startup.HostConfig deployWAR
[WARNING] [talledLocalContainer] INFO: Deploying web application archive portal.war
[WARNING] [talledLocalContainer] Oct 14, 2012 8:19:02 PM org.apache.catalina.core.ApplicationContext log
[WARNING] [talledLocalContainer] INFO: Initializing Spring root WebApplicationContext
[INFO] [talledLocalContainer] INFO : org.apache.rave.util.OverridablePropertyPlaceholderConfigurer - Loading properties file from class path resource [portal.properties]
[INFO] [talledLocalContainer] ERROR: org.springframework.web.context.ContextLoader - Context initialization failed
[INFO] [talledLocalContainer] org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'messageSource' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: BeanPostProcessor before instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.transaction.config.internalTransactionAdvisor': Cannot resolve reference to bean 'org.springframework.transaction.annotation.AnnotationTransactionAttributeSource#0' while setting bean property 'transactionAttributeSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.transaction.annotation.AnnotationTransactionAttributeSource#0': BeanPostProcessor before instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.security.methodSecurityMetadataSourceAdvisor': Cannot resolve reference to bean 'org.springframework.security.access.method.DelegatingMethodSecurityMetadataSource#0' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.security.access.method.DelegatingMethodSecurityMetadataSource#0': Cannot create inner bean '(inner bean)' of type [org.springframework.security.access.prepost.PrePostAnnotationSecurityMetadataSource] while setting constructor argument with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)': Cannot create inner bean '(inner bean)' of type [org.springframework.security.access.expression.method.ExpressionBasedAnnotationAttributeFactory] while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)': Cannot resolve reference to bean 'expressionHandler' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'expressionHandler' defined in ServletContext resource [/WEB-INF/applicationContext-security.xml]: Cannot resolve reference to bean 'ravePermissionEvaluator' while setting bean property 'permissionEvaluator'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'ravePermissionEvaluator' defined in URL [jar:file:/Users/ryanjbaxter/workspaces/opensocial/rave-accelerator/rave-package/target/tomcat6x/webapps/portal/WEB-INF/lib/rave-core-0.15.jar!/org/apache/rave/portal/security/impl/RavePermissionEvaluator.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [java.util.List]: : Error creating bean with name 'defaultCategoryPermissionEvaluator' defined in URL [jar:file:/Users/ryanjbaxter/workspaces/opensocial/rave-accelerator/rave-package/target/tomcat6x/webapps/portal/WEB-INF/lib/rave-core-0.15.jar!/org/apache/rave/portal/security/impl/DefaultCategoryPermissionEvaluator.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [org.apache.rave.portal.repository.CategoryRepository]: : Error creating bean with name 'jpaCategoryRepository': Injection of persistence dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in URL [jar:file:/Users/ryanjbaxter/workspaces/opensocial/rave-accelerator/rave-package/target/tomcat6x/webapps/portal/WEB-INF/lib/rave-jpa-0.16.jar!/org/apache/rave/jpa-applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: Conflicting persistence unit definitions for name 'ravePersistenceUnit': file:/Users/ryanjbaxter/workspaces/opensocial/rave-accelerator/rave-package/target/tomcat6x/webapps/portal/WEB-INF/lib/rave-jpa-0.16.jar, file:/Users/ryanjbaxter/workspaces/opensocial/rave-accelerator/rave-package/target/tomcat6x/webapps/portal/WEB-INF/lib/rave-jpa-0.15.jar; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jpaCategoryRepository': Injection of persistence dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in URL [jar:file:/Users/ryanjbaxter/workspaces/opensocial/rave-accelerator/rave-package/target/tomcat6x/webapps/portal/WEB-INF/lib/rave-jpa-0.16.jar!/org/apache/rave/jpa-applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: Conflicting persistence unit definitions for name 'ravePersistenceUnit': file:/Users/ryanjbaxter/workspaces/opensocial/rave-accelerator/rave-package/target/tomcat6x/webapps/portal/WEB-INF/lib/rave-jpa-0.16.jar, file:/Users/ryanjbaxter/workspaces/opensocial/rave-accelerator/rave-package/target/tomcat6x/webapps/portal/WEB-INF/lib/rave-jpa-0.15.jar; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'defaultCategoryPermissionEvaluator' defined in URL [jar:file:/Users/ryanjbaxter/workspaces/opensocial/rave-accelerator/rave-package/target/tomcat6x/webapps/portal/WEB-INF/lib/rave-core-0.15.jar!/org/apache/rave/portal/security/impl/DefaultCategoryPermissionEvaluator.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [org.apache.rave.portal.repository.CategoryRepository]: : Error creating bean with name 'jpaCategoryRepository': Injection of persistence dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in URL [jar:file:/Users/ryanjbaxter/workspaces/opensocial/rave-accelerator/rave-package/target/tomcat6x/webapps/portal/WEB-INF/lib/rave-jpa-0.16.jar!/org/apache/rave/jpa-applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: Conflicting persistence unit definitions for name 'ravePersistenceUnit': file:/Users/ryanjbaxter/workspaces/opensocial/rave-accelerator/rave-package/target/tomcat6x/webapps/portal/WEB-INF/lib/rave-jpa-0.16.jar, file:/Users/ryanjbaxter/workspaces/opensocial/rave-accelerator/rave-package/target/tomcat6x/webapps/portal/WEB-INF/lib/rave-jpa-0.15.jar; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jpaCategoryRepository': Injection of persistence dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in URL [jar:file:/Users/ryanjbaxter/workspaces/opensocial/rave-accelerator/rave-package/target/tomcat6x/webapps/portal/WEB-INF/lib/rave-jpa-0.16.jar!/org/apache/rave/jpa-applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: Conflicting persistence unit definitions for name 'ravePersistenceUnit': file:/Users/ryanjbaxter/workspaces/opensocial/rave-accelerator/rave-package/target/tomcat6x/webapps/portal/WEB-INF/lib/rave-jpa-0.16.jar, file:/Users/ryanjbaxter/workspaces/opensocial/rave-accelerator/rave-package/target/tomcat6x/webapps/portal/WEB-INF/lib/rave-jpa-0.15.jar
[INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:452)
[INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
[INFO] [talledLocalContainer] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
[INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
[INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
[INFO] [talledLocalContainer] at org.springframework.context.support.AbstractApplicationContext.initMessageSource(AbstractApplicationContext.java:778)
[INFO] [talledLocalContainer] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:457)
[INFO] [talledLocalContainer] at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:383)
[INFO] [talledLocalContainer] at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:283)
[INFO] [talledLocalContainer] at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)
[INFO] [talledLocalContainer] at org.apache.rave.portal.web.context.RaveContextLoaderListener.contextInitialized(RaveContextLoaderListener.java:39)
[INFO] [talledLocalContainer] at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4206)
[INFO] [talledLocalContainer] at org.apache.catalina.core.StandardContext.start(StandardContext.java:4705)
[INFO] [talledLocalContainer] at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
[INFO] [talledLocalContainer] at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
[INFO] [talledLocalContainer] at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
[INFO] [talledLocalContainer] at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:943)
[INFO] [talledLocalContainer] at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:778)
[INFO] [talledLocalContainer] at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:504)
[INFO] [talledLocalContainer] at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)
[INFO] [talledLocalContainer] at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
[INFO] [talledLocalContainer] at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
[INFO] [talledLocalContainer] at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)
[INFO] [talledLocalContainer] at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
[INFO] [talledLocalContainer] at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
[INFO] [talledLocalContainer] at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
[INFO] [talledLocalContainer] at org.apache.catalina.core.StandardService.start(StandardService.java:525)
[INFO] [talledLocalContainer] at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
[INFO] [talledLocalContainer] at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
[INFO] [talledLocalContainer] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[INFO] [talledLocalContainer] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[INFO] [talledLocalContainer] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[INFO] [talledLocalContainer] at java.lang.reflect.Method.invoke(Method.java:597)
[INFO] [talledLocalContainer] at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
[INFO] [talledLocalContainer] at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
[INFO] [talledLocalContainer] Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.transaction.config.internalTransactionAdvisor': Cannot resolve reference to bean 'org.springframework.transaction.annotation.AnnotationTransactionAttributeSource#0' while setting bean property 'transactionAttributeSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.transaction.annotation.AnnotationTransactionAttributeSource#0': BeanPostProcessor before instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.security.methodSecurityMetadataSourceAdvisor': Cannot resolve reference to bean 'org.springframework.security.access.method.DelegatingMethodSecurityMetadataSource#0' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.security.access.method.DelegatingMethodSecurityMetadataSource#0': Cannot create inner bean '(inner bean)' of type [org.springframework.security.access.prepost.PrePostAnnotationSecurityMetadataSource] while setting constructor argument with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)': Cannot create inner bean '(inner bean)' of type [org.springframework.security.access.expression.method.ExpressionBasedAnnotationAttributeFactory] while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)': Cannot resolve reference to bean 'expressionHandler' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'expressionHandler' defined in ServletContext resource [/WEB-INF/applicationContext-security.xml]: Cannot resolve reference to bean 'ravePermissionEvaluator' while setting bean property 'permissionEvaluator'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'ravePermissionEvaluator' defined in URL [jar:file:/Users/ryanjbaxter/workspaces/opensocial/rave-accelerator/rave-package/target/tomcat6x/webapps/portal/WEB-INF/lib/rave-core-0.15.jar!/org/apache/rave/portal/security/impl/RavePermissionEvaluator.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [java.util.List]: : Error creating bean with name 'defaultCategoryPermissionEvaluator' defined in URL [jar:file:/Users/ryanjbaxter/workspaces/opensocial/rave-accelerator/rave-package/target/tomcat6x/webapps/portal/WEB-INF/lib/rave-core-0.15.jar!/org/apache/rave/portal/security/impl/DefaultCategoryPermissionEvaluator.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [org.apache.rave.portal.repository.CategoryRepository]: : Error creating bean with name 'jpaCategoryRepository': Injection of persistence dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in URL [jar:file:/Users/ryanjbaxter/workspaces/opensocial/rave-accelerator/rave-package/target/tomcat6x/webapps/portal/WEB-INF/lib/rave-jpa-0.16.jar!/org/apache/rave/jpa-applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: Conflicting persistence unit definitions for name 'ravePersistenceUnit': file:/Users/ryanjbaxter/workspaces/opensocial/rave-accelerator/rave-package/target/tomcat6x/webapps/portal/WEB-INF/lib/rave-jpa-0.16.jar, file:/Users/ryanjbaxter/workspaces/opensocial/rave-accelerator/rave-package/target/tomcat6x/webapps/portal/WEB-INF/lib/rave-jpa-0.15.jar; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jpaCategoryRepository': Injection of persistence dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in URL [jar:file:/Users/ryanjbaxter/workspaces/opensocial/rave-accelerator/rave-package/target/tomcat6x/webapps/portal/WEB-INF/lib/rave-jpa-0.16.jar!/org/apache/rave/jpa-applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: Conflicting persistence unit definitions for name 'ravePersistenceUnit': file:/Users/ryanjbaxter/workspaces/opensocial/rave-accelerator/rave-package/target/tomcat6x/webapps/portal/WEB-INF/lib/rave-jpa-0.16.jar, file:/Users/ryanjbaxter/workspaces/opensocial/rave-accelerator/rave-package/target/tomcat6x/webapps/portal/WEB-INF/lib/rave-jpa-0.15.jar; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'defaultCategoryPermissionEvaluator' defined in URL [jar:file:/Users/ryanjbaxter/workspaces/opensocial/rave-accelerator/rave-package/target/tomcat6x/webapps/portal/WEB-INF/lib/rave-core-0.15.jar!/org/apache/rave/portal/security/impl/DefaultCategoryPermissionEvaluator.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [org.apache.rave.portal.repository.CategoryRepository]: : Error creating bean with name 'jpaCategoryRepository': Injection of persistence dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in URL [jar:file:/Users/ryanjbaxter/workspaces/opensocial/rave-accelerator/rave-package/target/tomcat6x/webapps/portal/WEB-INF/lib/rave-jpa-0.16.jar!/org/apache/rave/jpa-applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: Conflicting persistence unit definitions for name 'ravePersistenceUnit': file:/Users/ryanjbaxter/workspaces/opensocial/rave-accelerator/rave-package/target/tomcat6x/webapps/portal/WEB-INF/lib/rave-jpa-0.16.jar, file:/Users/ryanjbaxter/workspaces/opensocial/rave-accelerator/rave-package/target/tomcat6x/webapps/portal/WEB-INF/lib/rave-jpa-0.15.jar; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jpaCategoryRepository': Injection of persistence dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in URL [jar:file:/Users/ryanjbaxter/workspaces/opensocial/rave-accelerator/rave-package/target/tomcat6x/webapps/portal/WEB-INF/lib/rave-jpa-0.16.jar!/org/apache/rave/jpa-applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: Conflicting persistence unit definitions for name 'ravePersistenceUnit': file:/Users/ryanjbaxter/workspaces/opensocial/rave-accelerator/rave-package/target/tomcat6x/webapps/portal/WEB-INF/lib/rave-jpa-0.16.jar, file:/Users/ryanjbaxter/workspaces/opensocial/rave-accelerator/rave-package/target/tomcat6x/webapps/portal/WEB-INF/lib/rave-jpa-0.15.jar
[INFO] [talledLocalContainer] at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)
[INFO] [talledLocalContainer] at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)
[INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1360)
[INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1118)
[INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
[INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
[INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
[INFO] [talledLocalContainer] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
[INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
[INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
[INFO] [talledLocalContainer] at org.springframework.aop.framework.autoproxy.BeanFactoryAdvisorRetrievalHelper.findAdvisorBeans(BeanFactoryAdvisorRetrievalHelper.java:86)
[INFO] [talledLocalContainer] at org.springframework.aop.framework.autoproxy.AbstractAdvisorAutoProxyCreator.findCandidateAdvisors(AbstractAdvisorAutoProxyCreator.java:100)
[INFO] [talledLocalContainer] at org.springframework.aop.aspectj.annotation.AnnotationAwareAspectJAutoProxyCreator.findCandidateAdvisors(AnnotationAwareAspectJAutoProxyCreator.java:84)
[INFO] [talledLocalContainer] at org.springframework.aop.aspectj.autoproxy.AspectJAwareAdvisorAutoProxyCreator.shouldSkip(AspectJAwareAdvisorAutoProxyCreator.java:107)
[INFO] [talledLocalContainer] at org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.postProcessBeforeInstantiation(AbstractAutoProxyCreator.java:278)
[INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInstantiation(AbstractAutowireCapableBeanFactory.java:880)
[INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.resolveBeforeInstantiation(AbstractAutowireCapableBeanFactory.java:852)
[INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:446)
[INFO] [talledLocalContainer] ... 34 more
[INFO] [talledLocalContainer] Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.transaction.annotation.AnnotationTransactionAttributeSource#0': BeanPostProcessor before instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.security.methodSecurityMetadataSourceAdvisor': Cannot resolve reference to bean 'org.springframework.security.access.method.DelegatingMethodSecurityMetadataSource#0' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.security.access.method.DelegatingMethodSecurityMetadataSource#0': Cannot create inner bean '(inner bean)' of type [org.springframework.security.access.prepost.PrePostAnnotationSecurityMetadataSource] while setting constructor argument with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)': Cannot create inner bean '(inner bean)' of type [org.springframework.security.access.expression.method.ExpressionBasedAnnotationAttributeFactory] while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)': Cannot resolve reference to bean 'expressionHandler' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'expressionHandler' defined in ServletContext resource [/WEB-INF/applicationContext-security.xml]: Cannot resolve reference to bean 'ravePermissionEvaluator' while setting bean property 'permissionEvaluator'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'ravePermissionEvaluator' defined in URL [jar:file:/Users/ryanjbaxter/workspaces/opensocial/rave-accelerator/rave-package/target/tomcat6x/webapps/portal/WEB-INF/lib/rave-core-0.15.jar!/org/apache/rave/portal/security/impl/RavePermissionEvaluator.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [java.util.List]: : Error creating bean with name 'defaultCategoryPermissionEvaluator' defined in URL [jar:file:/Users/ryanjbaxter/workspaces/opensocial/rave-accelerator/rave-package/target/tomcat6x/webapps/portal/WEB-INF/lib/rave-core-0.15.jar!/org/apache/rave/portal/security/impl/DefaultCategoryPermissionEvaluator.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [org.apache.rave.portal.repository.CategoryRepository]: : Error creating bean with name 'jpaCategoryRepository': Injection of persistence dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in URL [jar:file:/Users/ryanjbaxter/workspaces/opensocial/rave-accelerator/rave-package/target/tomcat6x/webapps/portal/WEB-INF/lib/rave-jpa-0.16.jar!/org/apache/rave/jpa-applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: Conflicting persistence unit definitions for name 'ravePersistenceUnit': file:/Users/ryanjbaxter/workspaces/opensocial/rave-accelerator/rave-package/target/tomcat6x/webapps/portal/WEB-INF/lib/rave-jpa-0.16.jar, file:/Users/ryanjbaxter/workspaces/opensocial/rave-accelerator/rave-package/target/tomcat6x/webapps/portal/WEB-INF/lib/rave-jpa-0.15.jar; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jpaCategoryRepository': Injection of persistence dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in URL [jar:file:/Users/ryanjbaxter/workspaces/opensocial/rave-accelerator/rave-package/target/tomcat6x/webapps/portal/WEB-INF/lib/rave-jpa-0.16.jar!/org/apache/rave/jpa-applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: Conflicting persistence unit definitions for name 'ravePersistenceUnit': file:/Users/ryanjbaxter/workspaces/opensocial/rave-accelerator/rave-package/target/tomcat6x/webapps/portal/WEB-INF/lib/rave-jpa-0.16.jar, file:/Users/ryanjbaxter/workspaces/opensocial/rave-accelerator/rave-package/target/tomcat6x/webapps/portal/WEB-INF/lib/rave-jpa-0.15.jar; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'defaultCategoryPermissionEvaluator' defined in URL [jar:file:/Users/ryanjbaxter/workspaces/opensocial/rave-accelerator/rave-package/target/tomcat6x/webapps/portal/WEB-INF/lib/rave-core-0.15.jar!/org/apache/rave/portal/security/impl/DefaultCategoryPermissionEvaluator.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [org.apache.rave.portal.repository.CategoryRepository]: : Error creating bean with name 'jpaCategoryRepository': Injection of persistence dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in URL [jar:file:/Users/ryanjbaxter/workspaces/opensocial/rave-accelerator/rave-package/target/tomcat6x/webapps/portal/WEB-INF/lib/rave-jpa-0.16.jar!/org/apache/rave/jpa-applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: Conflicting persistence unit definitions for name 'ravePersistenceUnit': file:/Users/ryanjbaxter/workspaces/opensocial/rave-accelerator/rave-package/target/tomcat6x/webapps/portal/WEB-INF/lib/rave-jpa-0.16.jar, file:/Users/ryanjbaxter/workspaces/opensocial/rave-accelerator/rave-package/target/tomcat6x/webapps/portal/WEB-INF/lib/rave-jpa-0.15.jar; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jpaCategoryRepository': Injection of persistence dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in URL [jar:file:/Users/ryanjbaxter/workspaces/opensocial/rave-accelerator/rave-package/target/tomcat6x/webapps/portal/WEB-INF/lib/rave-jpa-0.16.jar!/org/apache/rave/jpa-applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: Conflicting persistence unit definitions for name 'ravePersistenceUnit': file:/Users/ryanjbaxter/workspaces/opensocial/rave-accelerator/rave-package/target/tomcat6x/webapps/portal/WEB-INF/lib/rave-jpa-0.16.jar, file:/Users/ryanjbaxter/workspaces/opensocial/rave-accelerator/rave-package/target/tomcat6x/webapps/portal/WEB-INF/lib/rave-jpa-0.15.jar
[INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:452)
[INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
[INFO] [talledLocalContainer] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
[INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
[INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
[INFO] [talledLocalContainer] at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)
[INFO] [talledLocalContainer] ... 51 more
[INFO] [talledLocalContainer] Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.security.methodSecurityMetadataSourceAdvisor': Cannot resolve reference to bean 'org.springframework.security.access.method.DelegatingMethodSecurityMetadataSource#0' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.security.access.method.DelegatingMethodSecurityMetadataSource#0': Cannot create inner bean '(inner bean)' of type [org.springframework.security.access.prepost.PrePostAnnotationSecurityMetadataSource] while setting constructor argument with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)': Cannot create inner bean '(inner bean)' of type [org.springframework.security.access.expression.method.ExpressionBasedAnnotationAttributeFactory] while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)': Cannot resolve reference to bean 'expressionHandler' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'expressionHandler' defined in ServletContext resource [/WEB-INF/applicationContext-security.xml]: Cannot resolve reference to bean 'ravePermissionEvaluator' while setting bean property 'permissionEvaluator'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'ravePermissionEvaluator' defined in URL [jar:file:/Users/ryanjbaxter/workspaces/opensocial/rave-accelerator/rave-package/target/tomcat6x/webapps/portal/WEB-INF/lib/rave-core-0.15.jar!/org/apache/rave/portal/security/impl/RavePermissionEvaluator.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [java.util.List]: : Error creating bean with name 'defaultCategoryPermissionEvaluator' defined in URL [jar:file:/Users/ryanjbaxter/workspaces/opensocial/rave-accelerator/rave-package/target/tomcat6x/webapps/portal/WEB-INF/lib/rave-core-0.15.jar!/org/apache/rave/portal/security/impl/DefaultCategoryPermissionEvaluator.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [org.apache.rave.portal.repository.CategoryRepository]: : Error creating bean with name 'jpaCategoryRepository': Injection of persistence dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in URL [jar:file:/Users/ryanjbaxter/workspaces/opensocial/rave-accelerator/rave-package/target/tomcat6x/webapps/portal/WEB-INF/lib/rave-jpa-0.16.jar!/org/apache/rave/jpa-applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: Conflicting persistence unit definitions for name 'ravePersistenceUnit': file:/Users/ryanjbaxter/workspaces/opensocial/rave-accelerator/rave-package/target/tomcat6x/webapps/portal/WEB-INF/lib/rave-jpa-0.16.jar, file:/Users/ryanjbaxter/workspaces/opensocial/rave-accelerator/rave-package/target/tomcat6x/webapps/portal/WEB-INF/lib/rave-jpa-0.15.jar; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jpaCategoryRepository': Injection of persistence dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in URL [jar:file:/Users/ryanjbaxter/workspaces/opensocial/rave-accelerator/rave-package/target/tomcat6x/webapps/portal/WEB-INF/lib/rave-jpa-0.16.jar!/org/apache/rave/jpa-applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: Conflicting persistence unit definitions for name 'ravePersistenceUnit': file:/Users/ryanjbaxter/workspaces/opensocial/rave-accelerator/rave-package/target/tomcat6x/webapps/portal/WEB-INF/lib/rave-jpa-0.16.jar, file:/Users/ryanjbaxter/workspaces/opensocial/rave-accelerator/rave-package/target/tomcat6x/webapps/portal/WEB-INF/lib/rave-jpa-0.15.jar; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'defaultCategoryPermissionEvaluator' defined in URL [jar:file:/Users/ryanjbaxter/workspaces/opensocial/rave-accelerator/rave-package/target/tomcat6x/webapps/portal/WEB-INF/lib/rave-core-0.15.jar!/org/apache/rave/portal/security/impl/DefaultCategoryPermissionEvaluator.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [org.apache.rave.portal.repository.CategoryRepository]: : Error creating bean with name 'jpaCategoryRepository': Injection of persistence dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in URL [jar:file:/Users/ryanjbaxter/workspaces/opensocial/rave-accelerator/rave-package/target/tomcat6x/webapps/portal/WEB-INF/lib/rave-jpa-0.16.jar!/org/apache/rave/jpa-applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: Conflicting persistence unit definitions for name 'ravePersistenceUnit': file:/Users/ryanjbaxter/workspaces/opensocial/rave-accelerator/rave-package/target/tomcat6x/webapps/portal/WEB-INF/lib/rave-jpa-0.16.jar, file:/Users/ryanjbaxter/workspaces/opensocial/rave-accelerator/rave-package/target/tomcat6x/webapps/portal/WEB-INF/lib/rave-jpa-0.15.jar; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jpaCategoryRepository': Injection of persistence dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in URL [jar:file:/Users/ryanjbaxter/workspaces/opensocial/rave-accelerator/rave-package/target/tomcat6x/webapps/portal/WEB-INF/lib/rave-jpa-0.16.jar!/org/apache/rave/jpa-applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: Conflicting persistence unit definitions for name 'ravePersistenceUnit': file:/Users/ryanjbaxter/workspaces/opensocial/rave-accelerator/rave-package/target/tomcat6x/webapps/portal/WEB-INF/lib/rave-jpa-0.16.jar, file:/Users/ryanjbaxter/workspaces/opensocial/rave-accelerator/rave-package/target/tomcat6x/webapps/portal/WEB-INF/lib/rave-jpa-0.15.jar
[INFO] [talledLocalContainer] at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)
[INFO] [talledLocalContainer] at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)
[INFO] [talledLocalContainer] at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:630)
[INFO] [talledLocalContainer] at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:148)
[INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1035)
[INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:939)
[INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485)
[INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
[INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
[INFO] [talledLocalContainer] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
[INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
[INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
[INFO] [talledLocalContainer] at org.springframework.aop.framework.autoproxy.BeanFactoryAdvisorRetrievalHelper.findAdvisorBeans(BeanFactoryAdvisorRetrievalHelper.java:86)
[INFO] [talledLocalContainer] at org.springframework.aop.framework.autoproxy.AbstractAdvisorAutoProxyCreator.findCandidateAdvisors(AbstractAdvisorAutoProxyCreator.java:100)
[INFO] [talledLocalContainer] at org.springframework.aop.aspectj.annotation.AnnotationAwareAspectJAutoProxyCreator.findCandidateAdvisors(AnnotationAwareAspectJAutoProxyCreator.java:84)
[INFO] [talledLocalContainer] at org.springframework.aop.aspectj.autoproxy.AspectJAwareAdvisorAutoProxyCreator.shouldSkip(AspectJAwareAdvisorAutoProxyCreator.java:107)
[INFO] [talledLocalContainer] at org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.postProcessBeforeInstantiation(AbstractAutoProxyCreator.java:278)
[INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInstantiation(AbstractAutowireCapableBeanFactory.java:880)
[INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.resolveBeforeInstantiation(AbstractAutowireCapableBeanFactory.java:852)
[INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:446)
[INFO] [talledLocalContainer] ... 56 more
[INFO] [talledLocalContainer] Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.security.access.method.DelegatingMethodSecurityMetadataSource#0': Cannot create inner bean '(inner bean)' of type [org.springframework.security.access.prepost.PrePostAnnotationSecurityMetadataSource] while setting constructor argument with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)': Cannot create inner bean '(inner bean)' of type [org.springframework.security.access.expression.method.ExpressionBasedAnnotationAttributeFactory] while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)': Cannot resolve reference to bean 'expressionHandler' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'expressionHandler' defined in ServletContext resource [/WEB-INF/applicationContext-security.xml]: Cannot resolve reference to bean 'ravePermissionEvaluator' while setting bean property 'permissionEvaluator'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'ravePermissionEvaluator' defined in URL [jar:file:/Users/ryanjbaxter/workspaces/opensocial/rave-accelerator/rave-package/target/tomcat6x/webapps/portal/WEB-INF/lib/rave-core-0.15.jar!/org/apache/rave/portal/security/impl/RavePermissionEvaluator.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [java.util.List]: : Error creating bean with name 'defaultCategoryPermissionEvaluator' defined in URL [jar:file:/Users/ryanjbaxter/workspaces/opensocial/rave-accelerator/rave-package/target/tomcat6x/webapps/portal/WEB-INF/lib/rave-core-0.15.jar!/org/apache/rave/portal/security/impl/DefaultCategoryPermissionEvaluator.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [org.apache.rave.portal.repository.CategoryRepository]: : Error creating bean with name 'jpaCategoryRepository': Injection of persistence dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in URL [jar:file:/Users/ryanjbaxter/workspaces/opensocial/rave-accelerator/rave-package/target/tomcat6x/webapps/portal/WEB-INF/lib/rave-jpa-0.16.jar!/org/apache/rave/jpa-applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: Conflicting persistence unit definitions for name 'ravePersistenceUnit': file:/Users/ryanjbaxter/workspaces/opensocial/rave-accelerator/rave-package/target/tomcat6x/webapps/portal/WEB-INF/lib/rave-jpa-0.16.jar, file:/Users/ryanjbaxter/workspaces/opensocial/rave-accelerator/rave-package/target/tomcat6x/webapps/portal/WEB-INF/lib/rave-jpa-0.15.jar; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jpaCategoryRepository': Injection of persistence dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in URL [jar:file:/Users/ryanjbaxter/workspaces/opensocial/rave-accelerator/rave-package/target/tomcat6x/webapps/portal/WEB-INF/lib/rave-jpa-0.16.jar!/org/apache/rave/jpa-applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: Conflicting persistence unit definitions for name 'ravePersistenceUnit': file:/Users/ryanjbaxter/workspaces/opensocial/rave-accelerator/rave-package/target/tomcat6x/webapps/portal/WEB-INF/lib/rave-jpa-0.16.jar, file:/Users/ryanjbaxter/workspaces/opensocial/rave-accelerator/rave-package/target/tomcat6x/webapps/portal/WEB-INF/lib/rave-jpa-0.15.jar; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'defaultCategoryPermissionEvaluator' defined in URL [jar:file:/Users/ryanjbaxter/workspaces/opensocial/rave-accelerator/rave-package/target/tomcat6x/webapps/portal/WEB-INF/lib/rave-core-0.15.jar!/org/apache/rave/portal/security/impl/DefaultCategoryPermissionEvaluator.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [org.apache.rave.portal.repository.CategoryRepository]: : Error creating bean with name 'jpaCategoryRepository': Injection of persistence dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in URL [jar:file:/Users/ryanjbaxter/workspaces/opensocial/rave-accelerator/rave-package/target/tomcat6x/webapps/portal/WEB-INF/lib/rave-jpa-0.16.jar!/org/apache/rave/jpa-applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: Conflicting persistence unit definitions for name 'ravePersistenceUnit': file:/Users/ryanjbaxter/workspaces/opensocial/rave-accelerator/rave-package/target/tomcat6x/webapps/portal/WEB-INF/lib/rave-jpa-0.16.jar, file:/Users/ryanjbaxter/workspaces/opensocial/rave-accelerator/rave-package/target/tomcat6x/webapps/portal/WEB-INF/lib/rave-jpa-0.15.jar; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jpaCategoryRepository': Injection of persistence dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in URL [jar:file:/Users/ryanjbaxter/workspaces/opensocial/rave-accelerator/rave-package/target/tomcat6x/webapps/portal/WEB-INF/lib/rave-jpa-0.16.jar!/org/apache/rave/jpa-applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: Conflicting persistence unit definitions for name 'ravePersistenceUnit': file:/Users/ryanjbaxter/workspaces/opensocial/rave-accelerator/rave-package/target/tomcat6x/webapps/portal/WEB-INF/lib/rave-jpa-0.16.jar, file:/Users/ryanjbaxter/workspaces/opensocial/rave-accelerator/rave-package/target/tomcat6x/webapps/portal/WEB-INF/lib/rave-jpa-0.15.jar
[INFO] [talledLocalContainer] at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:281)
[INFO] [talledLocalContainer] at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:125)
[INFO] [talledLocalContainer] at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedList(BeanDefinitionValueResolver.java:353)
[INFO] [talledLocalContainer] at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:153)
[INFO] [talledLocalContainer] at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:630)
[INFO] [talledLocalContainer] at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:148)
[INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1035)
[INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:939)
[INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485)
[INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
[INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
[INFO] [talledLocalContainer] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
[INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
[INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
[INFO] [talledLocalContainer] at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)
[INFO] [talledLocalContainer] ... 75 more
[INFO] [talledLocalContainer] Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)': Cannot create inner bean '(inner bean)' of type [org.springframework.security.access.expression.method.ExpressionBasedAnnotationAttributeFactory] while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)': Cannot resolve reference to bean 'expressionHandler' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'expressionHandler' defined in ServletContext resource [/WEB-INF/applicationContext-security.xml]: Cannot resolve reference to bean 'ravePermissionEvaluator' while setting bean property 'permissionEvaluator'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'ravePermissionEvaluator' defined in URL [jar:file:/Users/ryanjbaxter/workspaces/opensocial/rave-accelerator/rave-package/target/tomcat6x/webapps/portal/WEB-INF/lib/rave-core-0.15.jar!/org/apache/rave/portal/security/impl/RavePermissionEvaluator.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [java.util.List]: : Error creating bean with name 'defaultCategoryPermissionEvaluator' defined in URL [jar:file:/Users/ryanjbaxter/workspaces/opensocial/rave-accelerator/rave-package/target/tomcat6x/webapps/portal/WEB-INF/lib/rave-core-0.15.jar!/org/apache/rave/portal/security/impl/DefaultCategoryPermissionEvaluator.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [org.apache.rave.portal.repository.CategoryRepository]: : Error creating bean with name 'jpaCategoryRepository': Injection of persistence dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in URL [jar:file:/Users/ryanjbaxter/workspaces/opensocial/rave-accelerator/rave-package/target/tomcat6x/webapps/portal/WEB-INF/lib/rave-jpa-0.16.jar!/org/apache/rave/jpa-applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: Conflicting persistence unit definitions for name 'ravePersistenceUnit': file:/Users/ryanjbaxter/workspaces/opensocial/rave-accelerator/rave-package/target/tomcat6x/webapps/portal/WEB-INF/lib/rave-jpa-0.16.jar, file:/Users/ryanjbaxter/workspaces/opensocial/rave-accelerator/rave-package/target/tomcat6x/webapps/portal/WEB-INF/lib/rave-jpa-0.15.jar; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jpaCategoryRepository': Injection of persistence dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in URL [jar:file:/Users/ryanjbaxter/workspaces/opensocial/rave-accelerator/rave-package/target/tomcat6x/webapps/portal/WEB-INF/lib/rave-jpa-0.16.jar!/org/apache/rave/jpa-applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: Conflicting persistence unit definitions for name 'ravePersistenceUnit': file:/Users/ryanjbaxter/workspaces/opensocial/rave-accelerator/rave-package/target/tomcat6x/webapps/portal/WEB-INF/lib/rave-jpa-0.16.jar, file:/Users/ryanjbaxter/workspaces/opensocial/rave-accelerator/rave-package/target/tomcat6x/webapps/portal/WEB-INF/lib/rave-jpa-0.15.jar; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'defaultCategoryPermissionEvaluator' defined in URL [jar:file:/Users/ryanjbaxter/workspaces/opensocial/rave-accelerator/rave-package/target/tomcat6x/webapps/portal/WEB-INF/lib/rave-core-0.15.jar!/org/apache/rave/portal/security/impl/DefaultCategoryPermissionEvaluator.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [org.apache.rave.portal.repository.CategoryRepository]: : Error creating bean with name 'jpaCategoryRepository': Injection of persistence dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in URL [jar:file:/Users/ryanjbaxter/workspaces/opensocial/rave-accelerator/rave-package/target/tomcat6x/webapps/portal/WEB-INF/lib/rave-jpa-0.16.jar!/org/apache/rave/jpa-applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: Conflicting persistence unit definitions for name 'ravePersistenceUnit': file:/Users/ryanjbaxter/workspaces/opensocial/rave-accelerator/rave-package/target/tomcat6x/webapps/portal/WEB-INF/lib/rave-jpa-0.16.jar, file:/Users/ryanjbaxter/workspaces/opensocial/rave-accelerator/rave-package/target/tomcat6x/webapps/portal/WEB-INF/lib/rave-jpa-0.15.jar; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jpaCategoryRepository': Injection of persistence dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in URL [jar:file:/Users/ryanjbaxter/workspaces/opensocial/rave-accelerator/rave-package/target/tomcat6x/webapps/portal/WEB-INF/lib/rave-jpa-0.16.jar!/org/apache/rave/jpa-applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: Conflicting persistence unit definitions for name 'ravePersistenceUnit': file:/Users/ryanjbaxter/workspaces/opensocial/rave-accelerator/rave-package/target/tomcat6x/webapps/portal/WEB-INF/lib/rave-jpa-0.16.jar, file:/Users/ryanjbaxter/workspaces/opensocial/rave-accelerator/rave-package/target/tomcat6x/webapps/portal/WEB-INF/lib/rave-jpa-0.15.jar
[INFO] [talledLocalContainer] at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:281)
[INFO] [talledLocalContainer] at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:125)
[INFO] [talledLocalContainer] at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:616)
[INFO] [talledLocalContainer] at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:148)
[INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1035)
[INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:939)
[INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485)
[INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
[INFO] [talledLocalContainer] at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:270)
[INFO] [talledLocalContainer] ... 89 more
[INFO] [talledLocalContainer] Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)': Cannot resolve reference to bean 'expressionHandler' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'expressionHandler' defined in ServletContext resource [/WEB-INF/applicationContext-security.xml]: Cannot resolve reference to bean 'ravePermissionEvaluator' while setting bean property 'permissionEvaluator'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'ravePermissionEvaluator' defined in URL [jar:file:/Users/ryanjbaxter/workspaces/opensocial/rave-accelerator/rave-package/target/tomcat6x/webapps/portal/WEB-INF/lib/rave-core-0.15.jar!/org/apache/rave/portal/security/impl/RavePermissionEvaluator.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [java.util.List]: : Error creating bean with name 'defaultCategoryPermissionEvaluator' defined in URL [jar:file:/Users/ryanjbaxter/workspaces/opensocial/rave-accelerator/rave-package/target/tomcat6x/webapps/portal/WEB-INF/lib/rave-core-0.15.jar!/org/apache/rave/portal/security/impl/DefaultCategoryPermissionEvaluator.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [org.apache.rave.portal.repository.CategoryRepository]: : Error creating bean with name 'jpaCategoryRepository': Injection of persistence dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in URL [jar:file:/Users/ryanjbaxter/workspaces/opensocial/rave-accelerator/rave-package/target/tomcat6x/webapps/portal/WEB-INF/lib/rave-jpa-0.16.jar!/org/apache/rave/jpa-applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: Conflicting persistence unit definitions for name 'ravePersistenceUnit': file:/Users/ryanjbaxter/workspaces/opensocial/rave-accelerator/rave-package/target/tomcat6x/webapps/portal/WEB-INF/lib/rave-jpa-0.16.jar, file:/Users/ryanjbaxter/workspaces/opensocial/rave-accelerator/rave-package/target/tomcat6x/webapps/portal/WEB-INF/lib/rave-jpa-0.15.jar; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jpaCategoryRepository': Injection of persistence dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in URL [jar:file:/Users/ryanjbaxter/workspaces/opensocial/rave-accelerator/rave-package/target/tomcat6x/webapps/portal/WEB-INF/lib/rave-jpa-0.16.jar!/org/apache/rave/jpa-applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: Conflicting persistence unit definitions for name 'ravePersistenceUnit': file:/Users/ryanjbaxter/workspaces/opensocial/rave-accelerator/rave-package/target/tomcat6x/webapps/portal/WEB-INF/lib/rave-jpa-0.16.jar, file:/Users/ryanjbaxter/workspaces/opensocial/rave-accelerator/rave-package/target/tomcat6x/webapps/portal/WEB-INF/lib/rave-jpa-0.15.jar; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'defaultCategoryPermissionEvaluator' defined in URL [jar:file:/Users/ryanjbaxter/workspaces/opensocial/rave-accelerator/rave-package/target/tomcat6x/webapps/portal/WEB-INF/lib/rave-core-0.15.jar!/org/apache/rave/portal/security/impl/DefaultCategoryPermissionEvaluator.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [org.apache.rave.portal.repository.CategoryRepository]: : Error creating bean with name 'jpaCategoryRepository': Injection of persistence dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in URL [jar:file:/Users/ryanjbaxter/workspaces/opensocial/rave-accelerator/rave-package/target/tomcat6x/webapps/portal/WEB-INF/lib/rave-jpa-0.16.jar!/org/apache/rave/jpa-applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: Conflicting persistence unit definitions for name 'ravePersistenceUnit': file:/Users/ryanjbaxter/workspaces/opensocial/rave-accelerator/rave-package/target/tomcat6x/webapps/portal/WEB-INF/lib/rave-jpa-0.16.jar, file:/Users/ryanjbaxter/workspaces/opensocial/rave-accelerator/rave-package/target/tomcat6x/webapps/portal/WEB-INF/lib/rave-jpa-0.15.jar; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jpaCategoryRepository': Injection of persistence dependencies failed; nested exception is org.springframework.beans.factory.BeanCreatio

@ghost ghost assigned mfranklin Oct 15, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants