Coder Social home page Coder Social logo

No Cubes being displayed in Saiku-ui about saiku HOT 4 CLOSED

osbi avatar osbi commented on August 20, 2024
No Cubes being displayed in Saiku-ui

from saiku.

Comments (4)

buggtb avatar buggtb commented on August 20, 2024

this looks ok to me
you can check the tomcat/logs/catalina.out file. if there was an error then you should see it there

if there is an error, you could paste it to me in here and i can tell you whats going on

-paul

from saiku.

buggtb avatar buggtb commented on August 20, 2024

Wonderful! Thank you, Paul! I did see an error when Tomcat was deploying the Saiku server (copied below for future reference by others). It looks like there is a path issue with the Catalog file, My "solution" was to pass in the full path to the file, so that my datasources file (classes/saiku-datasources/Users) replaces 'CATALOG=/WEB-INF/queries/Users.xml' with 'CATALOG=/usr/local/tomcat/webapps/saiku/WEB-INF/queries/Users.xml' This seems a little bit inelegant, but it works. Thanks again, Paul!

The original error in the catalina.out file was:

INFO: Deploying web application archive saiku.war

-- listing properties --
location=jdbc:mondrian:Jdbc=jdbc:mysql://local...
name=Users
password=gaff7rust
type=OLAP
driver=mondrian.olap4j.MondrianOlap4jDriver
username=root
mondrian.olap.MondrianException: Mondrian Error:Internal error: Virtual file is not readable: /WEB-INF/queries/Users.xml

from saiku.

buggtb avatar buggtb commented on August 20, 2024

yeah this is something i want to address at some point (firstly datasources via admin interface + better way to store files etc)

You can use a path like:
Catalog=../webapps/saiku/WEB-INF/queries/User.xml (this should work fine in a tomcat etc but its a bit nasty)

The solution we use at the moment is (from 2.1 on):
Catalog=res:foodmart/FoodMart.xml

this will look for a classpath resource (res:)
By default WEB-INF/classes/ is on the classpath so if you put Users.xml in WEB-INF/classes/queries/Users.xml you can use:
Catalog=res:queries/Users.xml

hope that helps

-paul

from saiku.

pstoellberger avatar pstoellberger commented on August 20, 2024

considering it done

from saiku.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.