You have not populated your LDAP correctly. I ran into the same
problem when trying to run Jetspeed with an unsupported database.
Since LDAP is supported, you should use the scripts provided in
src/ldap.

Ronald Wildenberg.


> -----Oorspronkelijk bericht-----
> Van: Krzysztof Krzos [mailto:[EMAIL PROTECTED]]
> Verzonden: vrijdag 14 februari 2003 15:36
> Aan: Jetspeed Users List
> Onderwerp: Re: Probleme while configuring 1.4-b3 LDAP user management
> 
> 
>  So I receive (I use v. 1.4-b2)
> 
> Horrible Exception: 
> org.apache.jetspeed.services.security.LoginException:
> Failed to get anonymous user:
> org.apache.jetspeed.services.security.UnknownUserException: 
> Unknown user
> 'anon'
>  at
> org.apache.jetspeed.services.security.ldap.LDAPAuthentication.
> getAnonymousUs
> er(LDAPAuthentication.java:199)
>  at
> org.apache.jetspeed.services.JetspeedAuthentication.getAnonymo
> usUser(Jetspee
> dAuthentication.java:107)
>  at
> org.apache.jetspeed.services.JetspeedSecurity.getAnonymousUser
> (JetspeedSecur
> ity.java:159)
>  at
> org.apache.jetspeed.modules.actions.TemplateSessionValidator.d
> oPerform(Templ
> ateSessionValidator.java:97)
>  at
> org.apache.jetspeed.modules.actions.JetspeedSessionValidator.d
> oPerform(Jetsp
> eedSessionValidator.java:103)
>  at org.apache.turbine.modules.Action.perform(Action.java:87)
>  at 
> org.apache.turbine.modules.ActionLoader.exec(ActionLoader.java:122)
>  at org.apache.turbine.Turbine.doGet(Turbine.java:521)
>  at org.apache.turbine.Turbine.doPost(Turbine.java:658)
>  at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
>  at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>  at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilt
> er(Application
> FilterChain.java:247)
>  at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(Appli
> cationFilterCh
> ain.java:193)
>  at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardW
> rapperValve.ja
> va:260)
>  at
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> eContext.invok
> eNext(StandardPipeline.java:643)
>  at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> ine.java:480)
>  at 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>  at
> org.apache.catalina.core.StandardContextValve.invoke(StandardC
> ontextValve.ja
> va:191)
>  at
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> eContext.invok
> eNext(StandardPipeline.java:643)
>  at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> ine.java:480)
>  at 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>  at
> org.apache.catalina.core.StandardContext.invoke(StandardContex
> t.java:2396)
>  at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHost
> Valve.java:180
> )
>  at
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> eContext.invok
> eNext(StandardPipeline.java:643)
>  at
> org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDi
> spatcherValve.
> java:170)
>  at
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> eContext.invok
> eNext(StandardPipeline.java:641)
>  at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReport
> Valve.java:172
> )
>  at
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> eContext.invok
> eNext(StandardPipeline.java:641)
>  at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> ine.java:480)
>  at 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>  at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEn
> gineValve.java
> :174)
>  at
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> eContext.invok
> eNext(StandardPipeline.java:643)
>  at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> ine.java:480)
>  at 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>  at 
> org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.
> java:223)
>  at
> org.apache.coyote.http11.Http11Processor.process(Http11Process
> or.java:405)
>  at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandle
> r.processConne
> ction(Http11Protocol.java:380)
>  at
> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoi
> nt.java:508)
>  at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
> ThreadPool.jav
> a:533)
>  at java.lang.Thread.run(Thread.java:484)
> 
> > Hi,
> >
> > I use the following:
> >
> >
> services.JetspeedSecurity.classname=org.apache.jetspeed.servic
> es.security.Je
> tspeedDBSecurityService
> >
> > running with software 1.4-b4-dev
> >
> > regards,
> > Dave
> >
> > At 02:33 PM 2/14/2003 +0100, Krzysztof Krzos wrote:
> > >If it should be:
> >
> >services.JetspeedSecurity.classname=org.apache.jetspeed.servi
> ces.security.J
> e
> > >tspeedLDAPSecurityService
> > >?
> > >
> > >----- Original Message -----
> > >From: "Krzysztof Krzos" <[EMAIL PROTECTED]>
> > >To: "Jetspeed Users List" <[EMAIL PROTECTED]>;
> > ><[EMAIL PROTECTED]>
> > >Sent: Friday, February 14, 2003 2:10 PM
> > >Subject: Re: Probleme while configuring 1.4-b3 LDAP user management
> > >
> > >
> > > > Hi
> > > > What I should set in services.JetspeedSecurity.classname ?
> > > > This mail are old so I think you've resolved this 
> problem with LDAP :)
> > > > Regards
> > > > Chris
> > > >
> > > > ----- Original Message -----
> > > > From: "Laurent Pringot" <[EMAIL PROTECTED]>
> > > > To: "Ender KILICOGLU" <[EMAIL PROTECTED]>
> > > > Cc: "'Jetspeed Users List'" <[EMAIL PROTECTED]>
> > > > Sent: Thursday, January 09, 2003 11:41 AM
> > > > Subject: RE: Probleme while configuring 1.4-b3 LDAP 
> user management
> > > >
> > > >
> > > > >
> > > > > Hi,
> > > > >
> > > > > my configuration files are joined to this mail.
> > > > >
> > > > > I think that the problem is the line
> > > > > services.JetspeedSecurity.classname = ???
> > > > > which is not present in JetspeedSecurity.properties 
> (LDAP version)
> > > > >
> > > > > What is your opinion ?
> > > > >
> > > > > Thanks in advance
> > > > >
> > > > > Laurent
> > > > >
> > > > > -----Message d'origine-----
> > > > > De : Ender KILICOGLU [mailto:[EMAIL PROTECTED]]
> > > > > Envoye : jeudi 9 janvier 2003 09:24
> > > > > A : 'Jetspeed Users List'; [EMAIL PROTECTED]
> > > > > Objet : RE: Probleme while configuring 1.4-b3 LDAP 
> user management
> > > > >
> > > > >
> > > > > It seams a config problem. Can you send config files. 
> Your mail is
> very
> > > > > untidy
> > > > >
> > > > > Ender
> > > > >
> > > > >
> > > > > -----Original Message-----
> > > > > From: Laurent Pringot [mailto:[EMAIL PROTECTED]]
> > > > > Sent: Wednesday, January 08, 2003 2:55 PM
> > > > > To: Jetspeed Users List
> > > > > Subject: Probleme while configuring 1.4-b3 LDAP user 
> management
> > > > >
> > > > >
> > > > > Hi,
> > > > >
> > > > >  I am using 1.4-b3 with LDAP user management.
> > > > >  I've followed ldap-notes.txt and my LDAP tree is 
> properly built.
> > > > >
> > > > > When I tried to launched jetspeed I got following error:
> > > > >
> > > > > Horrible Exception: 
> org.apache.jetspeed.om.profile.ProfileException:
> > > > > org.apache.turbine.services.InstantiationException: 
> ServiceBroker:
> > > > > unknown service JetspeedSecurity requested
> > > > > at
> > > > >
> org.apache.jetspeed.services.profiler.JetspeedProfilerService.
> fallbackPr
> > > > > ofil
> > > > > e(JetspeedProfilerService.java:559)
> > > > > at
> > > > >
> org.apache.jetspeed.services.profiler.JetspeedProfilerService.
> getProfile
> > > > > (Jet
> > > > > speedProfilerService.java:293)
> > > > > at
> > > > >
> org.apache.jetspeed.services.profiler.JetspeedProfilerService.
> getProfile
> > > > > (Jet
> > > > > speedProfilerService.java:585)
> > > > > at
> > > > > 
> org.apache.jetspeed.services.Profiler.getProfile(Profiler.java:126)
> > > > > at
> > > > >
> org.apache.jetspeed.modules.actions.JetspeedAccessController.d
> oPerform(J
> > > > > etsp
> > > > > eedAccessController.java:99)
> > > > > at org.apache.turbine.modules.Action.perform(Action.java:87)
> > > > > ...
> > > > >
> > > > > here, my JetspeedSecurity.properties
> > > > >
> > > > > services.JetspeedSecurity.programmatic.cascade.delete=false
> > > > >
> services.PortalAuthentication.classname=org.apache.jetspeed.se
> rvices.sec
> > > > > urit
> > > > > y.ldap.LDAPAuthentication
> > > > >
> services.PortalAccessController.classname=org.apache.jetspeed.
> services.s
> > > > > ecur
> > > > > ity.registry.RegistryAccessController
> > > > >
> services.UserManagement.classname=org.apache.jetspeed.services
> .security.
> > > > > ldap
> > > > > .LDAPUserManagement
> > > > >
> services.JetspeedSecurity.user.class=org.apache.jetspeed.om.se
> curity.lda
> > > > > p.LD
> > > > > APUser
> > > > >
> services.RoleManagement.classname=org.apache.jetspeed.services
> .security.
> > > > > ldap
> > > > > .LDAPRoleManagement
> > > > >
> services.JetspeedSecurity.role.class=org.apache.jetspeed.om.se
> curity.lda
> > > > > p.LD
> > > > > APRole
> > > > >
> services.GroupManagement.classname=org.apache.jetspeed.service
> s.security
> > > > > .lda
> > > > > p.LDAPGroupManagement
> > > > >
> services.JetspeedSecurity.group.class=org.apache.jetspeed.om.s
> ecurity.ld
> > > > > ap.L
> > > > > DAPGroup
> > > > >
> services.PermissionManagement.classname=org.apache.jetspeed.se
> rvices.sec
> > > > > urit
> > > > > y.ldap.LDAPPermissionManagement
> > > > >
> services.JetspeedSecurity.permission.class=org.apache.jetspeed
> .om.securi
> > > > > ty.l
> > > > > dap.LDAPPermission
> > > > >
> services.ldap.classname=org.apache.jetspeed.services.ldap.LDAPService
> > > > > services.ldap.host=10.1.1.153
> > > > > services.ldap.port=389
> > > > > services.ldap.sslport=636 
> services.ldap.basedn=ou/jetspeed%o/apache
> > > > > services.ldap.managerdn=cn/ldapadmin%ou/jetspeed%o/apache
> > > > > services.ldap.password=secret
> > > > > services.ldap.anonymousbind=false
> > > > > services.ldap.securityauthentication=simple
> > > > > #services.ldap.securityprotocol=ssl
> > > > > #services.ldap.socketfactory=javax.net.ssl.SSLSocketFactory
> > > > > #services.ldap.jndiprovider=com.sun.jndi.ldap.LdapCtxFactory
> > > > > #services.ldap.saslclientpckgs=
> > > > > services.ldap.limit=0
> > > > > services.ldap.timeout=0
> > > > > services.ldap.version=3
> > > > > LocalWords:  SHA
> > > > >
> > > > >
> > > > > Thanks for any help you can provide.
> > > > >
> > > > > Laurent
> > > > >
> > > > >
> > > > > --
> > > > > To unsubscribe, e-mail:
> > > > > <mailto:[EMAIL PROTECTED]>
> > > > > For additional commands, e-mail:
> > > > > <mailto:[EMAIL PROTECTED]>
> > > > >
> > > > >
> > > >
> > > >
> > >
> > 
> --------------------------------------------------------------
> ------------
> > >--
> > > > ----
> > > >
> > > >
> > > > > --
> > > > > To unsubscribe, e-mail:
> > > > <mailto:[EMAIL PROTECTED]>
> > > > > For additional commands, e-mail:
> > > > <mailto:[EMAIL PROTECTED]>
> > > >
> > > >
> > > > 
> ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: 
> [EMAIL PROTECTED]
> > > > For additional commands, e-mail: 
> [EMAIL PROTECTED]
> > > >
> > >
> > >
> > 
> >---------------------------------------------------------------------
> > >To unsubscribe, e-mail: 
> [EMAIL PROTECTED]
> > >For additional commands, e-mail: 
> [EMAIL PROTECTED]
> >
> >
> >
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: 
> [EMAIL PROTECTED]
> >
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to