Uploaded image for project: 'Grouper'
  1. Grouper
  2. GRP-1537

grouper installer does not install the scim server correctly

    XMLWordPrintable

Details

    Description

      ----Original Message----
      From: Black, Carey M.
      Sent: Friday, April 21, 2017 2:26 PM
      To: Christopher Hubing; Hyzer, Chris
      Subject: RE: [grouper-users] new grouper installer issue - SCIM can't install?

      This error looks like ( may be exactly ) the error that the GitHub build process has been throwing for months.

      I have been looking at the Github build process and I have a WAG.
      WAG: Because I don't use Maven.

      I think the /grouper-ws-scim/pom.xml 'parent.relativePath' value should end in "/pom.xml" instead of pointing at a directory.

      Hope that helps.


      Carey Matthew Black

      ----Original Message----
      From: grouper-users-request@internet2.edu grouper-users-request@internet2.edu On Behalf Of Christopher Hubing
      Sent: Friday, April 21, 2017 12:05 PM
      To: Hyzer, Chris
      Cc: Vivek Sachdeva ; Liam Hoekenga; Grouper Users
      Subject: RE: [grouper-users] new grouper installer issue - SCIM can't install?

      I now get a different error:

      SEVERE: Process exit status=1: out: [INFO] Scanning for projects...
      [ERROR] The build could not read 1 project -> [Help 1] [ERROR]
      [ERROR] The project
      edu.internet2.middleware.grouper:grouper-ws-scim:[unknown-version]
      (/opt/grouper/2.3.0/grouper.ws-2.3.0/grouper-ws-scim/pom.xml) has 1 error
      [ERROR] Non-resolvable parent POM: Could not find artifact
      edu.internet2.middleware.grouper:grouper-ws-parent:pom:2.3.0-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 5, column 11 -> [Help 2] [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/ProjectBuildingException
      [ERROR] [Help 2]
      http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
      , err: , on command: bash
      /opt/grouper/2.3.0/tarballs/apache-maven-3.2.5/bin/mvn
      dependency:copy-dependencies package -DskipTests -Drat.ignoreErrors=true -Dlicense.skip=true , workingDir:
      /opt/grouper/2.3.0/grouper.ws-2.3.0/grouper-ws-scim
      m1mException in thread "main" m1mjava.lang.RuntimeException: Process exit
      status=1: out: [INFO] Scanning for projects...
      [ERROR] The build could not read 1 project -> [Help 1] [ERROR]
      [ERROR] The project
      edu.internet2.middleware.grouper:grouper-ws-scim:[unknown-version]
      (/opt/grouper/2.3.0/grouper.ws-2.3.0/grouper-ws-scim/pom.xml) has 1 error
      [ERROR] Non-resolvable parent POM: Could not find artifact
      edu.internet2.middleware.grouper:grouper-ws-parent:pom:2.3.0-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 5, column 11 -> [Help 2] [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/ProjectBuildingException
      [ERROR] [Help 2]
      http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
      , err: ,
      java.lang.RuntimeException: caller stack
      at
      edu.internet2.middleware.grouperInstaller.util.GrouperInstallerUtils.threadRunWithStatusDots(GrouperInstallerUtils.java:8345)
      at
      edu.internet2.middleware.grouperInstaller.util.GrouperInstallerUtils.execCommand(GrouperInstallerUtils.java:10078)
      at
      edu.internet2.middleware.grouperInstaller.util.GrouperInstallerUtils.execCommand(GrouperInstallerUtils.java:10041)
      at
      edu.internet2.middleware.grouperInstaller.util.GrouperInstallerUtils.execCommand(GrouperInstallerUtils.java:10017)
      at
      edu.internet2.middleware.grouperInstaller.GrouperInstaller.buildWsScim(GrouperInstaller.java:2984)
      at
      edu.internet2.middleware.grouperInstaller.GrouperInstaller.mainInstallLogic(GrouperInstaller.java:8656)
      at
      edu.internet2.middleware.grouperInstaller.GrouperInstaller.access$500(GrouperInstaller.java:83)
      at
      edu.internet2.middleware.grouperInstaller.GrouperInstaller$GrouperInstallerMainFunction$2.logic(GrouperInstaller.java:1487)
      at
      edu.internet2.middleware.grouperInstaller.GrouperInstaller.mainLogic(GrouperInstaller.java:1710)
      at
      edu.internet2.middleware.grouperInstaller.GrouperInstaller.main(GrouperInstaller.java:550)

      at
      edu.internet2.middleware.grouperInstaller.util.GrouperInstallerUtils.execCommandHelper(GrouperInstallerUtils.java:10175)
      at
      edu.internet2.middleware.grouperInstaller.util.GrouperInstallerUtils.access$100(GrouperInstallerUtils.java:128)
      at
      edu.internet2.middleware.grouperInstaller.util.GrouperInstallerUtils$2.run(GrouperInstallerUtils.java:10073)
      at
      edu.internet2.middleware.grouperInstaller.util.GrouperInstallerUtils$1.run(GrouperInstallerUtils.java:8291)
      at java.lang.Thread.run(Thread.java:748)

      On Fri, 21 Apr 2017, Hyzer, Chris wrote:

      >
      > Does it work now? (no need to get the new installer, but delete files
      > etc and try again)
      >
      >
      >
      > Thanks
      >
      > Chris
      >
      >
      >
      > From: Vivek Sachdeva erviveksachdeva@gmail.com
      > Sent: Friday, April 21, 2017 11:08 AM
      > To: Liam Hoekenga <liamr@umich.edu>
      > Cc: Grouper Users <grouper-users@internet2.edu>; Hyzer, Chris
      > <mchyzer@isc.upenn.edu>
      > Subject: Re: [grouper-users] new grouper installer issue - SCIM can't install?
      >
      >
      >
      > Hi Liam,
      >
      >
      >
      > We are aware of the issue and will be fixing it soon. Actually, GrouperInstaller has been updated to install SCIM but the artifact has not been uploaded yet.
      > For now, If you don't need SCIM, can you try entering 'f' when it asks for: Do you want to install the grouper ws scim (t|f)?
      >
      >
      >
      > Thanks,
      >
      > Vivek
      >
      >
      >
      > On Fri, Apr 21, 2017 at 7:59 AM, Liam Hoekenga wrote:
      >
      > I recently tried to update my grouper dev installation and
      > messed it up (it ended up reverting a lot of patches).
      >
      >
      >
      > So.... I decided to grab the new installer (that will install Tomcat 8.5) and re-install everything.
      >
      >
      >
      > I think it was working okay, but it broken when it asked me if I
      > wanted to install the SCIM stuff for the grouper webservice. This doesn't seem right...
      >
      >
      >
      > Liam
      >
      >
      >
      > --------------------------------------------------
      >
      >
      >
      >
      >
      > Do you want to install the grouper ws scim (t|f)? [t]:
      >
      > wsFile path is
      > /usr/local/mcomm/grouper/tarballs/grouper.ws-2.3.0.tar.gz
      >
      > File exists: /usr/local/mcomm/grouper/tarballs/grouper.ws-2.3.0.tar.gz, should we use the local file (t|f)? [t]:
      >
      > Unzipped file exists: /usr/local/mcomm/grouper/tarballs/grouper.ws-2.3.0.tar, use unzipped file (t|f)? [t]:
      >
      > Unzipped Ws file is
      > /usr/local/mcomm/grouper/tarballs/grouper.ws-2.3.0.tar
      >
      > Untarred dir exists: /usr/local/mcomm/grouper/grouper.ws-2.3.0, use untarred dir (t|f)? [t]:
      >
      > File exists: /usr/local/mcomm/grouper/tarballs/apache-maven-3.2.5-bin.tar.gz, should we use the local file (t|f)? [t]:
      >
      > Unzipped file exists: /usr/local/mcomm/grouper/tarballs/apache-maven-3.2.5-bin.tar, use unzipped file (t|f)? [t]:
      >
      > Untarred dir exists: /usr/local/mcomm/grouper/tarballs/apache-maven-3.2.5, use untarred dir (t|f)? [t]:
      >
      > File exists: /usr/local/mcomm/grouper/tarballs/apache-tomee-webprofile-7.0.0.tar.gz, should we use the local file (t|f)? [t]:
      >
      > Unzipped file exists: /usr/local/mcomm/grouper/tarballs/apache-tomee-webprofile-7.0.0.tar, use unzipped file (t|f)? [t]:
      >
      > Expanding:
      > /usr/local/mcomm/grouper/tarballs/apache-tomee-webprofile-7.0.0.tar to
      > /usr/local/mcomm/grouper/apache-tomee-webprofile-7.0.0
      >
      > Do you want to set the tomee memory limit (t|f)? [t]:
      >
      > Editing file:
      > /usr/local/mcomm/grouper/apache-tomee-webprofile-7.0.0/bin/catalina.ba
      > t
      >
      > Adding max memory to file at line number: 65
      >
      > - old permgen memory value is same as new value: 256M
      >
      > Editing file:
      > /usr/local/mcomm/grouper/apache-tomee-webprofile-7.0.0/bin/catalina.sh
      >
      > Adding max memory to file at line number: 65
      >
      > - old permgen memory value is same as new value: 256M
      >
      > Do you want to set tomee scripts to executable (t|f)? [t]:
      >
      > Making tomee file executable with command: chmod +x
      > /usr/local/mcomm/grouper/apache-tomee-webprofile-7.0.0/bin/setclasspat
      > h.sh
      >
      >
      >
      > Making tomee file executable with command: chmod +x
      > /usr/local/mcomm/grouper/apache-tomee-webprofile-7.0.0/bin/tool-wrappe
      > r.sh
      >
      >
      >
      > Making tomee file executable with command: chmod +x
      > /usr/local/mcomm/grouper/apache-tomee-webprofile-7.0.0/bin/digest.sh
      >
      >
      >
      > Making tomee file executable with command: chmod +x
      > /usr/local/mcomm/grouper/apache-tomee-webprofile-7.0.0/bin/version.sh
      >
      >
      >
      > Making tomee file executable with command: chmod +x
      > /usr/local/mcomm/grouper/apache-tomee-webprofile-7.0.0/bin/configtest.
      > sh
      >
      >
      >
      > Making tomee file executable with command: chmod +x
      > /usr/local/mcomm/grouper/apache-tomee-webprofile-7.0.0/bin/shutdown.sh
      >
      >
      >
      > Making tomee file executable with command: chmod +x
      > /usr/local/mcomm/grouper/apache-tomee-webprofile-7.0.0/bin/startup.sh
      >
      >
      >
      > Making tomee file executable with command: chmod +x
      > /usr/local/mcomm/grouper/apache-tomee-webprofile-7.0.0/bin/catalina.sh
      >
      >
      >
      > Making tomee file executable with command: chmod +x
      > /usr/local/mcomm/grouper/apache-tomee-webprofile-7.0.0/bin/tomee.sh
      >
      >
      >
      > Making tomee file executable with command: chmod +x
      > /usr/local/mcomm/grouper/apache-tomee-webprofile-7.0.0/bin/daemon.sh
      >
      >
      >
      > Do you want to run dos2unix on tomee sh files (t|f)? [t]:
      >
      > What ports do you want tomee to run on (HTTP, JK, shutdown): [8080, 8009, 8005]:
      >
      > Do you want to set URIEncoding to UTF-8 in tomcat server.xml <Connector> elements (t|f)? [t]:
      >
      > - adding tomcat URIEncoding attribute for element <Connector AJP with value: 'UTF-8'
      >
      > - adding tomcat URIEncoding attribute for element <Connector HTTP with value: 'UTF-8'
      >
      > Exception in thread "main" java.lang.RuntimeException: Cant find
      > grouper-ws-scim:
      > /usr/local/mcomm/grouper/grouper.ws-2.3.0/grouper-ws-scim
      >
      > at
      > edu.internet2.middleware.grouperInstaller.GrouperInstaller.buildWsScim
      > (GrouperInstaller.java:2950)
      >
      > at
      > edu.internet2.middleware.grouperInstaller.GrouperInstaller.mainInstall
      > Logic(GrouperInstaller.java:8656)
      >
      > at
      > edu.internet2.middleware.grouperInstaller.GrouperInstaller.access$500(
      > GrouperInstaller.java:83)
      >
      > at
      > edu.internet2.middleware.grouperInstaller.GrouperInstaller$GrouperInst
      > allerMainFunction$2.logic(GrouperInstaller.java:1487)
      >
      > at
      > edu.internet2.middleware.grouperInstaller.GrouperInstaller.mainLogic(G
      > rouperInstaller.java:1710)
      >
      > at
      > edu.internet2.middleware.grouperInstaller.GrouperInstaller.main(Groupe
      > rInstaller.java:550)
      >
      > [liamr@mcdev-grouper1 grouper.installer-2.3.0]$
      >
      >
      >
      >
      >

      Attachments

        Activity

          People

            chris.hyzer@at.internet2.edu Chris Hyzer (upenn.edu)
            chris.hyzer@at.internet2.edu Chris Hyzer (upenn.edu)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: