Thanks Ben,  the privs were  the issue.

tomcat is owned by tomcat and the fedora tree was owned by root.  As soon as I 
made the fedora tree owned by tomcat as well - it came right up.

This probably isn't an issue when using the bundled version for fedora/tomcat.

bsc
________________________________
From: Benjamin Armintor [armin...@gmail.com]
Sent: Monday, October 21, 2013 11:08 AM
To: fedora-commons-developers@lists.sourceforge.net
Subject: Re: [fcrepo-dev] Fedora 3.7.0/Tomcat 7.0.42: Fedora Fails to Start

BSC:

The most common cause of this historically has been a lack of write permissions 
to the FEDORA_HOME/server/log directory for the user tomcat is running under.  
Can you check those?

Also, and this should be irrelevant, it looks like you have some Fedora 4 
configurations in your JAVA_OPTS?

- Ben


On Mon, Oct 21, 2013 at 11:01 AM, bsc.unh 
<betsy.cole...@unh.edu<mailto:betsy.cole...@unh.edu>> wrote:
within Tomcat Web Application Manager, fedora fails to start...

Message is:  "FAIL - Application at context path /fedora could not be
started"

It doesn't even make it far enough for a fedora.log file to be created.

Versions...
tomcat: 7.0.42
fedora: 3.7.0
mysql:  5.6.14
java:   1.7.0_40
ant:    1.9.2
solr:   4.4.0

We want to be able to have the latest version of tomcat separate from
fedora, so we are not doing the bundled install.
Solr has been successfully installed. mysql installed and the settings for
fedora have been configured

Commentary on the SLF4J multiple bindings while annoying, according to
documentation should not be preventing fedora from starting up.

Contents of Log Files:

localhost_access_log.2013-10-21.txt
localhost - tomcatAdmin [21/Oct/2013:09:40:18 -0400] "POST
/manager/html/start?path=/fedora&org.apache.catalina.filters.CSRF_NONCE=F754A44C7B21D5EB05AC780DC927EA2D
HTTP/1.1" 200 23885

catalina.err:

INFO: Deploying configuration descriptor
/usr/local/apache-tomcat-7.0.42/conf/Catalina/localhost/fedora.xml
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in
[jar:file:/usr/local/apache-tomcat-7.0.42/lib/slf4j-log4j12-1.6.6.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in
[jar:file:/usr/local/apache-tomcat-7.0.42/webapps/fedora/WEB-INF/lib/logback-classic-1.0.9.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an
explanation.
SLF4J: Actual binding is of type
[ch.qos.logback.classic.util.ContextSelectorStaticBinder]
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in
[jar:file:/usr/local/apache-tomcat-7.0.42/lib/slf4j-log4j12-1.6.6.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in
[jar:file:/usr/local/apache-tomcat-7.0.42/webapps/fedora/WEB-INF/lib/logback-classic-1.0.9.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an
explanation.
SLF4J: Actual binding is of type
[ch.qos.logback.classic.util.ContextSelectorStaticBinder]

Verified
ownership tomcat and mysql appropriately

Environment Settings:

CATALINA_HOME=/usr/local/tomcat   (/usr/local/tomcat =>
/usr/local/apache-tomcat-7.0.42)
ANT_HOME=/usr/local/ant
SOLR_HOME=/opt/solr-4.4.0/example/solr
FEDORA_HOME=/usr/local/fedora
JRE_HOME=/usr/java/latest         (/usr/java/latest =>
/usr/java/jdk1.7.0_40)
JAVA_HOME=/usr/java/latest
CLASSPATH=/usr/java/latest/jre/lib

PATH=/usr/lib64/qt-.3/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/java/latest/bin:/usr/local/ant/bin:/usr/local/fedora/bin:/usr/local/fedora/server/bin:/usredora/client/bin:/usr/local/fedora/server/bin:/usr/local/fedora/client/bin:/root/bin

JAVA_OPTS=  (separated out for clarity)
-Dlog4j.debug
-server
-verbose:gc
-Djavax.net.ssl.trustStorePassword=tomcat
-Djava.library.path=/usr/local/apr/lib:/usr/lib/openssl/engines
-Xms1024m
-Xmx1024m
-XX:PermSize=512m
-XX:MaxPermSize=512m
-Dlog4j.configuration=/usr/local/tomcat/conf/log4j.properties
-Dcom.arjuna.ats.arjuna.common.ObjectStoreEnvironmentBean.default.objectStoreDir=/tmp/ff/object-store-default
-Dcom.arjuna.ats.arjuna.objectstore.objectStoreDir=/tmp/ff/object-store
-Dfcrepo.ispn.CacheDirPath=/tmp/ff/cache
-Dfcrepo.ispn.binary.CacheDirPath=/tmp/ff/cache-binary
-Dfcrepo.modeshape.index.location=/tmp/ff/index
-Dfcrepo.ispn.alternative.CacheDirPath=/tmp/ff/alt-cache
-Dfcrepo.ispn.binary.alternative.CacheDirPath=/tmp/ff/alt-cache-binary

Thanks!
bsc



--
View this message in context: 
http://fedora-commons.1317035.n2.nabble.com/Fedora-3-7-0-Tomcat-7-0-42-Fedora-Fails-to-Start-tp7579251.html
Sent from the Fedora Commons Developers mailing list archive at Nabble.com.

------------------------------------------------------------------------------
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-developers mailing list
Fedora-commons-developers@lists.sourceforge.net<mailto:Fedora-commons-developers@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/fedora-commons-developers

------------------------------------------------------------------------------
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-developers mailing list
Fedora-commons-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fedora-commons-developers

Reply via email to