Details
-
Improvement
-
Resolution: Fixed
-
Minor
-
None
-
None
-
None
Description
- Running the jar defaults to the "install" option which seems like it's the old way of installing. Should installContainer be the default? [yes] Should install be removed? [yes]
- change
FROM
Do you want to auto init the database for this container and the subsequent containers (t|f)? [t]
TO
Do you want to init the database and auto-upgrade for subsequent containers of the same major and minor version of Grouper (t|f)? [t]
- Before initting the database, if the user inputs an oracle connect string, ask them if they want the installer to install the oracle jar and ask them if they have reviewed and agree to Oracle's terms
https://www.oracle.com/downloads/licenses/distribution-license.html
(default true), and if so, get the jar from
https://repo1.maven.org/maven2/com/oracle/ojdbc/ojdbc8/19.3.0.0/ojdbc8-19.3.0.0.jar
Put it in the WEB-INF/lib
- Containers need to be finished before others start
Though it looks like the installer doesn't wait for the init to finish before continuing. I'm not exactly sure what happened after the init but I think the 3 containers running at the same time (gsh (init), gsh-ui-password, and gsh-ws-password) all tried to auto create objects together and maybe they were stepping on each other. In the end, gsh-ui-password and gsh-ws-password failed.
- provide the grouper.xml file in/opt/tomee/conf/Catalina/localhost/grouper.xml[root@1f1ea8dc41da bin]# more /opt/tomee/conf/Catalina/localhost/grouper.xml
<Context docBase="/opt/grouper/grouperWebapp/" path="/grouperWebapp" reloadable="false">
<!-- Allow our symlinks to work-->
<Resources allowLinking="true" />
</Context>
[root@1f1ea8dc41da bin]#
- dont use any grouper jars that are created by maven. only download from maven central
- dont have WEB-INF/lib/grouper-ui*.jar, grouper-ws*.jar, grouper-ws-scim*.jar