[ 
https://issues.apache.org/jira/browse/RAVE-904?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13591895#comment-13591895
 ] 

Raminderjeet Singh commented on RAVE-904:
-----------------------------------------

I am able to find the cause but try to find how to fix it. Problem is because 
of moving test-dataContext.xml to rave-portal/src/test/resources_jpa. If i move 
the file to rave-portal/src/test/resources dist build is working fine.. i will 
compare dist maven profile with normal profile. 
                
> 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

Reply via email to