Skip to Content.
Sympa Menu

grouper-users - [grouper-users] Re: fresh install generating hibernate errors?

Subject: Grouper Users - Open Discussion List

List archive

[grouper-users] Re: fresh install generating hibernate errors?


Chronological Thread 
  • From: Liam Hoekenga <>
  • To:
  • Subject: [grouper-users] Re: fresh install generating hibernate errors?
  • Date: Wed, 29 Mar 2017 11:26:36 -0500
  • Ironport-phdr: 9a23:6r2QThBQIeqstTCVjsIuUyQJP3N1i/DPJgcQr6AfoPdwSPvyocbcNUDSrc9gkEXOFd2CrakV1qyG7Ou/ACQp2tWoiDg6aptCVhsI2409vjcLJ4q7M3D9N+PgdCcgHc5PBxdP9nC/NlVJSo6lPwWB6nK94iQPFRrhKAF7Ovr6GpLIj8Swyuu+54Dfbx9GiTe5Yb5+Nha7oAfeusQUnIdpN7o8xAbOrnZUYepd2HlmJUiUnxby58ew+IBs/iFNsP8/9MBOTLv3cb0gQbNXEDopPWY15Nb2tRbYVguA+mEcUmQNnRVWBQXO8Qz3UY3wsiv+sep9xTWaMMjrRr06RTiu86FmQwLuhSwaNTA27XvXh9Ryg6JVoByvqR9xzZPKbo6JL/dxZL/RcMkASGZdQspcVSpMCZ68YYsVCOoBOP5VoY/8p1QUqBu1GAuiBOTxxT9LmHD226I63P48GgzB2AwgHsgBsHHOrNjuKacSVOG1w7XIzTnZcfxZxCr95ZHOfxs8r/+MWrdwftDQyUkpDw7Fj1OQqZD7MDOP0OQCrXSb4/R6We2xlmEntgd8qSWsyMc0koTFmIMYxkzG+Ch8zoY4Jsa3RFJ+bNOrDJdcqz2VOo5qTc8+Q2xlvSM3xqMYtZGgeiUB1Y4pyATFa/OddoiF+hLjW/iVITd/nH9lfaiwhxe28US51O38VdW43E9FryZbjNXDrWoB1xPU6siARft9+lmu1SyT2ADU7+FIOUE0lazFJJ492rM8iJsevVjBEyLzlkX7j7SZelkh9+Wn9+jrfqnpq5qAOINoigzzN6EjltKhDesjKgQOWnKU+eW41L3t5035R7BKg+UykqnYqp/aIN4bq7WkAw9Q04Ys9xa/Ay2439sFgHkLNEhFdw6fj4j1J1HOJ+j1Dfilg1SrjTdr3+7JPqf4DpXQNXjMjq3hfa1m5k5YyQoz1sxf54lKBr0bIfLzXFPxu8LCDh8/LQO03/jrBM9j2YwDRGLcSpOeZazItkKQ6/hqPvKBfpQ9uTDhJuIj6uK0y3I1hAwzZ66siL8WYXXwPvNrIEifbnOk1tMAGGIQlhc7TefqzlCOTGgAND6JQ6sg62RjW8qdBoDZS9X1jQ==

Looks like adjusting the hibernate properties may have fixed the issue.

I guess our server didn't like the default values provided in grouper.hibernate.base.properties (hibernate.c3p0.max_size?)

Liam

On Wed, Mar 29, 2017 at 10:33 AM, Liam Hoekenga <> wrote:
Our grouper installation is still pretty much a sandbox.
I decided to wipe the database so I could try a new installation based on the TIER deployment guide (https://spaces.internet2.edu/display/TI/Consultation+for+TIER+Grouper+Deployment+Guide)

I'm using MySQL 5.1.  It's running in a multi-master replication configuration
Java 1.8.0_111, RHEL 7.  Grouper API 2.3.0 patch 59

I'm generating the new SQL file using...
    ./gsh.sh -registry -check

I'm initializing the tablespace using something like...

    ./gsh.sh -registry -runsqlfile /usr/local/grouper/grouper.apiBinary-2.3.0/ddlScripts/grouperDdl_20170329_11_19_56_831.sql

I'm getting Hibernate errors when it tries to create the standard groups:

Grouper warning: cannot find group from config: wheel group from grouper.properties key: groups.wheel.group: etc:sysadmingroup
Grouper error: etc:sysadmingroup, java.lang.NullPointerException: Problem in HibernateSession: HibernateSession (6dd79214): notNew, notReadonly, READ_WRITE_NEW, activeTransaction, session (34009349),
Problem in HibernateSession: HibernateSession (570a62a5): new, notReadonly, READ_WRITE_NEW, notActiveTransaction, session (34009349),
Problem saving group: etc:sysadmingroup, thread: 2d209079

There were some earlier threads from the archives that suggested that the groups would get created when I started interacting with the API, but I get a similar error that prevents GSH from starting at all:

Couldnt startup grouper: Problem in HibernateSession: HibernateSession (136ccbfe): notNew, notReadonly, READ_WRITE_NEW, activeTransaction, session (8bd076a),
Problem in HibernateSession: HibernateSession (2c7db926): new, notReadonly, READ_WRITE_NEW, notActiveTransaction, session (8bd076a)
java.lang.NullPointerException: Problem in HibernateSession: HibernateSession (136ccbfe): notNew, notReadonly, READ_WRITE_NEW, activeTransaction, session (8bd076a),
Problem in HibernateSession: HibernateSession (2c7db926): new, notReadonly, READ_WRITE_NEW, notActiveTransaction, session (8bd076a)

What's happening here?

thanks!
Liam




Archive powered by MHonArc 2.6.19.

Top of Page