[ 
https://jira.duraspace.org/browse/DS-1452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=27464#comment-27464
 ] 

Ivan Masár commented on DS-1452:
--------------------------------

I cannot reproduce this. I tried LNI on 2 of my DSpace 3.0 instances and on the 
http://demo.dspace.org/lni/dav/ site and LNI works fine. Can you give me other 
specifics of your installation?

The error says, that the org.dspace.eperson.PasswordHash class cannot be found 
in classpath. But this class is present in the 3.0 sources:
https://github.com/DSpace/DSpace/blob/master/dspace-api/src/main/java/org/dspace/eperson/PasswordHash.
The class is part of dspace-api module (dspace-api-3.0.jar). If this jar wasn't 
in your classpath, you wouldn't be able to run DSpace at all. From that I infer 
that you do have the jar in your classpath, but it doesn't contain the 
particular class. Could it be that you built the sources without this class? 
Did you work with an older version of the sources (this is a new class in 3.0)? 
Can you verify that the jar is present at both
[dspace]/lib/dspace-api-3.0.jar
AND
[dspace]/webapps/lni/WEB-INF/lib/dspace-api-3.0.jar
?

Or did you just copy the lni webapp from an older version of DSpace to DSpace 
3.0 without rebuilding the lni module?
                
> lni throws 500 exception
> ------------------------
>
>                 Key: DS-1452
>                 URL: https://jira.duraspace.org/browse/DS-1452
>             Project: DSpace
>          Issue Type: Bug
>          Components: LNI
>    Affects Versions: 3.0
>         Environment: Tomcat 7
> dspace 3.0 
> chrome
>            Reporter: chgivan
>            Priority: Major
>         Attachments: Apache Tomcat 7.0.34 - Error report.htm
>
>
> I am running a dspace 3 .0 with tomcat 7 for testing issues
> i try to use lni , i navigate to /lni/dav/ 
> give the admin user and password 
> then a 500  Exception report show on my browse
> HTTP Status 500 - Servlet execution threw an exception
> type Exception report
> message Servlet execution threw an exception
> description The server encountered an internal error that prevented it from 
> fulfilling this request.
> exception
> javax.servlet.ServletException: Servlet execution threw an exception
> root cause
> java.lang.NoClassDefFoundError: Could not initialize class 
> org.dspace.eperson.PasswordHash
>       org.dspace.eperson.EPerson.checkPassword(EPerson.java:926)
>       
> org.dspace.authenticate.PasswordAuthentication.authenticate(PasswordAuthentication.java:226)
>       
> org.dspace.authenticate.AuthenticationManager.authenticateInternal(AuthenticationManager.java:155)
>       
> org.dspace.authenticate.AuthenticationManager.authenticate(AuthenticationManager.java:92)
>       org.dspace.app.dav.DAVServlet.authenticate(DAVServlet.java:326)
>       org.dspace.app.dav.DAVServlet.serviceInternal(DAVServlet.java:513)
>       org.dspace.app.dav.DAVServlet.service(DAVServlet.java:443)
>       javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
> note The full stack trace of the root cause is available in the Apache 
> Tomcat/7.0.34 logs.
> Apache Tomcat/7.0.34
> I have not change the classes of the dspace src 
> I have not change setting at dspace.cfg file
> I try to use the demo.dspace.org lni at i go the same error 500
> http://demo.dspace.org/lni/dav/
> pls help!
> Email: uomtestdsp...@gmail.com
>  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
_______________________________________________
Dspace-devel mailing list
Dspace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to