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

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

I think the NoClassDefFoundError is just an effect of the root cause: 
java.lang.IllegalStateException: DSpace kernel cannot be null

Someone recently had a similar problem that surfaced not in LNI, but in JSPUI - 
but I believe the cause is the same. Here's how he solved it:

> I had dspace-service.jar in the classpath. But, I found out that 
> "spring-dspace-core-services.xml" and other two xml in the spring folder was 
> missing.

I'm not completely sure what he meant because this file is part of DSpace 
source, not in the configuration directory of the installed DSpace, but try 
taking a look (both the dspace-api and the dspace-services jar should contain 
it in the spring/ directory along with the 2 others).

Other than that, you should also make sure that you didn't use the config 
directory from a previous version of DSpace (especially the spring 
subdirectory). Use the config directory from the 3.0 source and put your 
customizations in (as opposed to trying to edit 1.8.x config to match the one 
from 3.x).
                
> 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, 
> catalina.2013-01-15.log, localhost.2013-01-15.log, 
> localhost_access_log.2013-01-15.txt
>
>
> 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 SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS
and more. Get SQL Server skills now (including 2012) with LearnDevNow -
200+ hours of 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_122512
_______________________________________________
Dspace-devel mailing list
Dspace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to