Hi,

I tried solving the issue through downloading the JCE policy files from [1]
and replacing it with the existing policy files in the path <$JAVA_HOME>
/jre/lib/security

Two policy files which were replaced are,
1. local_policy.jar
2. US_export_policy.jar

But still was not able to solve the issue.

Also i tried deleting .m2 directory and then building. Tried with java
version 1.8 too and still i get the same exception.

[1]
http://www.oracle.com/technetwork/java/javase/downloads/jce-7-download-432124.html


Regards
Saad Sahibjan

On Wed, May 11, 2016 at 10:12 PM, Saad Sahibjan <s...@wso2.com> wrote:

> Hi,
>
> I;m trying to build product EMM. I have successfully built
> 'carbon-device-mgt' and 'carbon-device-mgt-plugins'. But when building
> 'product-emm', the build fails.
>
> Maven version - 3.3.9
> Java version - 1.7
>
> I get the below exception. Trying to sort it out from a few days. Any idea
> about the issue?
>
> Installation failed.
> One or more certificates rejected. Cannot proceed with installation.
> Application failed, log file location:
> /home/saad/.m2/repository/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/configuration/1462984508624.log
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] WSO2 MDM - Parent .................................. SUCCESS [
>  1.143 s]
> [INFO] WSO2 MDM - Mobile Device Management Admin Services . SUCCESS [
> 14.680 s]
> [INFO] wso2mdm-product-mobileservices ..................... SUCCESS [
>  0.068 s]
> [INFO] JAX-RS Windows API ................................. SUCCESS [
> 13.811 s]
> [INFO] JAX-RS Android API ................................. SUCCESS [
>  4.468 s]
> [INFO] WSO2 EMM - Enterprise Mobility Manager End-user Web Application
> SUCCESS [ 12.116 s]
> [INFO] WSO2 EMM - Enterprise Mobility Manager Web Agent ... SUCCESS [
>  6.781 s]
> [INFO] WSO2 Mobile Device Manager (MDM) - UI styles ....... SUCCESS [
>  1.091 s]
> [INFO] WSO2 Mobile Device Manager (MDM) Features .......... SUCCESS [
>  0.040 s]
> [INFO] WSO2 Mobile Device Manager (MDM) Styles Feature .... SUCCESS [
>  0.448 s]
> [INFO] WSO2 Mobile Device Manager (MDM) - P2 Profile Gen .. FAILURE [
> 44.821 s]
> [INFO] WSO2 Mobile Device Manager (MDM) - Distribution .... SKIPPED
> [INFO] WSO2 MDM - Integration Tests ....................... SKIPPED
> [INFO] WSO2 MDM Integration Test Common ................... SKIPPED
> [INFO] WSO2 MDM Integration Test Common ................... SKIPPED
> [INFO] WSO2 MDM - Integration Admin Clients ............... SKIPPED
> [INFO] WSO2 MDM - Integration Test Utils .................. SKIPPED
> [INFO] WSO2 MDM - Integration Test UI Pages ............... SKIPPED
> [INFO] WSO2 MDM Backend Integration Tests ................. SKIPPED
> [INFO] WSO2 MDM - Integration Test UI Module .............. SKIPPED
> [INFO] WSO2 MDM Platform Integration Tests ................ SKIPPED
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 01:40 min
> [INFO] Finished at: 2016-05-11T22:05:15+05:30
> [INFO] Final Memory: 169M/1498M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.wso2.maven:carbon-p2-plugin:1.5.4:materialize-product
> (creating-worker-profile) on project wso2mdm-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]
> [ERROR] After correcting the problems, you can resume the build with the
> command
> [ERROR]   mvn <goals> -rf :wso2mdm-profile-gen
>
>
> Regards
> Saad
>
> --
> Saad Sahibjan
> *Software Engineer - Intern*
> E-mail : s...@wso2.com
> Mobile : +94779303127
>



-- 
Saad Sahibjan
*Software Engineer - Intern*
E-mail : s...@wso2.com
Mobile : +94779303127
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to