Hi Ratha, This is because of the security policy used in these test cases are using a key size larger than the default key limit restriction of the JDK. So you have to patch the JDK in your machine. You can find the Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files for jdk 1.6 from [1]. [2] explains this further.
Thanks [1]. http://www.oracle.com/technetwork/java/javase/downloads/jce-6-download-429243.html [2]. http://blog.rampartfaq.com/2009/08/error-referenced-security-token-could.html On Thu, Jul 3, 2014 at 6:15 PM, Vijayaratha Vijayasingam <[email protected]> wrote: > > 014-07-03 05:41:33,695] INFO > {org.wso2.carbon.automation.core.utils.serverutils.ServerUtils} - Shutting > down server.. > > sults : > > iled tests: > securityPolicy10(org.wso2.carbon.dss.services.test.SecureDataServiceTestCase): > Error in obtaining a token > securityPolicy11(org.wso2.carbon.dss.services.test.SecureDataServiceTestCase): > Error in obtaining a token > securityPolicy12(org.wso2.carbon.dss.services.test.SecureDataServiceTestCase): > Error in obtaining a token > securityPolicy13(org.wso2.carbon.dss.services.test.SecureDataServiceTestCase): > Error in obtaining a token > securityPolicy14(org.wso2.carbon.dss.services.test.SecureDataServiceTestCase): > Error in obtaining a token > securityPolicy15(org.wso2.carbon.dss.services.test.SecureDataServiceTestCase): > Error in obtaining a token > securityPolicy4(org.wso2.carbon.dss.services.test.SecureDataServiceTestCase): > Error in encryption > securityPolicy5(org.wso2.carbon.dss.services.test.SecureDataServiceTestCase): > Error in encryption > securityPolicy6(org.wso2.carbon.dss.services.test.SecureDataServiceTestCase): > Error in encryption > securityPolicy7(org.wso2.carbon.dss.services.test.SecureDataServiceTestCase): > Error in encryption > securityPolicy8(org.wso2.carbon.dss.services.test.SecureDataServiceTestCase): > Error in encryption > securityPolicy9(org.wso2.carbon.dss.services.test.SecureDataServiceTestCase): > Error in obtaining a token > > sts run: 175, Failures: 12, Errors: 0, Skipped: 0 > > NFO] > ------------------------------------------------------------------------ > NFO] Reactor Summary: > NFO] > NFO] WSO2 DataServices Parent .......................... SUCCESS [0.322s] > NFO] WSO2 DataServices Styles Parent ................... SUCCESS [0.012s] > NFO] DataServices UI styles ............................ SUCCESS [7.327s] > NFO] WSO2 Stratos DSS - UI styles ...................... SUCCESS [1.185s] > NFO] WSO2 DataServices Samples Parent .................. SUCCESS [0.508s] > NFO] DataServices Clients .............................. SUCCESS [39.412s] > NFO] WSO2 DataServices Features Parent ................. SUCCESS [0.010s] > NFO] WSO2 DataServices - Style Features ................ SUCCESS [0.587s] > NFO] WSO2 Stratos DSS - Style Features ................. SUCCESS [0.139s] > NFO] WSO2 Stratos DSS - Login User Interface ........... SUCCESS [6.373s] > NFO] WSO2 Stratos DSS - Deployment Features ............ SUCCESS [0.126s] > NFO] WSO2 Stratos Data Services Server - Dashboard UI .. SUCCESS [1.382s] > NFO] WSO2 Stratos DSS - Dashboard UI Features .......... SUCCESS [0.159s] > NFO] WSO2 Stratos DSS - Features Aggregator Module ..... SUCCESS [0.008s] > NFO] WSO2 DataServices - DataServices Profile Generation SUCCESS > [1:32.230s] > NFO] WSO2 Data Services Server Distribution ............ SUCCESS > [1:27.569s] > NFO] WSO2 DSS - Integration Tests ...................... SUCCESS [0.010s] > NFO] DataService Integration test module ............... FAILURE > [24:36.633s] > NFO] > ------------------------------------------------------------------------ > NFO] BUILD FAILURE > NFO] > ------------------------------------------------------------------------ > NFO] Total time: 28:35.394s > NFO] Finished at: Thu Jul 03 05:41:33 PDT 2014 > NFO] Final Memory: 98M/647M > NFO] > ------------------------------------------------------------------------ > RROR] Failed to execute goal > org.apache.maven.plugins:maven-surefire-plugin:2.12.3:test (default-test) > on project org.wso2.carbon.dss.test: There ar > test failures. > RROR] > RROR] Please refer to > /opt/checkout_chunk13/platform/branches/turing/products/dss/3.2.2/modules/integration/tests/target/surefire-reports > for the in > vidual test results. > > -- > -Ratha > mobile: (+94)755906608 > -- Best Regards.. Chanika Geeganage Software Engineer WSO2, Inc.; http://wso2.com
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
