[
https://issues.apache.org/jira/browse/RAVE-904?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13591893#comment-13591893
]
Chris Geer commented on RAVE-904:
---------------------------------
It looks like the issue is actually with rave-portal, not the integrations
tests (from your stack trace). There just happens to be a test in rave-portal
called RenderServiceIntegrationTest. What it looks like is the default profile
(assuming you are testing JPA) isn't being executed properly and the
dataContext isn't being included. What build command are you running and what
platform are you running on?
I've tried a couple times and everything compiles and passes all the tests on
my system.
> Distribution building failing at rave-integration-tests
> -------------------------------------------------------
>
> Key: RAVE-904
> URL: https://issues.apache.org/jira/browse/RAVE-904
> Project: Rave
> Issue Type: Bug
> Components: build & development
> Affects Versions: 0.21
> Reporter: Raminderjeet Singh
> Attachments: integration-test-failure.txt
>
>
> INFO : org.springframework.beans.factory.xml.XmlBeanDefinitionReader -
> Loading XML bean definitions from class path resource
> [org/apache/rave/web-applicationContext.xml]
> INFO : org.springframework.beans.factory.xml.XmlBeanDefinitionReader -
> Loading XML bean definitions from class path resource
> [org/apache/rave/opensocial-provider-applicationContext.xml]
> INFO : org.springframework.beans.factory.support.DefaultListableBeanFactory -
> Overriding bean definition for bean 'openSocialEnvironment': replacing
> [Generic bean: class
> [org.apache.rave.provider.opensocial.config.OpenSocialEnvironment];
> scope=singleton; abstract=false; lazyInit=false; autowireMode=0;
> dependencyCheck=0; autowireCandidate=true; primary=false;
> factoryBeanName=null; factoryMethodName=null; initMethodName=null;
> destroyMethodName=null; defined in URL
> [jar:file:/home/raminder/rave/rave-providers/rave-opensocial-provider/rave-opensocial-client/target/rave-opensocial-client-0.21-SNAPSHOT.jar!/org/apache/rave/provider/opensocial/config/OpenSocialEnvironment.class]]
> with [Generic bean: class
> [org.apache.rave.provider.opensocial.config.OpenSocialEnvironment]; scope=;
> abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0;
> autowireCandidate=true; primary=false; factoryBeanName=null;
> factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined
> in class path resource
> [org/apache/rave/opensocial-provider-applicationContext.xml]]
> INFO : org.springframework.beans.factory.xml.XmlBeanDefinitionReader -
> Loading XML bean definitions from class path resource [test-dataContext.xml]
> ERROR: org.springframework.test.context.TestContextManager - Caught exception
> while allowing TestExecutionListener
> [org.springframework.test.context.web.ServletTestExecutionListener@73aecc3a]
> to prepare test instance [renderer.RenderServiceIntegrationTest@58e22f2b]
> java.lang.IllegalStateException: Failed to load ApplicationContext
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira