www.completebiogas.com
www.vahidbiogas.com
"Make no search for water. But
find thirst,
And water from the very ground will burst."
--
You received this message because you are subscribed to the Google Groups "Fedora Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fedora-communi...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Benjamin,
Thank you for your response.
On 2/2/2015 1:33 PM, Benjamin Armintor wrote:
It looks like there's more than 1 copy of the slf4j API jar on your classpath. Are there any jar files in the form of slf4j-api-X.Y.Z.jar in your TOMCAT_HOME/lib directory?
Apparently a number of such JARs exist (if that's the correct term), for three apps besides Fedora, along with one in the more generic folder under /usr/share/tomcat7 ($TOMCAT_HOME) references the API:
Based on the inference of your question, I renamed the two apparently identical (based on name and size @26083) slf4j API files in the fedora-specific folders (perhaps ignorantly; because they were apparently a bit older @ 1.7.2 than 1.7.6), and tried again. Thus:david$ [/] find -iname "slf4j*" 2>/dev/null [results edited]
./var/lib/tomcat7/webapps/fedora/WEB-INF/lib/slf4j-api-1.7.2.jar
./usr/share/fedora/client/lib/slf4j-api-1.7.2.jar
./usr/share/tomcat7/lib/slf4j-api-1.7.6.jar
INFO: Starting service Catalina
Feb 02, 2015 4:21:29 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.52 (Ubuntu) [...]
Feb 02, 2015 4:21:30 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor /etc/tomcat7/Catalina/localhost/fedora.xml
Feb 02, 2015 4:21:38 PM org.apache.catalina.core.StandardContext listenerStart
FINE: Configuring event listener class 'org.apache.catalina.deploy.ApplicationListener@7b930449'
log4j:ERROR A "org.apache.log4j.PatternLayout" object is not assignable to a "org.apache.log4j.Layout" variable.
log4j:ERROR The class "org.apache.log4j.Layout" was loaded by
log4j:ERROR [org.apache.catalina.loader.StandardClassLoader@63350ff8] whereas object of type
log4j:ERROR "org.apache.log4j.PatternLayout" was loaded by [WebappClassLoader
context: /fedora
delegate: false
repositories:
/WEB-INF/classes/
----------> Parent Classloader:
org.apache.catalina.loader.StandardClassLoader@63b55818
].
Feb 02, 2015 4:21:38 PM org.apache.catalina.core.StandardContext listenerStart
FINE: Configuring event listener class 'org.apache.catalina.deploy.ApplicationListener@56111453'
Feb 02, 2015 4:21:38 PM org.apache.catalina.core.StandardContext listenerStart
FINE: Configuring event listener class 'org.apache.catalina.deploy.ApplicationListener@4d9d109b'
Feb 02, 2015 4:21:38 PM org.apache.catalina.core.StandardContext listenerStart
FINE: Sending application start events
Feb 02, 2015 4:21:39 PM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Exception sending context initialized event to listener instance of class org.fcrepo.server.utilities.LogSetupContextListener
java.lang.NoClassDefFoundError: ch/qos/logback/classic/LoggerContext
at org.fcrepo.server.utilities.LogSetupContextListener.contextInitialized(LogSetupContextListener.java:51)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4973)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5467)
[...]
Caused by: java.lang.ClassNotFoundException: ch.qos.logback.classic.LoggerContext
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1718)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1569)
... 14 more
Feb 02, 2015 4:21:39 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
log4j:ERROR No layout set for the appender named [stderr].
Feb 02, 2015 4:21:41 PM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.BeanInitializationException: Could not load properties; nested exception is java.io.FileNotFoundException: /opt/fedora/server/config/spring/web/web.properties (No such file or directory)
at org.springframework.beans.factory.config.PropertyResourceConfigurer.postProcessBeanFactory(PropertyResourceConfigurer.java:78)
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:663)
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:638)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:407)
[...]
at java.lang.Thread.run(Thread.java:745)
Caused by: java.io.FileNotFoundException: /opt/fedora/server/config/spring/web/web.properties (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:146)
at java.io.FileInputStream.<init>(FileInputStream.java:101)
at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:90)
at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:188)
at org.springframework.core.io.UrlResource.getInputStream(UrlResource.java:124)
at org.springframework.core.io.support.PropertiesLoaderSupport.loadProperties(PropertiesLoaderSupport.java:181)
at org.springframework.core.io.support.PropertiesLoaderSupport.mergeProperties(PropertiesLoaderSupport.java:161)
at org.springframework.beans.factory.config.PropertyResourceConfigurer.postProcessBeanFactory(PropertyResourceConfigurer.java:69)
... 19 more
Feb 02, 2015 4:21:41 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: Error listenerStart
Feb 02, 2015 4:21:41 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: Context [/fedora] startup failed due to previous errors
d.
--
David William House