What is your dspace.hostname set to?

It looks like you've got something with less than 2 dots - ie. host.com,
whereas the code is expecting there to be at least two - ie.
www.host.com

G

On Wed, 2007-02-28 at 14:39 +0800, Jayan Chirayath Kurian wrote:
> Hi! 
> 
>  
> 
> We have Dspace 1.4.1 on windows 2003. User registration through email
> token registration /LDAP is working fine. In the user registration
> page there is a link identified by the text “Leave a message for
> DSpace administrators”. When the link is clicked an internal server
> error message is displayed. The dspace log file and SMTP settings are
> given below. Please suggest whether any other DSpace config paramters
> need to be set for sending messages to DSpace administrators.
> 
>  
> 
> Thanks,
> 
> Jayan
> 
>  
> 
> # SMTP mail server
> 
> mail.server=xxxxxx
> 
>  
> 
> # SMTP mail server authentication username and password (if required)
> 
> # mail.server.username = myusername
> 
> # mail.server.password = mypassword
> 
>  
> 
>  
> 
> # From address for mail
> 
> #mail.from.address = [EMAIL PROTECTED]
> 
> mail.from.address = [EMAIL PROTECTED]
> 
>  
> 
> # Currently limited to one recipient!
> 
> #feedback.recipient = [EMAIL PROTECTED]
> 
> feedback.recipient = [EMAIL PROTECTED]
> 
>  
> 
> # General site administration (Webmaster) e-mail
> 
> #mail.admin = [EMAIL PROTECTED]
> 
> mail.admin = [EMAIL PROTECTED]
> 
>  
> 
> # Recipient for server errors and alerts
> 
> #alert.recipient = [EMAIL PROTECTED]
> 
>  
> 
>  
> 
> 2007-02-28 14:21:46,323 INFO  org.dspace.core.ConfigurationManager @
> DSpace logging installed using log4j.properties
> 
> 2007-02-28 14:21:46,948 INFO  org.dspace.core.ConfigurationManager @
> DSpace logging installed using log4j.properties
> 
> 2007-02-28 14:22:19,760 WARN
> org.dspace.app.webui.servlet.InternalErrorServlet
> @ :session_id=23ED50CB21BBA096E08C4ECFD6EFC944:internal_error:-- URL
> Was: http://dspacedev1:8080/dspace/feedback
> 
> -- Method: GET
> 
> -- Parameters were:
> 
>  
> 
> java.lang.StringIndexOutOfBoundsException: String index out of range:
> -1
> 
>                 at java.lang.String.substring(Unknown Source)
> 
>                 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:690)
> 
>                 at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> 
>                 at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> 
>                 at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> 
>                 at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:228)
> 
>                 at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
> 
>                 at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
> 
>                 at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> 
>                 at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> 
>                 at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:212)
> 
>                 at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
> 
>                 at org.apache.coyote.http11.Http11Protocol
> $Http11ConnectionHandler.process(Http11Protocol.java:634)
> 
>                 at org.apache.tomcat.util.net.JIoEndpoint
> $Worker.run(JIoEndpoint.java:445)
> 
>                 at java.lang.Thread.run(Unknown Source)
> 
>  
> 
>  
> 
> 
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________ DSpace-tech mailing list 
> DSpace-tech@lists.sourceforge.net 
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
This email has been scanned by Postini.
For more information please visit http://www.postini.com


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to