Hi Damith,

Hi all,

This issue was mentioned in [1] and was solved by downloading a fresh JDK
and replacing all the certificates in that.

[1] - Mail Subject: "[Dev] P2 Profile Generation Fails - One or more
certificates rejected."

Regards,
Nira

On Mon, Apr 18, 2016 at 2:33 PM, Damith Wickramasinghe <dami...@wso2.com>
wrote:

> Thanks Niranjan.
>
> Regards,
> Damith.
>
> On Mon, Apr 18, 2016 at 12:46 PM, Niranjan Karunanandham <
> niran...@wso2.com> wrote:
>
>> Hi Damith,
>>
>> As mentioned in [1], this issue happens when the certificates are not
>> trusted by the Oracle VM. A similar issue was mentioned in [2] and it was
>> sorted.
>>
>> [1] - https://bugs.eclipse.org/bugs/show_bug.cgi?id=309059
>> [2] - http://mail.wso2.org/mailarchive/dev/2014-November/039182.html
>>
>> Regards,
>> Nira
>>
>>
>> On Mon, Apr 18, 2016 at 10:30 AM, Damith Wickramasinghe <dami...@wso2.com
>> > wrote:
>>
>>> Hi Lasantha,
>>>
>>> I have checked the log file. It does not have any information other than
>>> the same thing mention in the above log One or more certificates rejected.
>>> Cannot proceed with installation. After installing the Java again solved
>>> the issue.
>>>
>>> Regards,
>>> Damith.
>>>
>>>
>>> On Mon, Apr 18, 2016 at 8:12 AM, Lasantha Fernando <lasan...@wso2.com>
>>> wrote:
>>>
>>>> Hi Damith,
>>>>
>>>> Were you able to get any more information from the log file mentioned
>>>> in the above stack trace?
>>>>
>>>> log file location: /home/damith/.m2/repository/
>>>> org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/
>>>> configuration/1460895093502.log
>>>>
>>>> Can you post any error information in that log file as well?
>>>>
>>>> Thanks,
>>>> Lasantha
>>>>
>>>> On 17 April 2016 at 22:47, Damith Wickramasinghe <dami...@wso2.com>
>>>> wrote:
>>>>
>>>>> Hi Mohan,
>>>>>
>>>>> Maven version is 3.0.5. and java is 1.7 .Following is the complete
>>>>> trace i got.
>>>>>
>>>>>  Command line:
>>>>>     /bin/sh -c cd
>>>>> /home/damith/java/wso2-repos/latestCep/product-cep/modules/p2-profile-gen
>>>>> && /usr/lib/jvm/java-7-oracle/jre/bin/java -jar
>>>>> /home/damith/.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/damith/java/wso2-repos/latestCep/product-cep/modules/p2-profile-gen/target/p2-repo
>>>>> -artifactRepository
>>>>> file:/home/damith/java/wso2-repos/latestCep/product-cep/modules/p2-profile-gen/target/p2-repo
>>>>> -installIU carbon.product.id -profileProperties
>>>>> org.eclipse.update.install.features=true -profile worker -bundlepool
>>>>> file:/home/damith/java/wso2-repos/latestCep/product-cep/modules/p2-profile-gen/target/wso2carbon-core-4.4.3/repository/components
>>>>> -shared
>>>>> file:/home/damith/java/wso2-repos/latestCep/product-cep/modules/p2-profile-gen/target/wso2carbon-core-4.4.3/repository/components/p2
>>>>> -destination
>>>>> file:/home/damith/java/wso2-repos/latestCep/product-cep/modules/p2-profile-gen/target/wso2carbon-core-4.4.3/repository/components/worker
>>>>> -p2.os linux -p2.ws gtk -p2.arch x86 -roaming
>>>>> Installing carbon.product.id 4.4.3.
>>>>> Installation failed.
>>>>> One or more certificates rejected. Cannot proceed with installation.
>>>>> Application failed, log file location:
>>>>> /home/damith/.m2/repository/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/configuration/1460895093502.log
>>>>>
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>> [INFO] Reactor Summary:
>>>>> [INFO]
>>>>> [INFO] WSO2 CEP - Parent ................................. SUCCESS
>>>>> [0.972s]
>>>>> [INFO] WSO2 CEP - Style Parent ........................... SUCCESS
>>>>> [0.040s]
>>>>> [INFO] WSO2 CEP - Styles ................................. SUCCESS
>>>>> [1.216s]
>>>>> [INFO] WSO2 Stratos CEP - Styles ......................... SUCCESS
>>>>> [0.185s]
>>>>> [INFO] WSO2 CEP - Samples Parent ......................... SUCCESS
>>>>> [0.023s]
>>>>> [INFO] WSO2 CEP - Samples Producers ...................... SUCCESS
>>>>> [0.046s]
>>>>> [INFO] WSO2 CEP - Producer - WSO2 Event Client ........... SUCCESS
>>>>> [8.591s]
>>>>> [INFO] WSO2 CEP - Publisher - HTTP Client ................ SUCCESS
>>>>> [0.336s]
>>>>> [INFO] WSO2 CEP - Publisher - JMS Client ................. SUCCESS
>>>>> [2.722s]
>>>>> [INFO] WSO2 CEP - Publisher - MQTT Client ................ SUCCESS
>>>>> [0.171s]
>>>>> [INFO] WSO2 CEP - Publisher - Kafka Client ............... SUCCESS
>>>>> [11.891s]
>>>>> [INFO] WSO2 CEP - Publisher - SOAP Client ................ SUCCESS
>>>>> [0.551s]
>>>>> [INFO] WSO2 CEP - Producer - Websocket Publisher ......... SUCCESS
>>>>> [4.295s]
>>>>> [INFO] WSO2 CEP - Producer - Performance Test ............ SUCCESS
>>>>> [0.475s]
>>>>> [INFO] WSO2 CEP - Publisher - HTTP Performance Client .... SUCCESS
>>>>> [0.166s]
>>>>> [INFO] WSO2 CEP - Publisher - Kafka Producer ............. SUCCESS
>>>>> [0.174s]
>>>>> [INFO] WSO2 CEP - Publisher - JMS Performance Client ..... SUCCESS
>>>>> [0.150s]
>>>>> [INFO] WSO2 CEP - Sample Consumers ....................... SUCCESS
>>>>> [0.035s]
>>>>> [INFO] WSO2 CEP - Consumer - WSO2 Event Server ........... SUCCESS
>>>>> [1.061s]
>>>>> [INFO] WSO2 CEP - Consumer - JMS Consumer ................ SUCCESS
>>>>> [0.145s]
>>>>> [INFO] WSO2 CEP - Consumer - MQTT Consumer ............... SUCCESS
>>>>> [0.103s]
>>>>> [INFO] WSO2 CEP - Consumer - Axis2 Log Service ........... SUCCESS
>>>>> [0.090s]
>>>>> [INFO] WSO2 CEP - Consumer - Generic Log Service ......... SUCCESS
>>>>> [1.271s]
>>>>> [INFO] WSO2 CEP - Consumer - Dashboard Service ........... SUCCESS
>>>>> [0.117s]
>>>>> [INFO] WSO2 CEP - Consumer - Websocket Consumer .......... SUCCESS
>>>>> [0.294s]
>>>>> [INFO] WSO2 CEP - Consumer - WSO2 Event Server ........... SUCCESS
>>>>> [0.788s]
>>>>> [INFO] WSO2 CEP - Consumer - HTTP Performance Service .... SUCCESS
>>>>> [0.146s]
>>>>> [INFO] WSO2 CEP - Consumer - Kafka Consumer .............. SUCCESS
>>>>> [0.143s]
>>>>> [INFO] WSO2 CEP - Consumer - JMS Performance Consumer .... SUCCESS
>>>>> [0.108s]
>>>>> [INFO] Siddhi Extension - Geo Event Fuser ................ SUCCESS
>>>>> [0.679s]
>>>>> [INFO] Siddhi Extension - Geo Event Notifier ............. SUCCESS
>>>>> [0.261s]
>>>>> [INFO] WSO2 CEP - Feature Parent ......................... SUCCESS
>>>>> [0.013s]
>>>>> [INFO] WSO2 CEP - Features ............................... SUCCESS
>>>>> [0.014s]
>>>>> [INFO] WSO2 CEP - Styles Features ........................ SUCCESS
>>>>> [0.290s]
>>>>> [INFO] WSO2 Stratos CEP - Features ....................... SUCCESS
>>>>> [0.014s]
>>>>> [INFO] WSO2 Stratos CEP - Styles Features ................ SUCCESS
>>>>> [0.058s]
>>>>> [INFO] WSO2 Stratos CEP - Dashboard UI ................... SUCCESS
>>>>> [7.802s]
>>>>> [INFO] WSO2 Stratos CEP - Dashboard UI Features .......... SUCCESS
>>>>> [1.707s]
>>>>> [INFO] WSO2 CEP - P2 Profile Generation .................. FAILURE
>>>>> [2:24.889s]
>>>>> [INFO] WSO2 Stratos CEP - Login User Interface ........... SKIPPED
>>>>> [INFO] WSO2 CEP - Storm Dependencies Jar ................. SKIPPED
>>>>> [INFO] WSO2 CEP - Distribution ........................... SKIPPED
>>>>> [INFO] WSO2 CEP - Integration Tests ...................... SKIPPED
>>>>> [INFO] WSO2 CEP - Integration Admin Client Module ........ SKIPPED
>>>>> [INFO] CEP Integration Test UI Pages ..................... SKIPPED
>>>>> [INFO] WSO2 CEP - Integration Test Utils Module .......... SKIPPED
>>>>> [INFO] WSO2 CEP - Integration Test Artifacts Module ...... SKIPPED
>>>>> [INFO] WSO2 CEP - Integration Test Module ................ SKIPPED
>>>>> [INFO] WSO2 CEP - UI Integration Test Module ............. SKIPPED
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>> [INFO] BUILD FAILURE
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>> [INFO] Total time: 3:13.477s
>>>>> [INFO] Finished at: Sun Apr 17 17:41:37 IST 2016
>>>>> [INFO] Final Memory: 68M/313M
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>> [ERROR] Failed to execute goal
>>>>> org.wso2.maven:carbon-p2-plugin:1.5.4:materialize-product
>>>>> (creating-worker-profile) on project wso2cep-profile-gen: 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]
>>>>>
>>>>> Thanks,
>>>>> Damith.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> On Sun, Apr 17, 2016 at 6:47 PM, Mohanadarshan Vivekanandalingam <
>>>>> mo...@wso2.com> wrote:
>>>>>
>>>>>> Hi Damith,
>>>>>>
>>>>>> I can see few mail threads related to this.. Seems like a maven
>>>>>> version issue.. What is the maven version you are using here ? and can 
>>>>>> you
>>>>>> add the complete error log please ?
>>>>>>
>>>>>> Thanks,
>>>>>> Mohan
>>>>>>
>>>>>>
>>>>>> On Sun, Apr 17, 2016 at 5:52 PM, Damith Wickramasinghe <
>>>>>> dami...@wso2.com> wrote:
>>>>>>
>>>>>>> Hi,
>>>>>>>
>>>>>>> I'm trying to build product CEP in a clean m2 repo. I have
>>>>>>> successfully built 
>>>>>>> siddhi,carbon-event-processing,carbon-analytics-common
>>>>>>> and carbon-dashboards. But When building product CEP I'm getting below
>>>>>>> exception. Any idea what may be the cause of it ?
>>>>>>>
>>>>>>> [ERROR] Failed to execute goal
>>>>>>> org.wso2.maven:carbon-p2-plugin:1.5.4:materialize-product
>>>>>>> (creating-worker-profile) on project wso2cep-profile-gen: Cannot 
>>>>>>> generate
>>>>>>> P2 metadata: P2 publisher return code was 13
>>>>>>>
>>>>>>> Thanks,
>>>>>>> Damith.
>>>>>>>
>>>>>>> --
>>>>>>> Software Engineer
>>>>>>> WSO2 Inc.; http://wso2.com
>>>>>>> <http://www.google.com/url?q=http%3A%2F%2Fwso2.com&sa=D&sntz=1&usg=AFQjCNEZvyc0uMD1HhBaEGCBxs6e9fBObg>
>>>>>>> lean.enterprise.middleware
>>>>>>>
>>>>>>> mobile: *+94728671315 <%2B94728671315>*
>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Dev mailing list
>>>>>>> Dev@wso2.org
>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> *V. Mohanadarshan*
>>>>>> *Senior Software Engineer,*
>>>>>> *Data Technologies Team,*
>>>>>> *WSO2, Inc. http://wso2.com <http://wso2.com> *
>>>>>> *lean.enterprise.middleware.*
>>>>>>
>>>>>> email: mo...@wso2.com
>>>>>> phone:(+94) 771117673
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Software Engineer
>>>>> WSO2 Inc.; http://wso2.com
>>>>> <http://www.google.com/url?q=http%3A%2F%2Fwso2.com&sa=D&sntz=1&usg=AFQjCNEZvyc0uMD1HhBaEGCBxs6e9fBObg>
>>>>> lean.enterprise.middleware
>>>>>
>>>>> mobile: *+94728671315 <%2B94728671315>*
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Dev mailing list
>>>>> Dev@wso2.org
>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> *Lasantha Fernando*
>>>> Senior Software Engineer - Data Technologies Team
>>>> WSO2 Inc. http://wso2.com
>>>>
>>>> email: lasan...@wso2.com
>>>> mobile: (+94) 71 5247551
>>>>
>>>
>>>
>>>
>>> --
>>> Software Engineer
>>> WSO2 Inc.; http://wso2.com
>>> <http://www.google.com/url?q=http%3A%2F%2Fwso2.com&sa=D&sntz=1&usg=AFQjCNEZvyc0uMD1HhBaEGCBxs6e9fBObg>
>>> lean.enterprise.middleware
>>>
>>> mobile: *+94728671315 <%2B94728671315>*
>>>
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>>
>> *Niranjan Karunanandham*
>> Senior Software Engineer - WSO2 Inc.
>> WSO2 Inc.: http://www.wso2.com
>>
>
>
>
> --
> Software Engineer
> WSO2 Inc.; http://wso2.com
> <http://www.google.com/url?q=http%3A%2F%2Fwso2.com&sa=D&sntz=1&usg=AFQjCNEZvyc0uMD1HhBaEGCBxs6e9fBObg>
> lean.enterprise.middleware
>
> mobile: *+94728671315 <%2B94728671315>*
>
>


-- 

*Niranjan Karunanandham*
Senior Software Engineer - WSO2 Inc.
WSO2 Inc.: http://www.wso2.com
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to