Thanks Steve,

it goes close to my idea yes, I thought fedora.war was already deployed 
without modification and the current installer had as only purpose the 
generation of fedora.fcfg and FEDORA_HOME dir structure, now I know 
better what goes on. I still would prefer everything inside the webapp 
dir, like I said Fedora Home dir is inside the exploded app as default, 
with env vars always overwritting defaults. This way its a matter only 
of WAR + env vars, no external dirs, config files required, easier for 
permission matters. Of course I have a limited vision of FCRepo as a 
whole, don't know anything about endpoints et al...

Regards,

Alex

Em 09-02-2011 08:29, Steve Bayliss escreveu:
> Hi Alex
>
> There is an outstanding JIRA issue to have Fedora deployable as a war -
> https://jira.duraspace.org/browse/FCREPO-504
>
> I think this would go someway to what you're trying to achieve.
>
> Regards
> Steve
>
> -----Original Message-----
> From: Alex Lopez [mailto:alo...@flordeutopia.pt]
> Sent: 04 February 2011 14:45
> To: fedora-commons-users@lists.sourceforge.net
> Subject: [fcrepo-user] FEDORA_HOME=$CATALINA_HOME/fedora
>
>
> Hi!
>
> I'm working on a webapp that depends on FCRepo, and I would like it to
> install everything it needs upon first deployment. So basically I would
> like to have a pre-configured FCRepo (among other dependencies) inside
> the WAR file of my app.
>
> The idea is minimum effort to prepare and install our app. This involves
> that FEDORA_HOME=$CATALINA_HOME/fedora so I don't have to create an
> extra directory and give permissions to Tomcat (who will be running
> fedora) to write there.
>
> This is kinda opposite to having fedora with the bundled tomcat inside,
> is having a tomcat with fedora inside (that is, both fedora.war and
> FEDORA_HOME things).
>
> I tried this approach and it goes through the installation normally and
> so far runs OK (tried first so
> FEDORA_HOME=$CATALINA_HOME/webapps/fedora/WEB-INF but didn't work...).
>
> So would someone recommend against this approach or offer a better
> alternative? Is it ever possible to change fedora.war to put
> *everything* inside and work with a "relative" $FEDORA_HOME path?
>
> ----------------------------------------------------------------------------
> --
> The modern datacenter depends on network connectivity to access resources
> and provide services. The best practices for maximizing a physical server's
> connectivity to a physical network are well understood - see how these
> rules translate into the virtual world?
> http://p.sf.net/sfu/oracle-sfdevnlfb
> _______________________________________________
> Fedora-commons-users mailing list
> Fedora-commons-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/fedora-commons-users
>
>
> ------------------------------------------------------------------------------
> The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
> Pinpoint memory and threading errors before they happen.
> Find and fix more than 250 security defects in the development cycle.
> Locate bottlenecks in serial and parallel code that limit performance.
> http://p.sf.net/sfu/intel-dev2devfeb
> _______________________________________________
> Fedora-commons-users mailing list
> Fedora-commons-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Fedora-commons-users mailing list
Fedora-commons-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

Reply via email to