Skip to Content.
Sympa Menu

grouper-dev - RE: [grouper-dev] grouper 2.1.0

Subject: Grouper Developers Forum

List archive

RE: [grouper-dev] grouper 2.1.0


Chronological Thread 
  • From: Chris Hyzer <>
  • To: James Vuccolo <>
  • Cc: Lynn Garrison <>, Tom Zeller <>, Grouper Dev <>
  • Subject: RE: [grouper-dev] grouper 2.1.0
  • Date: Tue, 14 Feb 2012 19:11:46 +0000
  • Accept-language: en-US

Well, it doesn't like this:

if (base!=null) ldap.getLdapConfig().setBase(base);

Caused by: java.lang.IllegalStateException: Cannot modify immutable object
at
edu.vt.middleware.ldap.props.AbstractPropertyConfig.checkImmutable(AbstractPropertyConfig.java:56)
at edu.vt.middleware.ldap.LdapConfig.setBaseDn(LdapConfig.java:1368)
at edu.vt.middleware.ldap.LdapConfig.setBase(LdapConfig.java:1357)
at
edu.internet2.middleware.subject.provider.LdapSourceAdapter.getLdapResultsHelper(LdapSourceAdapter.java:586)

JimF, do you know why or how to fix? I would assume up in the configuration
part of the pool you might need to specify that instead of after you get a
connection out from the pool it is too late...

Thanks,
Chris


-----Original Message-----
From: James Vuccolo
[mailto:]

Sent: Tuesday, February 14, 2012 1:54 PM
To: Chris Hyzer
Cc: Lynn Garrison; Tom Zeller; Grouper Dev
Subject: Re: [grouper-dev] grouper 2.1.0


Grouper starting up: version: 2.1.0, build date: 2012/02/08 16:41:33, env:
TEST
grouper.properties read from:
/usr/local/apache-tomcat-6.0.32/webapps/grouper/WEB-INF/classes/grouper.properties
Grouper current directory is: /usr/local/grouper-psp/grouper.ui-2.1.0
log4j.properties read from:
/usr/local/apache-tomcat-6.0.32/webapps/grouper/WEB-INF/classes/log4j.properties
Grouper logs are not using log4j: class
org.apache.commons.logging.impl.SLF4JLocationAwareLog
grouper.hibernate.properties:
/usr/local/apache-tomcat-6.0.32/webapps/grouper/WEB-INF/classes/grouper.hibernate.properties
grouper.hibernate.properties:
grouper@jdbc:oracle:thin:@iam2.et-test.psu.edu:1521:xe
sources.xml read from:
/usr/local/apache-tomcat-6.0.32/webapps/grouper/WEB-INF/classes/sources.xml
sources.xml groupersource id: g:gsa
sources.xml ldap source id: ldap: ldap.properties
sources.xml groupersource id: grouperEntities
Grouper warning: jarfile mismatch, expecting name: 'mailapi.jar' size: 178533
manifest version: 1.3.2. However the jar detected is: /usr/lo
cal/apache-tomcat-6.0.32/webapps/grouper/WEB-INF/lib/mail-1.4.1.jar, name:
mail-1.4.1.jar size: 447676 manifest version: 1.4.1
Grouper warning: jarfile mismatch, expecting name: 'slf4j-api.jar' size:
25689 manifest version: 1.6.2. However the jar detected is: /usr/l
ocal/apache-tomcat-6.0.32/webapps/grouper/WEB-INF/lib/slf4j-api-1.6.4.jar,
name: slf4j-api-1.6.4.jar size: 25962 manifest version: 1.6.4
Grouper warning: jarfile mismatch, expecting name: 'slf4j-log4j12.jar' size:
9752 manifest version: 1.6.2. However the jar detected is: /us
r/local/apache-tomcat-6.0.32/webapps/grouper/WEB-INF/lib/slf4j-log4j12-1.6.4.jar,
name: slf4j-log4j12-1.6.4.jar size: 9748 manifest version:
1.6.4
Grouper warning: jarfile mismatch, expecting name: 'smtp.jar' size: 23567
manifest version: 1.3.2. However the jar detected is: /usr/local/
apache-tomcat-6.0.32/webapps/grouper/WEB-INF/lib/mail-1.4.1.jar, name:
mail-1.4.1.jar size: 447676 manifest version: 1.4.1
Grouper warning: jarfile mismatch, expecting name: 'subject.jar' size: 183159
manifest version: 2.1.0. However the jar detected is: /usr/lo
cal/apache-tomcat-6.0.32/webapps/grouper/WEB-INF/lib/subject.jar, name:
subject.jar size: 182815 manifest version: 2.1.0
Grouper warning: jarfile mismatch, expecting name: 'vt-ldap.jar' size: 450697
manifest version: 3.3.4. However the jar detected is: /usr/lo
cal/apache-tomcat-6.0.32/webapps/grouper/WEB-INF/lib/vt-ldap-3.3.4.jar, name:
vt-ldap-3.3.4.jar size: 241529 manifest version: null
Subject API error: error with subject source id: ldap, name:
LdapSourceAdapter, problem with getSubject by id, in sources.xml: search
search
Subject: , edu.internet2.middleware.subject.SourceUnavailableException: Ldap
Exception: Cannot modify immutable object
at
edu.internet2.middleware.subject.provider.LdapSourceAdapter.getLdapResultsHelper(LdapSourceAdapter.java:600)
at
edu.internet2.middleware.subject.provider.LdapSourceAdapter.getLdapResults(LdapSourceAdapter.java:534)
at
edu.internet2.middleware.subject.provider.LdapSourceAdapter.getLdapUnique(LdapSourceAdapter.java:617)
at
edu.internet2.middleware.subject.provider.LdapSourceAdapter.getSubject(LdapSourceAdapter.java:265)
at
edu.internet2.middleware.subject.SubjectCheckConfig.checkConfig(SubjectCheckConfig.java:96)
at
edu.internet2.middleware.grouper.misc.GrouperCheckConfig$1.callback(GrouperCheckConfig.java:429)
at
edu.internet2.middleware.grouper.GrouperSession.callbackGrouperSession(GrouperSession.java:645)
at
edu.internet2.middleware.grouper.misc.GrouperCheckConfig.checkConfig(GrouperCheckConfig.java:425)
at
edu.internet2.middleware.grouper.misc.GrouperStartup.startup(GrouperStartup.java:117)
at
edu.internet2.middleware.grouper.ui.GrouperUiFilter.init(GrouperUiFilter.java:613)
at
org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:295)
at
org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:422)
at
org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:115)
at
org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4071)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4725)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
at
org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:943)
at
org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:778)
at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:504)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1315)
at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1061)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
at
org.apache.catalina.core.StandardService.start(StandardService.java:525)
at
org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
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 org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Caused by: java.lang.IllegalStateException: Cannot modify immutable object
at
edu.vt.middleware.ldap.props.AbstractPropertyConfig.checkImmutable(AbstractPropertyConfig.java:56)
at edu.vt.middleware.ldap.LdapConfig.setBaseDn(LdapConfig.java:1368)
at edu.vt.middleware.ldap.LdapConfig.setBase(LdapConfig.java:1357)
at
edu.internet2.middleware.subject.provider.LdapSourceAdapter.getLdapResultsHelper(LdapSourceAdapter.java:586)
... 36 more

On Feb 14, 2012, at 1:26 PM, Chris Hyzer wrote:

> The stack says there is a null pointer on LdapSourceAdapter 387... I have
> been having a hard time with jar files and svn, it says it commits them,
> but in reality it doesn't, and puts my local repository in an inconsistent
> state. Lynn, can you take the attached jar, and replace the one you have
> and send the new stack?
>
> Thanks,
> Chris
>
> From:
>
>
> [mailto:]
> On Behalf Of Lynn Garrison
> Sent: Tuesday, February 14, 2012 1:14 PM
> To: Tom Zeller
> Cc: Grouper Dev
> Subject: Re: [grouper-dev] grouper 2.1.0
>
> Tom,
> I made a few modifications to the file I changes the filter
> parameters to remove the object class
>
>
>
> On Feb 14, 2012, at 12:47 PM, Tom Zeller wrote:
>
> > Could you reply with sources.xml attached, please ?
> >
> > TomZ
> >
> > On Tue, Feb 14, 2012 at 11:31 AM, Lynn Garrison
> > <>
> > wrote:
> >> I installed the pre release of grouper 2.1.0 using the new ldap source
> >> adapter. I can find subject gsh but I am having problems searching for
> >> subjects in the UI.
> >>
> >> I get the following error.
> >>
> >>
> >> Error:
> >>
> >> Unable to connect to an entity database.
> >> If you continue to encounter errors, please contact technical support.
> >>
> >>
> >>
> >> Information for the grouper_error.log
> >>
> >> Caused by: edu.internet2.middleware.subject.SourceUnavailableException:
> >> null, source: ldap, sql: null
> >> at
> >> edu.internet2.middleware.subject.provider.LdapSourceAdapter.searchHelper(LdapSourceAdapter.java:399)
> >> at
> >> edu.internet2.middleware.subject.provider.LdapSourceAdapter.searchPage(LdapSourceAdapter.java:344)
> >> at
> >> edu.internet2.middleware.grouper.subj.SourcesXmlResolver$6.callLogic(SourcesXmlResolver.java:834)
> >> ... 51 more
> >> Caused by: java.lang.NullPointerException
> >> at
> >> edu.internet2.middleware.subject.provider.LdapSourceAdapter.searchHelper(LdapSourceAdapter.java:387)
> >> ... 53 more
> >>
> >> 2012-02-14 12:21:15,929: [TP-Processor8] ERROR
> >> NavExceptionHelper.getMessage(92) - < llg5
> >> EB50391179C2FAA62334B0449A1771CA-0005 c9f7fb7a224e479a822d681d520f729d
> >> llg5
> >> ldap > - Missing nav key: Unable to connect to an entity database.
> >> 2012-02-14 12:23:16,048: [TP-Processor9] ERROR
> >> LdapSourceAdapter.createSubject(425) - < llg5
> >> EB50391179C2FAA62334B0449A1771CA-0007 c9f7fb7a224e479a822d681d520f729d
> >> llg5
> >> ldap > - No value for LDAP attribute "uid". It is Grouper attribute
> >> "SubjectID".
> >> 2012-02-14 12:23:16,050: [TP-Processor9] ERROR
> >> GrouperCapableAction.execute(298) - < llg5
> >> EB50391179C2FAA62334B0449A1771CA-0007 c9f7fb7a224e479a822d681d520f729d
> >> llg5
> >> ldap > - edu.internet2.middleware.subject.SourceUnavailableException:
> >> Exception with source: ldap, on query: 'llg5'
> >> at
> >> edu.internet2.middleware.grouper.subj.SourcesXmlResolver.findPage(SourcesXmlResolver.java:642)
> >> at
> >> edu.internet2.middleware.grouper.subj.CachingResolver.findPage(CachingResolver.java:483)
> >> at
> >> edu.internet2.middleware.grouper.subj.ValidatingResolver.findPage(ValidatingResolver.java:232)
> >> at
> >> edu.internet2.middleware.grouper.SubjectFinder.findPage(SubjectFinder.java:1298)
> >> at
> >> edu.internet2.middleware.grouper.ui.actions.DoSearchSubjectsAction.grouperExecute(DoSearchSubjectsAction.java:185)
> >> at
> >> edu.internet2.middleware.grouper.ui.actions.GrouperCapableAction$1.callback(GrouperCapableAction.java:217)
> >> at
> >> edu.internet2.middleware.grouper.internal.dao.hib3.Hib3TransactionDAO$1.callback(Hib3TransactionDAO.java:51)
> >> at
> >> edu.internet2.middleware.grouper.hibernate.HibernateSession.callbackHibernateSession(HibernateSession.java:500)
> >> at
> >> edu.internet2.middleware.grouper.internal.dao.hib3.Hib3TransactionDAO.transactionCallback(Hib3TransactionDAO.java:41)
> >> at
> >> edu.internet2.middleware.grouper.hibernate.GrouperTransaction.callbackGrouperTransaction(GrouperTransaction.java:72)
> >> at
> >> edu.internet2.middleware.grouper.hibernate.GrouperTransaction.callbackGrouperTransaction(GrouperTransaction.java:91)
> >> at
> >> edu.internet2.middleware.grouper.ui.actions.GrouperCapableAction.grouperTransactionExecute(GrouperCapableAction.java:214)
> >> at
> >> edu.internet2.middleware.grouper.ui.actions.GrouperCapableAction.execute(GrouperCapableAction.java:279)
> >> at
> >> org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:424)
> >> at
> >> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
> >> at
> >> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
> >> at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:415)
> >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
> >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
> >> at
> >> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> >> at
> >> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> >> at
> >> edu.internet2.middleware.grouper.ui.LoginCheckFilter$1.callback(LoginCheckFilter.java:173)
> >> at
> >> edu.internet2.middleware.grouper.GrouperSession.callbackGrouperSession(GrouperSession.java:645)
> >> at
> >> edu.internet2.middleware.grouper.ui.LoginCheckFilter.doFilter(LoginCheckFilter.java:168)
> >> at
> >> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> >> at
> >> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> >> at
> >> edu.internet2.middleware.grouper.ui.ErrorFilter.doFilter(ErrorFilter.java:132)
> >> at
> >> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> >> at
> >> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> >> at
> >> edu.internet2.middleware.grouper.ui.GrouperUiFilter.doFilter(GrouperUiFilter.java:804)
> >> at
> >> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> >> at
> >> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> >> at
> >> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
> >> at
> >> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
> >> at
> >> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:470)
> >> at
> >> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
> >> at
> >> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> >> at
> >> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> >> at
> >> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
> >> at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
> >> at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291)
> >> at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:776)
> >> at
> >> org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:705)
> >> at
> >> org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:898)
> >> at
> >> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
> >> at java.lang.Thread.run(Thread.java:662)
> >> Caused by: edu.internet2.middleware.subject.SourceUnavailableException:
> >> null, source: ldap, sql: null
> >> at
> >> edu.internet2.middleware.subject.provider.LdapSourceAdapter.searchHelper(LdapSourceAdapter.java:399)
> >> at
> >> edu.internet2.middleware.subject.provider.LdapSourceAdapter.searchPage(LdapSourceAdapter.java:344)
> >> at
> >> edu.internet2.middleware.grouper.subj.SourcesXmlResolver.findPage(SourcesXmlResolver.java:608)
> >> ... 45 more
> >> Caused by: java.lang.NullPointerException
> >> at
> >> edu.internet2.middleware.subject.provider.LdapSourceAdapter.searchHelper(LdapSourceAdapter.java:387)
> >> ... 47 more
> >>
> >> 2012-02-14 12:23:16,050: [TP-Processor9] ERROR
> >> NavExceptionHelper.getMessage(92) - < llg5
> >> EB50391179C2FAA62334B0449A1771CA-0007 c9f7fb7a224e479a822d681d520f729d
> >> llg5
> >> ldap > - Missing nav key: Unable to connect to an entity database.
> >>
> >>
> >> Any suggestions?
> >>
> >> Thanks
> >> Lynn
> >>
> >>
>
> Lynn
>
>
> <subject.jar>

--
James "Jimmy" Vuccolo,

Technical Manager, Identity and Access Management
The Pennsylvania State University
215B Computer Building, University Park, PA 16802
Office: 814-865-5635
http://www.personal.psu.edu/jvuccolo/




Archive powered by MHonArc 2.6.16.

Top of Page