That would be your dspace.url. In such an instance, you would have:
dspace.url=http://dspacedev1:8080/dspace dspace.hostname=dspacedev1 However, from the FeedbackServlet, that would give the error you are receiving (it's first attempt to find a '.' would result in an index of -1, breaking the substring). This would also be true if the hostname was set to 'dspacedev1.com' - the first location of a '.' would be OK, but the second lastIndexOf would return -1, causing the exception. So: dspace.hostname=dspacedev1 dspace.hostname=dspacedev1.com would cause exceptions. dspace.hostname=www.dspacedev1.com *however* - you would only be able to send feedback if you accessed the site through the urls: http://dspacedev1.com:8080/dspace http://www.dspacedev1.com:8080/dspace note the addition of the .com at the end of the domain name to match the entry in dspace.hostname - without it the FeedbackServlet would treat it as a spam attempt and throw an AuthorizeException. G On Thu, 2007-03-01 at 17:09 +0800, Jayan Chirayath Kurian wrote: > Hi! > > > > Is it better if I change to http://dspacedev1:8080/dspace > > > > Thanks, > > Jayan > > > > > ______________________________________________________________________ > From: Jayan Chirayath Kurian > Sent: Wednesday, February 28, 2007 7:29 PM > To: Graham Triggs > Cc: dspace-tech@lists.sourceforge.net > Subject: RE: [Dspace-tech] Internal Error with DSpace feedback message > > > > > dspace.hostname is set to my machine IP address. Is there anything i > need to change. > > > Thanks, > > > Jayan > > > > > > ______________________________________________________________________ > From: Graham Triggs [mailto:[EMAIL PROTECTED] > Sent: Wed 2/28/2007 5:23 PM > To: Jayan Chirayath Kurian > Cc: dspace-tech@lists.sourceforge.net > Subject: Re: [Dspace-tech] Internal Error with DSpace feedback message > > > 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 > > > > 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