Quantcast
Channel: Pentaho Community Forums - BI Platform
Viewing all 2893 articles
Browse latest View live

Generating large number of different reports by script

$
0
0
On my Pentaho CE 7.1 I often need to generate large number of reports (*.prpt) with different attributes.
For example, I have a report that shows data for a day, and I need to generate those reports for each day since September 2017.
Is there any way how create a script, that would execute those *.prpt files one by one for each day since September 2017 until now?
I have been checking API on official Pentaho documentation, but it does not seem to be such option there. Perhaps some kind of hack, like sending parameters in URL or so?

pentaho-server internal cache

$
0
0
Hello, I am doing some changes in texts of pentaho-server 7.1 (CE, if that matters)

BUT I am still getting strange behaviour.

For example:
I wanted to change button text of "Browse Files" button in PUC. However on some PCs it is changed and on some is not.
I wanted to get rid of "Run in Background" button in report generation dialogue. But even if I have commented it in "pentaho-server/tomcat/webapps/pentaho/mantle/browser/js/browser.fileButtons.js" file, but even after I have restarted pentaho-server several times, the button is still there.

So I would like to ask, if there is some tomcat or other cache that I need to refresh/delete to make such things happen.

I am sorry if its lame question, but I am not very skilled in web apps.

Does the BA Server include PDI?

$
0
0
Since the new Vantara Community site to me is one of the most terrible and unusable sites ever, I fail to find a clear overview of what is in the BA Server package. So far I have been using only PDI, but now I want to evaluate and use the full package. Is it then enough to just get the BA Server download, or should I get both the BA Server and PDI downloads?

Unable to start PDI CE 7.1 in windows 8.1

$
0
0
Hi,

I'm trying to use PDI CE 7.1 but the spoon is not starting. I'm using windows 8.1 and Java 1.8 64-bit also I have set JAVA_HOME and JRE_HOME in system variables.
I'm not getting any errors or java exceptions but the spoon UI is not coming up

Following is the configuration


F:\pdi-ce-7.1.0.0-12\data-integration>Spoon.bat
DEBUG: Using PENTAHO_JAVA_HOME
DEBUG: _PENTAHO_JAVA_HOME=C:\Program Files\Java\jdk1.8.0_45
DEBUG: _PENTAHO_JAVA=C:\Program Files\Java\jdk1.8.0_45\bin\javaw.exe


F:\pdi-ce-7.1.0.0-12\data-integration>start "Spoon" "C:\Program Files\Java\jdk1.
8.0_45\bin\javaw.exe" "-Xms1024m" "-Xmx2048" "-XX:MaxPermSize=256m" "-Dhttps.pr
otocols=TLSv1,TLSv1.1,TLSv1.2" "-Djava.library.path=libswt\win64" "-DKETTLE_HOME
=" "-DKETTLE_REPOSITORY=" "-DKETTLE_USER=" "-DKETTLE_PASSWORD=" "-DKETTLE_PLUGIN
_PACKAGES=" "-DKETTLE_LOG_SIZE_LIMIT=" "-DKETTLE_JNDI_ROOT=" -jar launcher\penta
ho-application-launcher-7.1.0.0-12.jar -lib ..\libswt\win64

Any Suggestions?

Thanks!

Pentaho 7.1 - remove "Run in background" button

$
0
0
Hello.

For my implementation of Pentaho 7.1 CE, I need to get rid of this "Run in background" button: https://ibb.co/kQgsVo



But it does not allow me to do so. I was following https://jira.pentaho.com/browse/BISERVER-10883 but even if I deleted part:

Code:

        {
          id: "runButton",
          text: this.i18n.prop('contextAction_runBackground'),
          handler: $.proxy(that.runInBackgroundHandler, that)
        },

from file "~/pentaho-server/tomcat/webapps/pentaho/mantle/browser/js/browser.fileButtons.js" there was no change.

I have even tried to delete "~/pentaho-server/tomcat/work/Catalina/localhost/pentaho/" directory, but still no change.

Now I am not sure if I am editing wrong file, or failing at refreshing tomcat content. If anybody has a hint for me, i would really appreciate it. Thak you.

Random login problem integrated Microsoft Active Directory

$
0
0
Hello,

We have a Pentaho environment integrated with Microsoft Active Directory, in which, randomly the login does not work, without displaying any error message, it only redirects to the login screen. This behavior was reproduced in different browsers, and from different PCs.

In the log files catalina.out and pentaho.log with basic log level no error is recorded. In DEBUG log level, we have isolated the following fragment that corresponds to the moment in which the error occurs:
Code:

2018-04-06 14:44:00,234 DEBUG [org.springframework.security.web.access.intercept.FilterSecurityInterceptor] Previously Authenticated: org.springframework.security.authentication.AnonymousAuthenticationToken@449a94ad: Principal: anonymousUser; Credentials: [PROTECTED]; Authenticated: true; Details: org.springframework.security.web.authentication.WebAuthenticationDetails@12afc: RemoteIpAddress: 192.168.245.154; SessionId: 183098F639F120A11BD0C39C6D306FA1.SRVH1023; Granted Authorities: Anonymous
2018-04-06 14:44:00,234 DEBUG [org.springframework.security.access.vote.AffirmativeBased] Voter: org.pentaho.platform.engine.security.PentahoSubstringRoleVoter@1d62c007, returned: -1
2018-04-06 14:44:00,235 DEBUG [org.springframework.security.web.access.ExceptionTranslationFilter] Access is denied (user is anonymous); redirecting to authentication entry point
org.springframework.security.access.AccessDeniedException: Access is denied
    at org.springframework.security.access.vote.AffirmativeBased.decide(AffirmativeBased.java:84)
    at org.springframework.security.access.intercept.AbstractSecurityInterceptor.beforeInvocation(AbstractSecurityInterceptor.java:233)
    at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:124)
    at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:91)

This article refers to the message obtained: https://help.pentaho.com/Documentati...ecurity_Issues

However, the reason and possible solutions to this problem are not clear.
Any help or suggestion is appreciated.

Thanks,

Can't embed CDE dashboard into angular web app

$
0
0
I am on BA Server 8.1 community version

Trying below code to embed dashboard.

Code:

    <script>
          require([
          "http://172.29.11.149:8080/pentaho/api/repos/:public:basic-cde-samples:sample1.wcdf"
          ], function(mainPatientVisit) {
              (new mainPatientVisit("report")).render();
          });
      </script>

I have BA server running on windows VM (172.29.11.149).

Have a dashboard in public/basic-cde-samples directory.

What I am doing wrong

Reporting bug on second print

$
0
0
Hi to all,
there's a strange bug in the latest BA-SERVER platform (tested in 7.1 and 8.1)

Step to reproduce:
- publish a report with parameter and set the default output type as Excel (or even others file type output "application/rtf", "application/vnd.ms-excel", "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", "text/csv", "mime-message/text/html")
- access the ba-server but not with localhost:8080 so for example 10.232.1.49:8080/pentaho
- open the report and set the parameter without touching output format
- click view report for downloading the xls file
- change the parameter and click view report again
Result is white page and no file downloaded, you have to refresh the page to start back from pentaho home.

Strangely enough if you access pentaho through localhost it works with the latest version of firefox but not with chrome.
If you change the output type to a non-file output (so maybe html paginated) and you click view report, than you change back to excel and view report it works all the time.

The problem is totally in the html/js page, because the server does not log anything, you can clearly see that the report is acquired through some GET and a final POST that start the file download.
In the second run the report is correctly called, but the final POST is never sended from the client (the web page)

I think the error is on reportviewer-app.js, maybe something when is called "_isDownloadableFormat" and timeout is checked...
In BA-SERVER 6.1 everything works well, but when reportviewer-app.js were completely refactored since version 7 the problem is introduced.

Any hints for fixing this?

Thank to all

How to change default admin password on BI Server?

$
0
0
Hi there.

I am trying to update admin's password through PUC Administration area but changes have no effect after all. I am using version 8.0 and couldn't find an answer on Google for newer version but only for 3.* version.

Thanks in advance.

Responsive Bar Chart

$
0
0
Hi,
I am trying to plot responsive bar chart in PRD.
I am able to plot data on chart.
But as my data is very large I am not able to see it properly.
Need some Zoom In - Zoom Out option in this case
Kindly Support.
Have a good day.


Thanks

reporting bug on latest version of pentaho - please vote for resolution

Pentaho : BUG admin UI wont display users list

$
0
0
I replicated a pentaho installation on new virtual machines (1 Tomcat server with pentaho 5.2 and 1 postgresql 9.3, exactly the same OS...).

Everything works, we can login, work, etc... except admin UI who can get XML response of the user list, it's an empty XML list... the API URL call by UI is : https://domain.name/pentaho/api/userroledao/users
Can you help me to find the next step to resolve the problem ? Thanks

Pic of XML API result call by admin UI :

Dashboards - SqlOverJndi parameter error with MariaDB

$
0
0
I get an excecution error on a CDE Dashboard using a modified demo of Pentaho CE 8.1 to work with MariaBD. The sql over jndi runs ok without parameters but adding one results in an error.

It can be reproduced it by running the CDA sample test (/public/plugins-samples/CDA/cda-test).

- Pentaho 8.1 CE modified to use MySQL
- MariaDB 10.1.29
- Ubuntu 18.04 64 bits

Does anyone have a suggestion to fix this?

(Thanks for your time reading this)

- Javier

How to download Pentaho Community anonymously?

$
0
0
I notice that when I want to download the community edition of Pentaho BI server, suddenly I am forced to give my information. I and my employees don't want to do this. Also I think it's against the new GDPR law. How do I get around this nonsense?

Best Linux + install instructions

$
0
0
Which Linux distribution is best to install Pentaho (community, everything = BI server + PDI)? And where are clear and complete install instructions for community edition on Linux?

LDAP connection timeout setting (pooling)

$
0
0
I'm having intermittent problems connecting to an LDAP server (an AD server). I have a PDI job scheduled to run via cron that will randomly fail to connect to the repository because of authentication failure. Here's the relevant log output from pentaho.log.

Quote:

2018-07-01 00:51:45,173 DEBUG [org.springframework.security.ldap.authentication.BindAuthenticator] (LoggingInterceptor) Exception: org.springframework.ldap.ServiceUnavailableException: 10.40.4.5:389; socket closed; nested exception is javax.naming.ServiceUnavailableException: 10.40.4.5:389; socket closed; remaining name 'ou=Users,ou=PBZINC,dc=pbzinc,dc=loc'
I did some TCP packet inspection using Wireshark. It appears that [sometimes] BI Server is leaving the LDAP connection open (no unbindRequest) for reuse, but Active Directory kills inactive LDAP sessions after 15min. (the MaxConnIdleTime setting) . When BI Server sends an LDAP searchRequest command without first issuing a bindRequest command there is no response from the AD server if it's a timed out connection on AD.

Is there a timeout configuration setting that can close these "pooled" LDAP connections on BI Server? Or can LDAP pooling be turned off?

I'm on version 8.0 BI Server. Just to clarify, LDAP authentication is working otherwise.

How to search database with 'Text Input Component'

$
0
0
Hello
Please how can I search data in database using Text Input Component and when i type i should get reference to what am searching for. How can i do this?

Mysql timeout

$
0
0
Hi,

We have to restart every day DB and Pentaho Server in order to work without issues. Issues are related to Scheduler (DB Quartz).

The error is:

Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure


The last packet successfully received from the server was 30,572,478 milliseconds ago. The last packet sent successfully to the server was 1 milliseconds ago.

Platform:
- Linux
- Pentaho8 (Server1)
- MariaDB 10.1.32 (Server2)

Thanks in advance.

Manage Users Tab missing

$
0
0
Hi,

I have Pentaho Community 6.0 and in the administration part, the Manage Users tab is missing. I'd like to see it.
I have Pentaho synchronized with ldap, but I need to create local users. ¿Is it possible?

Thanks in advance,

Jesi

BI Server hanging after 100+ hits on reports!

$
0
0
Hi,
Our pentaho BI server hang-on after we hits 100+ reports from web application. And giving massage like"[ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [pentaho] appears to have started a thread named [ObservationManager] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
java.lang.Object.wait(Native Method)
java.lang.Object.wait(Unknown Source)
org.apache.commons.collections.buffer.BlockingBuffer.remove(BlockingBuffer.java:192)
org.apache.jackrabbit.core.observation.ObservationDispatcher.run(ObservationDispatcher.java:153)
java.lang.Thread.run(Unknown Source)

Anybody can suggest for avoid above.

Thanks in Advance!
Viewing all 2893 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>