[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wsf-java-dev
Subject:    [Dev] [DEV] [APIM] Problem with APIM compile
From:       N Nolex <nolex90 () gmail ! com>
Date:       2018-11-25 20:32:01
Message-ID: CAAxo3-rFU59=-6bLN4Oc7PyLYGsDCeVJE3khfSV-F5sNfciPTg () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi folks,

I'd like to compile the wso2-apimanager, version 2.6.0.
I followed this github pull request, but this certificate exists.
https://github.com/wso2/product-ei/pull/779/files

What can be the problem?
Ubuntu 18.04
Setup:

> 
> * 4            /usr/lib/jvm/java-8-oracle/jre/bin/java          1081
> manual mode
> 
> * 3            /usr/lib/jvm/java-8-oracle/bin/javac          1081
> manual mode
> 
> HEAD is now at a87463944 [maven-release-plugin] prepare release v2.6.0-rc3
> Picked up _JAVA_OPTIONS:
> -Djdk.net.URLClassPath.disableClassPathURLCheck=true
> -Dmaven.repo.local=/home/nolex/maven-cache-rep
> 

Received logs:

[INFO]
> [INFO] --- carbon-p2-plugin:1.5.4:materialize-product
> (creating-gateway-worker-profile) @ am-p2-profile ---
> [INFO] Command line:
> /bin/sh -c cd
> /home/nolex/icontest-workdir/product-apim/modules/p2-profile/product &&
> /usr/lib/jvm/java-8-oracle/jre/bin/java -jar
> /home/nolex/maven-cache-repo/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/nolex/icontest-workdir/product-apim/modules/p2-profile/product/target/p2-repo
>                 
> -artifactRepository
> file:/home/nolex/icontest-workdir/product-apim/modules/p2-profile/product/target/p2-repo
>                 
> -installIU carbon.product.id -profileProperties
> org.eclipse.update.install.features=true -profile gateway-worker
> -bundlepool
> file:/home/nolex/icontest-workdir/product-apim/modules/p2-profile/product/target/wso2carbon-core-4.4.35/repository/components
>                 
> -shared
> file:/home/nolex/icontest-workdir/product-apim/modules/p2-profile/product/target/wso2carbon-core-4.4.35/repository/components/p2
>                 
> -destination
> file:/home/nolex/icontest-workdir/product-apim/modules/p2-profile/product/target/wso2carbon-core-4.4.35/repository/components/gateway-worker
>                 
> -p2.os linux -p2.ws gtk -p2.arch x86 -roaming
> Picked up _JAVA_OPTIONS:
> -Djdk.net.URLClassPath.disableClassPathURLCheck=true
> -Dmaven.repo.local=/home/nolex/maven-cache-repo
> Installing carbon.product.id 4.4.35.
> Installation failed.
> One or more certificates rejected. Cannot proceed with installation.
> Application failed, log file location:
> /home/nolex/maven-cache-repo/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/configuration/1543176611117.log
>  
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] WSO2 API Manager - Aggregator Module ............... SUCCESS [
> 0.696 s]
> [INFO] WSO2 API Manager - Styles Parent ................... SUCCESS [
> 0.054 s]
> [INFO] WSO2 API Manager - Styles .......................... SUCCESS [
> 1.346 s]
> [INFO] WSO2 Stratos  API Manager - UI styles .............. SUCCESS [
> 1.948 s]
> [INFO] WSO2 API Manager - Multi Tenant Dashboard .......... SUCCESS [
> 0.862 s]
> [INFO] WSO2 API Manager - Features Parent ................. SUCCESS [
> 0.018 s]
> [INFO] WSO2 API Manager - Features Aggregator Module ...... SUCCESS [
> 0.015 s]
> [INFO] WSO2 API Manager - Styles Features ................. SUCCESS [
> 0.506 s]
> [INFO] WSO2 API Manager - Multi Tenant Dashboard Feature .. SUCCESS [
> 1.049 s]
> [INFO] Samples ............................................ SUCCESS [
> 0.522 s]
> [INFO] Clients for samples ................................ SUCCESS [
> 0.102 s]
> [INFO] Publisher API client ............................... SUCCESS [
> 1.281 s]
> [INFO] Store API client ................................... SUCCESS [
> 0.686 s]
> [INFO] Admin API client ................................... SUCCESS [
> 0.559 s]
> [INFO] Back end Service ................................... SUCCESS [
> 1.253 s]
> [INFO] Sample Utils ....................................... SUCCESS [
> 2.166 s]
> [INFO] Sample One ......................................... SUCCESS [
> 11.988 s]
> [INFO] Sample Two ......................................... SUCCESS [
> 11.629 s]
> [INFO] Sample Four ........................................ SUCCESS [
> 9.810 s]
> [INFO] Sample Seven ....................................... SUCCESS [
> 11.318 s]
> [INFO] Sample Eight ....................................... SUCCESS [
> 10.438 s]
> [INFO] Sample Nine ........................................ SUCCESS [
> 10.163 s]
> [INFO] Sample Ten ......................................... SUCCESS [
> 9.749 s]
> [INFO] WSO2 API Manager - P2 Profile Generation Parent .... SUCCESS [
> 0.010 s]
> [INFO] WSO2 API Manager - P2 Profile Generation ........... FAILURE [
> 32.292 s]
> [INFO] API Manager : oauth2-grant-types ................... SKIPPED
> [INFO] WSO2 API Manager - Distribution Parent ............. SKIPPED
> [INFO] WSO2 API Manager - Distribution .................... SKIPPED
> [INFO] WSO2 API Manager - API Import Export ............... SKIPPED
> [INFO] WSO2 API Manager - Integration Tests ............... SKIPPED
> [INFO] WSO2 API Manager - Integration Test Common Module .. SKIPPED
> [INFO] WSO2 API Manager - Integration Admin Clients Module  SKIPPED
> [INFO] WSO2 API Manager - Integration Common Test Module .. SKIPPED
> [INFO] WSO2 API Manager - Test Artifacts Tests ............ SKIPPED
> [INFO] WSO2 API Manager - RestFul Backend Module for Integration Tests
> SKIPPED
> [INFO] WSO2 API Manager - ArtifactDeploymentMonitor WebApp  SKIPPED
> [INFO] org.wso2.am.framework.extensions ................... SKIPPED
> [INFO] WSO2 API Manager - Integration Extensions Module ... SKIPPED
> [INFO] WSO2 API Manager - Integration UI Pages Module ..... SKIPPED
> [INFO] WSO2 API Manager - Integration New Test Module ..... SKIPPED
> [INFO] WSO2 API Manager - Based on product backend Test Module SKIPPED
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 02:01 min
> [INFO] Finished at: 2018-11-25T21:10:13+01:00
> [INFO] Final Memory: 91M/774M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.wso2.maven:carbon-p2-plugin:1.5.4:materialize-product
> (creating-gateway-worker-profile) on project am-p2-profile: Cannot generate
> P2 metadata: P2 publisher return code was 13 -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the
> -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions,
> please read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the
> command
> 
> 
Thanks: Matyas


[Attachment #5 (text/html)]

<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div \
class="gmail_default" style="font-family:tahoma,sans-serif">Hi folks,</div><div \
class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div \
class="gmail_default" style="font-family:tahoma,sans-serif">I&#39;d like to compile \
the wso2-apimanager, version 2.6.0.</div><div class="gmail_default" \
style="font-family:tahoma,sans-serif">I followed this github pull request, but this \
certificate exists.<br><a \
href="https://github.com/wso2/product-ei/pull/779/files">https://github.com/wso2/product-ei/pull/779/files</a></div><div \
class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div \
class="gmail_default" style="font-family:tahoma,sans-serif">What can be the \
problem?<br></div><div class="gmail_default" \
style="font-family:tahoma,sans-serif">Ubuntu 18.04<br></div><div \
class="gmail_default" style="font-family:tahoma,sans-serif">Setup:</div><blockquote \
class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex"><div class="gmail_default" \
style="font-family:tahoma,sans-serif"><br>* 4                       \
/usr/lib/jvm/java-8-oracle/jre/bin/java                   1081           manual \
mode<br><br>* 3                       /usr/lib/jvm/java-8-oracle/bin/javac            \
1081           manual mode<br><br></div></blockquote><blockquote class="gmail_quote" \
style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex"><div><span class="gmail_default" \
style="font-family:tahoma,sans-serif">HEAD is now at a87463944 [maven-release-plugin] \
prepare release v2.6.0-rc3<br>Picked up _JAVA_OPTIONS: \
-Djdk.net.URLClassPath.disableClassPathURLCheck=true \
-Dmaven.repo.local=/home/nolex/maven-cache-rep</span>  </div></blockquote><div \
class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div \
class="gmail_default" style="font-family:tahoma,sans-serif">Received \
logs:<br><br><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">[INFO] <br>[INFO] --- \
carbon-p2-plugin:1.5.4:materialize-product (creating-gateway-worker-profile) @ \
am-p2-profile ---<br>[INFO] Command line:<br>       /bin/sh -c cd \
/home/nolex/icontest-workdir/product-apim/modules/p2-profile/product &amp;&amp; \
/usr/lib/jvm/java-8-oracle/jre/bin/java -jar \
/home/nolex/maven-cache-repo/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/nolex/icontest-workdir/product-apim/modules/p2-profile/product/target/p2-repo \
-artifactRepository file:/home/nolex/icontest-workdir/product-apim/modules/p2-profile/product/target/p2-repo \
-installIU <a href="http://carbon.product.id">carbon.product.id</a> \
-profileProperties org.eclipse.update.install.features=true -profile gateway-worker \
-bundlepool file:/home/nolex/icontest-workdir/product-apim/modules/p2-profile/product/target/wso2carbon-core-4.4.35/repository/components \
-shared file:/home/nolex/icontest-workdir/product-apim/modules/p2-profile/product/target/wso2carbon-core-4.4.35/repository/components/p2 \
-destination file:/home/nolex/icontest-workdir/product-apim/modules/p2-profile/product/target/wso2carbon-core-4.4.35/repository/components/gateway-worker \
-p2.os linux -<a href="http://p2.ws">p2.ws</a> gtk -p2.arch x86 -roaming<br>Picked up \
_JAVA_OPTIONS: -Djdk.net.URLClassPath.disableClassPathURLCheck=true \
-Dmaven.repo.local=/home/nolex/maven-cache-repo<br>Installing <a \
href="http://carbon.product.id">carbon.product.id</a> 4.4.35.<br>Installation \
failed.<br>One or more certificates rejected. Cannot proceed with \
installation.<br>Application failed, log file location: \
/home/nolex/maven-cache-repo/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/configuration/1543176611117.log<br><br>[INFO] \
------------------------------------------------------------------------<br>[INFO] \
Reactor Summary:<br>[INFO] <br>[INFO] WSO2 API Manager - Aggregator Module \
............... SUCCESS [   0.696 s]<br>[INFO] WSO2 API Manager - Styles Parent \
................... SUCCESS [   0.054 s]<br>[INFO] WSO2 API Manager - Styles \
.......................... SUCCESS [   1.346 s]<br>[INFO] WSO2 Stratos   API Manager \
- UI styles .............. SUCCESS [   1.948 s]<br>[INFO] WSO2 API Manager - Multi \
Tenant Dashboard .......... SUCCESS [   0.862 s]<br>[INFO] WSO2 API Manager - \
Features Parent ................. SUCCESS [   0.018 s]<br>[INFO] WSO2 API Manager - \
Features Aggregator Module ...... SUCCESS [   0.015 s]<br>[INFO] WSO2 API Manager - \
Styles Features ................. SUCCESS [   0.506 s]<br>[INFO] WSO2 API Manager - \
Multi Tenant Dashboard Feature .. SUCCESS [   1.049 s]<br>[INFO] Samples \
............................................ SUCCESS [   0.522 s]<br>[INFO] Clients \
for samples ................................ SUCCESS [   0.102 s]<br>[INFO] Publisher \
API client ............................... SUCCESS [   1.281 s]<br>[INFO] Store API \
client ................................... SUCCESS [   0.686 s]<br>[INFO] Admin API \
client ................................... SUCCESS [   0.559 s]<br>[INFO] Back end \
Service ................................... SUCCESS [   1.253 s]<br>[INFO] Sample \
Utils ....................................... SUCCESS [   2.166 s]<br>[INFO] Sample \
One ......................................... SUCCESS [ 11.988 s]<br>[INFO] Sample \
Two ......................................... SUCCESS [ 11.629 s]<br>[INFO] Sample \
Four ........................................ SUCCESS [   9.810 s]<br>[INFO] Sample \
Seven ....................................... SUCCESS [ 11.318 s]<br>[INFO] Sample \
Eight ....................................... SUCCESS [ 10.438 s]<br>[INFO] Sample \
Nine ........................................ SUCCESS [ 10.163 s]<br>[INFO] Sample \
Ten ......................................... SUCCESS [   9.749 s]<br>[INFO] WSO2 API \
Manager - P2 Profile Generation Parent .... SUCCESS [   0.010 s]<br>[INFO] WSO2 API \
Manager - P2 Profile Generation ........... FAILURE [ 32.292 s]<br>[INFO] API Manager \
: oauth2-grant-types ................... SKIPPED<br>[INFO] WSO2 API Manager - \
Distribution Parent ............. SKIPPED<br>[INFO] WSO2 API Manager - Distribution \
.................... SKIPPED<br>[INFO] WSO2 API Manager - API Import Export \
............... SKIPPED<br>[INFO] WSO2 API Manager - Integration Tests \
............... SKIPPED<br>[INFO] WSO2 API Manager - Integration Test Common Module \
.. SKIPPED<br>[INFO] WSO2 API Manager - Integration Admin Clients Module   \
SKIPPED<br>[INFO] WSO2 API Manager - Integration Common Test Module .. \
SKIPPED<br>[INFO] WSO2 API Manager - Test Artifacts Tests ............ \
SKIPPED<br>[INFO] WSO2 API Manager - RestFul Backend Module for Integration Tests \
SKIPPED<br>[INFO] WSO2 API Manager - ArtifactDeploymentMonitor WebApp   \
SKIPPED<br>[INFO] org.wso2.am.framework.extensions ................... \
SKIPPED<br>[INFO] WSO2 API Manager - Integration Extensions Module ... \
SKIPPED<br>[INFO] WSO2 API Manager - Integration UI Pages Module ..... \
SKIPPED<br>[INFO] WSO2 API Manager - Integration New Test Module ..... \
SKIPPED<br>[INFO] WSO2 API Manager - Based on product backend Test Module \
SKIPPED<br>[INFO] ------------------------------------------------------------------------<br>[INFO] \
BUILD FAILURE<br>[INFO] \
------------------------------------------------------------------------<br>[INFO] \
Total time: 02:01 min<br>[INFO] Finished at: 2018-11-25T21:10:13+01:00<br>[INFO] \
Final Memory: 91M/774M<br>[INFO] \
------------------------------------------------------------------------<br>[ERROR] \
Failed to execute goal org.wso2.maven:carbon-p2-plugin:1.5.4:materialize-product \
(creating-gateway-worker-profile) on project am-p2-profile: Cannot generate P2 \
metadata: P2 publisher return code was 13 -&gt; [Help 1]<br>[ERROR] <br>[ERROR] To \
see the full stack trace of the errors, re-run Maven with the -e switch.<br>[ERROR] \
Re-run Maven using the -X switch to enable full debug logging.<br>[ERROR] <br>[ERROR] \
For more information about the errors and possible solutions, please read the \
following articles:<br>[ERROR] [Help 1] <a \
href="http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException">http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException</a><br>[ERROR] \
<br>[ERROR] After correcting the problems, you can resume the build with the \
command<br><br></blockquote><div><br></div><div>Thanks: Matyas \
<br></div></div></div></div></div></div></div>



_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic