You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Dan Pritts (JIRA)" <ji...@apache.org> on 2016/10/06 17:40:20 UTC

[jira] [Commented] (JENA-1185) log4j jar missing from fuseki-2.4.0.war

    [ https://issues.apache.org/jira/browse/JENA-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15552620#comment-15552620 ] 

Dan Pritts commented on JENA-1185:
----------------------------------

I ran into this bug today.  I was able to figure it out and add the relevant jars to my classpath.  

Might I suggest that you add a quick note to the download page, and/or https://jena.apache.org/documentation/fuseki2/fuseki-run.html#fuseki-as-a-web-application, 
noting that the 2.4.0 war is missing the files?    perhaps simplest to link to this bug.

thanks!

on the 1% chance it is helpful somehow, here are the errors from my catalina.out:

Oct 06, 2016 1:03:55 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor /usr/www/tomcat-local/fuseki/catalina_base/conf/Catalina/localhost/fuseki.xml
Oct 06, 2016 1:03:55 PM org.apache.catalina.core.StandardContext setPath
WARNING: A context path must either be an empty string or start with a '/' and do not end with a '/'. The path [/] does not meet these criteria and has been changed to []
Oct 06, 2016 1:03:58 PM org.apache.catalina.startup.TldConfig execute
INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
Oct 06, 2016 1:04:00 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: One or more listeners failed to start. Full details will be found in the appropriate container log file
Oct 06, 2016 1:04:27 PM org.apache.catalina.util.SessionIdGeneratorBase createSecureRandom
INFO: Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [26,519] milliseconds.
Oct 06, 2016 1:04:27 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: Context [/fuseki] startup failed due to previous errors
Oct 06, 2016 1:04:27 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deployment of configuration descriptor /usr/www/tomcat-local/fuseki/catalina_base/conf/Catalina/localhost/fuseki.xml has finished in 32,017 ms
Oct

> log4j jar missing from fuseki-2.4.0.war
> ---------------------------------------
>
>                 Key: JENA-1185
>                 URL: https://issues.apache.org/jira/browse/JENA-1185
>             Project: Apache Jena
>          Issue Type: Bug
>          Components: Fuseki
>    Affects Versions: Fuseki 2.4.0
>         Environment: Tomcat 8.0.35
>            Reporter: Code Ferret
>            Assignee: Andy Seaborne
>             Fix For: Jena 3.1.1, Fuseki 2.4.1
>
>
> dowloaded http://apache.claz.org/jena/binaries/apache-jena-fuseki-2.4.0.tar.gz  from https://jena.apache.org/download/index.cgi.
> Dropped fuseki.war into tomcat 8.0.35 and got:
> java.lang.NoClassDefFoundError: org/apache/log4j/helpers/Loader
> problem appears to be resolvable by including log4j-1.2.17.jar or similar in war file.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)