Uploaded image for project: 'Grouper'
  1. Grouper
  2. GRP-1200

Running "-registry -drop -runscript" fails

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.2.1
    • Fix Version/s: 2.2.2
    • Component/s: API
    • Labels:
      None

      Description

      ##################################
      Initting DB with command: cmd /c c:\temp\offline\grouper.apiBinary-2.2.1\bin\gsh.bat -registry -drop -runscript -noprompt

      .
      stderr: 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:\temp\offline\grouper.apiBinary-2.2.1\ddlScripts\grouperDdl_20150916_14_22_54_450.sql
      Grouper warning: jarfile mismatch, expecting name: 'subject.jar' size: 260483 manifest version: 2.2.1. However the jar detected is: C:\temp\offline\grouper.apiBinary-2.2.1\lib\grouper\subject.jar, name: subject.jar size: 259419 manifest version: 2.2.1
      Grouper note: auto-created attributeDefName: etc:attribute:attrExternalSubjectInvite:externalSubjectInvite
      Grouper note: auto-created attributeDefName: etc:attribute:attrExternalSubjectInvite:externalSubjectInviteExpireDate
      Grouper note: auto-created attributeDefName: etc:attribute:attrExternalSubjectInvite:externalSubjectInviteDate
      Grouper note: auto-created attributeDefName: etc:attribute:attrExternalSubjectInvite:externalSubjectEmailAddress
      Grouper note: auto-created attributeDefName: etc:attribute:attrExternalSubjectInvite:externalSubjectInviteGroupUuids
      Grouper note: auto-created attributeDefName: etc:attribute:attrExternalSubjectInvite:externalSubjectInviteMemberId
      Grouper note: auto-created attributeDefName: etc:attribute:attrExternalSubjectInvite:externalSubjectInviteUuid
      Grouper note: auto-created attributeDefName: etc:attribute:attrExternalSubjectInvite:externalSubjectInviteEmailWhenRegistered
      Grouper note: auto-created attributeDefName: etc:attribute:attrExternalSubjectInvite:externalSubjectInviteEmail
      Grouper note: auto-created attributeDefName: etc:attribute:rules:rule
      Grouper note: auto-created attributeDefName: etc:attribute:rules:ruleActAsSubjectId
      Grouper note: auto-created attributeDefName: etc:attribute:rules:ruleActAsSubjectIdentifier
      Grouper note: auto-created attributeDefName: etc:attribute:rules:ruleActAsSubjectSourceId
      Grouper note: auto-created attributeDefName: etc:attribute:rules:ruleCheckType
      Grouper note: auto-created attributeDefName: etc:attribute:rules:ruleCheckOwnerId
      Grouper note: auto-created attributeDefName: etc:attribute:rules:ruleCheckOwnerName
      Grouper note: auto-created attributeDefName: etc:attribute:rules:ruleCheckStemScope
      Grouper note: auto-created attributeDefName: etc:attribute:rules:ruleCheckArg0
      Grouper note: auto-created attributeDefName: etc:attribute:rules:ruleCheckArg1
      Grouper note: auto-created attributeDefName: etc:attribute:rules:ruleIfOwnerId
      Grouper note: auto-created attributeDefName: etc:attribute:rules:ruleIfOwnerName
      Grouper note: auto-created attributeDefName: etc:attribute:rules:ruleIfConditionEl
      Grouper note: auto-created attributeDefName: etc:attribute:rules:ruleIfConditionEnum
      Grouper note: auto-created attributeDefName: etc:attribute:rules:ruleIfConditionEnumArg0
      Grouper note: auto-created attributeDefName: etc:attribute:rules:ruleIfConditionEnumArg1
      Grouper note: auto-created attributeDefName: etc:attribute:rules:ruleIfStemScope
      Grouper note: auto-created attributeDefName: etc:attribute:rules:ruleThenEl
      Grouper note: auto-created attributeDefName: etc:attribute:rules:ruleThenEnum
      Grouper note: auto-created attributeDefName: etc:attribute:rules:ruleThenEnumArg0
      Grouper note: auto-created attributeDefName: etc:attribute:rules:ruleThenEnumArg1
      Grouper note: auto-created attributeDefName: etc:attribute:rules:ruleThenEnumArg2
      Grouper note: auto-created attributeDefName: etc:attribute:rules:ruleValid
      Grouper note: auto-created attributeDefName: etc:attribute:rules:ruleRunDaemon
      Grouper note: auto-created attributeDefName: etc:attribute:permissionLimits:limitExpression
      Grouper note: auto-created attributeDefName: etc:attribute:permissionLimits:limitIpOnNetworks
      Grouper note: auto-created attributeDefName: etc:attribute:permissionLimits:limitIpOnNetworkRealm
      Grouper note: auto-created attributeDefName: etc:attribute:permissionLimits:limitLabelsContain
      Grouper note: auto-created attributeDefName: etc:attribute:permissionLimits:limitAmountLessThan
      Grouper note: auto-created attributeDefName: etc:attribute:permissionLimits:limitAmountLessThanOrEqual
      Grouper note: auto-created attributeDefName: etc:attribute:permissionLimits:limitWeekday9to5
      Grouper note: auto-created attributeDefName: etc:attribute:attrLoader:attributeLoader
      Grouper note: auto-created attributeDefName: etc:attribute:attrLoader:attributeLoaderType
      Grouper note: auto-created attributeDefName: etc:attribute:attrLoader:attributeLoaderDbName
      Grouper note: auto-created attributeDefName: etc:attribute:attrLoader:attributeLoaderScheduleType
      Grouper note: auto-created attributeDefName: etc:attribute:attrLoader:attributeLoaderQuartzCron
      Grouper note: auto-created attributeDefName: etc:attribute:attrLoader:attributeLoaderIntervalSeconds
      Grouper note: auto-created attributeDefName: etc:attribute:attrLoader:attributeLoaderPriority
      Grouper note: auto-created attributeDefName: etc:attribute:attrLoader:attributeLoaderAttrsLike
      Grouper note: auto-created attributeDefName: etc:attribute:attrLoader:attributeLoaderAttrQuery
      Grouper note: auto-created attributeDefName: etc:attribute:attrLoader:attributeLoaderAttrSetQuery
      Grouper note: auto-created attributeDefName: etc:attribute:attrLoader:attributeLoaderActionQuery
      Grouper note: auto-created attributeDefName: etc:attribute:attrLoader:attributeLoaderActionSetQuery
      Grouper note: auto-created attributeDefName: etc:attribute:loaderLdap:grouperLoaderLdap
      Grouper note: auto-created attributeDefName: etc:attribute:loaderLdap:grouperLoaderLdapType
      Grouper note: auto-created attributeDefName: etc:attribute:loaderLdap:grouperLoaderLdapServerId
      Grouper note: auto-created attributeDefName: etc:attribute:loaderLdap:grouperLoaderLdapFilter
      Grouper note: auto-created attributeDefName: etc:attribute:loaderLdap:grouperLoaderLdapQuartzCron
      Grouper note: auto-created attributeDefName: etc:attribute:loaderLdap:grouperLoaderLdapSearchDn
      Grouper note: auto-created attributeDefName: etc:attribute:loaderLdap:grouperLoaderLdapSubjectAttribute
      Grouper note: auto-created attributeDefName: etc:attribute:loaderLdap:grouperLoaderLdapSourceId
      Grouper note: auto-created attributeDefName: etc:attribute:loaderLdap:grouperLoaderLdapSubjectIdType
      Grouper note: auto-created attributeDefName: etc:attribute:loaderLdap:grouperLoaderLdapAndGroups
      Grouper note: auto-created attributeDefName: etc:attribute:loaderLdap:grouperLoaderLdapSearchScope
      Grouper note: auto-created attributeDefName: etc:attribute:loaderLdap:grouperLoaderLdapPriority
      Grouper note: auto-created attributeDefName: etc:attribute:loaderLdap:grouperLoaderLdapGroupsLike
      Grouper note: auto-created attributeDefName: etc:attribute:loaderLdap:grouperLoaderLdapGroupAttribute
      Grouper note: auto-created attributeDefName: etc:attribute:loaderLdap:grouperLoaderLdapAttributeFilterExpression
      Grouper note: auto-created attributeDefName: etc:attribute:loaderLdap:grouperLoaderLdapExtraAttributes
      Grouper note: auto-created attributeDefName: etc:attribute:loaderLdap:grouperLoaderLdapErrorUnresolvable
      Grouper note: auto-created attributeDefName: etc:attribute:loaderLdap:grouperLoaderLdapGroupNameExpression
      Grouper note: auto-created attributeDefName: etc:attribute:loaderLdap:grouperLoaderLdapGroupDisplayNameExpression
      Grouper note: auto-created attributeDefName: etc:attribute:loaderLdap:grouperLoaderLdapGroupDescriptionExpression
      Grouper note: auto-created attributeDefName: etc:attribute:loaderLdap:grouperLoaderLdapSubjectExpression
      Grouper note: auto-created attributeDefName: etc:attribute:loaderLdap:grouperLoaderLdapGroupTypes
      Grouper note: auto-created attributeDefName: etc:attribute:loaderLdap:grouperLoaderLdapReaders
      Grouper note: auto-created attributeDefName: etc:attribute:loaderLdap:grouperLoaderLdapViewers
      Grouper note: auto-created attributeDefName: etc:attribute:loaderLdap:grouperLoaderLdapAdmins
      Grouper note: auto-created attributeDefName: etc:attribute:loaderLdap:grouperLoaderLdapUpdaters
      Grouper note: auto-created attributeDefName: etc:attribute:loaderLdap:grouperLoaderLdapOptins
      Grouper note: auto-created attributeDefName: etc:attribute:loaderLdap:grouperLoaderLdapOptouts
      Grouper note: auto-created attributeDefName: etc:attribute:loaderLdap:grouperLoaderLdapGroupAttrReaders
      Grouper note: auto-created attributeDefName: etc:attribute:loaderLdap:grouperLoaderLdapGroupAttrUpdaters
      Grouper note: auto-created attributeDefName: etc:attribute:userData:grouperUserData
      Grouper note: auto-created attributeDefName: etc:attribute:userData:grouperUserDataFavoriteGroups
      Grouper note: auto-created attributeDefName: etc:attribute:userData:grouperUserDataFavoriteSubjects
      Grouper note: auto-created attributeDefName: etc:attribute:userData:grouperUserDataRecentGroups
      Grouper note: auto-created attributeDefName: etc:attribute:userData:grouperUserDataFavoriteStems
      Grouper note: auto-created attributeDefName: etc:attribute:userData:grouperUserDataRecentStems
      Grouper note: auto-created attributeDefName: etc:attribute:userData:grouperUserDataRecentAttributeDefs
      Grouper note: auto-created attributeDefName: etc:attribute:userData:grouperUserDataRecentAttributeDefNames
      Grouper note: auto-created attributeDefName: etc:attribute:userData:grouperUserDataRecentSubjects
      Grouper note: auto-created attributeDefName: etc:attribute:userData:grouperUserDataFavoriteAttributeDefs
      Grouper note: auto-created attributeDefName: etc:attribute:userData:grouperUserDataFavoriteAttributeDefNames
      Grouper note: auto-created attributeDefName: etc:attribute:userData:grouperUserDataPreferences
      Grouper note: auto-created attributeDefName: etc:attribute:entities:entitySubjectIdentifier
      Couldnt startup grouper: Problem adding loader type/attributes
      java.lang.RuntimeException: Problem adding loader type/attributes
      at edu.internet2.middleware.grouper.misc.GrouperStartup.initLoaderType(GrouperStartup.java:591)
      at edu.internet2.middleware.grouper.misc.GrouperStartup.startup(GrouperStartup.java:275)
      at edu.internet2.middleware.grouper.registry.RegistryInitializeSchema.main(RegistryInitializeSchema.java:188)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      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)
      Caused by: java.lang.RuntimeException: Cannot create attribute def: , stem name: etc:legacy:attribute, attrDef extension: legacyGroupTypeDef_grouperLoader, uuid: null, , Problem in HibernateSession: HibernateSession (6dd603f5): notNew, notReadonly, READ_WRITE_NEW, activeTransaction, session (f7a2eab),
      Exception in save: edu.internet2.middleware.grouper.Membership, ByObjectStatic, query: ', cacheable: null, cacheRegion: null, entityName: ImmediateMembershipEntry, tx type: null,
      Problem in HibernateSession: HibernateSession (cb321c1): notNew, notReadonly, READ_WRITE_NEW, activeTransaction, session (f7a2eab),
      Problem in HibernateSession: HibernateSession (3d980821): new, notReadonly, READ_WRITE_NEW, notActiveTransaction, session (f7a2eab)
      at edu.internet2.middleware.grouper.misc.GrouperStartup$3.callback(GrouperStartup.java:578)
      at edu.internet2.middleware.grouper.GrouperSession.callbackGrouperSession(GrouperSession.java:974)
      at edu.internet2.middleware.grouper.misc.GrouperStartup.initLoaderType(GrouperStartup.java:556)
      ... 9 more
      Caused by: edu.internet2.middleware.grouper.exception.AttributeDefAddException: Cannot create attribute def: , stem name: etc:legacy:attribute, attrDef extension: legacyGroupTypeDef_grouperLoader, uuid: null, , Problem in HibernateSession: HibernateSession (6dd603f5): notNew, notReadonly, READ_WRITE_NEW, activeTransaction, session (f7a2eab),
      Exception in save: edu.internet2.middleware.grouper.Membership, ByObjectStatic, query: ', cacheable: null, cacheRegion: null, entityName: ImmediateMembershipEntry, tx type: null,
      Problem in HibernateSession: HibernateSession (cb321c1): notNew, notReadonly, READ_WRITE_NEW, activeTransaction, session (f7a2eab),
      Problem in HibernateSession: HibernateSession (3d980821): new, notReadonly, READ_WRITE_NEW, notActiveTransaction, session (f7a2eab)
      at edu.internet2.middleware.grouper.Stem$7.callback(Stem.java:2540)
      at edu.internet2.middleware.grouper.hibernate.HibernateSession.callbackHibernateSession(HibernateSession.java:687)
      at edu.internet2.middleware.grouper.Stem.internal_addChildAttributeDef(Stem.java:2476)
      at edu.internet2.middleware.grouper.Stem.addChildAttributeDef(Stem.java:544)
      at edu.internet2.middleware.grouper.GroupType$5.callback(GroupType.java:856)
      at edu.internet2.middleware.grouper.hibernate.HibernateSession.callbackHibernateSession(HibernateSession.java:687)
      at edu.internet2.middleware.grouper.GroupType.internal_createType(GroupType.java:819)
      at edu.internet2.middleware.grouper.GroupType.createTypeHelper(GroupType.java:233)
      at edu.internet2.middleware.grouper.GroupType.createType(GroupType.java:181)
      at edu.internet2.middleware.grouper.misc.GrouperStartup$3.callback(GrouperStartup.java:562)
      ... 11 more
      Caused by: edu.internet2.middleware.grouper.internal.dao.GrouperDAOException: Problem in HibernateSession: HibernateSession (6dd603f5): notNew, notReadonly, READ_WRITE_NEW, activeTransaction, session (f7a2eab),
      Exception in save: edu.internet2.middleware.grouper.Membership, ByObjectStatic, query: ', cacheable: null, cacheRegion: null, entityName: ImmediateMembershipEntry, tx type: null
      at edu.internet2.middleware.grouper.hibernate.HibernateSession._internal_hibernateSessionCatch(HibernateSession.java:575)
      at edu.internet2.middleware.grouper.hibernate.HibernateSession.callbackHibernateSession(HibernateSession.java:697)
      at edu.internet2.middleware.grouper.hibernate.ByObjectStatic.save(ByObjectStatic.java:468)
      at edu.internet2.middleware.grouper.internal.dao.hib3.Hib3MembershipDAO.save(Hib3MembershipDAO.java:2053)
      at edu.internet2.middleware.grouper.Membership.internal_addImmediateMembership(Membership.java:2748)
      at edu.internet2.middleware.grouper.privs.GrouperNonDbAttrDefAdapter$1.callback(GrouperNonDbAttrDefAdapter.java:243)
      at edu.internet2.middleware.grouper.GrouperSession.callbackGrouperSession(GrouperSession.java:974)
      at edu.internet2.middleware.grouper.privs.GrouperNonDbAttrDefAdapter.grantPriv(GrouperNonDbAttrDefAdapter.java:228)
      at edu.internet2.middleware.grouper.privs.AttributeDefWrapper.grantPrivilege(AttributeDefWrapper.java:147)
      at edu.internet2.middleware.grouper.privs.AttributeDefResolverDecorator.grantPrivilege(AttributeDefResolverDecorator.java:144)
      at edu.internet2.middleware.grouper.privs.AttributeDefResolverDecorator.grantPrivilege(AttributeDefResolverDecorator.java:144)
      at edu.internet2.middleware.grouper.privs.CachingAttrDefResolver.grantPrivilege(CachingAttrDefResolver.java:179)
      at edu.internet2.middleware.grouper.privs.AttributeDefResolverDecorator.grantPrivilege(AttributeDefResolverDecorator.java:144)
      at edu.internet2.middleware.grouper.privs.ValidatingAttrDefResolver.grantPrivilege(ValidatingAttrDefResolver.java:116)
      at edu.internet2.middleware.grouper.Stem._grantDefaultPrivsUponCreate(Stem.java:2841)
      at edu.internet2.middleware.grouper.Stem.access$500(Stem.java:167)
      at edu.internet2.middleware.grouper.Stem$7.callback(Stem.java:2518)
      ... 20 more
      Caused by: org.hibernate.exception.GenericJDBCException: Could not execute JDBC batch update,
      Exception in save: edu.internet2.middleware.grouper.Membership, edu.internet2.middleware.grouper.hibernate.ByObject@2f9922b5
      at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:140)
      at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:128)
      at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
      at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:275)
      at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:268)
      at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:184)
      at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:321)
      at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:51)
      at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1216)
      at edu.internet2.middleware.grouper.hibernate.ByObject.save(ByObject.java:214)
      at edu.internet2.middleware.grouper.hibernate.ByObjectStatic$7.callback(ByObjectStatic.java:481)
      at edu.internet2.middleware.grouper.hibernate.HibernateSession.callbackHibernateSession(HibernateSession.java:687)
      ... 35 more
      Caused by: java.sql.BatchUpdateException: failed batch
      at org.hsqldb.jdbc.jdbcStatement.executeBatch(Unknown Source)
      at org.hsqldb.jdbc.jdbcPreparedStatement.executeBatch(Unknown Source)
      at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeBatch(NewProxyPreparedStatement.java:1723)
      at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:70)
      at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:268)
      ... 43 more
      java.lang.RuntimeException: Problem adding loader type/attributes
      at edu.internet2.middleware.grouper.misc.GrouperStartup.initLoaderType(GrouperStartup.java:591)
      at edu.internet2.middleware.grouper.misc.GrouperStartup.startup(GrouperStartup.java:275)
      at edu.internet2.middleware.grouper.registry.RegistryInitializeSchema.main(RegistryInitializeSchema.java:188)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      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)
      Caused by: java.lang.RuntimeException: Cannot create attribute def: , stem name: etc:legacy:attribute, attrDef extension: legacyGroupTypeDef_grouperLoader, uuid: null, , Problem in HibernateSession: HibernateSession (6dd603f5): notNew, notReadonly, READ_WRITE_NEW, activeTransaction, session (f7a2eab),
      Exception in save: edu.internet2.middleware.grouper.Membership, ByObjectStatic, query: ', cacheable: null, cacheRegion: null, entityName: ImmediateMembershipEntry, tx type: null,
      Problem in HibernateSession: HibernateSession (cb321c1): notNew, notReadonly, READ_WRITE_NEW, activeTransaction, session (f7a2eab),
      Problem in HibernateSession: HibernateSession (3d980821): new, notReadonly, READ_WRITE_NEW, notActiveTransaction, session (f7a2eab)
      at edu.internet2.middleware.grouper.misc.GrouperStartup$3.callback(GrouperStartup.java:578)
      at edu.internet2.middleware.grouper.GrouperSession.callbackGrouperSession(GrouperSession.java:974)
      at edu.internet2.middleware.grouper.misc.GrouperStartup.initLoaderType(GrouperStartup.java:556)
      ... 9 more
      Caused by: edu.internet2.middleware.grouper.exception.AttributeDefAddException: Cannot create attribute def: , stem name: etc:legacy:attribute, attrDef extension: legacyGroupTypeDef_grouperLoader, uuid: null, , Problem in HibernateSession: HibernateSession (6dd603f5): notNew, notReadonly, READ_WRITE_NEW, activeTransaction, session (f7a2eab),
      Exception in save: edu.internet2.middleware.grouper.Membership, ByObjectStatic, query: ', cacheable: null, cacheRegion: null, entityName: ImmediateMembershipEntry, tx type: null,
      Problem in HibernateSession: HibernateSession (cb321c1): notNew, notReadonly, READ_WRITE_NEW, activeTransaction, session (f7a2eab),
      Problem in HibernateSession: HibernateSession (3d980821): new, notReadonly, READ_WRITE_NEW, notActiveTransaction, session (f7a2eab)
      at edu.internet2.middleware.grouper.Stem$7.callback(Stem.java:2540)
      at edu.internet2.middleware.grouper.hibernate.HibernateSession.callbackHibernateSession(HibernateSession.java:687)
      at edu.internet2.middleware.grouper.Stem.internal_addChildAttributeDef(Stem.java:2476)
      at edu.internet2.middleware.grouper.Stem.addChildAttributeDef(Stem.java:544)
      at edu.internet2.middleware.grouper.GroupType$5.callback(GroupType.java:856)
      at edu.internet2.middleware.grouper.hibernate.HibernateSession.callbackHibernateSession(HibernateSession.java:687)
      at edu.internet2.middleware.grouper.GroupType.internal_createType(GroupType.java:819)
      at edu.internet2.middleware.grouper.GroupType.createTypeHelper(GroupType.java:233)
      at edu.internet2.middleware.grouper.GroupType.createType(GroupType.java:181)
      at edu.internet2.middleware.grouper.misc.GrouperStartup$3.callback(GrouperStartup.java:562)
      ... 11 more
      Caused by: edu.internet2.middleware.grouper.internal.dao.GrouperDAOException: Problem in HibernateSession: HibernateSession (6dd603f5): notNew, notReadonly, READ_WRITE_NEW, activeTransaction, session (f7a2eab),
      Exception in save: edu.internet2.middleware.grouper.Membership, ByObjectStatic, query: ', cacheable: null, cacheRegion: null, entityName: ImmediateMembershipEntry, tx type: null
      at edu.internet2.middleware.grouper.hibernate.HibernateSession._internal_hibernateSessionCatch(HibernateSession.java:575)
      at edu.internet2.middleware.grouper.hibernate.HibernateSession.callbackHibernateSession(HibernateSession.java:697)
      at edu.internet2.middleware.grouper.hibernate.ByObjectStatic.save(ByObjectStatic.java:468)
      at edu.internet2.middleware.grouper.internal.dao.hib3.Hib3MembershipDAO.save(Hib3MembershipDAO.java:2053)
      at edu.internet2.middleware.grouper.Membership.internal_addImmediateMembership(Membership.java:2748)
      at edu.internet2.middleware.grouper.privs.GrouperNonDbAttrDefAdapter$1.callback(GrouperNonDbAttrDefAdapter.java:243)
      at edu.internet2.middleware.grouper.GrouperSession.callbackGrouperSession(GrouperSession.java:974)
      at edu.internet2.middleware.grouper.privs.GrouperNonDbAttrDefAdapter.grantPriv(GrouperNonDbAttrDefAdapter.java:228)
      at edu.internet2.middleware.grouper.privs.AttributeDefWrapper.grantPrivilege(AttributeDefWrapper.java:147)
      at edu.internet2.middleware.grouper.privs.AttributeDefResolverDecorator.grantPrivilege(AttributeDefResolverDecorator.java:144)
      at edu.internet2.middleware.grouper.privs.AttributeDefResolverDecorator.grantPrivilege(AttributeDefResolverDecorator.java:144)
      at edu.internet2.middleware.grouper.privs.CachingAttrDefResolver.grantPrivilege(CachingAttrDefResolver.java:179)
      at edu.internet2.middleware.grouper.privs.AttributeDefResolverDecorator.grantPrivilege(AttributeDefResolverDecorator.java:144)
      at edu.internet2.middleware.grouper.privs.ValidatingAttrDefResolver.grantPrivilege(ValidatingAttrDefResolver.java:116)
      at edu.internet2.middleware.grouper.Stem._grantDefaultPrivsUponCreate(Stem.java:2841)
      at edu.internet2.middleware.grouper.Stem.access$500(Stem.java:167)
      at edu.internet2.middleware.grouper.Stem$7.callback(Stem.java:2518)
      ... 20 more
      Caused by: org.hibernate.exception.GenericJDBCException: Could not execute JDBC batch update,
      Exception in save: edu.internet2.middleware.grouper.Membership, edu.internet2.middleware.grouper.hibernate.ByObject@2f9922b5
      at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:140)
      at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:128)
      at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
      at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:275)
      at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:268)
      at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:184)
      at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:321)
      at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:51)
      at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1216)
      at edu.internet2.middleware.grouper.hibernate.ByObject.save(ByObject.java:214)
      at edu.internet2.middleware.grouper.hibernate.ByObjectStatic$7.callback(ByObjectStatic.java:481)
      at edu.internet2.middleware.grouper.hibernate.HibernateSession.callbackHibernateSession(HibernateSession.java:687)
      ... 35 more
      Caused by: java.sql.BatchUpdateException: failed batch
      at org.hsqldb.jdbc.jdbcStatement.executeBatch(Unknown Source)
      at org.hsqldb.jdbc.jdbcPreparedStatement.executeBatch(Unknown Source)
      at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeBatch(NewProxyPreparedStatement.java:1723)
      at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:70)
      at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:268)
      ... 43 more
      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:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at edu.internet2.middleware.grouper.app.gsh.GrouperShell.handleSpecialCase(GrouperShell.java:204)
      ... 2 more
      Caused by: java.lang.RuntimeException: java.lang.RuntimeException: Problem adding loader type/attributes
      at edu.internet2.middleware.grouper.registry.RegistryInitializeSchema.main(RegistryInitializeSchema.java:194)
      ... 7 more
      Caused by: java.lang.RuntimeException: Problem adding loader type/attributes
      at edu.internet2.middleware.grouper.misc.GrouperStartup.initLoaderType(GrouperStartup.java:591)
      at edu.internet2.middleware.grouper.misc.GrouperStartup.startup(GrouperStartup.java:275)
      at edu.internet2.middleware.grouper.registry.RegistryInitializeSchema.main(RegistryInitializeSchema.java:188)
      ... 7 more
      Caused by: java.lang.RuntimeException: Cannot create attribute def: , stem name: etc:legacy:attribute, attrDef extension: legacyGroupTypeDef_grouperLoader, uuid: null, , Problem in HibernateSession: HibernateSession (6dd603f5): notNew, notReadonly, READ_WRITE_NEW, activeTransaction, session (f7a2eab),
      Exception in save: edu.internet2.middleware.grouper.Membership, ByObjectStatic, query: ', cacheable: null, cacheRegion: null, entityName: ImmediateMembershipEntry, tx type: null,
      Problem in HibernateSession: HibernateSession (cb321c1): notNew, notReadonly, READ_WRITE_NEW, activeTransaction, session (f7a2eab),
      Problem in HibernateSession: HibernateSession (3d980821): new, notReadonly, READ_WRITE_NEW, notActiveTransaction, session (f7a2eab)
      at edu.internet2.middleware.grouper.misc.GrouperStartup$3.callback(GrouperStartup.java:578)
      at edu.internet2.middleware.grouper.GrouperSession.callbackGrouperSession(GrouperSession.java:974)
      at edu.internet2.middleware.grouper.misc.GrouperStartup.initLoaderType(GrouperStartup.java:556)
      ... 9 more
      Caused by: edu.internet2.middleware.grouper.exception.AttributeDefAddException: Cannot create attribute def: , stem name: etc:legacy:attribute, attrDef extension: legacyGroupTypeDef_grouperLoader, uuid: null, , Problem in HibernateSession: HibernateSession (6dd603f5): notNew, notReadonly, READ_WRITE_NEW, activeTransaction, session (f7a2eab),
      Exception in save: edu.internet2.middleware.grouper.Membership, ByObjectStatic, query: ', cacheable: null, cacheRegion: null, entityName: ImmediateMembershipEntry, tx type: null,
      Problem in HibernateSession: HibernateSession (cb321c1): notNew, notReadonly, READ_WRITE_NEW, activeTransaction, session (f7a2eab),
      Problem in HibernateSession: HibernateSession (3d980821): new, notReadonly, READ_WRITE_NEW, notActiveTransaction, session (f7a2eab)
      at edu.internet2.middleware.grouper.Stem$7.callback(Stem.java:2540)
      at edu.internet2.middleware.grouper.hibernate.HibernateSession.callbackHibernateSession(HibernateSession.java:687)
      at edu.internet2.middleware.grouper.Stem.internal_addChildAttributeDef(Stem.java:2476)
      at edu.internet2.middleware.grouper.Stem.addChildAttributeDef(Stem.java:544)
      at edu.internet2.middleware.grouper.GroupType$5.callback(GroupType.java:856)
      at edu.internet2.middleware.grouper.hibernate.HibernateSession.callbackHibernateSession(HibernateSession.java:687)
      at edu.internet2.middleware.grouper.GroupType.internal_createType(GroupType.java:819)
      at edu.internet2.middleware.grouper.GroupType.createTypeHelper(GroupType.java:233)
      at edu.internet2.middleware.grouper.GroupType.createType(GroupType.java:181)
      at edu.internet2.middleware.grouper.misc.GrouperStartup$3.callback(GrouperStartup.java:562)
      ... 11 more
      Caused by: edu.internet2.middleware.grouper.internal.dao.GrouperDAOException: Problem in HibernateSession: HibernateSession (6dd603f5): notNew, notReadonly, READ_WRITE_NEW, activeTransaction, session (f7a2eab),
      Exception in save: edu.internet2.middleware.grouper.Membership, ByObjectStatic, query: ', cacheable: null, cacheRegion: null, entityName: ImmediateMembershipEntry, tx type: null
      at edu.internet2.middleware.grouper.hibernate.HibernateSession._internal_hibernateSessionCatch(HibernateSession.java:575)
      at edu.internet2.middleware.grouper.hibernate.HibernateSession.callbackHibernateSession(HibernateSession.java:697)
      at edu.internet2.middleware.grouper.hibernate.ByObjectStatic.save(ByObjectStatic.java:468)
      at edu.internet2.middleware.grouper.internal.dao.hib3.Hib3MembershipDAO.save(Hib3MembershipDAO.java:2053)
      at edu.internet2.middleware.grouper.Membership.internal_addImmediateMembership(Membership.java:2748)
      at edu.internet2.middleware.grouper.privs.GrouperNonDbAttrDefAdapter$1.callback(GrouperNonDbAttrDefAdapter.java:243)
      at edu.internet2.middleware.grouper.GrouperSession.callbackGrouperSession(GrouperSession.java:974)
      at edu.internet2.middleware.grouper.privs.GrouperNonDbAttrDefAdapter.grantPriv(GrouperNonDbAttrDefAdapter.java:228)
      at edu.internet2.middleware.grouper.privs.AttributeDefWrapper.grantPrivilege(AttributeDefWrapper.java:147)
      at edu.internet2.middleware.grouper.privs.AttributeDefResolverDecorator.grantPrivilege(AttributeDefResolverDecorator.java:144)
      at edu.internet2.middleware.grouper.privs.AttributeDefResolverDecorator.grantPrivilege(AttributeDefResolverDecorator.java:144)
      at edu.internet2.middleware.grouper.privs.CachingAttrDefResolver.grantPrivilege(CachingAttrDefResolver.java:179)
      at edu.internet2.middleware.grouper.privs.AttributeDefResolverDecorator.grantPrivilege(AttributeDefResolverDecorator.java:144)
      at edu.internet2.middleware.grouper.privs.ValidatingAttrDefResolver.grantPrivilege(ValidatingAttrDefResolver.java:116)
      at edu.internet2.middleware.grouper.Stem._grantDefaultPrivsUponCreate(Stem.java:2841)
      at edu.internet2.middleware.grouper.Stem.access$500(Stem.java:167)
      at edu.internet2.middleware.grouper.Stem$7.callback(Stem.java:2518)
      ... 20 more
      Caused by: org.hibernate.exception.GenericJDBCException: Could not execute JDBC batch update,
      Exception in save: edu.internet2.middleware.grouper.Membership, edu.internet2.middleware.grouper.hibernate.ByObject@2f9922b5
      at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:140)
      at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:128)
      at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
      at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:275)
      at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:268)
      at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:184)
      at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:321)
      at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:51)
      at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1216)
      at edu.internet2.middleware.grouper.hibernate.ByObject.save(ByObject.java:214)
      at edu.internet2.middleware.grouper.hibernate.ByObjectStatic$7.callback(ByObjectStatic.java:481)
      at edu.internet2.middleware.grouper.hibernate.HibernateSession.callbackHibernateSession(HibernateSession.java:687)
      ... 35 more
      Caused by: java.sql.BatchUpdateException: failed batch
      at org.hsqldb.jdbc.jdbcStatement.executeBatch(Unknown Source)
      at org.hsqldb.jdbc.jdbcPreparedStatement.executeBatch(Unknown Source)
      at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeBatch(NewProxyPreparedStatement.java:1723)
      at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:70)
      at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:268)
      ... 43 more

        Smart Checklist

          Attachments

            Activity

              People

              • Assignee:
                shilen.patel@at.internet2.edu Shilen Patel (duke.edu)
                Reporter:
                shilen.patel@at.internet2.edu Shilen Patel (duke.edu)
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: