Thank you very much for your answer

Sorry, I didn't say that my dspace's version is 1.4 so i don't use maven.

My dspace.cfg archive is changed in [dspace-source]/config and i have 
verified that it also has changed in [dspace]/config. I have rebuilt the 
project again with ant update, using the parameters 
-Dconfig=/path/to/dspace.cfg and -Doverwrite=true. And again have 
restarted tomcat several times, but no change.
Any other clue?

Thanks in advance



Peter Dietz wrote:
> Hello Almudena,
>
> Are you modifying [dspace]/config/dspace.cfg or 
> [dspace-source]/config/dspace.cfg ?
>
> If you're modifying the config in [dspace-source] it could be that 
> changes aren't picked up until you do mvn package.
> Or, look at some of the additional parameters of ant:
>      [echo] -Dconfig=<path/to/dspace.cfg>  -- Where your dspace.cfg 
> configuration
>      [echo]                                   is located
>      [echo] -Doverwrite=true               -- Will force 
> update_configs to copy existing
>      [echo]                                   config to .old files 
> when they conflict with
>      [echo]                                   the new config. 
>  Otherwise, new conflicting
>      [echo]                                   file with be suffixed 
> with .new.
>
>
>
> Here's the typical rebuild steps.
> from: Documentation - 
> Installation http://digital.maag.ysu.edu/jspui/doc/ch03.html
> cd [dspace-source]/dspace
> mvn package
> cd [dspace-source]/dspace/target/dspace-<version>-build.dir
> ant -Dconfig=[dspace]/config/dspace.cfg update
> (restart tomcat)
>
> On Fri, Mar 5, 2010 at 7:12 AM, Almudena Claudio 
> <[email protected] <mailto:[email protected]>> 
> wrote:
>
>
>     Hello,
>
>     We have changed the parameter dspace.url in dspace.cfg,
>
>     before, we had this:
>
>     dspace.url=IP:8080/dspace
>     dspace.hostname = IP
>
>     now,
>
>     dspace.url = hostname:8080/dspace
>     dspace.hostname = hostname
>
>     then, we have executed 'ant clean' and 'ant update', and restarted
>     tomcat multiple times, but  we don't see any change.
>
>     Now when we call an URI (example:
>     http://hdl.handle.net/handle/10508/166), the system redirects to
>     http://IP:8080/dspace/10508/166. What we need is that, when we call an
>     URI , we access to http://hostname:8080/dspace/10508/166.
>
>     (We have created that document after the change)
>
>     Thank you very much and best regards
>
>
>     --
>     <<  Almudena Claudio García          
>      [email protected] <mailto:[email protected]>
>     <<< XimetriX network thoughts           www.ximetrix.com
>     <http://www.ximetrix.com>
>     <<< Departamento de Operaciones
>     <<< tlf:        +34 91 521 99 99
>     <<< fax:        +34 91 521 99 74
>     ---------------------------------------------------------------
>
>
>     
> ------------------------------------------------------------------------------
>     Download Intel&#174; Parallel Studio Eval
>     Try the new software tools for yourself. Speed compiling, find bugs
>     proactively, and fine-tune applications for parallel performance.
>     See why Intel Parallel Studio got high marks during beta.
>     http://p.sf.net/sfu/intel-sw-dev
>     _______________________________________________
>     DSpace-tech mailing list
>     [email protected]
>     <mailto:[email protected]>
>     https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
>
>
>
> -- 
> Peter Dietz
> Systems Developer/Engineer
> Ohio State University Libraries
>


-- 
<<  Almudena Claudio García            [email protected]
<<< XimetriX network thoughts           www.ximetrix.com
<<< Departamento de Operaciones
<<< tlf:        +34 91 521 99 99
<<< fax:        +34 91 521 99 74
--------------------------------------------------------------- 


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to