Page 1 of 1

No output folder

PostPosted:Wed Oct 11, 2017 3:28 pm
by itwolf
Hi folks,
I installed OpenKM on my Debian.
I have now a Problem with the start.
The Tomcat ist starting and runing, but the java has an error.
Code: Select all
tail -f /home/openkm/tomcat/logs/catalina.out
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
	at java.lang.Class.newInstance(Class.java:442)
	at org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:238)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)
log4j:ERROR Ignoring configuration file [file:/home/openkm/tomcat/conf/log4j.properties].
log4j:WARN No appenders could be found for logger (org.apache.catalina.startup.Catalina).
log4j:WARN Please initialize the log4j system properly.
In the Webbrowser I get the following massage:
Code: Select all
HTTP Status 500 - java.lang.IllegalStateException: No output folder

type Exception report

message java.lang.IllegalStateException: No output folder

description The server encountered an internal error that prevented it from fulfilling this request.

exception

org.apache.jasper.JasperException: java.lang.IllegalStateException: No output folder
	org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:585)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:391)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
root cause

java.lang.IllegalStateException: No output folder
	org.apache.jasper.JspCompilationContext.createOutputDir(JspCompilationContext.java:749)
	org.apache.jasper.JspCompilationContext.getOutputDir(JspCompilationContext.java:198)
	org.apache.jasper.JspCompilationContext.getClassFileName(JspCompilationContext.java:592)
	org.apache.jasper.compiler.Compiler.isOutDated(Compiler.java:461)
	org.apache.jasper.compiler.Compiler.isOutDated(Compiler.java:425)
	org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:650)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:357)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
note The full stack trace of the root cause is available in the Apache Tomcat/7.0.53 logs.

Apache Tomcat/7.0.53
Have anyboy for that a solution?
Thanks for your help
ITWolf

Re: No output folder

PostPosted:Thu Oct 12, 2017 5:17 pm
by jllort
I see you are using Apache Tomcat/7.0.53 , this is not the tomcat what comes by default with OpenKM. Tomcat what comes with OpenKM have some extra configuration files etc... ( check https://sourceforge.net/projects/openkm/files/common/ you'll see Tomcat-7.0.61 )

How did you installed OpenKM ? did you used our installation wizard ?