I've had this problem for a number of years, since I never store my 
webapps under CATALINA home, preferring to keep them separate from the 
Tomcat instance (makes upgrades of Tomcat easier).

The fix I've employed is a trivial hack: modify env-server.sh, set the 
webinf variable to the right directory.  But that's not a real solution.

A more robust solution would be something along these lines:

if [ -z "$FEDORA_WEBINF" ]; then
   webinf="$CATALINA_HOME"/webapps/$webapp_name/WEB-INF
else
   webinf="$FEDORA_WEBINF"
fi

If that makes sense to everyone, I'll update the ticket you open, 
Alistair, and commit changes to the shell and bat scripts and the 
documentation.

-- Scott


On 11/13/2012 11:39 AM, aj...@virginia.edu wrote:
> Can you file a Jira ticket for this with a description of how you encountered 
> the problem?
>
> We can follow up and figure out what's going wrong.
>
> Have any users experienced a similar difficulty?
>
> ---
> A. Soroka
> Software&  Systems Engineering :: Online Library Environment
> the University of Virginia Library
>
> On Nov 13, 2012, at 9:03 AM, Alistair Young wrote:
>
>> oh well, there appears to be an issue where you can't rebuild a Fedora 
>> that's not in a webapps directory:
>>
>> webinf="$CATALINA_HOME"/webapps/$webapp_name/WEB-INF
>>
>> Alistair
>>
>>
>> From: Alistair Young<alistair.yo...@uhi.ac.uk>
>> Reply-To: "Support and info exchange list for Fedora 
>> users."<fedora-commons-users@lists.sourceforge.net>
>> Date: Wednesday, 7 November 2012 12:26
>> To: "Support and info exchange list for Fedora 
>> users."<fedora-commons-users@lists.sourceforge.net>
>> Subject: [fcrepo-user] Moving the data directory
>>
>> I'd like to move /usr/local/fedora/data to outside the fedora install but 
>> can I ask for a quick sanity check please?!
>>      • move /usr/local/fedora/data to where it's going
>>      • Update server/config/spring/akubra-llstore.xml fsObjectStore, 
>> fsDatastreamStore
>>      • Stop fedora and run server/bin/fedora-rebuild.sh to rebuild the 
>> resource index
>> Does that sound ok?
>>
>> thanks,
>>
>> Alistair
>>
>> -------------------
>> Alistair Young
>> Àrd Innleadair air Bathair-bog
>> UHI@Sabhal Mòr Ostaig
>> ------------------------------------------------------------------------------
>> Monitor your physical, virtual and cloud infrastructure from a single
>> web console. Get in-depth insight into apps, servers, databases, vmware,
>> SAP, cloud infrastructure, etc. Download 30-day Free Trial.
>> Pricing starts from $795 for 25 servers or applications!
>> http://p.sf.net/sfu/zoho_dev2dev_nov_______________________________________________
>> Fedora-commons-users mailing list
>> Fedora-commons-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/fedora-commons-users
>
>
> ------------------------------------------------------------------------------
> Monitor your physical, virtual and cloud infrastructure from a single
> web console. Get in-depth insight into apps, servers, databases, vmware,
> SAP, cloud infrastructure, etc. Download 30-day Free Trial.
> Pricing starts from $795 for 25 servers or applications!
> http://p.sf.net/sfu/zoho_dev2dev_nov
> _______________________________________________
> Fedora-commons-users mailing list
> Fedora-commons-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/fedora-commons-users


-- 
Scott Prater
Shared Development Group
General Library System
University of Wisconsin - Madison
pra...@wisc.edu
5-5415


------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Fedora-commons-users mailing list
Fedora-commons-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

Reply via email to