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

Hello, 

I'm trying to install knowage 6.1 manually on my ubuntu server 16.04 equipped with tomcat7 and java openJKD 1.8.

I copy the wars file in the webapp folder of the application server. Then I insert in server.xml:

<Resource name="jdbc/knowage" auth="Container"
          type="javax.sql.DataSource" 
          driverClassName="com.mysql.jdbc.Driver"
          url="jdbc:mysql://localhost/knowage61"
          username="my_user"
          password="my_pswd" 
          maxActive="20" maxIdle="10"
          maxWait="-1"/>

<Environment name="resource_path" type="java.lang.String" value="/dati/knowage/resources"/>
    <Environment name="sso_class" type="java.lang.String" value="it.eng.spagobi.services.common.FakeSsoService"/>
    <Environment name="service_url" type="java.lang.String" value="http://my_server_name:8080/knowage"/>
    <Environment name="host_url" type="java.lang.String" value="http://my_server_name:8080"/>

I set the proxypass and proxypassreverse in the virtualhost configuration file.

I created a mysql db named knowage61 and I made it accessible for my_user with my_pswd. It created the DB but 

after stop-restart of tomcat7 the DB is still empty.

On the browser at http://my_server_name/knowage I got this error:

javax.servlet.ServletException: java.lang.AbstractMethodError: javax.servlet.jsp.JspFactory.getJspApplicationContext(Ljavax/servlet/ServletContext;)Ljavax/servlet/jsp/JspApplicationContext;
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:348)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

root cause

java.lang.AbstractMethodError: javax.servlet.jsp.JspFactory.getJspApplicationContext(Ljavax/servlet/ServletContext;)Ljavax/servlet/jsp/JspApplicationContext;
	org.apache.jasper.compiler.Validator$ValidateVisitor.<init>(Validator.java:516)
	org.apache.jasper.compiler.Validator.validateExDirectives(Validator.java:1845)
	org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:218)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:374)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:354)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:341)
	org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:662)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:364)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

Where I'm wrong?

E.

Environment 6.1, ubuntu 16.04, tomcat7, chrome
closed with the note: CLOSED FOR LONG USER INACTIVITY
in Standard by (120 points)
closed by
Did you execute MySQL DDL in order to create the empty database structure?
...