That worked out, thanks!

Stefano Cossu
Director of Application Services, Collections

The Art Institute of Chicago
116 S. Michigan Ave.
Chicago, IL 60603
312-499-4026


On 9/27/13 1:45 PM, Andrew Woods wrote:
Hello Stefano,
As Ben mentioned, the default area to which the Fedora4 webapp is trying to persist state does not exist in your environment. See the following wiki page for deployment details:
https://wiki.duraspace.org/display/FF/Deploying+Fedora+4

All should be well if you add the following environment variables:
=====================
-Dcom.arjuna.ats.arjuna.common.ObjectStoreEnvironmentBean.default.objectStoreDir=<some-dir>
-Dcom.arjuna.ats.arjuna.objectstore.objectStoreDir=<some-dir>
-Dfcrepo.ispn.CacheDirPath=<some-dir>
-Dfcrepo.ispn.binary.CacheDirPath=<some-dir>
-Dfcrepo.modeshape.index.location=<some-dir>
-Dfcrepo.ispn.alternative.CacheDirPath=<some-dir>
-Dfcrepo.ispn.binary.alternative.CacheDirPath=<some-dir>
=====================

If you are using Tomcat7 on Linux, you should be able to add the above environment variables with the following additions to your /etc/default/tomcat7 file:
=====================
JAVA_OPTS="${JAVA_OPTS} -Dcom.arjuna.ats.arjuna.common.ObjectStoreEnvironmentBean.default.objectStoreDir=/tmp/ff/object-store-default" JAVA_OPTS="${JAVA_OPTS} -Dcom.arjuna.ats.arjuna.objectstore.objectStoreDir=/tmp/ff/object-store"
JAVA_OPTS="${JAVA_OPTS} -Dfcrepo.ispn.CacheDirPath=/tmp/ff/cache"
JAVA_OPTS="${JAVA_OPTS} -Dfcrepo.ispn.binary.CacheDirPath=/tmp/ff/cache-binary"
JAVA_OPTS="${JAVA_OPTS} -Dfcrepo.modeshape.index.location=/tmp/ff/index"
JAVA_OPTS="${JAVA_OPTS} -Dfcrepo.ispn.alternative.CacheDirPath=/tmp/ff/alt-cache" JAVA_OPTS="${JAVA_OPTS} -Dfcrepo.ispn.binary.alternative.CacheDirPath=/tmp/ff/alt-cache-binary"
=====================
...then restart tomcat.
Andrew



On Fri, Sep 27, 2013 at 1:35 PM, Benjamin Armintor <armin...@gmail.com <mailto:armin...@gmail.com>> wrote:

    At a glance, it looks like it's configure to run out of a maven
    build directory and not an arbirtrary tomcat.  Check the json
    config file and make sure the infinispan cache is configured to
    point to a writeable directory.


    On Fri, Sep 27, 2013 at 1:18 PM, Stefano Cossu <sco...@artic.edu
    <mailto:sco...@artic.edu>> wrote:

        Hi there,
        I tried installing the alpha release of Fedora 4 for testing.
        I deployed the fcrepo.war file on a fresh Tomcat 7.0.42
        install running on Oracle JVM 1.7.0_21-b02.
        I got the following message:

        FAIL - Application at context path /fcrepo could not be started.

        Attached is my catalina.err log. There are several errors
        logged but I couldn't figure out the root cause. This is a
        vanilla Tomcat install (Arch Linux). What is missing?

        Thanks,
--
        Stefano Cossu
        Director of Application Services, Collections

        The Art Institute of Chicago
        116 S. Michigan Ave.
        Chicago, IL 60603




        
------------------------------------------------------------------------------
        October Webinars: Code for Performance
        Free Intel webinars can help you accelerate application
        performance.
        Explore tips for MPI, OpenMP, advanced profiling, and more.
        Get the most from
        the latest Intel processors and coprocessors. See abstracts
        and register >
        
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
        _______________________________________________
        Fedora-commons-users mailing list
        Fedora-commons-users@lists.sourceforge.net
        <mailto:Fedora-commons-users@lists.sourceforge.net>
        https://lists.sourceforge.net/lists/listinfo/fedora-commons-users



    
------------------------------------------------------------------------------
    October Webinars: Code for Performance
    Free Intel webinars can help you accelerate application performance.
    Explore tips for MPI, OpenMP, advanced profiling, and more. Get
    the most from
    the latest Intel processors and coprocessors. See abstracts and
    register >
    http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
    _______________________________________________
    Fedora-commons-users mailing list
    Fedora-commons-users@lists.sourceforge.net
    <mailto:Fedora-commons-users@lists.sourceforge.net>
    https://lists.sourceforge.net/lists/listinfo/fedora-commons-users




------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk


_______________________________________________
Fedora-commons-users mailing list
Fedora-commons-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
_______________________________________________
Fedora-commons-users mailing list
Fedora-commons-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

Reply via email to