OpenIDM Jetty Fragment …. [FAILURE]

This topic has 8 replies, 3 voices, and was last updated 3 years, 4 months ago by Sarankon Hiranphonlakrit.

  • Author
    Posts
  • #16066

    How to fix OpenIDM Jetty Fragment …. [FAILURE] when build openidm 4.0.0

    build on centos 7

    [INFO] ------------------------------------------------------------------------
    [INFO] Building OpenIDM Jetty Fragment 4.0.0
    [INFO] ------------------------------------------------------------------------
    Downloading: http://maven.forgerock.org/repo/releases/org/ops4j/pax/web/pax-web-jetty-bundle/4.1.1/pax-web-jetty-bundle-4.1.1.pom
    Downloading: https://oss.sonatype.org/content/groups/public/org/ops4j/pax/web/pax-web-jetty-bundle/4.1.1/pax-web-jetty-bundle-4.1.1.pom
    Downloading: http://maven.restlet.org/org/ops4j/pax/web/pax-web-jetty-bundle/4.1.1/pax-web-jetty-bundle-4.1.1.pom
    Downloading: https://repo.maven.apache.org/maven2/org/ops4j/pax/web/pax-web-jetty-bundle/4.1.1/pax-web-jetty-bundle-4.1.1.pom
    Downloaded: https://repo.maven.apache.org/maven2/org/ops4j/pax/web/pax-web-jetty-bundle/4.1.1/pax-web-jetty-bundle-4.1.1.pom (7 KB at 10.3 KB/sec)
    Downloading: http://maven.forgerock.org/repo/releases/org/ops4j/pax/web/pax-web-jetty-bundle/4.1.1/pax-web-jetty-bundle-4.1.1.jar
    Downloading: https://oss.sonatype.org/content/groups/public/org/ops4j/pax/web/pax-web-jetty-bundle/4.1.1/pax-web-jetty-bundle-4.1.1.jar
    Downloading: http://maven.restlet.org/org/ops4j/pax/web/pax-web-jetty-bundle/4.1.1/pax-web-jetty-bundle-4.1.1.jar
    Downloading: https://repo.maven.apache.org/maven2/org/ops4j/pax/web/pax-web-jetty-bundle/4.1.1/pax-web-jetty-bundle-4.1.1.jar
    [INFO] ------------------------------------------------------------------------
    [INFO] Reactor Summary:
    [INFO]
    [INFO] OpenIDM project ................................... SUCCESS [2:00.807s]
    [INFO] OpenIDM System Bundle ............................. SUCCESS [2:41.356s]
    [INFO] OpenIDM SmartEvent Bundle ......................... SUCCESS [1:28.253s]
    [INFO] OpenIDM Utility Bundle ............................ SUCCESS [1:21.259s]
    [INFO] OpenIDM Router Bundle ............................. SUCCESS [2:26.247s]
    [INFO] OpenIDM Cryptography Bundle ....................... SUCCESS [1.059s]
    [INFO] OpenIDM Enhanced Configuration Bundle ............. SUCCESS [1.108s]
    [INFO] OpenIDM repository common ......................... SUCCESS [1.150s]
    [INFO] OpenIDM Cluster Management Bundle ................. SUCCESS [4.709s]
    [INFO] OpenIDM Quartz Fragment ........................... SUCCESS [8.730s]
    [INFO] OpenIDM Core Bundle ............................... SUCCESS [42.975s]
    [INFO] OpenIDM Audit Bundle .............................. SUCCESS [11.674s]
    [INFO] OpenIDM Configuration Bundle ...................... SUCCESS [15.085s]
    [INFO] OpenIDM External Email Bundle ..................... SUCCESS [16.733s]
    [INFO] OpenIDM External REST Bundle ...................... SUCCESS [1:10.076s]
    [INFO] OpenIDM HTTP Bundle ............................... SUCCESS [20.881s]
    [INFO] OpenIDM Script Bundle ............................. SUCCESS [26.356s]
    [INFO] OpenIDM Info Bundle ............................... SUCCESS [0.501s]
    [INFO] OpenIDM Custom Endpoints Bundle ................... SUCCESS [0.336s]
    [INFO] OpenIDM Jetty Fragment ............................ FAILURE [35.388s]
    [INFO] OpenIDM Policy Bundle ............................. SKIPPED
    [INFO] OpenIDM Provisioner System Bundle ................. SKIPPED
    [INFO] OpenIDM Provisioner System Bundle - OpenICF ....... SKIPPED
    [INFO] OpenIDM Repository Bundle - JDBC .................. SKIPPED
    [INFO] OpenIDM Repository Bundle - OrientDB .............. SKIPPED
    [INFO] OpenIDM servlet filter/filter registration handler  SKIPPED
    [INFO] OpenIDM API servlet ............................... SKIPPED
    [INFO] OpenIDM Authentication Filter ..................... SKIPPED
    [INFO] OpenIDM Web Servlet ............................... SKIPPED
    [INFO] OpenIDM scheduler ................................. SKIPPED
    [INFO] OpenIDM fragment for jetty security ............... SKIPPED
    [INFO] OpenIDM Self-Service Bundle ....................... SKIPPED
    [INFO] OpenIDM Felix Gogo Shell .......................... SKIPPED
    [INFO] OpenIDM security service .......................... SKIPPED
    [INFO] OpenIDM UI Parent ................................. SKIPPED
    [INFO] OpenIDM UI Common ................................. SKIPPED
    [INFO] OpenIDM UI Admin .................................. SKIPPED
    [INFO] OpenIDM UI End-user ............................... SKIPPED
    [INFO] OpenIDM Activiti BPMN 2.0 Integration ............. SKIPPED
    [INFO] OpenIDM Base Patch ................................ SKIPPED
    [INFO] Custom Scripted Groovy Connector Bundler .......... SKIPPED
    [INFO] OpenIDM ZIP file assembly ......................... SKIPPED
    [INFO] ------------------------------------------------------------------------
    [INFO] BUILD FAILURE
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 16:36.906s
    [INFO] Finished at: Wed Mar 01 16:30:18 ICT 2017
    [INFO] Final Memory: 55M/156M
    [INFO] ------------------------------------------------------------------------
    [ERROR] Failed to execute goal on project openidm-jetty-fragment: Could not resolve dependencies for project org.forgerock.openidm:openidm-jetty-fragment:bundle:4.0.0: Could not transfer artifact org.ops4j.pax.web:pax-web-jetty-bundle:jar:4.1.1 from/to central (https://repo.maven.apache.org/maven2): Failed to transfer file: https://repo.maven.apache.org/maven2/org/ops4j/pax/web/pax-web-jetty-bundle/4.1.1/pax-web-jetty-bundle-4.1.1.jar. Return code is: 503 , ReasonPhrase:first byte timeout. -> [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/DependencyResolutionException
    [ERROR]
    [ERROR] After correcting the problems, you can resume the build with the command
    [ERROR]   mvn <goals> -rf :openidm-jetty-fragment
    #16074

    When I build by this command mvn -U -Dmaven.repo.local=/tmp/.m2 clean verify
    and error

    [INFO] OpenIDM UI Common ................................. SUCCESS [1:08.290s]
    [INFO] OpenIDM UI Admin .................................. FAILURE [33.591s]
    [INFO] OpenIDM UI End-user ............................... SKIPPED
    [INFO] OpenIDM Activiti BPMN 2.0 Integration ............. SKIPPED
    [INFO] OpenIDM Base Patch ................................ SKIPPED
    [INFO] Custom Scripted Groovy Connector Bundler .......... SKIPPED
    [INFO] OpenIDM ZIP file assembly ......................... SKIPPED
    [INFO] ------------------------------------------------------------------------
    [INFO] BUILD FAILURE
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 28:31.932s
    [INFO] Finished at: Wed Mar 01 17:30:15 ICT 2017
    [INFO] Final Memory: 82M/290M
    [INFO] ------------------------------------------------------------------------
    [ERROR] Failed to execute goal on project openidm-ui-admin: Could not resolve dependencies for project org.forgerock.openidm:openidm-ui-admin:bundle:4.0.0: Failed to collect dependencies for [org.forgerock.commons.ui:forgerock-ui-commons:zip:www:11.0.1 (compile), org.forgerock.openidm:openidm-ui-common:zip:www:4.0.0 (compile), org.forgerock.commons.ui.libs:backgrid.min:js:min:0.3.5 (compile), org.forgerock.commons.ui.libs:backgrid-paginator.min:js:min:0.3.5 (compile), org.forgerock.commons.ui.libs:backgrid-filter.min:js:min:0.3.5 (compile), org.forgerock.commons.ui.libs:backbone-relational:js:min:0.9.0 (compile), org.forgerock.commons.ui.libs:jquery-nestingSortable:js:0.9.12 (compile), org.forgerock.commons.ui.libs:jsoneditor:js:min:0.7.9 (compile), org.forgerock.commons.ui.libs:ldapjs-filter:js:min:2253 (compile), org.forgerock.commons.ui.libs:jquery-cron:js:r2427 (compile), org.forgerock.commons.ui.libs:jquery-gentleSelect:js:min:0.1.3.1 (compile), org.forgerock.commons.ui.libs:CodeMirror:zip:4.10 (compile), org.forgerock.commons.ui.libs:bootstrap-tabdrop:js:1.0 (compile), org.forgerock.commons.ui.libs:d3:js:min:3.5.5 (compile), org.forgerock.commons.ui.libs:dimple:js:min:2.1.2 (compile), org.forgerock.commons.ui.libs:fontawesome-iconpicker:js:min:1.0.0 (compile), org.forgerock.commons.ui.libs:fontawesome-iconpicker:css:min:1.0.0 (compile), org.apache.servicemix.bundles:org.apache.servicemix.bundles.rhino:jar:1.7R4_1 (compile), org.forgerock.commons.ui.libs:less:js:rhino:1.5.1 (compile), org.forgerock.commons.ui.libs:r:js:2.1.10 (compile)]: Failed to read artifact descriptor for org.forgerock.commons.ui.libs:ldapjs-filter:js:min:2253: Could not transfer artifact org.forgerock.commons.ui.libs:ldapjs-filter:pom:2253 from/to forgerock-staging-repository (http://maven.forgerock.org/repo/releases): Not authorized , ReasonPhrase:Unauthorized. -> [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/DependencyResolutionException
    [ERROR]
    [ERROR] After correcting the problems, you can resume the build with the command
    [ERROR]   mvn <goals> -rf :openidm-ui-admin
    #16189
     david_plexus
    Participant

    Hi,

    Did you solve it?

    Thx

    #16194

    No, I can’t fix this error in linux.

    #16195

    You can build with windows
    solution for build in windows https://forgerock.org/topic/build-failure/
    solution for use that file in linux https://forgerock.org/topic/i-cant-start-openidm/

    but, I want know how to build on linux ?

    #16609
     burakcancelik
    Participant

    Hello,

    I got same issue. I cant pass OpenIDM UI- Admin. I read your solution for windows but still got same problem. Do you have a chance to tell me exactly how you solved Admin UI?

    Best regards.

    #16618

    @burakcancelik, did you use windows to build ?

    #16703
     burakcancelik
    Participant

    @sarankon-hir
    Yes i used windows to build and i got new error. I cleaned my .m2 file and i got error like this:

    [ERROR] [ERROR] Some problems were encountered while processing the POMs:
    [ERROR] Non-resolvable import POM: Could not transfer artifact org.forgerock.com
    mons:forgerock-bom:pom:4.1.1 from/to forgerock-staging-repository (http://maven.
    forgerock.org/repo/releases): Not authorized , ReasonPhrase:Unauthorized. @ line
    409, column 25

    #16780

    @burakcancelik sorry, I never see that error. I don’t know how to fix too.

Viewing 9 posts - 1 through 9 (of 9 total)

You must be logged in to reply to this topic.

©2020 ForgeRock - we provide an identity and access platform to secure every online relationship for the enterprise market, educational sector and even entire countries. Click to view our privacy policy and terms of use.

Log in with your credentials

Forgot your details?