grouper-users - [grouper-users] Preparing the Grouper db
Subject: Grouper Users - Open Discussion List
List archive
- From: Earl Lewis <>
- To: "" <>
- Subject: [grouper-users] Preparing the Grouper db
- Date: Thu, 14 Mar 2013 20:23:23 +0000
- Accept-language: en-US
- Authentication-results: sfpop-ironport04.merit.edu; dkim=neutral (message not signed) header.i=none
We've spent some time messing around with Grouper and the hsql database that installs by default. We've built out a test folder hierarchy in that hsql db and are wondering about moving it to another database backend. We've successfully setup the hibernate
connection to talk to an Oracle backend and also been able to get the DDL script to run successfully to create the Oracle schema.
In fact, we were actually able to use the hsql db .script file to load data into the Oracle database and this seemed to work, at least initially. We had to disable/re-enable all the primary/foreign key constraints in order for it to load up but that actually
seemed to work fine. Once the database was running for a while hibernate started throwing some errors and everything eventually came crashing down. We were seeing an error in the catalina.out logs that looked like this: "java.sql.BatchUpdateException: ORA-00001:
unique constraint (GROUPER.MEMBERSHIP_UNIQ_IDX) violated".
The database kept running but the Grouper UI stopped running and would not restart once these errors started. Obviously there were some troubles with the data that we loaded in and don't necessarily want to try to resolve this particular problem. It
seems pretty clear from the error that we were generating conflicting data (groups, members, memberships, etc.) somehow.
What I would like to do is salvage the folder structure from our hsql db by trying to load just the "stems" data into the Grouper database. I can truncate all the tables and try it but what I guess I'm wondering is what kind of seed data does Grouper need
to be able to allow this kind of "jump start"? If it's not possible so be it, we'll just start with a fresh database and go from there.
One thing I noticed is that in the instructions for "preparing for production" there are clear instructions for getting the Oracle database setup. I followed these and they all worked great. The thing that I didn't see is if there is any sort of seed data
required to start with a fresh database (besides setting up the subject source)?
Earl Lewis
801-581-3635 (office)
801-554-3596 (mobile)
|
- [grouper-users] Preparing the Grouper db, Earl Lewis, 03/14/2013
- RE: [grouper-users] Preparing the Grouper db, Chris Hyzer, 03/15/2013
- Re: [grouper-users] Preparing the Grouper db, Earl Lewis, 03/15/2013
- Re: [grouper-users] Preparing the Grouper db, Earl Lewis, 03/15/2013
- Re: [grouper-users] Preparing the Grouper db, Earl Lewis, 03/21/2013
- FW: [grouper-users] Preparing the Grouper db, Earl Lewis, 03/25/2013
- Re: [grouper-users] Preparing the Grouper db, Earl Lewis, 03/29/2013
- FW: [grouper-users] Preparing the Grouper db, Earl Lewis, 03/25/2013
- Re: [grouper-users] Preparing the Grouper db, Earl Lewis, 03/15/2013
- <Possible follow-up(s)>
- Re: [grouper-users] Preparing the Grouper db, mchyzer, 03/16/2013
- Re: [grouper-users] Preparing the Grouper db, Earl Lewis, 03/18/2013
- RE: [grouper-users] Preparing the Grouper db, Chris Hyzer, 03/18/2013
- Re: [grouper-users] Preparing the Grouper db, Earl Lewis, 03/18/2013
- Re: [grouper-users] Preparing the Grouper db, mchyzer, 03/30/2013
- RE: [grouper-users] Preparing the Grouper db, Chris Hyzer, 03/15/2013
Archive powered by MHonArc 2.6.16.