grouper-users - RE: [grouper-users] Can't delete folder
Subject: Grouper Users - Open Discussion List
List archive
- From: "Hyzer, Chris" <>
- To: Kumi Hagimoto <>, "" <>
- Subject: RE: [grouper-users] Can't delete folder
- Date: Sat, 21 Jan 2017 22:24:16 +0000
- Accept-language: en-US
- Authentication-results: spf=none (sender IP is ) ;
- Ironport-phdr: 9a23:0vVaTRfJdxSTIqeZQwco3QMnlGMj4u6mDksu8pMizoh2WeGdxc26YxKN2/xhgRfzUJnB7Loc0qyN4vymBTFLuMvR+Fk5M7V0HycfjssXmwFySOWkMmbcaMDQUiohAc5ZX0Vk9XzoeWJcGcL5ekGA6ibqtW1aFRrwLxd6KfroEYDOkcu3y/qy+5rOaAlUmTaxe71/IRG5oAnLucQbgYRuJrsxxxbKv3BFZ/lYyWR0KFyJgh3y/N2w/Jlt8yRRv/Iu6ctNWrjkcqo7ULJVEi0oP3g668P3uxbDSxCP5mYHXWUNjhVIGQnF4wrkUZr3ryD3q/By2CiePc3xULA0RTGv5LplRRP0lCsKMSMy/XrJgcJskq1UvBOhpwR+w4HKZoGVKOF+db7Zcd8DWGZNQtpdWylHD4ihbYUAEvABMP5YoYfjulUOsRWwCwqiBOztyz9HmnD50LYg3Og9DQ3LxhAsE84QvHnSsd77NL0SUeewzKTQwznNbfNX2Dbj54jSahwqvO+BXbJqccrQ0kkjGR7Og1KVqYP5PzOU1uUMvHaB7+d7VOKvkHIopxtsoji32MgsjI/JipgLxV/Z6CV02YA4LsC2Rk58ZN6rCppQtyeCOot3XsMiWHtkuDoiyrEeuJ67ejQKx4o9xx7ZdfOHb5aE7gj9W+mMPDd0nG5leLKlhxms60ev1/fwVtOp0FZMtiZKicPMtnEW1xDJ68iHUeNx/ke92TaTzwDT8f9LIVoqlarfNZEh3qQ8lpgJvkTdBCD7nlj9gqyOdkg85OSk9uXqbq/oq5OCLYN4lwLzPrk0lsCiAek0KhUCUmaH9eim0LDv4Ff1TKtXgvAyiKXVrZLXKMUdq6WkGQFayJwj5Ay6Dzq+0NQXg30HLFVddRyfk4XnPE3CLf7hAfqhmlqgjS5nx/fdMbL/GJnNKWXDkKv6crZ69k5czhc8wcpH55JODbEBPOz8VVPttNzZCR85NRa4w+H6CNVh0oMeXmWPAqyDPKzOtl+I4/ojI+iKZIALpDbwM+Yp6+PvgHMjl1IRY7Ol0YYUZXylBPhqPkWUbWLpgtgbEGcKugQ+TPbtiF2HSTNTYmq9X6I85zA6Fo2mF5zORoG2gLOdxiu7A4VWaX5AClCKC3vnaZiLW+oUZCKIPsBhiiAEVaSmS4I52hGurgj6y6d/LuXK4C0UrI/j1MNr6O3JjhE/7jh0D8WG02GRVGF4gHkERz4w3KBjv0N90FGD3rZkg/BGD9Bc+e5GUhppfaLbms9nDtG6egvOf9KOVFHuFta7BDB3Tts+wtoJf0FVHM+vgRfFxDajH7JTmrCWUth8uK3G2GXpKtw41m3LzrIJjl86T9FJOHH8wKNz6kKbU4HTlFiBmrzvaL8RxjXl9WGfwHCIsV0CFgN8TPOWc2oYYx6cjcXr61mGB5SuE7U8eEMVzMWCO7lHcPXoll4AWe/uPtKYbm6szTTjTS2Uz6+BOdK5M14W2z/QXQ1dy1ge
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:99
That’s weird. I can delete a folder in the fully patched demo server. Can you reproduce it by creating an empty folder and deleting it? What happens when you do something like this: (it will make sure you are patched) [mchyzer@i2midev1 hibernate]$ pwd /opt/tomcats/tomcat_f/webapps/grouper_v2_3/WEB-INF/classes/edu/internet2/middleware/grouper/hibernate [mchyzer@i2midev1 hibernate]$ ls ByHql.class ByHqlStatic$1.class ByHqlStatic$3.class ByHqlStatic.java GrouperContext.java HibUtils.java ByHql.java ByHqlStatic$2.class ByHqlStatic.class GrouperContext.class HibUtils.class [mchyzer@i2midev1 hibernate]$
grep executeUpdate ByHql.java | grep void public void executeUpdate() throws GrouperDAOException { [mchyzer@i2midev1 hibernate]$ Where is the grouper API installed? [appadmin@i2midev1 patchesAuto]$
java -jar grouperInstaller.jar Do you want to 'install' a new installation of grouper, 'upgrade' an existing installation, 'patch' an existing installation, 'admin' utilities, or 'createPatch' for Grouper developers (enter: 'install', 'upgrade', 'patch', 'admin', 'createPatch' or blank for the default) [install]:
patch Enter in a Grouper temp directory to download tarballs (note: better if no spaces or special chars) [/opt/grouper/2.3/patchesAuto/tarballs]:
What do you want to patch? api, ui, ws, pspng, or psp? [API]:
ui Where is the grouper UI installed? /opt/tomcats/tomcat_f/webapps/grouper_v2_3 What do you want to do with patches (install, revert, status, fixIndexFile)? [install]:
status Do you want to fix the patch index file (download all patches and see if they are installed?) (not recommended) (t|f)? [f]: Patch: grouper_v2_3_0_api_patch_39: was applied on: 2016/12/30 23:54:24 Patch: grouper_v2_3_0_api_patch_42: was applied on: 2017/01/17 07:19:08 -----Original Message----- Hi, We're getting the following error when trying to delete a folder. (At the end of this post.) Running v 2.3.0 with the latest patch as of yesterday. The error is very similar to the one reported here: https://lists.internet2.edu/sympa/arc/grouper-users/2017-01/msg00051.html
Thanks, Kumi 2017-01-20 13:22:16,994 WARN serviceLogic.UiV2Stem: Error deleting stem: 'morgan'/'person'/'ldap', Stem[displayName=osu:ref:employ ee:uhds,name=osu:ref:emp:uhds,uuid=197f128ca5e843628b31543ff1b76ffa,creator=da 5a7162a43444878d8b95d965d11f53] edu.internet2.middleware.grouper.exception.StemDeleteException: Problem in HibernateSession: HibernateSession (69709eba): notNew, no tReadonly, READ_WRITE_NEW, activeTransaction, session (60c4fb6a), osu:ref:emp:uhds, Problem in HibernateSession: HibernateSession (18894936): new, notReadonly, READ_WRITE_NEW, notActiveTransaction, session (60c4fb6a) at edu.internet2.middleware.grouper.Stem$1.callback(Stem.java:707) at edu.internet2.middleware.grouper.hibernate.HibernateSession.callbackHibernateS ession(HibernateSession.java:700) at edu.internet2.middleware.grouper.Stem.delete(Stem.java:662) at edu.internet2.middleware.grouper.grouperUi.serviceLogic.UiV2Stem.stemDeleteSub mit(UiV2Stem.java:1642) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.j ava:43) at java.lang.reflect.Method.invoke(Method.java:606) at edu.internet2.middleware.grouper.util.GrouperUtil.invokeMethod(GrouperUtil.jav a:4112) at edu.internet2.middleware.grouper.util.GrouperUtil.callMethod(GrouperUtil.java: 4063) at edu.internet2.middleware.grouper.j2ee.GrouperUiRestServlet.doGet(GrouperUiRest Servlet.java:291) at edu.internet2.middleware.grouper.j2ee.GrouperUiRestServlet.doPost(GrouperUiRes tServlet.java:163) at javax.servlet.http.HttpServlet.service(HttpServlet.java:643) at javax.servlet.http.HttpServlet.service(HttpServlet.java:723) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFi lterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChai n.java:206) at org.owasp.csrfguard.CsrfGuardFilter.doFilter(CsrfGuardFilter.java:110) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFi lterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChai n.java:206) at edu.internet2.middleware.grouper.ui.GrouperUiFilter.doFilter(GrouperUiFilter.j ava:1023) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFi lterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChai n.java:206) at edu.yale.its.tp.cas.client.filter.CASFilter.doFilter(CASFilter.java:209) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFi lterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChai n.java:206) at uk.ac.bris.is.grouper.ui.PreCASFilter.doFilter(PreCASFilter.java:128) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFi lterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChai n.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java :233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java :191) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.j ava:563) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:1 09) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293) at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:223) at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:311) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:793) at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:722) at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:9 15) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java: 690) at java.lang.Thread.run(Thread.java:745) Caused by: edu.internet2.middleware.grouper.internal.dao.GrouperDAOException: Problem in HibernateSession: HibernateSession (69709eba): notNew, notReadonly, READ_WRITE_NEW, activeTransaction, session (60c4fb6a) at edu.internet2.middleware.grouper.hibernate.HibernateSession._internal_hibernat eSessionCatch(HibernateSession.java:604) at edu.internet2.middleware.grouper.hibernate.HibernateSession.callbackHibernateS ession(HibernateSession.java:710) at edu.internet2.middleware.grouper.internal.dao.hib3.Hib3GroupSetDAO.deleteSelfB yOwnerStem(Hib3GroupSetDAO.java:172) at edu.internet2.middleware.grouper.internal.dao.hib3.Hib3StemDAO.delete(Hib3Stem DAO.java:448) at edu.internet2.middleware.grouper.Stem$1.callback(Stem.java:693) ... 41 more Caused by: java.lang.NoSuchMethodError: edu.internet2.middleware.grouper.hibernate.ByHql.executeUpdate()V at edu.internet2.middleware.grouper.internal.dao.hib3.Hib3GroupSetDAO$3.callback( Hib3GroupSetDAO.java:179) at edu.internet2.middleware.grouper.hibernate.HibernateSession.callbackHibernateS ession(HibernateSession.java:700) ... 44 more |
- [grouper-users] Can't delete folder, Kumi Hagimoto, 01/20/2017
- RE: [grouper-users] Can't delete folder, Hyzer, Chris, 01/21/2017
- Re: [grouper-users] Can't delete folder, Hagimoto, Kumi, 01/23/2017
- RE: [grouper-users] Can't delete folder, Hyzer, Chris, 01/21/2017
Archive powered by MHonArc 2.6.19.