The steps are

look at dspace-src/config/dspace.cfg
    did you change the baseUrl there  ?
    are there other definitions of baseUrl ?
recompile:
    mvn clean package
look at dspace-src/dspace/target/dspace-installer/config/dspace.cfg  (i am 
assuming you  use a recent dspace version)
    did the setting change in the file  ?
    if not you need to carefully revisit the dspace.cfg in your dspace-src 
directory
    use git diff to see the  difference to the original file
deploy
     ant update
     check the dspace.cfg file in your deployment dir /dspace/config/dspace.cfg
restart tomcat

Monika




—
Monika Mevenkamp
Digital Repository Infrastructure Developer
Phone: 609-258-4161
333C 701 Carnegie, Princeton University, Princeton, NJ 08544

On Jun 29, 2015, at 10:02 AM, Saidy Binta 
<bisa...@mrc.gm<mailto:bisa...@mrc.gm>> wrote:

I have rebuild multiple times but still the same. I am out of options.

Binta

From: Monika C. Mevenkamp [mailto:moni...@princeton.edu]
Sent: 29 June 2015 13:56
To: Saidy Binta
Cc: dspace-tech@lists.sourceforge.net<mailto:dspace-tech@lists.sourceforge.net>
Subject: Re: [Dspace-tech] changing localhost

Hi Saidy

You are not explicit about which dspace.cfg file you changed.

If it is the one in your dspace-src directory - you need to run mvn package and 
ant update again and the restart your tomcat server.

If you changed the file in your dspace deployment’s config directory - you need 
to restart your tomcat server

Monika



—
Monika Mevenkamp
Digital Repository Infrastructure Developer
Phone: 609-258-4161
333C 701 Carnegie, Princeton University, Princeton, NJ 08544

On Jun 29, 2015, at 4:57 AM, Saidy Binta 
<bisa...@mrc.gm<mailto:bisa...@mrc.gm>> wrote:

Hi All,

I try change the localhost

# DSpace host name - should match base URL.  Do not include port number.
dspace.hostname = Electron.data

# DSpace base host URL.  Include port number etc.
dspace.baseUrl = http://Electronic.data:8080<http://electronic.data:8080/>

# 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.url}/xmlui

but I still have the below url instead. Please can anyone tell me what is wrong.
 http://localhost:8080/xmlui/xmlui/forgot?token=77aed5837e6e52414e41ba26fef087c2


________________________________

DISCLAIMER: This message is private and confidential. If you have received this 
message in error please notify us and remove it from your system. Any views and 
opinions expressed in this message are those of the individual sender and do 
not necessarily represent the views and opinions of Medical Research Council 
Unit, The Gambia

___________________________________________________________
This communication is confidential and may contain privileged information 
intended solely for the named recipient(s). It may not be used or disclosed 
except for the purpose for which it has been sent. If you are not the intended 
recipient, you must not copy, distribute, take any action or reliance on it. If 
you have received this communication in error, do not open any attachments but 
please notify the Help Desk by e-mailing h...@mrc.gm<mailto:h...@mrc.gm> 
quoting the sender details, and then delete this message along with any 
attached files. E-mail messages are not secure and attachments could contain 
software viruses which may damage your computer system. Whilst every reasonable 
precaution has been taken to minimise this risk, The MRC Unit The Gambia cannot 
accept any liability for any damage sustained as a result of these factors. You 
are advised to carry out your own virus checks before opening any attachments. 
Unless expressly stated, opinions in this message are those of the e-mail 
author and not of the Medical Research Council Unit The Gambia.
________________________________________________________________________
------------------------------------------------------------------------------
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors
network devices and physical & virtual servers, alerts via email & sms
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net<mailto:DSpace-tech@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


________________________________

DISCLAIMER: This message is private and confidential. If you have received this 
message in error please notify us and remove it from your system. Any views and 
opinions expressed in this message are those of the individual sender and do 
not necessarily represent the views and opinions of Medical Research Council 
Unit, The Gambia

___________________________________________________________
This communication is confidential and may contain privileged information 
intended solely for the named recipient(s). It may not be used or disclosed 
except for the purpose for which it has been sent. If you are not the intended 
recipient, you must not copy, distribute, take any action or reliance on it. If 
you have received this communication in error, do not open any attachments but 
please notify the Help Desk by e-mailing h...@mrc.gm<mailto:h...@mrc.gm> 
quoting the sender details, and then delete this message along with any 
attached files. E-mail messages are not secure and attachments could contain 
software viruses which may damage your computer system. Whilst every reasonable 
precaution has been taken to minimise this risk, The MRC Unit The Gambia cannot 
accept any liability for any damage sustained as a result of these factors. You 
are advised to carry out your own virus checks before opening any attachments. 
Unless expressly stated, opinions in this message are those of the e-mail 
author and not of the Medical Research Council Unit The Gambia.
________________________________________________________________________

------------------------------------------------------------------------------
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors 
network devices and physical & virtual servers, alerts via email & sms 
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to