[+Darshana, Maduranga] We found a workaround solution for this issue.
We used -X flag to get more debug logs. org.eclipse.osgi_3.8.0.v20110726-1606.jar was the final jar installed during the execution. So we assumed the issue was in this file. Even though we imported the certificates of the jar file to the cacert store, It didn't work. When we tested with java7, it worked fine. So we copied the contents of cacert store of java 7 and pasted in the cacert store of java 8. Now it works fine. Thanks Maduranga and Darshana Regards, Piraveena *Piraveena Paralogarajah* Intern- Software Engineering | WSO2 *Email *: [email protected] *Mobile* : +94776099594 <http://wso2.com/signature> On Thu, Jul 20, 2017 at 3:42 PM, Piraveena Paralogarajah <[email protected] > wrote: > Hi, > > I tried to build the product-is. When building product-is using java 1.8, > the build was failed due to error - one or more certificates rejected. > > Error log: > > [INFO] Command line: > /bin/sh -c cd > /home/piraveena/Documents/wso2/product_is/product-is/modules/p2-profile-gen > && /usr/lib/jvm/java-8-oracle/jre/bin/java -jar > /home/piraveena/.m2/repository/org/eclipse/tycho/tycho-p2- > runtime/0.13.0/eclipse/plugins/org.eclipse.equinox. > launcher_1.2.0.v20110725-1610.jar -nosplash -application > org.eclipse.equinox.p2.director -metadataRepository > file:/home/piraveena/Documents/wso2/product_is/product-is/ > modules/p2-profile-gen/target/p2-repo -artifactRepository > file:/home/piraveena/Documents/wso2/product_is/product-is/ > modules/p2-profile-gen/target/p2-repo -installIU carbon.product.id > -profileProperties > org.eclipse.update.install.features=true -profile is -bundlepool > file:/home/piraveena/Documents/wso2/product_is/product-is/ > modules/p2-profile-gen/target/wso2carbon-core-4.4.16/repository/components > -shared file:/home/piraveena/Documents/wso2/product_is/product-is/ > modules/p2-profile-gen/target/wso2carbon-core-4.4.16/repository/components/p2 > -destination file:/home/piraveena/Documents/wso2/product_is/product-is/ > modules/p2-profile-gen/target/wso2carbon-core-4.4.16/repository/components/is > -p2.os linux -p2.ws gtk -p2.arch x86 -roaming > Installing carbon.product.id 5.4.0.SNAPSHOT. > Installation failed. > One or more certificates rejected. Cannot proceed with installation. > Application failed, log file location: /home/piraveena/.m2/repository > /org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/ > configuration/1500539238509.log > > [INFO] ------------------------------------------------------------ > ------------ > [INFO] Reactor Summary: > [INFO] > [INFO] WSO2 Identity Server ............................... SUCCESS [ > 1.448 s] > [INFO] org.wso2.carbon.is.migrate.client .................. SUCCESS [ > 31.276 s] > [INFO] WSO2 Identity Server Styles Parent ................. SUCCESS [ > 0.069 s] > [INFO] Identity Server: UI styles ......................... SUCCESS [ > 1.592 s] > [INFO] WSO2 IS - Features Aggregator Module ............... SUCCESS [ > 0.046 s] > [INFO] WSO2 IS - Style Features ........................... SUCCESS [ > 1.635 s] > [INFO] WSO2 IS - Utils Features ........................... SUCCESS [ > 1.138 s] > [INFO] WSO2 Carbon - Identity UI Feature .................. SUCCESS [ > 1.054 s] > [INFO] WSO2 IS - IS Profile Generation .................... FAILURE [03:44 > min] > [INFO] Identity Server : Connector ........................ SKIPPED > [INFO] Identity Server : identity-authenticators .......... SKIPPED > [INFO] Identity Server : Social-authenticators ............ SKIPPED > [INFO] Identity Server : Provisioning Connectors .......... SKIPPED > [INFO] Identity Server : identity-local-authenticators .... SKIPPED > [INFO] Identity Server : oauth2-grant-types ............... SKIPPED > [INFO] Identity Server .................................... SKIPPED > [INFO] Identity Server : Samples .......................... SKIPPED > [INFO] Identity Server : User Mgt Samples ................. SKIPPED > [INFO] Samples/Remote User Management ..................... SKIPPED > [INFO] Identity Server : SCIM Samples ..................... SKIPPED > [INFO] scim-provisioning .................................. SKIPPED > [INFO] Identity Server : OAuth 1.0a samples with Identity Server SKIPPED > [INFO] WSO2 Carbon - OAuth10a Resource Owner Equivalent ... SKIPPED > [INFO] Identity Server : OAuth2.0 Samples with Identity Server 5.2.0 > SKIPPED > [INFO] OAuth 2.0 Playground App with WSO2 Identity Server 5.2.0 SKIPPED > [INFO] OAuth 2.0 Custom Grant ............................. SKIPPED > [INFO] Identity Server : SSO Samples ...................... SKIPPED > [INFO] Travelocity.COM ServiceProvider / RelyingParty Webapp SKIPPED > [INFO] Identity Server : XACML Samples .................... SKIPPED > [INFO] WSO2 Entitlement Sample Online Trading ............. SKIPPED > [INFO] Identity Server : STS Samples ...................... SKIPPED > [INFO] STS Client ......................................... SKIPPED > [INFO] Identity Server : Passive STS Samples .............. SKIPPED > [INFO] PassiveSTSSample ................................... SKIPPED > [INFO] org.wso2.identity.passivests.filter ................ SKIPPED > [INFO] PassiveSTSSampleApp ................................ SKIPPED > [INFO] Identity Server : InfoRecoverySample Maven Webapp .. SKIPPED > [INFO] InfoRecoverySample Maven Webapp .................... SKIPPED > [INFO] Identity Server : Workflow Samples ................. SKIPPED > [INFO] sample-handler ..................................... SKIPPED > [INFO] Identity Server Integration Tests .................. SKIPPED > [INFO] WSO2 IS - Integration Test Admin Clients Module .... SKIPPED > [INFO] WSO2 IS - Integration UI Pages Module .............. SKIPPED > [INFO] WSO2 IS - Integration Test Utils Module ............ SKIPPED > [INFO] Custom Attribute Finder ............................ SKIPPED > [INFO] WSO2 Identity Integration Test Common .............. SKIPPED > [INFO] Identity Test Back-end Module ...................... SKIPPED > [INFO] org.wso2.identity.integration.test ................. SKIPPED > [INFO] ------------------------------------------------------------ > ------------ > [INFO] BUILD FAILURE > [INFO] ------------------------------------------------------------ > ------------ > [INFO] Total time: 04:26 min > [INFO] Finished at: 2017-07-20T13:57:21+05:30 > [INFO] Final Memory: 94M/783M > [INFO] -------------------------------------------------------- > > Please kindly help. > > Thanks, > Piraveena > *Piraveena Paralogarajah* > Intern- Software Engineering | WSO2 > *Email *: [email protected] > *Mobile* : +94776099594 <+94%2077%20609%209594> > <http://wso2.com/signature> >
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
