Welcome to Knowage Q&A, where you can ask questions and receive answers from other members of the community.
0 votes
1 view
Hi,

I'm trying to install the new Knowage 7.* (I tried 7.1.5 and 7.1.7) products upgrading from an Knowage 6 installation.

My 'old' cockpits don't work anymore. The error log shows:

May 22, 2020 4:08:12 PM org.apache.catalina.core.ApplicationDispatcher invoke
SEVERE: Servlet.service() for servlet jsp threw exception
org.apache.jasper.JasperException: /WEB-INF/jsp/engines/documentcomposition/documentcomposition.jsp (line: 37, column: 1) File "/WEB-INF/jsp/analiticalmodel/execution/header.jsp" not found
    at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:42)
    at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:443)
    at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:133)
    at org.apache.jasper.compiler.Parser.processIncludeDirective(Parser.java:331)
    at org.apache.jasper.compiler.Parser.parseIncludeDirective(Parser.java:366)
    at org.apache.jasper.compiler.Parser.parseDirective(Parser.java:476)
    at org.apache.jasper.compiler.Parser.parseFileDirectives(Parser.java:1773)
    at org.apache.jasper.compiler.Parser.parse(Parser.java:135)
    at org.apache.jasper.compiler.ParserController.doParse(ParserController.java:242)
    at org.apache.jasper.compiler.ParserController.parseDirectives(ParserController.java:119)
    at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:194)
    at org.apache.jasper.compiler.Compiler.compile(Compiler.java:374)
    at org.apache.jasper.compiler.Compiler.compile(Compiler.java:354)
    at org.apache.jasper.compiler.Compiler.compile(Compiler.java:341)
    at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:662)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:364)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:743)
    at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:485)
    at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:410)
    at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:337)
    at it.eng.spago.dispatching.httpchannel.Router.route(Router.java:144)
    at it.eng.spago.presentation.rendering.AbstractServletModelRenderer.render(AbstractServletModelRenderer.java:91)
    at it.eng.spago.dispatching.httpchannel.AdapterHTTP.render(AdapterHTTP.java:532)
    at it.eng.spago.dispatching.httpchannel.AdapterHTTP.service(AdapterHTTP.java:441)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    at it.eng.spagobi.utilities.filters.AntiInjectionFilter.doFilter(AntiInjectionFilter.java:45)

I've checked the knowage directory and in the Knowage 6 environment this file exists under the knowage directory. On the new installation it does not exist?

Is there a way to make this work again?

Best regards and thanks in advance,

Freek
Environment Knowage 7.* (I tried 7.1.5 and 7.1.7), Ubuntu 20.04, Chrome as a client
in Cockpit, Dashboard and Console by (290 points)
Hello Freek,

how did you update the documents and are they cockpits or composite documents?

Thank you and regards.

Davide

1 Answer

0 votes
 
Best answer
Hi Davide,

I've solved the problem meanwhile by copying the execution directory of Knowage 6.0 to /knowage/WEB-INF/jsp/analiticalmodel.
After that it all ran without problems. So to me it looks like this directory was not in the installation war file.

Best regards,
Freek
by (290 points)
selected by
...