grouper has issues starting, maybe not running as root session?

XMLWordPrintable

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Minor
    • 2.5.51
    • Affects Version/s: None
    • Component/s: None
    • None

      Just ran into a weird crash-and-burn on 2.5.50.  I restarted our containers and Grouper UI won't start due to this error:  tomee;console;aws-test;224588347132;Couldnt startup grouper: Cannot create attribute def: , stem name: etc:workflow, attrDef extension: workflowConfigDef, uuid: null, , attribute def already exists with name: 'etc:workflow:workflowConfigDef', stem name: etc:workflow, attrDef extension: workflowConfigDef, uuid: null, ,Just ran into a weird crash-and-burn on 2.5.50.  I restarted our containers and Grouper UI won't start due to this error:  tomee;console;aws-test;224588347132;Couldnt startup grouper: Cannot create attribute def: , stem name: etc:workflow, attrDef extension: workflowConfigDef, uuid: null, , attribute def already exists with name: 'etc:workflow:workflowConfigDef', stem name: etc:workflow, attrDef extension: workflowConfigDef, uuid: null, ,
      tomee;console;aws-test;224588347132;Problem in HibernateSession: HibernateSession (48963d6e): new, notReadonly, READ_WRITE_NEW, notActiveTransaction, session (41aa1f9f)
      tomee;console;aws-test;224588347132;edu.internet2.middleware.grouper.exception.AttributeDefAddException: Cannot create attribute def: , stem name: etc:workflow, attrDef extension: workflowConfigDef, uuid: null, , attribute def already exists with name: 'etc:workflow:workflowConfigDef', stem name: etc:workflow, attrDef extension: workflowConfigDef, uuid: null, ,
      tomee;console;aws-test;224588347132;Problem in HibernateSession: HibernateSession (48963d6e): new, notReadonly, READ_WRITE_NEW, notActiveTransaction, session (41aa1f9f)
      tomee;console;aws-test;224588347132; at edu.internet2.middleware.grouper.Stem$7.callback(Stem.java:2659)
      tomee;console;aws-test;224588347132; at edu.internet2.middleware.grouper.hibernate.HibernateSession.callbackHibernateSession(HibernateSession.java:703)
      tomee;console;aws-test;224588347132; at edu.internet2.middleware.grouper.Stem.internal_addChildAttributeDef(Stem.java:2595)
      tomee;console;aws-test;224588347132; at edu.internet2.middleware.grouper.Stem.addChildAttributeDef(Stem.java:561)
      tomee;console;aws-test;224588347132; at edu.internet2.middleware.grouper.misc.GrouperCheckConfig.checkAttributes(GrouperCheckConfig.java:2814)
      tomee;console;aws-test;224588347132; at edu.internet2.middleware.grouper.misc.GrouperCheckConfig.checkConfig(GrouperCheckConfig.java:573)
      tomee;console;aws-test;224588347132; at edu.internet2.middleware.grouper.misc.GrouperStartup.startup(GrouperStartup.java:344)
      tomee;console;aws-test;224588347132; at edu.internet2.middleware.grouper.ui.GrouperUiFilter.init(GrouperUiFilter.java:799)
      tomee;console;aws-test;224588347132; at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:281)
      tomee;console;aws-test;224588347132; at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:262)
      tomee;console;aws-test;224588347132; at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:106)
      tomee;console;aws-test;224588347132; at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4538)
      tomee;console;aws-test;224588347132; at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5181)
      tomee;console;aws-test;224588347132; at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
      tomee;console;aws-test;224588347132; at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:743)
      tomee;console;aws-test;224588347132; at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:719)
      tomee;console;aws-test;224588347132; at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:705)
      tomee;console;aws-test;224588347132; at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:614)
      tomee;console;aws-test;224588347132; at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1822)
      tomee;console;aws-test;224588347132; at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      tomee;console;aws-test;224588347132; at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      tomee;console;aws-test;224588347132; at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      tomee;console;aws-test;224588347132; at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      tomee;console;aws-test;224588347132; at java.lang.Thread.run(Thread.java:748)
      tomee;console;aws-test;224588347132;Caused by: edu.internet2.middleware.grouper.exception.AttributeDefAddException: attribute def already exists with name: 'etc:workflow:workflowConfigDef', stem name: etc:workflow, attrDef extension: workflowConfigDef, uuid: null
      tomee;console;aws-test;224588347132; at edu.internet2.middleware.grouper.Stem$7.callback(Stem.java:2613)
      tomee;console;aws-test;224588347132; ... 23 more
      grouper-api;grouper_error.log;aws-test;224588347132;2021-05-26 14:34:07,571: [localhost-startStop-1] ERROR GrouperStartup.startup(407) -  - Couldnt startup grouper: Cannot create attribute def: , stem name: etc:workflow, attrDef extension: workflowConfigDef, uuid: null, , attribute def already exists with name: 'etc:workflow:workflowConfigDef', stem name: etc:workflow, attrDef extension: workflowConfigDef, uuid: null, ,
      Problem in HibernateSession: HibernateSession (48963d6e): new, notReadonly, READ_WRITE_NEW, notActiveTransaction, session (41aa1f9f)

            Assignee:
            Chris Hyzer (upenn.edu)
            Reporter:
            Chris Hyzer (upenn.edu)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: