...
- Meet required prerequisites and download the Grouper API binary release
- API Building & Configuration. Config files are in the conf/ directory. Config files ending in ".example" are templates and should not be modified. Config files not ending in ".example" are customizable
- Initialize your database (by default HSQLDB) by running gsh -registry -check -runscript
No Format |
---|
C:\dev_inst\eclipse\workspace_v33\grouper\bin>gsh -registry -check -runscript Using GROUPER_HOME: C:\dev_inst\eclipse\workspace_v33\grouper\bin\.. Using GROUPER_CONF: C:\dev_inst\eclipse\workspace_v33\grouper\bin\../conf Using JAVA: "c:\dev_inst\java/bin/java" using MEMORY: 64m-512m Grouper starting up: version: 1.4.0 build date: 2008/11/13 14:42:25 grouper.properties read from: C:\dev_inst\eclipse\workspace_v33\grouper\conf\grouper.properties Grouper current directory is: C:\dev_inst\eclipse\workspace_v33\grouper\bin log4j.properties read from: C:\dev_inst\eclipse\workspace_v33\grouper\conf\log4j.properties Grouper is logging to file: C:\dev_inst\eclipse\workspace_v33\grouper\bin\..\logs\grouper_error.log, at min level WARN for package: edu.internet2.middleware.grouper, based on log4j.properties grouper.hibernate.properties: C:\dev_inst\eclipse\workspace_v33\grouper\conf\grouper.hibernate.properties grouper.hibernate.properties: sa@jdbc:hsqldb:C:\dev_inst\eclipse\workspace_v33\grouper\bin\..\dist/run/grouper;create=true sources.xml read from: C:\dev_inst\eclipse\workspace_v33\grouper\conf\sources.xml sources.xml groupersource id: g:gsa sources.xml jdbc source id: jdbc: GrouperJdbcConnectionProvider Based on grouper.properties: ddlutils.schemaexport.installGrouperData=true (note, might need to type in your response multiple times (Java stdin is flaky)) (note, you can whitelistallow orand blacklistdeny db urls and users in the grouper.properties) Are you sure you want to schemaexport all tables (dropThenCreate=F,writeAndRunScript=T) in db user 'sa', db url 'jdbc:hsqldb:C:\dev_inst\eclipse\workspace_v33\grouper\bin\..\dist/run/grouper;create=true'? (y|n): y Continuing... Grouper ddl object type 'Grouper' has dbVersion: 0 and java version: 12 Grouper ddl object type 'Subject' has dbVersion: 0 and java version: 1 Grouper database schema DDL requires updates (should run script manually and carefully, in sections, verify data before drop statements, backup/export important data before starting, follow change log on confluence, dont run exact same script in multiple envs - generate a new one for each env), script file is: C:\dev_inst\eclipse\workspace_v33\grouper\bin\..\ddlScripts\grouperDdl_20081114_02_00_20_771.sql Script was executed successfully C:\dev_inst\eclipse\workspace_v33\grouper\bin> |
- Verify the installation was successful by examining log files in the logs/ directory.
- When using HSQLDB, a second attempt is sometimes necessary: gsh -registry -check -runscript
- It is now possible to run GrouperShell (gsh)and Initialize Administration of Privileges
...