Re: [Dspace-tech] DSpace & Active Directory

2009-10-15 Thread Wynne, David
Stuart,
 sorry just read your blog about adding a trailing / to the
ldap://jmu.ac.uk:389
 
seems to work now, No need to trace it.
 
Dave
 
--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] DSpace & Active Directory

2009-10-15 Thread Wynne, David
Stuart,
full listing is:
 
java.lang.NullPointerException
 at
org.dspace.authenticate.LDAPHierarchicalAuthentication$SpeakerToLDAP.
getDNOfUser(LDAPHierarchicalAuthentication.java:383)
 at
org.dspace.authenticate.LDAPHierarchicalAuthentication.authenticate(L
DAPHierarchicalAuthentication.java:214)
 at
org.dspace.authenticate.AuthenticationManager.authenticateInternal(Au
thenticationManager.java:199)
 at
org.dspace.authenticate.AuthenticationManager.authenticate(Authentica
tionManager.java:136)
 at
org.dspace.app.webui.servlet.PasswordServlet.doDSPost(PasswordServlet
.java:95)
 at
org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServl
et.java:147)
 at
org.dspace.app.webui.servlet.DSpaceServlet.doPost(DSpaceServlet.java:
105)
 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(Appl
icationFilterChain.java:290)
 at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:206)
 at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:233)
 at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:191)
 at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:128)
 at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:102)
 at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:109)
 at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:286)
 at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:845)
 at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
ss(Http11Protocol.java:583)
 at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:44
7)
 at java.lang.Thread.run(Thread.java:636)

 
Dave




From: Stuart Lewis [mailto:s.le...@auckland.ac.nz] 
Sent: 15 October 2009 15:04
To: Wynne, David
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] DSpace & Active Directory


Hi David, 


I've configured & tested openldap on my ubuntu system &
ldapsearch all works as expected.
 
The problem is that our Active Directory has a rather
unusual setup. 
At the moment in ther dspace.log file:
 
2009-10-15 13:27:53,489 INFO
org.dspace.authenticate.LDAPHierarchicalAuthentica
tion @
anonymous:session_id=116B1778D9539B1DDC5B49BF0820463B:ip_addr=150.204.48
.
5:auth:attempting trivial auth of user=cmsdwynn
2009-10-15 13:27:53,493 WARN
org.dspace.app.webui.servlet.InternalErrorServlet 
@
:session_id=116B1778D9539B1DDC5B49BF0820463B:internal_error:-- URL Was:
http:/
/dspace.cms.livjm.ac.uk:8080/jspui/password-login
-- Method: POST
-- Parameters were:
-- login_email: "cmsdwynn"
-- login_password: *not logged*
-- login_submit: "Log In"
 
java.lang.NullPointerException


Is there any further information directly after
"java.lang.NullPointerException"? Typically the stack trace will contain
line numbers that will tell us where in the code the error is occurring
which will allow us to debug the problem.

Thanks,


Stuart Lewis
IT Innovations Analyst and Developer
Te Tumu Herenga The University of Auckland Library
Auckland Mail Centre, Private Bag 92019, Auckland 1142, New
Zealand
Ph: 64 9 373-7599 x81928
http://www.library.auckland.ac.nz/ 


--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] DSpace & Active Directory

2009-10-15 Thread Stuart Lewis
Hi David,

I've configured & tested openldap on my ubuntu system & ldapsearch all works as 
expected.

The problem is that our Active Directory has a rather unusual setup.
At the moment in ther dspace.log file:

2009-10-15 13:27:53,489 INFO  org.dspace.authenticate.LDAPHierarchicalAuthentica
tion @ anonymous:session_id=116B1778D9539B1DDC5B49BF0820463B:ip_addr=150.204.48.
5:auth:attempting trivial auth of user=cmsdwynn
2009-10-15 13:27:53,493 WARN  org.dspace.app.webui.servlet.InternalErrorServlet
@ :session_id=116B1778D9539B1DDC5B49BF0820463B:internal_error:-- URL Was: http:/
/dspace.cms.livjm.ac.uk:8080/jspui/password-login
-- Method: POST
-- Parameters were:
-- login_email: "cmsdwynn"
-- login_password: *not logged*
-- login_submit: "Log In"

java.lang.NullPointerException

Is there any further information directly after 
"java.lang.NullPointerException"? Typically the stack trace will contain line 
numbers that will tell us where in the code the error is occurring which will 
allow us to debug the problem.

Thanks,


Stuart Lewis
IT Innovations Analyst and Developer
Te Tumu Herenga The University of Auckland Library
Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand
Ph: 64 9 373-7599 x81928
http://www.library.auckland.ac.nz/

--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech