Janaka/Senaka, Please fix the path.
On Tue, Apr 5, 2011 at 11:32 AM, Amila Maha Arachchi <[email protected]>wrote: > Hi, > > This succeeds in my local machine too. > > This is the surefire report. There is a FNF Exception. > > *Tests run: 5, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 9.581 sec > <<< FAILURE! > testServiceAttachments(org.wso2.carbon.governance.api.test.ServiceTest) > Time elapsed: 1.117 sec <<< ERROR! > org.wso2.carbon.governance.api.exception.GovernanceException: Error in > adding the Policy. policy id: af61164f-b630-40d5-8633-f187a37080ac. > at > org.wso2.carbon.governance.api.policies.PolicyManager.addPolicy(PolicyManager.java:97) > at > org.wso2.carbon.governance.api.test.ServiceTest.testServiceAttachments(ServiceTest.java:171) > Caused by: org.wso2.carbon.registry.core.exceptions.RegistryException: The > URL > http://wso2.org/repos/wso2/tags/wsf/php/2.1.0/samples/security/complete/policy.xmlis > incorrect. > at > org.wso2.carbon.registry.extensions.handlers.PolicyMediaTypeHandler.importResource(PolicyMediaTypeHandler.java:140) > at > org.wso2.carbon.registry.core.jdbc.handlers.HandlerManager.importResource(HandlerManager.java:2494) > at > org.wso2.carbon.registry.core.jdbc.handlers.HandlerLifecycleManager.importResource(HandlerLifecycleManager.java:869) > at > org.wso2.carbon.registry.core.jdbc.EmbeddedRegistry.importResource(EmbeddedRegistry.java:775) > at > org.wso2.carbon.registry.core.caching.CacheBackedRegistry.importResource(CacheBackedRegistry.java:154) > at > org.wso2.carbon.registry.core.session.UserRegistry.importResource(UserRegistry.java:679) > at > org.wso2.carbon.governance.api.policies.PolicyManager.addPolicy(PolicyManager.java:90) > ... 27 more > Caused by: java.io.FileNotFoundException: > http://wso2.org/repos/wso2/tags/wsf/php/2.1.0/samples/security/complete/policy.xml > at > sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1311) > at java.net.URL.openStream(URL.java:1010) > at > org.wso2.carbon.registry.extensions.handlers.PolicyMediaTypeHandler.importResource(PolicyMediaTypeHandler.java:138) > ... 33 more* > > Refer this URL. > > * > http://wso2.org/repos/wso2/tags/wsf/php/2.1.0/samples/security/complete/policy.xml > > *When I try a wget for this URL it gives 404 in the builder machine. But > when I try with *svn*.wso2.org it downloads file. > > So, it looks like a DNS problem. I have asked Janaka to se whether he can > change this URL. > > Thanks, > AmilaM. > > > > On Tue, Apr 5, 2011 at 11:22 AM, Selvaratnam Uthaiyashankar < > [email protected]> wrote: > >> These tests are succeeding for me. >> >> By the way, why are we getting these WSDL from ww2.wso2.org? shouldn't we >> put this in to the svn? We can't run these tests if we don't have network. >> >> Shankar >> >> >> On Tue, Apr 5, 2011 at 11:04 AM, WSO2 Builder <[email protected]> wrote: >> >>> Retrieving schema at 'purchasing.xsd', relative to ' >>> http://ww2.wso2.org/~prabath/BizService.wsdl'. >>> Retrieving document at 'http://ww2.wso2.org/~prabath/BizService.wsdl'. >>> Retrieving schema at 'purchasing.xsd', relative to ' >>> http://ww2.wso2.org/~prabath/BizService.wsdl'. >>> Retrieving document at 'http://ww2.wso2.org/~prabath/BizService.wsdl'. >>> Retrieving schema at 'purchasing.xsd', relative to ' >>> http://ww2.wso2.org/~prabath/BizService.wsdl'. >>> Tests run: 5, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 8.903 sec >>> <<< FAILURE! >>> Running org.wso2.carbon.governance.api.test.EndpointTest >>> log4j:WARN No appenders could be found for logger >>> (org.wso2.carbon.utils.multitenancy.CarbonContextHolder). >>> log4j:WARN Please initialize the log4j system properly. >>> Retrieving document at 'http://ww2.wso2.org/~prabath/BizService.wsdl'. >>> Retrieving schema at 'purchasing.xsd', relative to ' >>> http://ww2.wso2.org/~prabath/BizService.wsdl'. >>> Retrieving document at 'http://ww2.wso2.org/~prabath/BizService.wsdl'. >>> Retrieving schema at 'purchasing.xsd', relative to ' >>> http://ww2.wso2.org/~prabath/BizService.wsdl'. >>> Retrieving document at 'http://ww2.wso2.org/~prabath/BizService.wsdl'. >>> Retrieving schema at 'purchasing.xsd', relative to ' >>> http://ww2.wso2.org/~prabath/BizService.wsdl'. >>> Retrieving document at 'http://ww2.wso2.org/~prabath/BizService.wsdl'. >>> Retrieving schema at 'purchasing.xsd', relative to ' >>> http://ww2.wso2.org/~prabath/BizService.wsdl'. >>> Retrieving document at ' >>> http://ww2.wso2.org/~dimuthu/wsdls/MyChangedBizService.wsdl'. >>> Retrieving schema at 'purchasing.xsd?xsd=1', relative to ' >>> http://ww2.wso2.org/~dimuthu/wsdls/MyChangedBizService.wsdl'. >>> Retrieving document at ' >>> http://ww2.wso2.org/~dimuthu/wsdls/MyChangedBizService.wsdl'. >>> Retrieving schema at 'purchasing.xsd?xsd=1', relative to ' >>> http://ww2.wso2.org/~dimuthu/wsdls/MyChangedBizService.wsdl'. >>> Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 13.67 sec >>> >>> Results : >>> >>> Tests in error: >>> >>> Tests run: 15, Failures: 0, Errors: 1, Skipped: 0 >>> >>> [INFO] >>> ------------------------------------------------------------------------ >>> [ERROR] BUILD FAILURE >>> [INFO] >>> ------------------------------------------------------------------------ >>> [INFO] There are test failures. >>> >>> Please refer to >>> /home/carbon/carbon/components/governance/org.wso2.carbon.governance.api/target/surefire-reports >>> for the individual test results. >>> [INFO] >>> ------------------------------------------------------------------------ >>> [INFO] For more information, run Maven with the -e switch >>> [INFO] >>> ------------------------------------------------------------------------ >>> [INFO] Total time: 7 minutes 7 seconds >>> [INFO] Finished at: Tue Apr 05 11:04:42 IST 2011 >>> [INFO] Final Memory: 650M/1315M >>> [INFO] >>> ------------------------------------------------------------------------ >>> _______________________________________________ >>> Carbon-dev mailing list >>> [email protected] >>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >>> >> >> >> >> -- >> S.Uthaiyashankar >> Senior Architect & Senior Manager >> WSO2 Inc. >> http://wso2.com/ - "lean . enterprise . middleware" >> >> _______________________________________________ >> Carbon-dev mailing list >> [email protected] >> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >> >> > > _______________________________________________ > Carbon-dev mailing list > [email protected] > http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev > > -- *Afkham Azeez* Senior Software Architect & Senior Manager; WSO2, Inc.; http://wso2.com, * * *Member; Apache Software Foundation; **http://www.apache.org/*<http://www.apache.org/> * email: **[email protected]* <[email protected]>* cell: +94 77 3320919 blog: **http://blog.afkham.org* <http://blog.afkham.org>* twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez> * linked-in: **http://lk.linkedin.com/in/afkhamazeez* * * *Lean . Enterprise . Middleware*
_______________________________________________ Carbon-dev mailing list [email protected] http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
