Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Sep 24 14:50

    pavelhoral on master

    Bring back rhino servicemix to … Merge pull request #11 from kry… (compare)

  • Sep 24 14:50
    pavelhoral closed #11
  • Sep 24 14:44
    krystofNovotny opened #11
  • Sep 23 14:27

    pavelhoral on master

    Add support for returning Kerbe… Merge pull request #32 from orc… (compare)

  • Sep 23 14:27
    pavelhoral closed #32
  • Sep 23 14:18
    karelmaxa edited #32
  • Sep 23 14:18
    karelmaxa opened #32
  • Sep 23 13:52
    krystofNovotny edited #10
  • Aug 27 14:20

    pavelhoral on master

    Fix unnecessary keystore overwr… Merge pull request #113 from or… (compare)

  • Aug 27 14:20
    pavelhoral closed #113
  • Aug 27 13:41
    pavelhoral edited #113
  • Aug 27 13:41
    pavelhoral edited #113
  • Aug 27 13:39
    pavelhoral opened #113
  • Aug 27 13:29
    krystofNovotny opened #112
  • Aug 27 13:27
    pavelhoral commented #38
  • Aug 20 15:10
    krystofNovotny opened #111
  • Aug 19 15:25
    krystofNovotny opened #10
  • Aug 10 10:13
    krystofNovotny commented #46
  • Aug 06 17:14
    pavelhoral synchronize #6
  • Aug 06 15:52
    pavelhoral synchronize #6
withusandeep
@withusandeep
yeah you are right
Pavel Horal
@pavelhoral
Btw. check for example https://stackoverflow.com/a/40996814/865403 (mainly the first comment)... that is why I am not sure what is actually supported by JRE.
withusandeep
@withusandeep
thanks . i tested all that options and noting seems to be working . So i think. i need to write the authenticator class and load it on startup
smukkand
@smukkand
Hi to Everyone , Glad to see the effort on enhancing the forgerock community edition, I have been into the forgerock stack for quite long time. Now a days i am more into the opensource technologies for my current company. I got into this error while build from wrenidm master branch:
image.png
[INFO] Wren:IDM - Provisioner System Bundle ............... SUCCESS [ 2.907 s]
[INFO] Wren:IDM - Provisioner System Bundle - Wren:ICF .... FAILURE [ 1.635 s]
[INFO] Wren:IDM - Repository Bundle - JDBC ................ SKIPPED
[INFO] Wren:IDM - Servlet Filter Registration Handler ..... SKIPPED
[INFO] Wren:IDM - API servlet ............................. SKIPPED
[INFO] Wren:IDM - Authentication Filter ................... SKIPPED
[INFO] Wren:IDM - Web Servlet ............................. SKIPPED
[INFO] Wren:IDM - Scheduler ............................... SKIPPED
[INFO] Wren:IDM - Fragment for Jetty Security ............. SKIPPED
[INFO] Wren:IDM - Self-Service Bundle ..................... SKIPPED
[INFO] Wren:IDM - Felix Gogo Shell ........................ SKIPPED
[INFO] Wren:IDM - Credential Management Service ........... SKIPPED
[INFO] Wren:IDM - UI - Parent ............................. SKIPPED
[INFO] Wren:IDM - UI - Common ............................. SKIPPED
[INFO] Wren:IDM - UI - Admin .............................. SKIPPED
[INFO] Wren:IDM - UI - End-user ........................... SKIPPED
[INFO] Wren:IDM - UI - API Explorer ....................... SKIPPED
[INFO] Wren:IDM - Activiti BPMN 2.0 Integration ........... SKIPPED
[INFO] Wren:IDM - Maintenance Handler ..................... SKIPPED
[INFO] Wren:IDM - Custom Groovy Connector Bundler ......... SKIPPED
[INFO] Wren:IDM - ZIP File Assembly ....................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 04:06 min
[INFO] Finished at: 2021-05-03T19:50:32+05:30
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:3.1.2:copy (copy-connectorbundles) on project openidm-provisioner-openicf: Unable to find/resolve artifact. Failed to read artifact descriptor for org.forgerock.openicf.connectors:xml-connector:jar:1.1.0.3: Could not transfer artifact org.forgerock.openicf.connectors:xml-connector:pom:1.1.0.3 from/to wrensecurity-forgerock-archive (http://dl.bintray.com/wrensecurity/forgerock-archive): Access denied to: http://dl.bintray.com/wrensecurity/forgerock-archive/org/forgerock/openicf/connectors/xml-connector/1.1.0.3/xml-connector-1.1.0.3.pom -> [Help 1]
[ERROR]
Can someone help me?
Pavel Horal
@pavelhoral
That is a strange issue. Master should be 100 % buildable as our CI pipeline passes - https://github.com/WrenSecurity/wrenidm/actions/runs/796773893 .
What maven command are you using to build the project?
Pavel Horal
@pavelhoral
We might need to add xml-connector to our jfrog repository... I will look into it.
smukkand
@smukkand
Apache Maven 3.6.2 (40f52333136460af0dc0d7232c0dc0bcf0d9e117; 2019-08-27T20:36:16+05:30)
Maven home: /usr/local/Cellar/maven/3.6.2/libexec
Java version: 11.0.11, vendor: AdoptOpenJDK, runtime: /Library/Java/JavaVirtualMachines/adoptopenjdk-11.jdk/Contents/Home
Default locale: en_SG, platform encoding: UTF-8
OS name: "mac os x", version: "11.1", arch: "x86_64", family: "mac"
here are the maven and jdk versions
I see,, ok
Pavel Horal
@pavelhoral
This issue is on our side. We will work on resolving it tomorrow.
smukkand
@smukkand
Thanks @pavelhoral , looking forward to that.
smukkand
@smukkand
Looks like similar issue exist on wrenam build too.
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-pmd-plugin:3.6:pmd (pmd) on project openam: Execution pmd of goal org.apache.maven.plugins:maven-pmd-plugin:3.6:pmd failed: Plugin org.apache.maven.plugins:maven-pmd-plugin:3.6 or one of its dependencies could not be resolved: Failed to collect dependencies at org.apache.maven.plugins:maven-pmd-plugin:jar:3.6 -> org.forgerock.openam.pmd.rules:enforce-timeservice:jar:1.0.0: Failed to read artifact descriptor for org.forgerock.openam.pmd.rules:enforce-timeservice:jar:1.0.0: Could not transfer artifact org.forgerock.openam.pmd.rules:enforce-timeservice:pom:1.0.0 from/to wrensecurity-forgerock-archive (http://dl.bintray.com/wrensecurity/forgerock-archive): Access denied to: http://dl.bintray.com/wrensecurity/forgerock-archive/org/forgerock/openam/pmd/rules/enforce-timeservice/1.0.0/enforce-timeservice-1.0.0.pom -> [Help 1]
[ERROR]
Francesco Chicchiriccò
@ilgrosso
Pavel Horal
@pavelhoral
Yap, already on it. We forgot some legacy artifacts in there.
Pavel Horal
@pavelhoral
I have moved all legacy artifacts under our JFrog release repo. Everything should be buildable again. You might get warnings about bintray - you can ignore those.
smukkand
@smukkand
@pavelhoral Unfortunately the build failed in different sections -
[INFO] Wren:IDM - Servlet Filter Registration Handler ..... SUCCESS [ 0.746 s]
[INFO] Wren:IDM - API servlet ............................. SUCCESS [ 2.214 s]
[INFO] Wren:IDM - Authentication Filter ................... SUCCESS [ 5.011 s]
[INFO] Wren:IDM - Web Servlet ............................. SUCCESS [ 0.533 s]
[INFO] Wren:IDM - Scheduler ............................... SUCCESS [ 2.774 s]
[INFO] Wren:IDM - Fragment for Jetty Security ............. SUCCESS [ 0.574 s]
[INFO] Wren:IDM - Self-Service Bundle ..................... SUCCESS [ 3.951 s]
[INFO] Wren:IDM - Felix Gogo Shell ........................ SUCCESS [ 2.210 s]
[INFO] Wren:IDM - Credential Management Service ........... SUCCESS [ 16.462 s]
[INFO] Wren:IDM - UI - Parent ............................. SUCCESS [ 0.015 s]
[INFO] Wren:IDM - UI - Common ............................. SUCCESS [ 9.510 s]
[INFO] Wren:IDM - UI - Admin .............................. FAILURE [ 59.135 s]
[INFO] Wren:IDM - UI - End-user ........................... FAILURE [03:25 min]
[INFO] Wren:IDM - UI - API Explorer ....................... SUCCESS [ 23.687 s]
[INFO] Wren:IDM - Activiti BPMN 2.0 Integration ........... SUCCESS [02:50 min]
[INFO] Wren:IDM - Maintenance Handler ..................... SUCCESS [ 11.497 s]
[INFO] Wren:IDM - Custom Groovy Connector Bundler ......... SUCCESS [02:12 min]
[INFO] Wren:IDM - ZIP File Assembly ....................... FAILURE [07:06 min]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 20:04 min
[INFO] Finished at: 2021-05-05T10:35:48+05:30
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:0.0.28:grunt (grunt) on project openidm-ui-admin: Failed to run task: 'grunt build:dev --target-version=6.0.0-SNAPSHOT' failed. (error code 3) -> [Help 1]
[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:0.0.28:grunt (grunt) on project openidm-ui-enduser: Failed to run task: 'grunt build:dev --target-version=6.0.0-SNAPSHOT' failed. (error code 3) -> [Help 1]
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:3.3.0:single (zip-assembly) on project openidm-zip: Failed to create assembly: Error adding file 'org.forgerock.openidm:openidm-ui-enduser:jar:6.0.0-SNAPSHOT' to archive: /Users/Documents/WorkMode/wrenidm/openidm-ui/openidm-ui-enduser/target/classes isn't a file. -> [Help 2]
I am using Java 1.8
Not sure if that is causing it
smukkand
@smukkand
@pavelhoral i can see still couple of unauthorised errors similar to the last time :
Caused by: org.apache.maven.wagon.authorization.AuthorizationException: Access denied to: http://dl.bintray.com/wrensecurity/forgerock-archive/org/wrensecurity/commons/ui/libs/backbone.paginator/1.0-SNAPSHOT/maven-metadata.xml
Caused by: org.apache.maven.wagon.authorization.AuthorizationException: Access denied to: http://dl.bintray.com/wrensecurity/forgerock-archive/org/wrensecurity/commons/ui/libs/backgrid-filter/1.0-SNAPSHOT/maven-metadata.xml
Caused by: org.apache.maven.wagon.authorization.AuthorizationException: Access denied to: http://dl.bintray.com/wrensecurity/forgerock-archive/org/wrensecurity/commons/ui/libs/backgrid-select-all/1.0-SNAPSHOT/maven-metadata.xml
Caused by: org.apache.maven.wagon.authorization.AuthorizationException: Access denied to: http://dl.bintray.com/wrensecurity/forgerock-archive/org/wrensecurity/commons/ui/libs/jquery/1.0-SNAPSHOT/maven-metadata.xml
Caused by: org.apache.maven.wagon.authorization.AuthorizationException: Access denied to: http://dl.bintray.com/wrensecurity/forgerock-archive/org/wrensecurity/commons/ui/libs/lodash/1.0-SNAPSHOT/maven-metadata.xml
Caused by: org.apache.maven.wagon.authorization.AuthorizationException: Access denied to: http://dl.bintray.com/wrensecurity/forgerock-archive/org/wrensecurity/commons/ui/libs/xdate/1.0-SNAPSHOT/maven-metadata.xml
Caused by: org.apache.maven.wagon.authorization.AuthorizationException: Access denied to: http://dl.bintray.com/wrensecurity/forgerock-archive/org/wrensecurity/commons/ui/libs/font-awesome/1.0-SNAPSHOT/maven-metadata.xml
Pavel Horal
@pavelhoral
You can ignore warnings about bintray - we need to remove that repo from wrensec-parent (it is removed in the latest snapshot).
Regarding error during build - are you calling mvn package or do you use some additional arguments?
smukkand
@smukkand
Tried re-run again with debug "mvn clean package -e -X"
I ran just "mvn clean package" but then couldnt find the exact isssues - then rerun above
Here is the full debug for : Wren:IDM - UI - Admin
[INFO]
[INFO] --- frontend-maven-plugin:0.0.28:grunt (grunt) @ openidm-ui-admin ---
[DEBUG] Configuring mojo com.github.eirslett:frontend-maven-plugin:0.0.28:grunt from plugin realm ClassRealm[plugin>com.github.eirslett:frontend-maven-plugin:0.0.28--1054982195, parent: jdk.internal.loader.ClassLoaders$AppClassLoader@277050dc]
[DEBUG] Configuring mojo 'com.github.eirslett:frontend-maven-plugin:0.0.28:grunt' with basic configurator -->
[DEBUG] (f) arguments = build:dev --target-version=6.0.0-SNAPSHOT
[DEBUG] (f) installDirectory = /Users/Documents/WorkMode/wren/wrenidm/openidm-ui
[DEBUG] (f) skip = false
[DEBUG] (f) skipTests = false
[DEBUG] (f) triggerfiles = []
[DEBUG] (f) workingDirectory = /Users/Documents/WorkMode/wren/wrenidm/openidm-ui/openidm-ui-admin
[DEBUG] (f) execution = com.github.eirslett:frontend-maven-plugin:0.0.28:grunt {execution: grunt}
[DEBUG] -- end configuration --
[INFO] Running 'grunt build:dev --target-version=6.0.0-SNAPSHOT' in /Users/Documents/WorkMode/wren/project-dragon/wrenidm/openidm-ui/openidm-ui-admin
[INFO] Running "notify_hooks" task
[INFO]
[INFO] Running "copy:compose" (copy) task
[INFO] Created 190 directories, copied 769 files
[INFO]
[INFO] Running "eslint:lint" (eslint) task
[INFO]
[INFO] Warnings summary
[INFO] one-var 6
[INFO]
[INFO] Running "babel:source" (babel) task
[INFO]
[INFO] Running "less:dev" (less) task
[INFO] >> 2 stylesheets created.
[INFO]
[INFO] Running "copy:compiled" (copy) task
[INFO] Created 171 directories, copied 370 files
[INFO]
[INFO] Running "copy:compiledMain" (copy) task
[INFO] Copied 1 file
[INFO]
[INFO] Running "copy:transpiled" (copy) task
[INFO] Copied 298 files
[INFO]
[INFO] Running "replace:buildNumber" (replace) task
[INFO]
[INFO] Running "babel:test" (babel) task
[INFO]
[INFO] Running "copy:test" (copy) task
[INFO] Created 56 directories, copied 2 files
[INFO]
[INFO] Running "qunit:test" (qunit) task
[INFO] Testing target/qunit/index.html Warning: spawn Unknown system error -86 Use --force to continue.
[INFO]
[INFO] Aborted due to warnings.
Pavel Horal
@pavelhoral
Will be probably something connected to Node and macOS... you might try updating node version in https://github.com/WrenSecurity/wrenidm/blob/master/openidm-ui/pom.xml#L72
Trying the build on macOS right now... well, my colleague is :)
smukkand
@smukkand
Ok. May i know the verfied OS version for the build ? I will see if i have any. :)
Pavel Horal
@pavelhoral
We might add macOS and Windows as well... we definitely want the build to work there as well :)
withusandeep
@withusandeep
Hello , when running openig 5.0.10 anyone facing issues like logs flooding in debug mode .The logs are coming from org.apache.http package . Tried to switch off debug logs but nothing seem to be working
Robert Rojo
@RoBobik
Hello @smukkand, I was able to reproduce the error you reported on my macOS. It's caused by a 32-bit binary of PhantomJS (used by QUnit), which cannot be executed on macOS Catalina (10.15) and newer.
I have created an issue to address this. WrenSecurity/wrenidm#96
smukkand
@smukkand
Hey @RoBobik - Glad to know the root cause. Thanks. @pavelhoral , is there a way i could get the prebuilt zip version of wrenidm?
Pavel Horal
@pavelhoral
@withusandeep I hoped someone else would reply... I personally have very little experience with IG so I am not able to answer. If you feel there is an issue you might want to create github issue... or create pull-request if you know what the problem is :)
withusandeep
@withusandeep
@pavelhoral .Thanks . The issue is fixed by copying ROOT/WEB-INF/classes/org/forgerock/openig/web/logback.xml into. ROOT/WEB-INF/classes/logback.xml and adding <logger name="org.apache.http" level="INFO" />
smukkand
@smukkand
Noticed an issue has been registered and closed : WrenSecurity/wrenidm#88
is this closed? I am getting similar error while invoking activiti workflows
here is the errors:
OpenIDM version "6.0.0-SNAPSHOT" (revision: 467501b) forgerock/master-2016 master
May 10, 2021 3:06:23 PM org.activiti.engine.impl.bpmn.behavior.ScriptTaskActivityBehavior execute
WARNING: Exception while executing readUserData : Can't find scripting engine for 'groovy'
May 10, 2021 3:06:23 PM org.activiti.engine.impl.interceptor.CommandContext close
SEVERE: Error while closing command context
org.activiti.engine.ActivitiException: Can't find scripting engine for 'groovy'
Karel Maxa
@karelmaxa
Hi @smukkand, yeah the mentioned issue should be resolved. I will check it with the latest master build.
smukkand
@smukkand
Hi @karelmaxa , Thanks! Let me know your output
Karel Maxa
@karelmaxa
I was able to reproduce the problem (issue WrenSecurity/wrenidm#97 has been created). The bug has been introduced during Java 11 upgrade. It is possible to downgrade to the commit WrenSecurity/wrenidm@345dd13 but you would have to use Java 8. We will try to fix the bug asap.
smukkand
@smukkand
👍🏻 ill dowgrade and test the usecases while the issue is being resolved