grouper-users - [grouper-users] upgrade with grouperInstaller.jar problem generating DDL script
Subject: Grouper Users - Open Discussion List
List archive
[grouper-users] upgrade with grouperInstaller.jar problem generating DDL script
Chronological Thread
- From: Scott Koranda <>
- To: grouper-users <>
- Subject: [grouper-users] upgrade with grouperInstaller.jar problem generating DDL script
- Date: Thu, 23 Jun 2016 16:11:56 -0500
Hi,
I am using the grouperInstaller.jar from version 2.3.0 to
attempt to upgrade from version 2.1.5 to 2.3.0.
I am focusing first on upgrading the API.
During the upgrade process I am receiving the error with stack
trace shown below.
Note that I have given the process 2000m of memory.
Any ideas on how I should proceed?
Thanks,
Scott K
Checking API database version with command:
/opt/grouper/grouper.api-2.1.5/bin/gsh.sh -registry -check -noprompt
...
stdout: Using GROUPER_HOME: /opt/grouper/grouper.api-2.1.5/bin/..
Using GROUPER_CONF: /opt/grouper/grouper.api-2.1.5/bin/../conf
Using JAVA: java
using MEMORY: 64m-2000m
Grouper starting up: version: 2.3.0, build date: 2016/04/16 05:37:21, env:
GROUPDEV
grouper.properties read from:
/opt/grouper/grouper.api-2.1.5/conf/grouper.properties
Grouper current directory is: /opt/grouper/grouper.api-2.1.5/bin
log4j.properties read from:
/opt/grouper/grouper.api-2.1.5/conf/log4j.properties
Grouper logs are not using log4j: class
org.apache.commons.logging.impl.SLF4JLocationAwareLog
grouper.hibernate.properties:
/opt/grouper/grouper.api-2.1.5/conf/grouper.hibernate.properties
grouper.hibernate.properties:
grouper@jdbc:oracle:thin:@myorg.edu:1521:GRPDEV
sources.xml read from: /opt/grouper/grouper.api-2.1.5/conf/sources.xml
sources.xml groupersource id: g:gsa
sources.xml ldap source id: MYORG: ldap.properties
sources.xml groupersource id: grouperEntities
stderr: Grouper ddl object type 'Grouper' has dbVersion: 0 and java version:
30
java.lang.NullPointerException: Problem in HibernateSession: null
at
edu.internet2.middleware.grouper.internal.dao.hib3.Hib3DAO.session(Hib3DAO.java:323)
at
edu.internet2.middleware.grouper.internal.dao.hib3.Hib3DAOFactory.getSession(Hib3DAOFactory.java:186)
at
edu.internet2.middleware.grouper.hibernate.HibernateSession.<init>(HibernateSession.java:241)
at
edu.internet2.middleware.grouper.hibernate.HibernateSession._internal_hibernateSession(HibernateSession.java:467)
at
edu.internet2.middleware.grouper.hibernate.HibernateSession.callbackHibernateSession(HibernateSession.java:659)
at
edu.internet2.middleware.grouper.hibernate.BySqlStatic.select(BySqlStatic.java:138)
at
edu.internet2.middleware.grouper.hibernate.BySqlStatic.select(BySqlStatic.java:124)
at
edu.internet2.middleware.grouper.ddl.GrouperDdl.addTableIndices(GrouperDdl.java:13233)
at
edu.internet2.middleware.grouper.ddl.GrouperDdl.access$3700(GrouperDdl.java:103)
at
edu.internet2.middleware.grouper.ddl.GrouperDdl$25.updateVersionFromPrevious(GrouperDdl.java:1836)
at
edu.internet2.middleware.grouper.ddl.GrouperDdlUtils.upgradeDatabaseVersion(GrouperDdlUtils.java:2104)
at
edu.internet2.middleware.grouper.ddl.GrouperDdlUtils.bootstrapHelper(GrouperDdlUtils.java:631)
at
edu.internet2.middleware.grouper.registry.RegistryInitializeSchema.main(RegistryInitializeSchema.java:172)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at
edu.internet2.middleware.grouper.app.gsh.GrouperShell.handleSpecialCase(GrouperShell.java:204)
at
edu.internet2.middleware.grouper.app.gsh.GrouperShell.main(GrouperShell.java:144)
at
edu.internet2.middleware.grouper.app.gsh.GrouperShellWrapper.main(GrouperShellWrapper.java:31)
Exception in thread "main" java.lang.RuntimeException:
java.lang.reflect.InvocationTargetException
at
edu.internet2.middleware.grouper.app.gsh.GrouperShell.handleSpecialCase(GrouperShell.java:214)
at
edu.internet2.middleware.grouper.app.gsh.GrouperShell.main(GrouperShell.java:144)
at
edu.internet2.middleware.grouper.app.gsh.GrouperShellWrapper.main(GrouperShellWrapper.java:31)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at
edu.internet2.middleware.grouper.app.gsh.GrouperShell.handleSpecialCase(GrouperShell.java:204)
... 2 more
Caused by: java.lang.RuntimeException: java.lang.NullPointerException:
Problem in HibernateSession: null
at
edu.internet2.middleware.grouper.registry.RegistryInitializeSchema.main(RegistryInitializeSchema.java:194)
... 7 more
Caused by: java.lang.NullPointerException: Problem in HibernateSession: null
at
edu.internet2.middleware.grouper.internal.dao.hib3.Hib3DAO.session(Hib3DAO.java:323)
at
edu.internet2.middleware.grouper.internal.dao.hib3.Hib3DAOFactory.getSession(Hib3DAOFactory.java:186)
at
edu.internet2.middleware.grouper.hibernate.HibernateSession.<init>(HibernateSession.java:241)
at
edu.internet2.middleware.grouper.hibernate.HibernateSession._internal_hibernateSession(HibernateSession.java:467)
at
edu.internet2.middleware.grouper.hibernate.HibernateSession.callbackHibernateSession(HibernateSession.java:659)
at
edu.internet2.middleware.grouper.hibernate.BySqlStatic.select(BySqlStatic.java:138)
at
edu.internet2.middleware.grouper.hibernate.BySqlStatic.select(BySqlStatic.java:124)
at
edu.internet2.middleware.grouper.ddl.GrouperDdl.addTableIndices(GrouperDdl.java:13233)
at
edu.internet2.middleware.grouper.ddl.GrouperDdl.access$3700(GrouperDdl.java:103)
at
edu.internet2.middleware.grouper.ddl.GrouperDdl$25.updateVersionFromPrevious(GrouperDdl.java:1836)
at
edu.internet2.middleware.grouper.ddl.GrouperDdlUtils.upgradeDatabaseVersion(GrouperDdlUtils.java:2104)
at
edu.internet2.middleware.grouper.ddl.GrouperDdlUtils.bootstrapHelper(GrouperDdlUtils.java:631)
at
edu.internet2.middleware.grouper.registry.RegistryInitializeSchema.main(RegistryInitializeSchema.java:172)
... 7 more
- [grouper-users] upgrade with grouperInstaller.jar problem generating DDL script, Scott Koranda, 06/23/2016
- [grouper-users] Re: upgrade with grouperInstaller.jar problem generating DDL script, Scott Koranda, 06/23/2016
- [grouper-users] Re: upgrade with grouperInstaller.jar problem generating DDL script, Scott Koranda, 06/23/2016
- RE: [grouper-users] Re: upgrade with grouperInstaller.jar problem generating DDL script, Hyzer, Chris, 06/23/2016
- Re: [grouper-users] Re: upgrade with grouperInstaller.jar problem generating DDL script, Scott Koranda, 06/24/2016
- RE: [grouper-users] Re: upgrade with grouperInstaller.jar problem generating DDL script, Hyzer, Chris, 06/24/2016
- Re: [grouper-users] Re: upgrade with grouperInstaller.jar problem generating DDL script, Scott Koranda, 06/24/2016
- RE: [grouper-users] Re: upgrade with grouperInstaller.jar problem generating DDL script, Hyzer, Chris, 06/24/2016
- Re: [grouper-users] Re: upgrade with grouperInstaller.jar problem generating DDL script, Scott Koranda, 06/24/2016
- Re: [grouper-users] Re: upgrade with grouperInstaller.jar problem generating DDL script, Scott Koranda, 06/24/2016
- RE: [grouper-users] Re: upgrade with grouperInstaller.jar problem generating DDL script, Hyzer, Chris, 06/24/2016
- Re: [grouper-users] Re: upgrade with grouperInstaller.jar problem generating DDL script, Scott Koranda, 06/24/2016
- RE: [grouper-users] Re: upgrade with grouperInstaller.jar problem generating DDL script, Hyzer, Chris, 06/23/2016
- [grouper-users] Re: upgrade with grouperInstaller.jar problem generating DDL script, Scott Koranda, 06/23/2016
- [grouper-users] Re: upgrade with grouperInstaller.jar problem generating DDL script, Scott Koranda, 06/23/2016
Archive powered by MHonArc 2.6.16.