grouper-users - RE: [grouper-users] how to restart grouper without running the installer again?
Subject: Grouper Users - Open Discussion List
List archive
RE: [grouper-users] how to restart grouper without running the installer again?
Chronological Thread
- From: "Hyzer, Chris" <>
- To: Adam Chi-Lun Chang <>
- Cc: " Mailing List" <>
- Subject: RE: [grouper-users] how to restart grouper without running the installer again?
- Date: Fri, 28 Jun 2019 13:12:03 +0000
Did you kill the processes first (or stop them gracefully)?
Btw, you don’t have to restart the DB, just the tomcat(s) and daemon.
Thanks
From: Adam Chi-Lun Chang <>
Thanks Chris.
I have followed the subject API wiki (https://spaces.at.internet2.edu/display/Grouper/Subject+API) to try to get the subject store setup from a public ldap. Then I tried to restart the grouper instance (installed by the grouper installer) with these 2 commands but it does not seem to return any person from the ldap when I search to add a new member.
"c:\Program Files\Java\jdk1.8.0_212\bin\java" -cp c:\OITDevEnv\Grouper\gi\grouper.apiBinary-2.4.0\lib\jdbcSamples\* org.hsqldb.Server -database.0 file:c:\OITDevEnv\Grouper\gi\grouper.apiBinary-2.4.0\grouper -dbname.0 grouper -port 9001
c:\OITDevEnv\Grouper\gi\apache-tomcat-8.5.12\bin\startup.bat
Any idea what I have missed? Thanks.
~Adam
From: Hyzer, Chris <>
https://spaces.at.internet2.edu/display/Grouper/Grouper+-+Loader+LDAP https://spaces.at.internet2.edu/display/Grouper/Grouper+Loader+LDAP+examples https://spaces.at.internet2.edu/display/Grouper/Grouper+Messaging+with+ActiveMQ
Let me know if you have issues
Thanks Chris
From: Adam Chi-Lun Chang <>
Thank you Chris.
After checking with my manager Warren Leung, we decide to experiment installing/configuring Grouper with the traditional way since Docker is not supported at UCI yet.
What I would like to try is install & configure Grouper in a linux (Centos) box which can
I assume it requires
I found this page but it does not seem to cover the LDAP loader (configure to LDAP) and the ActiveMQ part. https://spaces.at.internet2.edu/display/Grouper/Grouper+Getting+Started+Quickly
If there are no other documents then I will try it out first and definitely ask for help here. Thanks. J
Regards, ~Adam
From: Hyzer, Chris <>
If you can install and use docker that is best. If we need to update certain docs let us know 😊
Thanks Chris
From: Adam Chi-Lun Chang <>
Hi Chris, Bill, Jeff,
Thank you so much for your responses.
Yes I ran through the installer again and recorded the print out. After several trial and error I did get the commends I need to restart my grouper instance without rerun the installer all over again. While installer provided me a quick way to play around the Grouper, is using the installer also the best way to move forward and start a pre-production environment in a Linux box? This page (https://spaces.at.internet2.edu/pages/viewpage.action?pageId=15729363) indicated starting 2019 using docker container is the suggested method for installing grouper but there is only source code in the link (https://spaces.at.internet2.edu/display/ITAP/InCommon+Trusted+Access+Platform+Release). Do I need to build and deploy docker to somewhere? I guess my question is what’s the best/easiest/fastest way to just start up the grouper (api, ui, ws) out of the box? There is also grouper.apiBinary-2.4.0 and this is what’s in the readme. - Generally: 1. configure the non-example files in the conf dir 2a. If you are using hsqldb, start your database: [windows]: java -cp lib\jdbcSamples\hsqldb-2.3.5.jar org.hsqldb.Server -database.0 file:grouper -dbname.0 grouper -port 9001 [unix]: java -cp lib/jdbcSamples/hsqldb-2.3.5.jar org.hsqldb.Server -database.0 file:grouper -dbname.0 grouper -port 9001 2b. init your registry: [windows]: bin\gsh -registry -check -runscript [unix]: bin/gsh -registry -check -runscript 3. start gsh: [windows]: bin\gsh [unix]: bin/gsh https://spaces.internet2.edu/pages/viewpage.action?pageId=14517859 4. install the ui quickstart, or web services
Do I need to install apache tomcat first and then dump the whole apiBinary-2.4.0 folder somewhere in the apache?
Sorry I don’t have too much of experience in grouper nor initiate an app like grouper in linux except deploy jars into tomcat. Any help will be greatly appreciated. Thanks.
Regards, ~Adam
From: Hyzer, Chris <>
The commands to do everything are printed out when you do the installer. Did you happen to keep the output?
If you run the installer again, but instead of “install”, you type “admin”, it should let you stop and start things. Does it work?
Or in the tomcat dirs. There is “bin/shutdown.bat” and “bin/startup.bat”. In the grouper dir is start-hsql.bat
Thanks! Chris
From: <>
On Behalf Of Bill Thompson
Adam,
If you are looking to easily spin up an environment with all the components so that you can evaluate and learn about Grouper, I'd recommend taking a look at the Grouper Training Environment.
Try this:
All of the GTE docker images you can run are here: https://hub.docker.com/r/tier/gte/tags Account/passwords and other info about the GTE is here: https://github.internet2.edu/docker/grouper_training/tree/201906
I'd also recommend starting with the docker release packages instead of the Grouper installer.
Best, Bill
-----Original Message-----
Hi Adam,
I'm not sure if the installer does this for you but I think you can use apache commons daemon to register java applications as windows services. Otherwise they should be listed as a service already.
Jeffrey C.
On Mon, Jun 24, 2019 at 9:43 AM <> wrote:
|
- [grouper-users] how to restart grouper without running the installer again?, adam . chang, 06/24/2019
- Re: [grouper-users] how to restart grouper without running the installer again?, Bill Thompson, 06/24/2019
- RE: [grouper-users] how to restart grouper without running the installer again?, Hyzer, Chris, 06/24/2019
- RE: [grouper-users] how to restart grouper without running the installer again?, Adam Chi-Lun Chang, 06/24/2019
- RE: [grouper-users] how to restart grouper without running the installer again?, Hyzer, Chris, 06/24/2019
- RE: [grouper-users] how to restart grouper without running the installer again?, Adam Chi-Lun Chang, 06/25/2019
- RE: [grouper-users] how to restart grouper without running the installer again?, Hyzer, Chris, 06/26/2019
- RE: [grouper-users] how to restart grouper without running the installer again?, Adam Chi-Lun Chang, 06/27/2019
- RE: [grouper-users] how to restart grouper without running the installer again?, Hyzer, Chris, 06/28/2019
- Message not available
- RE: [grouper-users] how to restart grouper without running the installer again?, Hyzer, Chris, 06/29/2019
- RE: [grouper-users] how to restart grouper without running the installer again?, Hyzer, Chris, 06/26/2019
- RE: [grouper-users] how to restart grouper without running the installer again?, Adam Chi-Lun Chang, 06/25/2019
- RE: [grouper-users] how to restart grouper without running the installer again?, Hyzer, Chris, 06/24/2019
- RE: [grouper-users] how to restart grouper without running the installer again?, Adam Chi-Lun Chang, 06/24/2019
- RE: [grouper-users] how to restart grouper without running the installer again?, Hyzer, Chris, 06/24/2019
- Re: [grouper-users] how to restart grouper without running the installer again?, Bill Thompson, 06/24/2019
Archive powered by MHonArc 2.6.19.