Thanks a lot Hardik,
I had changed those parameters and restarted Tomcat but did not restart the
server then. Today, I restarted the server and somehow the problem was
resolved after that.

Regards,

Swati Goyal
CEPT University





On Tue, May 13, 2014 at 3:52 PM, Hardik Mishra <[email protected]>wrote:

> Swati,
>
> it should like this at dspace-install dir/config/dspace.cfg
>
> dspace.hostname = 10.210.12.252
> dspace.baseUrl =  http://10.210.12.252:8080
> dspace.url =  ${dspace.baseUrl}/jspui
>
>
> --
> Thanks
> Hardik Mishra
>
>
> ---------- Forwarded message ----------
> From: "Swati (CEPT Mail Admin)" <[email protected]>
> To: "Monika C. Mevenkamp" <[email protected]>,
> [email protected]
> Cc:
> Date: Tue, 13 May 2014 10:03:31 +0530
> Subject: Re: [Dspace-tech] Changing the link from "
> http://localhost:8080/xmlui"; to "http://mydomain:8080/xmlui"; in password
> reset email DSpace
> ​Thanks for your help Monika,
>
> Yes, I changed the value of "dspace.baseUrl" to my Ip in place of the word
> localhost in dspace.cfg and restarted Tomcat. Yet, the email sent by my
> Dspace installation for password recovery contains "localhost" instead of
> my IP. Is there any other file/place as well where I need to change the
> value of dspace.baseUrl​ ?
>
> ​Thanks,​
>
> Swati Goyal
> CEPT University
>
>
> On Mon, May 12, 2014 at 10:23 PM, Monika C. Mevenkamp <
> [email protected]> wrote:
>
>> Please have a look at your dspace.cfg file  in your configuration
>> directory
>> Make sure that the following settings refer to to the domain name values
>> that you desire
>>
>> # DSpace host name - should match base URL.  Do not include port number.
>> dspace.hostname = ${dspace.hostname}
>>
>> # DSpace base host URL.  Include port number etc.
>> dspace.baseUrl = ${dspace.baseUrl}
>>
>> # DSpace base URL.  Include port number etc., but NOT trailing slash
>> # Change to xmlui if you wish to use the xmlui as the default, or remove
>> # "/jspui" and set webapp of your choice as the "ROOT" webapp in
>> # the servlet engine.
>> dspace.url = ${dspace.baseUrl}/xmlui
>>
>>
>> Monika
>>
>> ________________
>> Monika Mevenkamp
>> phone: 609-258-4161
>> Lewis Library,Washington Road and Ivy Lane, Princeton University,
>> Princeton, NJ 08544
>>
>>
>> On May 12, 2014, at 6:03 AM, Swati (CEPT Mail Admin) <[email protected]>
>> wrote:
>>
>> ​We are yet to launch DSpace for our institution. I am using CentOs. I
>> have configured smtp and my DSpace installation is able to send emails.
>> While testing, I tried to reset my password from DSpace JSPUI. It sends an
>> email to my email address with the following content :
>> --------------
>> To change the password for your DSpace account, please click the link
>> below:
>>
>>
>> http://localhost:8080/xmlui/forgot?token=5a33ca84e52cbc7ed958e4d170a667cb
>> ​
>>
>> --------------
>>
>> In the above email content, I want the "localhost" to be replaced by my
>> IP. For this I changed the relevant values in dspace.cfg file and restarted
>> Tomcat but still the parameter in email message remains the same and shows
>> localhost instead of my IP.
>>
>> Kindly suggest me how to resolve this.
>>
>> Thanks,
>> ---------------
>>
>>
------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to