Thanks, Mark. Yes, it is Dspace 1.3.2

The web.xml file shows:

    <context-param>
      <param-name>dspace-config</param-name>
      <param-value>${dspace.dir}/config/dspace.cfg</param-value>
      <description>
        The location of the main DSpace configuration file
      </description>
    </context-param>

I assume that the ${dspace.dir} value comes from the
dspace-source/config/dspace.cfg file which is set at 

dspace.dir = /data/dspace

Do I have to edit the web.xml file as well? 

I also tried ant build_wars but the same message appeared:

FATAL main org.dspace.core.ConfigurationManager - Can't load
configuration
java.io.FileNotFoundException: ${dspace.dir}/config/dspace.cfg (No such
file or directory)

thanks again for any tips. 

Alvin 

-----Original Message-----
From: Mark Diggory [mailto:[EMAIL PROTECTED] 
Sent: Monday, June 09, 2008 2:20 PM
To: Hutchinson, Alvin
Cc: [email protected]
Subject: Re: [Dspace-tech] Ant Update or Fresh Install

A assume this is 1.4 or eariler?

No, running a fresh install on an existing installation will more  
than likely break it.

If you look in your dspace web-application (and dspace-oai if you  
have that installed as well) you'll find a WEB-INF/web.xml file with  
the location of your dspace.dir/config/dspace.cfg configured. You'll  
need to change those.

The ant build_wars task will rebuild the wars with you changes in  
dspace.cfg (either in your [source]/config/dspace or vi -Dconfig=.../ 
location/of/dspace.cfg)

-Mark

On Jun 9, 2008, at 9:32 AM, Hutchinson, Alvin wrote:

> Recently my Dspace directory was changed from /dspace to /data/dspace.
>
> When I try to start Tomcat I get the error:
>
> FATAL main org.dspace.core.ConfigurationManager - Can't load
> configuration
> java.io.FileNotFoundException: ${dspace.dir}/config/dspace.cfg (No  
> such
> file or directory)
>
> I changed the $dspace.dir folder in the dspace.cfg file to reflect the
> change but my question is:
>
> Do I need to do ant fresh_install instead of an ant update? I tried  
> the
> latter but still get the error.
>
> If I do a fresh_install will it wipe out my jsp, css,
> messages.properties etc. files?
>
> I poked around the wiki to try to find an answer but couldn't see
> anything.
>
> Many thanks in advance for guidance,
>
> Alvin Hutchinson
> Smithsonian Institution Libraries
> (202) 633-1031
>
> ----------------------------------------------------------------------

> ---
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> DSpace-tech mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspace-tech


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to