Perl 6 - the future is here, just unevenly distributed

IRC log for #openam, 2017-04-19

| Channels | #openam index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
01:46 gbuxton1 joined #openam
01:56 gbuxton1 left #openam
03:02 jamiebowen joined #openam
04:50 jamiebowen joined #openam
05:31 aldaris joined #openam
06:39 jamiebowen joined #openam
07:48 HelgeO joined #openam
08:09 jamiebowen joined #openam
08:17 FireBurn|Work Good morning
08:18 FireBurn|Work Strange issue, if I delete my .m2 maven repo and build openam using jenkins it fails as it seems to want to download openam-shared rather than build it, however if I then build it manually it works fine, and then once the .m2 is populated from that build jenkins quite happily builds it
08:21 FireBurn|Work Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.9:jar (default) on project openam-annotations: MavenReportException: Error while creating archive: Unable to resolve artifact:groupId = 'org.forgerock.ce.openam'
08:22 FireBurn|Work I made sure that everythign that reference artifactId = 'openam-shared' us using org.forgerock.ce.openam
08:22 FireBurn|Work *is
08:46 FireBurn|Work joined #openam
08:46 FireBurn|Work joined #openam
09:01 jamiebowen joined #openam
09:02 jamiebowen joined #openam
09:15 FireBurn|Work :(
09:15 FireBurn|Work Installing OpenAM configuration store in /apps/was/openam/opendsAMSetupServlet.processRequest: errororg.opends.server.types.InitializationException: The OpenDJ binary version '2.6.4.25ca2821c0c5ac8f7ea56e6180d79c3afd32f4bf' does not match the installed version '2.6.4.c8a70c834a2ae0fc6744a7b861390bd87a3eb2a7'. Please run upgrade before continuing
09:16 aldaris with 11.0.3 there is a javadoc plugin in openam-shared
09:16 aldaris have you updated the javadoc generation to refer to the correct artifact for the doclet/taglet?
09:19 FireBurn|Work I think I have
09:19 FireBurn|Work All my updates are in https://github.com/FireBurn/openam-community-edition-11.0.3
09:19 jamiebowen I know how to fix that. It's hard to explain though. I should have a working version for you soon though - just build and run.
09:20 asyd morning
09:21 FireBurn|Work Also should I be building OpenDJ myself or just use the pre-compiled version? (that always feels like a cop out for a Gentoo user)
09:21 FireBurn|Work And which version of Java should I be using? I know OpenDJ 3 had issues being built Java8 but worked fine building with Java7
09:21 aldaris 11.0.3 only supported java 7
09:22 jamiebowen Are you deploying with an external DJ or planning to use the embedded? External is strongly advised
09:25 FireBurn|Work Embedded, it's only for the configuration, it'll be multinode, we have a real ldap for the user accoutns
09:26 FireBurn|Work *alternative ;)
09:27 jamiebowen OK. In that case the process of fixing up OpenAM to use the CE version is a little protracted. I'll be doing that today and checking in, and hopefully documenting in the OpenAM CE readme file.
09:28 FireBurn|Work That sound onimous
09:28 FireBurn|Work Are you saying it's not going to work for me at the moment?
09:38 jamiebowen It probably won't. That error is caused by the version of DJ pulled from the repository by maven has a different checksum than the one packaged with OpenAM so it complains.
09:38 FireBurn|Work Also can you update the p12 and keystores in OpenDJ, currently tests fail because they're SHA1 1024bit keys and signers
09:39 FireBurn|Work I'm trying to build OpenDJ again and use that in my OpenAM build - see if that fixes things
09:40 FireBurn|Work I'm currently skipping the tests on OpenAM too
09:41 jamiebowen As I said the method of fixing up OpenAM to use the DJ you've built is a bit protracted. aldaris may be able to explain it
09:43 FireBurn|Work I cant figure out how to switch of tests on OpenDJ the usual -Dmaven.test.skip=true isn't working
09:43 jamiebowen OpenDJ doesn't build using maven. If you're on a linux machine build using the ./build.sh script
09:43 jamiebowen It's all ant and ivy
09:49 jamiebowen Do a pull of the latest and try the ./build.sh
09:49 FireBurn|Work Ah, v3 does :')
09:49 FireBurn|Work :'(
09:50 FireBurn|Work How do I tell it to skip the tests?
09:50 jamiebowen It should build OK. I'm using jre 1.6.0_45. The build is quite fussy.
09:51 jamiebowen You shouldn't have to - if the tests won't pass then something's wrong.
09:51 FireBurn|Work As I said before the test are failing with SSL errors as the test keys are sha1 1024bit
09:52 FireBurn|Work Unless you're saying I have to build with Java6
09:52 FireBurn|Work Which probalby doesn't have that limitation
09:52 jamiebowen Yes, the wrong java version will cause that error.
09:52 jamiebowen To compile without running tests ./build.sh compile
10:05 HelgeO joined #openam
10:26 FireBurn|Work I'm editing that sha value in org/opends/server/util/DynamicConstants.class in the opendj-server.jar
10:26 FireBurn|Work See if that allows me to proceed
10:41 MegaMatt joined #openam
10:41 FireBurn|Work It still doesn't work but that specific error has gone
10:42 FireBurn|Work Start --hostname ut006150
10:42 FireBurn|Work Stopping Directory Server .....
10:43 FireBurn|Work Should OpenDJ be compiled with java 1.5 rather than 6
10:43 FireBurn|Work I saw similar issues when I used java 8 rather than java 7 in OpenAM 3
10:44 FireBurn|Work Is there a prebuild version I can use to get my configuration scripts sorted in the mean time?
10:49 jamiebowen Yes, should be found here;
10:50 jamiebowen https://github.com/ForgeRock/opendj-community-edition-2.6.4/releases
10:51 jamiebowen Hmm. I've made commit since then - the move of the OpenDJ SDK version - same change you made and created a PR for.
10:52 jamiebowen Might rebuild and change the OpenDJ-2.6.4.war file so that we have the same checksum everywhere - in artifactory and on the release downloads. I want to make sure I can get OpenAM CE configured using the OpenDJ CE first though.
11:02 HelgeO joined #openam
11:30 aldaris joined #openam
11:59 FireBurn|Work I tried creating a standalone OpenDJ 3 server
12:00 FireBurn|Work As a temp work around
12:00 FireBurn|Work com.ibm.ws.webcontainer.servlet.ServletWrapper service SRVE0068E: An exception was thrown by one of the service methods of the servlet [AMSetupServlet] in application [OpenAM]. Exception created : [com.sun.identity.setup.ConfiguratorException: Invalid Suffix
12:00 FireBurn|Work In the sysout logs during the failed creation
12:01 FireBurn|Work But I used the default dc=openam,dc=forgerock,dc=org
12:04 FireBurn|Work I'm going to try the release version from github and see if it works, but I'm not sure how it will if you're facing the same issues I am
12:15 FireBurn|Work So that gets a lot further
12:16 FireBurn|Work Until it hits an NPE in com.sun.identity.common.LDAPUtils.createSchemaFromLDIF when it's loading the schemas
12:28 FireBurn|Work It's this one it's having issues with Loading Schema /apps/was/openam/odsee_plugin.ldif
12:40 jamiebowen joined #openam
12:43 FireBurn|Work the build doc starts of creating the embedded one then adding a discreet one in, I wonder if that's why
13:05 gbuxton1 joined #openam
13:09 gbuxton1 left #openam
13:51 jamiebowen So - I've now build OpenAM CE and it has an embedded OpenDJ CE inside. Will be pushing changes to GitHub and creating a release with a downloadable .war file this afternoon.
14:03 aldaris (party)
14:04 aldaris so great to spend all this effort into a 3 year old outdated release <sarcasm/>
14:32 jamiebowen FirBurn|Work - you can pull the latest OpenAM CE code and see if it builds and runs for you, or download the binary from here: https://github.com/ForgeRock/openam-community-edition-11.0.3/releases
14:33 FireBurn|Work Hi I will do
14:34 FireBurn|Work I've been tackling my next battle
14:34 FireBurn|Work I have ssoadm working
14:34 FireBurn|Work But when I run commands the sysout logs get spammed with:
14:34 FireBurn|Work Couldn't create SOAP message factory due to exception: javax.xml.soap.SOAPException: Unable to create message factory for SOAP: com.sun.xml.internal.messaging.saaj.soap.ver1_1.SOAPMessageFactory1_1Impl incompatible with javax.xml.soap.MessageFactory
14:34 FireBurn|Work Probably because I'm using websphere
14:35 FireBurn|Work In v13 I had to delete some jars, which I've done
14:50 FireBurn|Work Hmm I had some JVM custom props which I added after trying to get this work last time
14:51 FireBurn|Work I'll remove them and see how I get on
14:56 FireBurn|Work https://webcache.googleusercontent.com/search?q=cache:cmrUJERMsU0J:https://bugster.forgerock.org/jira/si/jira.issueviews:issue-html/OPENAM-9757/OPENAM-9757.html+&amp;cd=1&amp;hl=en&amp;ct=clnk&amp;gl=uk
14:56 FireBurn|Work Removing them again brought back different errors
14:58 FireBurn|Work This is infurating
15:00 aldaris joined #openam
15:04 FireBurn|Work Thanks goodness for that
15:10 FireBurn|Work Got that working finally
15:21 FireBurn|Work jamiebowen: Here's the diff between what you've just pushed and what I have in my fork: https://pastebin.com/yEXRGQ3Y
15:22 FireBurn|Work Can you see if the changes I've made are required?
15:22 FireBurn|Work Particularly <opendj.sdk.version>2.6.11</opendj.sdk.version> and <commons.json-resource.version>1.3.0</commons.json-resource.version>
15:44 FireBurn|Work Right I'm away home
16:04 jamiebowen Those changes are now in the master branch. You were dead right about changing the opendj.sdk.version to 2..6.11 I
16:04 jamiebowen commons.json-resource.version should be left at 1.2.2 which I have now built and will be picked up from the community repository.
16:05 jamiebowen If I were you I'd clone the repo afresh and start from there. It should build out of the box now (assuming the correct environment!)
16:22 MegaMatt Glad you’re here to help work through this stuff, Jamie
17:08 aldaris joined #openam
21:27 FireBurn joined #openam

| Channels | #openam index | Today | | Search | Google Search | Plain-Text | summary