Skip to Content.
Sympa Menu

grouper-dev - Re: [grouper-dev] RE: Recent patch broke ability to delete groups

Subject: Grouper Developers Forum

List archive

Re: [grouper-dev] RE: Recent patch broke ability to delete groups


Chronological Thread 
  • From: ANDRES FELIPE DE LOS REYES PIEDRA <>
  • To: "Hyzer, Chris" <>
  • Cc: John Gasper <>, "" <>
  • Subject: Re: [grouper-dev] RE: Recent patch broke ability to delete groups
  • Date: Wed, 11 Jan 2017 16:12:09 -0500
  • Ironport-phdr: 9a23:hr9hYBEMSoondD1dGLvtZJ1GYnF86YWxBRYc798ds5kLTJ7yrs6wAkXT6L1XgUPTWs2DsrQf2raQ6fCrADBfqb+681k6OKRWUBEEjchE1ycBO+WiTXPBEfjxciYhF95DXlI2t1uyMExSBdqsLwaK+i764jEdAAjwOhRoLerpBIHSk9631+ev8JHPfglEnjSwbLd9IRmsswnctcYajZZtJ6sz1xDEvmZGd+NKyG1yOFmdhQz85sC+/J5i9yRfpfcs/NNeXKv5Yqo1U6VWACwpPG4p6sLrswLDTRaU6XsHTmoWiBtIDBPb4xz8Q5z8rzH1tut52CmdIM32UbU5Uims4qt3VBPljjoMOiUn+2/LlMN/kKNboAqgpxNhxY7UfJqVP+d6cq/EYN8WWXZNUsNXWidcAI2zcpEPAvIDMuZWr4fzqVgAowagCwawH+7g0CNEi2Xs0KEmz+gsEwfL1xEgEdIUt3TUqc34ObsKX+670KfGwijNZO5W1zny7obGcQovr/6RVrx+fsTa1E8hGRrYgF6NtYLrMDGa2OsQvWOG9eRuVu2hhWA7pQxtvzOiwd0jio/UiYIP1F/E7j91z5srKt28T057esSkH4VQti6ELIt7Wd4iTH11uCkkzL0JpYS0cDIUx5s62h7TceKIfJSR7x/lSe2fLzB4hHd/d7K+gRa/6UmgyuvgVsaqylZKqDRKksXSunwXyRPc99WHR/1g9UmiwTaCzx7f5+BYLU02kKfbJZ0szaUsmpcWvknPAjP6lFvzgaCKakkp+u2l5uH5brjouJORMZJ/hBvkPaQ0gMO/BPw1MggQUGif/uSxzLjj8lf4QLVOl/E3kqfYvIzDKcUUuKK0DRFZ3pws6xa4CDem39AYkmcdIF1ZfxKHipDlO1DIIP/mEfeym0qgnTZ3y/3EO7DhDJbAIWPfnLrkcrtx91JQxBQ2wN9D+55ZCrQMLfftVkL/qtDUFho5PBa1w+bjBtV9zIQeWWeXD6CDNqPdrEWI6fw0I+WWeYAapjL9K/8+5/70k3A4mUESfbKy0JsKdH+4A+ppI0OFbnX2mNsOD3oFvhckQOP0lFKOSSRTaGqqX6Ig+jE7D5qrDYjZRoCqnbyBxDm0HodPam9bFF+MD2zld4GFW/cXdCKSOdFtniYFVbinV48uywuutAnkxLp7MObY4DMXuo/+1Is92+qG3zEj5zFuS4y203uMVCs8ymYDRy4k0bpXoFd2jEqb3K5+xfFUCIoAyelOV1ITE7Lm4tcyJf3WezrsNvukAHKBeZ2cLAAcdZoJ4vIiWW81T9ykggrOxGymDrsSjKaGFZEv2r/XwnX3LM87xnrbkqQq2Qp1CvBTPHGr0/YsvzPYAJTExgDAz/6n

Sorry guys, I posted on the wrong post

2017-01-11 16:10 GMT-05:00 ANDRES FELIPE DE LOS REYES PIEDRA <>:
Hi Chris, thanks for your replay. I would gladly send you the logs but I can't find any, where are the info for the installer process?

This is the only output that I have:


Note: you need to change the search sql in the jdbc source in the grouperApi/conf/sources.xml... the change is in the comments in that file
Ready to continue? (t|f)? [t]
Database user [grouperdb]:
Database password (note, you aren't setting the pass here, you are using an existing pass, this will be echoed back) [XXXXXXXXX]:
Editing /programas/grouper/grouper.apiBinary-2.3.0/conf/grouper.hibernate.properties:
 - set property: hibernate.connection.url from: jdbc:postgresql://localhost:5432/grouperdb to: jdbc:postgresql://localhost:5432/databa
 - property hibernate.connection.username already was set to: grouperdb, not changing file
 - property hibernate.connection.password already was set to: XXXXXXXXX, not changing file
Checking database with query: select 1
Exception in thread "main" java.lang.IllegalAccessError: tried to access class org.postgresql.Driver$1 from class org.postgresql.Driver
        at org.postgresql.Driver.getDefaultProperties(Driver.java:86)
        at org.postgresql.Driver.connect(Driver.java:237)
        at edu.internet2.middleware.grouperInstaller.driverShim.DatabaseShimBase.connect(DatabaseShimBase.java:65)
        at java.sql.DriverManager.getConnection(DriverManager.java:664)
        at java.sql.DriverManager.getConnection(DriverManager.java:247)
        at edu.internet2.middleware.grouperInstaller.util.GiDbUtils.connection(GiDbUtils.java:399)
        at edu.internet2.middleware.grouperInstaller.util.GiDbUtils.listSelect(GiDbUtils.java:457)
        at edu.internet2.middleware.grouperInstaller.util.GiDbUtils.listSelect(GiDbUtils.java:416)
        at edu.internet2.middleware.grouperInstaller.util.GiDbUtils.select(GiDbUtils.java:427)
        at edu.internet2.middleware.grouperInstaller.util.GiDbUtils.checkConnection(GiDbUtils.java:567)
        at edu.internet2.middleware.grouperInstaller.GrouperInstaller.checkDatabaseConnection(GrouperInstaller.java:9957)
        at edu.internet2.middleware.grouperInstaller.GrouperInstaller.mainInstallLogic(GrouperInstaller.java:8177)
        at edu.internet2.middleware.grouperInstaller.GrouperInstaller.access$400(GrouperInstaller.java:82)
        at edu.internet2.middleware.grouperInstaller.GrouperInstaller$GrouperInstallerMainFunction$2.logic(GrouperInstaller.java:1307)
        at edu.internet2.middleware.grouperInstaller.GrouperInstaller.mainLogic(GrouperInstaller.java:1530)
        at edu.internet2.middleware.grouperInstaller.GrouperInstaller.main(GrouperInstaller.java:549)


Also, since you say fix, is it a bug? if it is, pleas can you tell me which previous version can I download so that I can install grouper?

And to which part of the rouperApi/conf/sources.xml file is this refering to when it tells me to edit it, there are a lot of lines in that file

Best regards

Andres


2017-01-11 15:57 GMT-05:00 Hyzer, Chris <>:

Ugh, sorry, ok, I will fix this asap.  Note, if you can provide the stack in the logs that would be helpful.

 

Thanks

Chris

 

From: [mailto:] On Behalf Of John Gasper
Sent: Wednesday, January 11, 2017 3:22 PM
To:
Subject: [grouper-dev] Recent patch broke ability to delete groups

 

Hi devs,

 

I think a patch created in the last week or so has broken the ability to delete groups from Grouper: On a clean (via completely automated build), I get:

 

// Error: unable to evaluate command: Sourced file: inline evaluation of: ``obliterateStem("loader", false, false);'' : Error invoking compiled command: : Error in compiled command: edu.internet2.middleware.grouper.exception.GroupDeleteException: Problem in HibernateSession: HibernateSession (1cef7921): notNew, notReadonly, READ_WRITE_NEW, activeTransaction, session (2df9745e),

Problem in HibernateSession: HibernateSession (5a095dd5): notNew, notReadonly, READ_WRITE_NEW, activeTransaction, session (2df9745e), stem name: loader:coursesLoader, group extension: coursesLoader, group dExtension: Course Loader, uuid: 19469ee761ca4acc98d3e37f5c746b48, ,

Problem in HibernateSession: HibernateSession (eff42fe): notNew, notReadonly, READ_WRITE_NEW, activeTransaction, session (2df9745e),

Problem in HibernateSession: HibernateSession (20727fd4): new, notReadonly, READ_WRITE_NEW, notActiveTransaction, session (2df9745e)

 

My script uses obliterateStem, but regular UI based group deletes fail as well.

 

This also is manifesting on Grouper Demo (http://grouperdemo.internet2.edu/)

 

Thanks,

John

 

-- 

John Gasper
IAM Consultant
Unicon, Inc.
PGP/GPG Key: 0xbafee3ef

 




Advertencia legal: 
Este mensaje y, en su caso, los archivos anexos son confidenciales, especialmente en lo que respecta a los datos personales, y se dirigen exclusivamente al destinatario referenciado. Si usted no lo es y lo ha recibido por error o tiene conocimiento del mismo por cualquier motivo, le rogamos que nos lo comunique por este medio y proceda a destruirlo o borrarlo, y que en todo caso se abstenga de utilizar, reproducir, alterar, archivar o comunicar a terceros el presente mensaje y ficheros anexos, todo ello bajo pena de incurrir en responsabilidades legales. Las opiniones contenidas en este mensaje y en los archivos adjuntos, pertenecen exclusivamente a su remitente y no representan la opinión de la Universidad de Cuenca salvo que se diga expresamente y el remitente esté autorizado para ello. El emisor no garantiza la integridad, rapidez o seguridad del presente correo, ni se responsabiliza de posibles perjuicios derivados de la captura, incorporaciones de virus o cualesquiera otras manipulaciones efectuadas por terceros.



Archive powered by MHonArc 2.6.19.

Top of Page