Gotcha. I didn't notice the recently added line in the Wiki. Now it's
running fine, thank you!
Stefano Cossu
Director of Application Services, Collections
The Art Institute of Chicago
116 S. Michigan Ave.
Chicago, IL 60603
312-499-4026
On 10/15/13 6:06 PM, Andrew Woods wrote:
Thanks Stefano,
Clearly the issue arises from the following error:
Caused by: org.fusesource.leveldbjni.internal.NativeDB$DBException: IO error:
/target/repo/data/LOCK: No such file or directory
The system property that defines the directory for that lock file is:
"fcrepo.ispn.repo.CacheDirPath", and it would appear that property is
not being set in your application container. I also see that this
property is not listed in the previous email in this thread. You
should be able to add that property and be good to go.
https://wiki.duraspace.org/display/FF/Deploying+Fedora+4
As a side note, there is currently a ticket in-work to provide more
reasonable default values for these configurable system properties so
that simple, drop-in war deployment will work without the need for the
setting of additional properties.
Please drop another note if you do or do not succeed in deploying the
alpha-2 war file.
Regards,
Andrew
On Tue, Oct 15, 2013 at 6:30 PM, Stefano Cossu <sco...@artic.edu
<mailto:sco...@artic.edu>> wrote:
Sorry, I forgot. Attached is my logfile since I deployed the aplha
2 webapp war.
Thanks,
Stefano Cossu
Director of Application Services, Collections
The Art Institute of Chicago
116 S. Michigan Ave.
Chicago, IL 60603
On 10/15/13 5:21 PM, Andrew Woods wrote:
Hello Stefano,
Please feel free to attach or send a link to your Tomcat7
catalina.out file.
Thanks,
Andrew
On Tue, Oct 15, 2013 at 6:14 PM, Stefano Cossu <sco...@artic.edu
<mailto:sco...@artic.edu>> wrote:
Hi,
I got this exact same message again with alpha 2.
The Tomcat configuration you suggested, which works with a1,
does not with a2. If I undeploy a2 and deploy a1, without
changing anything else, a1 works.
I noticed that Modeshape was upgraded from 3.3.0 to 3.4.0
between versions. Is it possible that those variable names
changed?
Thanks,
Stefano Cossu
Director of Application Services, Collections
The Art Institute of Chicago
116 S. Michigan Ave.
Chicago, IL 60603
312-499-4026 <tel: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+FedoThanksra+4
<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
<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=60135031&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=60135031&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=60135031&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=60135031&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=60135031&iu=/4140/ostg.clktrk
_______________________________________________
Fedora-commons-users mailing list
Fedora-commons-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users