grouper-users - [grouper-users] Problem with attributes loader ldap
Subject: Grouper Users - Open Discussion List
List archive
- From: Wallaert-Taquet Brigitte <>
- To: "" <>
- Subject: [grouper-users] Problem with attributes loader ldap
- Date: Mon, 14 Sep 2015 11:26:37 +0200
Hello, I am a problem with group that I assigned a grouperLoaderLdapDef : i can't see its attributes values anymore with liteUI, i've got this error when I activate ther "Filter" button (see screen) : Error: Problem converting JSP to string: /WEB-INF/grouperUi/templates/simpleAttributeUpdate/simpleAttributeAssignments.jsp, Problem calling method assignFilter on edu.internet2.middleware.grouper.grouperUi.serviceLogic.SimpleAttributeUpdate see traceLog.txt for more. This appear when I add the value for the "Grouper loader LDAP search base DN" attribute. The first time, it seems accept the value (ou=groups) but do not display the value. So I try to add the value a second time but it says it exists and after, impossible to display again all the attributes loader ldap... Note that i added the Grouper loader LDAP type attribute with value LDAP_GROUPS_FROM_ATTRIBUTES I try to see the values of loader ldap attributes with gsh but with no succeed : gsh 20% getGroupAttr("lille1:TestGrpFiltres:grp-filtre-histo", "psp-publication"); true gsh 21% getGroupAttr("lille1:TestGrpFiltres:grp-filtre-histo", "grouperLoaderLdapSearchDn"); // Error: Cant find attribute: grouperLoaderLdapSearchDn // Error: unable to evaluate command: Sourced file: inline evaluation of: `` getGroupAttr("lille1:TestGrpFiltres:grp-filtre-histo", "grouperLoaderLdapSearch . . . '' : Error invoking compiled command: : Error in compiled command: edu.internet2.middleware.grouper.app.gsh.GrouperShellException: invalid group attribute: grouperLoaderLdapSearchDn Thanks for any help. Cordialement --
Brigitte WALLAERT TAQUET Cheffe de projet GED Nuxeo Experte Grouper d'Internet2 Université de Lille - Sciences et Technologies | www.univ-lille1.fr Service: CRI Bât. M4 - Bureau 34 59655 Villeneuve d'Ascq Tél. +33 (0)3 20 33 71 65 |
Attachment:
ErrorLdapAttribute.jpg
Description: JPEG image
reflection from URL:
edu.internet2.middleware.grouper.grouperUi.serviceLogic.SimpleAttributeUpdate.assignFilter
java.lang.RuntimeException: Problem converting JSP to string:
/WEB-INF/grouperUi/templates/simpleAttributeUpdate/simpleAttributeAssignments.jsp,
Problem calling method assignFilter on
edu.internet2.middleware.grouper.grouperUi.serviceLogic.SimpleAttributeUpdate
at
edu.internet2.middleware.grouper.ui.util.GrouperUiUtils.convertJspToString(GrouperUiUtils.java:1656)
at
edu.internet2.middleware.grouper.grouperUi.beans.json.GuiScreenAction.newInnerHtmlFromJsp(GuiScreenAction.java:559)
at
edu.internet2.middleware.grouper.grouperUi.serviceLogic.SimpleAttributeUpdate.assignFilter(SimpleAttributeUpdate.java:2609)
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.util.GrouperUtil.invokeMethod(GrouperUtil.java:4002)
at
edu.internet2.middleware.grouper.util.GrouperUtil.callMethod(GrouperUtil.java:3953)
at
edu.internet2.middleware.grouper.j2ee.GrouperUiRestServlet.doGet(GrouperUiRestServlet.java:288)
at
edu.internet2.middleware.grouper.j2ee.GrouperUiRestServlet.doPost(GrouperUiRestServlet.java:160)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:650)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
org.owasp.csrfguard.CsrfGuardFilter.doFilter(CsrfGuardFilter.java:110)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
edu.internet2.middleware.grouper.ui.GrouperUiFilter.doFilter(GrouperUiFilter.java:1015)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
edu.yale.its.tp.cas.client.filter.CASFilter.doFilter(CASFilter.java:209)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
uk.ac.bris.is.grouper.ui.PreCASFilter.doFilter(PreCASFilter.java:128)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:203)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:614)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:957)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:423)
at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1079)
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:620)
at
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:318)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.apache.jasper.JasperException: An exception occurred
processing JSP page
/WEB-INF/grouperUi/templates/simpleAttributeUpdate/simpleAttributeAssignments.jsp
at line 158
155: <c:set var="valueRow" value="0" />
156:
157:
158: <c:forEach
items="${guiAttributeAssignAssign.attributeAssign.valueDelegate.attributeAssignValues}"
var="attributeAssignValue">
159:
160: <%-- we need a newline before non-first rows --%>
161: <c:if test="${valueRow != 0}">
Stacktrace:
at
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:575)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:477)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:748)
at
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:604)
at
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:543)
at
edu.internet2.middleware.grouper.ui.util.GrouperUiUtils.convertJspToString(GrouperUiUtils.java:1654)
... 44 more
Caused by: javax.el.ELException: Error reading 'attributeAssignValues' on
type edu.internet2.middleware.grouper.attr.value.AttributeAssignValueDelegate
at javax.el.BeanELResolver.getValue(BeanELResolver.java:110)
at
org.apache.jasper.el.JasperELResolver.getValue(JasperELResolver.java:104)
at org.apache.el.parser.AstValue.getValue(AstValue.java:183)
at
org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:184)
at
org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(PageContextImpl.java:944)
at
org.apache.jsp.WEB_002dINF.grouperUi.templates.simpleAttributeUpdate.simpleAttributeAssignments_jsp._jspx_meth_c_005fforEach_005f3(simpleAttributeAssignments_jsp.java:1140)
at
org.apache.jsp.WEB_002dINF.grouperUi.templates.simpleAttributeUpdate.simpleAttributeAssignments_jsp._jspx_meth_c_005fif_005f2(simpleAttributeAssignments_jsp.java:1020)
at
org.apache.jsp.WEB_002dINF.grouperUi.templates.simpleAttributeUpdate.simpleAttributeAssignments_jsp._jspx_meth_c_005fforEach_005f2(simpleAttributeAssignments_jsp.java:915)
at
org.apache.jsp.WEB_002dINF.grouperUi.templates.simpleAttributeUpdate.simpleAttributeAssignments_jsp._jspx_meth_c_005fforEach_005f0(simpleAttributeAssignments_jsp.java:447)
at
org.apache.jsp.WEB_002dINF.grouperUi.templates.simpleAttributeUpdate.simpleAttributeAssignments_jsp._jspx_meth_c_005fotherwise_005f0(simpleAttributeAssignments_jsp.java:289)
at
org.apache.jsp.WEB_002dINF.grouperUi.templates.simpleAttributeUpdate.simpleAttributeAssignments_jsp._jspx_meth_c_005fchoose_005f0(simpleAttributeAssignments_jsp.java:197)
at
org.apache.jsp.WEB_002dINF.grouperUi.templates.simpleAttributeUpdate.simpleAttributeAssignments_jsp._jspService(simpleAttributeAssignments_jsp.java:134)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:439)
... 53 more
Caused by: java.lang.RuntimeException: Attribute is not multi-valued, but has
multiple results! etc:attribute:loaderLdap:grouperLoaderLdapSearchDn,
AttributeAssignValueDelegate[
attributeAssign=AttributeAssign[id=ed28ada3c4054dab957d506ab4ced9d8,action=assign,attributeDefName=etc:attribute:loaderLdap:grouperLoaderLdapSearchDn,ownerAttributeAssignId=78632352c4b2401e8600b1465eed750a]],
size: 2
at
edu.internet2.middleware.grouper.attr.value.AttributeAssignValueDelegate.internal_retrieveValues(AttributeAssignValueDelegate.java:159)
at
edu.internet2.middleware.grouper.attr.value.AttributeAssignValueDelegate.internal_retrieveValues(AttributeAssignValueDelegate.java:115)
at
edu.internet2.middleware.grouper.attr.value.AttributeAssignValueDelegate.retrieveValues(AttributeAssignValueDelegate.java:97)
at
edu.internet2.middleware.grouper.attr.value.AttributeAssignValueDelegate.getAttributeAssignValues(AttributeAssignValueDelegate.java:105)
at sun.reflect.GeneratedMethodAccessor567.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at javax.el.BeanELResolver.getValue(BeanELResolver.java:99)
... 67 more
- [grouper-users] Problem with attributes loader ldap, Wallaert-Taquet Brigitte, 09/14/2015
- RE: [grouper-users] Problem with attributes loader ldap, Chris Hyzer, 09/23/2015
Archive powered by MHonArc 2.6.16.