Experienced the same issue and was able to resolve by using a different JDK version. Haven't dig further though, since it resolved after the JDK version change.
On Mon, Apr 25, 2016 at 5:11 PM, Anupama Pathirage <[email protected]> wrote: > Hi, > > When building wso2-products (Ex: DSS ,ESB) [1], I encountered the error > of "One or more certificates rejected. Cannot proceed with installation." > during the profile generation. Error log for DSS build is as follows. > Checked with java 1.7.0_80 with maven 3.0.5 and 3.3.3. Seems it may due to > recent change in my local setup since I was able to build them earlier. > > Any help on this issue is appreciated. > > > *Error Log:* > > [INFO] Running Equinox P2 Category Publisher Application for the Generated > Repository > [INFO] > [INFO] --- carbon-p2-plugin:1.5.3:publish-product (publishing product) @ > wso2dataservices-profile-gen --- > [INFO] Command line: > /bin/sh -c cd > /home/anupama/Anupama/SRC/product-dss/modules/p2-profile-gen && > /usr/lib/jvm/java-7-oracle/jre/bin/java -jar > /home/anupama/.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.publisher.ProductPublisher > -metadataRepository > file:/home/anupama/Anupama/SRC/product-dss/modules/p2-profile-gen/target/p2-repo > -artifactRepository > file:/home/anupama/Anupama/SRC/product-dss/modules/p2-profile-gen/target/p2-repo > -productFile > /home/anupama/Anupama/SRC/product-dss/modules/p2-profile-gen/carbon.product > -executables > /home/anupama/Anupama/SRC/product-dss/modules/p2-profile-gen/target/org.eclipse.equinox.executable_3.5.0.v20110530-7P7NFUFFLWUl76mart > -publishArtifacts -configs gtk.linux.x86 -flavor tooling -append > Generating metadata for .. > Generation completed with success [0 seconds]. > [INFO] > [INFO] --- carbon-p2-plugin:1.5.3:materialize-product > (creating-worker-profile) @ wso2dataservices-profile-gen --- > [INFO] Command line: > /bin/sh -c cd > /home/anupama/Anupama/SRC/product-dss/modules/p2-profile-gen && > /usr/lib/jvm/java-7-oracle/jre/bin/java -jar > /home/anupama/.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/anupama/Anupama/SRC/product-dss/modules/p2-profile-gen/target/p2-repo > -artifactRepository > file:/home/anupama/Anupama/SRC/product-dss/modules/p2-profile-gen/target/p2-repo > -installIU carbon.product.id -profileProperties > org.eclipse.update.install.features=true -profile worker -bundlepool > file:/home/anupama/Anupama/SRC/product-dss/modules/p2-profile-gen/target/wso2carbon-core-4.4.2/repository/components > -shared > file:/home/anupama/Anupama/SRC/product-dss/modules/p2-profile-gen/target/wso2carbon-core-4.4.2/repository/components/p2 > -destination > file:/home/anupama/Anupama/SRC/product-dss/modules/p2-profile-gen/target/wso2carbon-core-4.4.2/repository/components/worker > -p2.os linux -p2.ws gtk -p2.arch x86 -roaming > > *Installing carbon.product.id <http://carbon.product.id> > 4.4.2.Installation failed.One or more certificates rejected. Cannot proceed > with installation.* > > Application failed, log file location: > /home/anupama/.m2/repository/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/configuration/1461582663455.log > > [INFO] > ------------------------------------------------------------------------ > [INFO] Reactor Summary: > [INFO] > [INFO] WSO2 DataServices Parent ........................... SUCCESS [ > 0.870 s] > [INFO] WSO2 DataServices Styles Parent .................... SUCCESS [ > 0.052 s] > [INFO] DataServices UI styles ............................. SUCCESS [ > 5.762 s] > [INFO] WSO2 Stratos DSS - UI styles ....................... SUCCESS [ > 1.592 s] > [INFO] WSO2 DataServices Samples Parent ................... SUCCESS [ > 1.333 s] > [INFO] DataServices Clients ............................... SUCCESS [ > 29.003 s] > [INFO] WSO2 DataServices Features Parent .................. SUCCESS [ > 0.015 s] > [INFO] WSO2 DataServices - Style Features ................. SUCCESS [ > 1.199 s] > [INFO] WSO2 Stratos DSS - Features Aggregator Module ...... SUCCESS [ > 0.988 s] > [INFO] WSO2 Stratos DSS - Style Features .................. SUCCESS [ > 0.491 s] > [INFO] WSO2 Stratos DSS - Login User Interface ............ SUCCESS [ > 0.955 s] > [INFO] WSO2 Stratos DSS - Deployment Features ............. SUCCESS [ > 0.447 s] > [INFO] WSO2 Stratos Data Services Server - Dashboard UI ... SUCCESS [ > 0.911 s] > [INFO] WSO2 Stratos DSS - Dashboard UI Features ........... SUCCESS [ > 0.497 s] > *[INFO] WSO2 DataServices - DataServices Profile Generation FAILURE [ > 17.618 *s] > [INFO] WSO2 Data Services Server Distribution ............. SKIPPED > [INFO] WSO2 DSS - Integration Tests ....................... SKIPPED > [INFO] WSO2 DataServices Intetration Test Common .......... SKIPPED > [INFO] admin-clents ....................................... SKIPPED > [INFO] integration-test-utils ............................. SKIPPED > [INFO] integration-test-ui-pages .......................... SKIPPED > [INFO] WSO2 DataServices Intetration Test ................. SKIPPED > [INFO] org.wso2.dss.integration.test ...................... SKIPPED > [INFO] DataService Integration test UI module ............. SKIPPED > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 01:03 min > [INFO] Finished at: 2016-04-25T16:41:06+05:30 > [INFO] Final Memory: 59M/750M > [INFO] > ------------------------------------------------------------------------ > > *[ERROR] Failed to execute goal > org.wso2.maven:carbon-p2-plugin:1.5.3:materialize-product > (creating-worker-profile) on project wso2dataservices-profile-gen: Cannot > generate P2 metadata: P2 publisher return code was 13 -> [Help > 1]org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute > goal org.wso2.maven:carbon-p2-plugin:1.5.3:materialize-product > (creating-worker-profile) on project wso2dataservices-profile-gen: Cannot > generate P2 metadata* > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216) > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) > at > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116) > at > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80) > at > org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) > at > org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128) > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307) > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193) > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106) > at org.apache.maven.cli.MavenCli.execute(MavenCli.java:862) > at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:286) > at org.apache.maven.cli.MavenCli.main(MavenCli.java:197) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:606) > at > org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) > at > org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) > at > org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) > at > org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) > Caused by: org.apache.maven.plugin.MojoExecutionException: Cannot generate > P2 metadata > at > org.wso2.maven.p2.MaterializeProductMojo.execute(MaterializeProductMojo.java:89) > at > org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134) > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) > ... 20 more > Caused by: org.apache.maven.plugin.MojoFailureException: P2 publisher > return code was 13 > at > org.wso2.maven.p2.MaterializeProductMojo.deployRepository(MaterializeProductMojo.java:165) > at > org.wso2.maven.p2.MaterializeProductMojo.execute(MaterializeProductMojo.java:84) > ... 22 more > > > > [1]https://github.com/anupama-pathirage/product-dss > > Thank you. > > -- > Anupama Pathirage > Associate Technical Lead > WSO2, Inc. http://wso2.com/ > Email: [email protected] > Mobile:+94 71 8273 979 > Blog:http://mycodeideas.blogspot.com/ > > > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- *Aruna Sujith Karunarathna * WSO2, Inc | lean. enterprise. middleware. #20, Palm Grove, Colombo 03, Sri Lanka Mobile: +94 71 9040362 | Work: +94 112145345 Email: [email protected] | Web: www.wso2.com
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
