How to get pentaho report designer and BI server log files? - pentaho

We are using Pentaho Report Designer(PRD) Tool and BI server, here in PRD and BI server where and how do we find out log files. We are using Pentaho 7.1.0 version.

When you launch PRD/BI server/PDI for the first time it creates .pentaho and .kettle folder inside users directory.
You will be able to find logs inside
Users\Your username\.pentaho\logs
Users\Your username\.kettle
Check respective folder for more details.

Related

How to create database from existing SQL files in NetBeans?

I have downloaded Geonetwork and opened it with NetBeans IDE 8.0.2. In that project, there exists some SQL files. How can i run them or create database based on these files?
Edit:
I have done some more research, and all i need is to connect to H2 driver, but somehow, i can't. It shows me this:
Cannot establish a connection to jdbc:h2: using org.h2.Driver (IO Exception: "java.io.FileNotFoundException: C:\Program Files\NetBeans 8.0.2\ .lock.db (The filename, directory name, or volume label syntax is incorrect)"; "C:\Program Files\NetBeans 8.0.2\ .lock.db" [90031-152]). So, how to fix this?
Go thru this document and you will have your database, Derby will give you a quick setup for your need.
NetBeans - Working with the Java DB (Derby) Database
Just remember to open your geonetwork sql files, from the file browser navigate to the location of the saved sql file and click open...
If you have other database already installed, such as MySQL, Oracle etc. You can check the documentation here (see database section)

any method to export dashboards on pentaho and reused on another pentaho BI server?

I have made some dashboards on pentaho BI server. I want to export them and import on another pentaho BI server. Is there any method to realize this? we have the same datasource.
In Pentaho 5 version, you can use User Console to Download the Dashboard files. It will get download in zip format. Once it is done, take these codes to the New BI Server, use the user console and UPLOAD it.
For e.g : If you have a project folder named "PROJECT_XYZ" then open the user console, select the project folder >> on the right hand screen you will find "DOWNLOAD" option. Just click on it and the project folder will get downloaded in .zip format. Take this .zip file and UPLOAD it in the new Server using the user console (of the new server).
Hope it helps :)
For Exporting:
import-export.bat --export --url=http://localhost:8080/pentaho --username=admin --password=admin --charset=UTF-8 --path=/public --file-path=E:/pentaho/shaz.zip --overwrite=true --permission=true -retainOwnership=true
For Importing:
import-export.bat --import --url=http://localhost:8080/pentaho --username=admin --password=admin --charset=UTF-8 --path=/public --file-path=E:/pentaho/anyfile.zip --overwrite=true --permission=true -retainOwnership=true

Error while restoring analysis service db file

When i am trying to attach Analysis service db file (MDX Step-by-Step.abf)
by running the below commnand.
C:\Microsoft Press\MDX SBS\Setup\Analysis Services\Mdx Step-by-Step.abf
MDX Step-by-Step
IgnoreSecurity
I am getting below error.
Executing the query ... The following system error occurred: The
system cannot find the path specified. . Backup and restore errors:
File 'C:\Microsoft Press\MDX SBS\Setup\Analysis Services\Mdx
Step-by-Step.abf' specified in Restore command is damaged or is not an
AS backup file. Execution complete
This response/answer is for the users who land here while seeking solution to same kind of problems.
First issue mentioned in main post is related to path of '.abf'. It should be path on the machine, where Analysis Server is installed. Specially not on user's local machine, from where most of users connect through SQL Server Management Studio (SSMS) client application.
Second issue mentioned in comments is related to type of project. '.abf' extension is for tabular analysis services project rather than multi-dimensional data warehouse project. MDX queries are for multidimensional projects, whereas DAX queries are for tabular projects.

Pentaho (5.0.5) Configuring for Mysql

I installed Pentaho BA suite 5.0.5 on linux platform. Everything works well in postgreSQL repository.
I REFERRED THIS LINK To Configure Mysql as reposity
But if try to configure mysql for pentaho, i'm facing Errors.
This are the changes i did :
1.Edited /home/pentaho/server/biserver-ee/pentaho-solutions/system/quartz/quartz.properties
line:300
org.quartz.jobStore.driverDelegateClass = org.quartz.impl.jdbcjobstore.StdJDBCDelegate
2.Edited /home/pentaho/server/biserver-ee/pentaho-solutions/system/hibernate/hibernate-setting.xml line:15
system/hibernate/mysql5.hibernate.cfg.xml
3.Edited /home/pentaho/server/biserver-ee/pentaho-solutions/system/applicationContext-spring-security-hibernate.properties
jdbc.driver=com.mysql.jdbc.Driver
jdbc.url=jdbc:mysql://localhost:3306/hibernate
jdbc.username=hibuser
jdbc.password=password
hibernate.dialect=org.hibernate.dialect.MySQLDialect
4.I copied audit_sql.xml file from /home/pentaho/server/biserver-ee/pentaho-solutions/system/dialects/mysql5 to /home/pentaho/server/biserver-ee/pentaho-solutions/system
Edited /home/pentaho/server/biserver-ee/pentaho-solutions/system/jackrabbit/repository.xml file and uncommented SQL-configuration
I copied mysql-connector-java-5.1.25-bin.jar file to tomcat/lib folder
i made changes in /home/pentaho/server/biserver-ee/tomcat/webapps/pentaho/META-INF/conetxt.xml file
driverClassName="com.mysql.jdbc.Driver" url="jdbc:mysql://localhost:3306/hibernate"
validationQuery="select 1" /> in jdbc /hibernate section
driverClassName="com.mysql.jdbc.Driver" url="jdbc:mysql://localhost:3306/quartz"
validationQuery="select 1"/>
in jdbc/Quartz section
I'm facing these errors :
1.pentaho.log file :EmbeddedQuartzSystemListener.ERROR_0001 - Scheduler was not properly initialized at startup
2.In pentaho user console ,Loading symbol remain forever without displaying files.
3.i'm not able to save reports.
That might be very simple - but pentaho platform is not shipped with mysql jdbc driver by default due to some kind of licensing issues.
So it is required to manually obtain mysql jdbc driver and put it into web server lib folder.
For tomcat (default installation) that will be /servers/.../tomcat/lib folder.
For this particular case that may be
/home/pentaho/server/biserver-ee/tomcat/lib
One more advice is to check full log under
/home/pentaho/server/biserver-ee/logs
That is the main place where pentaho platform keeps logs info.
Hope it will help.
By the way there is a pretty good pentaho info portal about configuring pentaho platform:
http://infocenter.pentaho.com/help/nav/2_3
Make sure you are pointing to Java 7 in your JAVA_HOME. When you have your JAVA_HOME pointing to Java 8, BI Server will not start correctly
This is a pentaho bug. Create a table in quartz database of mysql like this postgresql table:
CREATE TABLE "QRTZ"
(
name character varying(200) NOT NULL,
CONSTRAINT "QRTZ_pkey" PRIMARY KEY (name)
)

Run PDI jobs direct inside pentaho bi server 5.1 CE

is it in principle possible to upload and run PDI jobs in bi server?
I have tried it, but always get this error in the user console:
Sorry. We really did try. Something went wrong. Please try again or contact your administrator.
in conjunction with this log file error message:
2014/08/02 14:04:43 - RepositoriesMeta - Reading repositories XML file: FromInputStream
14:04:43,384 ERROR [GeneratorStreamingOutput] Error generating content from content generator with id [viewer]
Could some give me a hint? Thanks!
Easy answer: That does not work in the CE edition. That functionality is available only in the EE edition.
I'm not sure that's by design, so I think you should open an issue at jira.pentaho.com.
In the meantime, you can run PDI jobs in the biserver CE if you use xactions or CDA.