Θέμα: Re: [Dspace-general] problem with "install- configs"

anna mavroudi annamavroudi at yahoo.gr
Fri Jun 8 13:56:52 EDT 2007


hi Claudia,
i tried but here are the results:

Using DSpace installation in: C:\dspace-1.4.1beta1-source
Exception in thread "main" java.lang.NoClassDefFoundError: org/dspace/core/ConfigurationManager

 i' running Dspace locally and i'm a registered user:
 
          ("Our records show that you've already registered with DSpace and have an active account with us".)
 
and this is the message from Dspace/log the last time i tried to log in using MyDspace: 

2007-06-07 23:38:16,813 WARN  org.dspace.app.webui.servlet.InternalErrorServlet @ :session_id=085611F72BA9B337F810F53A2E0E25D5:internal_error:-- URL Was: http://localhost:8080/dspace/feedback
-- Method: GET
-- Parameters were:

java.lang.StringIndexOutOfBoundsException: String index out of range: -1
    at java.lang.String.substring(String.java:1768)
    at org.dspace.app.webui.servlet.FeedbackServlet.doDSGet(FeedbackServlet.java:93)
    at org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:151)
    at org.dspace.app.webui.servlet.DSpaceServlet.doGet(DSpaceServlet.java:99)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
    at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
    at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
    at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
    at java.lang.Thread.run(Thread.java:595)

i have set up a local smtp mail server(IIS - Windows), but still isn't working and i keep getting the message that an internal error has occured... 
Any ideas?

Anna
Claudia Jürgen <Claudia.Juergen at ub.uni-dortmund.de> Ýãñáøå: Hello Anna,

you need to run [dspace]/bin/install-config only if you changed 
configuration properties for third party tools. That are all the 
configuration properties in dspace.cfg which start with "config." e.g.:
config.template.log4j.properties = ${dspace.dir}/config/log4j.properties.
see [dspace-source]/docs/configure.html#templates

In order to run install-config on windows simply run

[dspace]/bin/dsrun.bat org.dspace.core.ConfigurationManager -installTemplate


hope that helps

Claudia Jürgen
University of Dortmund


anna mavroudi schrieb:
> hi,
>   i'm running Dspace (v 1.4.1) on windows, and i want to make some changes in the cfg file. As it is written in the instructions whenever you edit dspace.cfg you should run [dspace]\bin\install-configs so that the changes are reflected  in the cfg file.
>   But it is also written that only 'dsrun' has been translated to a windows '.bat' file. The other scripts (including 'install-config', i suppose) won't work for windows, so you have to use 'dsrun.bat' with the class name.
>   So, how will be the exact command? 
>   Typing, for example,
>                          [dspace]\bin>dsrun install-configs
>   gives the following exeption:
>   Exception in thread "main" java.lang.NoClassDefFoundError: install-configs
>   Does anyway know is the right way of defining that specific class?
>    
>   Thanks, Anna
>    
> 
>        
> ---------------------------------
>  ΧÏ&#65533;ηÏ&#65533;ιμοÏ&#65533;οιείÏ&#65533;ε Yahoo!
>  Î&#65533;αÏ&#65533;εθÎ&#65533;καÏ&#65533;ε Ï&#65533;α ενοÏ&#65533;ληÏ&#65533;ικά μηνÏ&#65533; μαÏ&#65533;α (spam); Το Yahoo! Mail διαθέÏ&#65533;ει Ï&#65533;ην καλÏ&#65533;Ï&#65533;εÏ&#65533;η δÏ&#65533;ναÏ&#65533;Î&#65533; Ï&#65533;Ï&#65533;οÏ&#65533;Ï&#65533;αÏ&#65533;ία καÏ&#65533;ά Ï&#65533;Ï&#65533;ν ενοÏ&#65533;ληÏ&#65533;ικÏ&#65533;ν μηνÏ&#65533;μάÏ&#65533;Ï&#65533;ν 
>  http://login.yahoo.com/config/mail?.intl=gr 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Dspace-general mailing list
> Dspace-general at mit.edu
> http://mailman.mit.edu/mailman/listinfo/dspace-general
_______________________________________________
Dspace-general mailing list
Dspace-general at mit.edu
http://mailman.mit.edu/mailman/listinfo/dspace-general


 		
---------------------------------
 ×ñçóéìïðïéåßôå Yahoo!
 ÂáñåèÞêáôå ôá åíï÷ëçôéêÜ ìçíý ìáôá (spam); Ôï Yahoo! Mail äéáèÝôåé ôçí êáëýôåñç äõíáôÞ ðñïóôáóßá êáôÜ ôùí åíï÷ëçôéêþí ìçíõìÜôùí 
 http://login.yahoo.com/config/mail?.intl=gr 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/dspace-general/attachments/20070608/7e195417/attachment.htm


More information about the Dspace-general mailing list