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

Carte service is down

$
0
0
Hi,
I have a few questions regards to Pentaho configurations:
1. I see there are -Xms, -Xmx and -MaxPermSize in Spoon.bat/Spoon.sh. I understand that Xms and Xmx is minimum and maximum memory allocation to Spoon. But I am not sure what MaxPermSize is and what it doing. We have set the xms and MaxPermSize to 8GB and xmx to 32GB. Does this help to boost Spoon's performance? We have 256GB in the server and we split to 4 Spoon services, allocate 32GB each.


2. Carte service is down when Pentaho process large files (10-12million records text files) without any indication and we would need to restart the carte service. How can we improve this? Is Carte responsible to invoke Spoon to run transformations?


3. How can we store the details of the log file into database?


4. The service crashed after processed a large file and not able to process the next file, and we needed to restart the services again. I believe that is because the memory is not fully being release after processed the large file. How can we flush/release the machine memory if the memory has hit the maximum after processed the large file?


5. How can we improve the Spoon performance if the file is too large (10-12million records text files). The duration taken now is around 4 hours. How can we shorten by 40-50% of the duration?


Pentaho exact version: 4.0.1


Appreciate your help on my queries.
Best Regards,
Kar Ho

Anyone have scripts to create windows service for PDIEE 8X

$
0
0
Installed the archive build of PDIEE 8 on our Windows Server 2012 box. Does anyone have a script to run the tomcat as a service instead of using the start-pentaho.bat file?

thanks
dan

Chart dont showup

$
0
0
Hello,
Just install v. 8.1 and just for test i add a chart with sample : it never showup ...



:confused:

Just want to notice that V.7 works great on it !

My config server i7 8Gb Windows 7 SSD450

Data source Wiz : key field blank

$
0
0
Hello,

My config :

Pentaho CE = pentaho-server-ce-8.1.0.0-365
Mysql = Vesta CP
Server Pentaho :
Win server 2008 R2
i7
8Gb RAM
SSD124


I test to connect mySQL and key fields remain blank ...



Here all are ok DB



Here what I see log. (PS = I host a Wordpress also on this server mysql so it should be ok ...)



Pentaho = HARD ! .....

How to translate CDE components?

$
0
0
I have one Pentaho CDE dashbord. This dashboard has some date input component and table. I need to translate this components on Russian. How I can do this? I try to search such theme in Google, but I haven't founded anything useful. Can you help me? I am really need russian language on my dashboard!

UserDefinedFunction works fine in Pentaho EE but not in Pentaho CE

$
0
0
For internal use, we installed the Pentaho CE version locally using the olapFormatter.jar library which defines a UserDefinedFunction.
The library was installed in "pentaho-server-ce-7.0.0.0-25 / pentaho-server / tomcat / webapps / pentaho / WEB-INF / lib" as it was installed on the Pentaho EE.
In Pentaho EE it works well, while in Pentaho CE when I try to load the model with the UserDefinedFunction, this is not displayed in the model form?
Both olap models loaded on both the Pentaho EE and the Pentaho CE are identical.
No errors appear from the logs.

If I load the model without the UserDefinedFunction, it is works fine!
Can you help me please?


Regards
Gianluca



Configuration of mail server in pentaho BI

$
0
0
Hi to all, I’m having troubles with the configuration of mail server in pentaho BI. I’ve replaced the content of my config .xml file with this code and still doesn’t work.


Code:

<?xml version="1.0" encoding="utf-8"?>
<email-smtp>
<properties>
<mail.smtp.host>myHostServer</mail.smtp.host>
<mail.smtp.port>465</mail.smtp.port>
<mail.transport.protocol>SMTP</mail.transport.protocol>
<mail.smtp.starttls.enable>false</mail.smtp.starttls.enable>
<mail.smtp.auth>true</mail.smtp.auth>
<mail.smtp.ssl>true</mail.smtp.ssl>
<mail.debug>false</mail.debug>
<mail.smtp.quitwait>false</mail.smtp.quitwait>
</properties>

<mail.from.default>existingmail@existingmail.com</mail.from.default>
<mail.from.name>realmail@realmail.com</mail.from.name>
<mail.userid>USER</mail.userid>
<mail.password>PASSWORD</mail.password>
</email-smtp>

I’ve checked the user, password,hostname and mails and all of them are correct. Even if I try to configure the mail server from PUC → Administration → Mail Server it doesn’t work.

I’ve been checking other post with the same problem but there no was solution for me.

For more information here is my log too. Thanks in advance!

Code:

2018-08-23 14:37:19,873 ERROR [org.pentaho.platform.plugin.services.email.EmailService] Unable to send, email not configured correctly.
javax.mail.MessagingException: Exception reading response;
  nested exception is:
    java.net.SocketException: Connection reset
    at com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:2202)
    at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1939)
    at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:654)
    at javax.mail.Service.connect(Service.java:317)
    at javax.mail.Service.connect(Service.java:176)
    at javax.mail.Service.connect(Service.java:125)
    at javax.mail.Transport.send0(Transport.java:194)
    at javax.mail.Transport.send(Transport.java:124)
    at org.pentaho.platform.plugin.services.email.EmailService.sendEmailTest(EmailService.java:187)
    at org.pentaho.platform.web.http.api.resources.EmailResource.sendEmailTest(EmailResource.java:172)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)
    at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:205)
    at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)
    at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302)
    at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
    at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)
    at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
    at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)
    at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1542)
    at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1473)
    at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1419)
    at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1409)
    at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:409)
    at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:558)
    at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:733)
    at org.pentaho.platform.web.servlet.JAXRSServlet.service(JAXRSServlet.java:109)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
    at org.pentaho.platform.web.servlet.JAXRSServlet.service(JAXRSServlet.java:114)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
    at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
    at org.pentaho.platform.web.http.filters.PentahoWebContextFilter.doFilter(PentahoWebContextFilter.java:223)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
    at org.pentaho.platform.web.http.filters.PentahoRequestContextFilter.doFilter(PentahoRequestContextFilter.java:87)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:317)
    at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:127)
    at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:91)
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
    at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:115)
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
    at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:137)
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
    at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:111)
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
    at org.pentaho.platform.web.http.security.RequestParameterAuthenticationFilter.doFilter(RequestParameterAuthenticationFilter.java:191)
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
    at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilterInternal(BasicAuthenticationFilter.java:158)
    at org.pentaho.platform.web.http.security.PentahoBasicProcessingFilter.doFilterInternal(PentahoBasicProcessingFilter.java:125)
    at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
    at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:105)
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
    at org.pentaho.platform.web.http.filters.HttpSessionPentahoSessionIntegrationFilter.doFilter(HttpSessionPentahoSessionIntegrationFilter.java:271)
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
    at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:169)
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
    at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:214)
    at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:177)
    at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
    at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:262)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
    at org.pentaho.platform.web.http.filters.SystemStatusFilter.doFilter(SystemStatusFilter.java:55)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
    at org.pentaho.platform.web.http.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:114)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
    at org.pentaho.platform.web.http.filters.WebappRootForwardingFilter.doFilter(WebappRootForwardingFilter.java:70)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
    at org.pentaho.platform.web.http.filters.PentahoPathDecodingFilter.doFilter(PentahoPathDecodingFilter.java:34)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:94)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:504)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
    at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:502)
    at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1132)
    at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684)
    at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1539)
    at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1495)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
    at java.lang.Thread.run(Thread.java:748)
Caused by: java.net.SocketException: Connection reset
    at java.net.SocketInputStream.read(SocketInputStream.java:210)
    at java.net.SocketInputStream.read(SocketInputStream.java:141)
    at com.sun.mail.util.TraceInputStream.read(TraceInputStream.java:124)
    at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
    at java.io.BufferedInputStream.read(BufferedInputStream.java:265)
    at com.sun.mail.util.LineInputStream.readLine(LineInputStream.java:89)
    at com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:2182)
    ... 98 more

Role is not refresh until we restart pentaho

$
0
0
Hi
We are using Pentaho 8.0 Comunity Edition CDE which is configure with SSO (Key Cloak)

I am facing issue which is when i assigned new role to any user it did not reflect in PUC until i restart my server.

If i restart my pentaho server then new role appear for the user.

My question, Is there any API or any method which will refresh roles



Thanks
Naimish

Unable To Read The Data From Hive

$
0
0
Hi ,

Am trying to read the data from hive db using PDI 8.1 by applying join from tables residing in hive itself.

Getting below error.

Error:Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.mr.MapRedTask.


Can you please help me to resolve this issue.




Thanks in Advance ,

Lavanya A.

how to use text component , text input component

$
0
0
Hi,
i want to display the table on selected column value in pentaho cde dashboard. So can you please explain how to use this text component and text input component .

pls ping me.

Windrose diagram for dashboard

$
0
0
Hi All,

I'm trying to create a windrose diagram for a dashboard in pentaho (v7 or v8) but I don't know if is possible.

Im talking something like this more or less :

Windrose chart for dashboard

$
0
0
Hi All,

I'm trying to create a windrose chart for a dashboard in pentaho (v7 or v8) but I don't know if is possible.

Im talking something like this more or less :

Saiku with Pentaho 8

$
0
0
Hello,
I have Saiku plugin (3.90 CE) on my Pentaho 8 and almost everything works fine. But when I try to save a query or open a query I can only see home folder and public folder but I can't see subfolders.
Anyone else facing this issue ?
How can I solve it ?

Thank you,
Nicolas

Error when log into Pentaho

$
0
0
Hi,

I'm having a problem. When I log into Pentaho, I get the next error:

FilesToolBar begin
OK

I click OK and then:

com.google.gwt.user.client.rpc.InvocationException: < html> <head> <title>Pentaho User Console</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <meta name="gwt:property" content="locale=es_ES"> <link rel="shortcut icon" href="/pentaho-style/favicon.ico" /> <link rel='stylesheet' href='mantle/MantleStyle.css'/> <link rel="stylesheet" href="content/data-access/resources/gwt/datasourceEditorDialog.css"/> <link rel="stylesheet" href="mantle/Widgets.css" /> <script language="javascript" type="text/javascript" src="webcontext.js?context=mantle"></script> <script type="text/javascript" src="mantle/nativeScripts.js"></script> <script type="text/javascript"> if(window.opener && window.opener.reportWindowOpened != undefined){ window.opener.reportWindowOpened(); } var dataAccessAvailable = false; //Used by child iframes to tell if data access is available. /* this function is called by the gwt code when initing, if the user has permission */ function initDataAccess(hasAccess) { dataAccessAvailable = hasAccess; if(!hasAccess){ return; } if(typeof(addMenuItem) == "undefined"){ setTimeout("initDataAccess("+hasAccess+")", 1000); return; } else { addMenuItem("manageDatasourcesEllipsis","manage_content_menu", "ManageDatasourcesCommand"); addMenuItem("newDatasource","new_menu", "AddDatasourceCommand"); } } var datasourceEditorCallback = { onFinish : function(val, transport) { }, onError : function(val) { alert('error:' + val); }, onCancel : function() { }, onReady : function() { } } // This allows content panels to have PUC create new datasources. The iframe requesting // the new datasource must have a function "openDatasourceEditorCallback" on it's window scope // to be notified of the successful creation of the datasource. function openDatasourceEditorIFrameProxy(windowReference){ var callbackHelper = function(bool, transport){ windowReference.openDatasourceEditorCallback(bool, transport); } pho.openDatasourceEditor(new function(){ this.onError = function(err){ alert(err); } this.onCancel = function(){ } this.onReady = function(){ } this.onFinish = function(bool, transport){ callbackHelper(bool, transport); } }); } </script> </head> <body oncontextmenu="return false;" class="pentaho-page-background"> <div id="loading"> <div class="loading-indicator"> <img src="mantle/large-loading.gif" style="width: 32px" height="32"/>Cargando Consola de usuario Pentaho...<a href="http://www.pentaho.com"></a><br/> <span id="loading-msg">Por favor espere</span> </div> </div> <!-- OPTIONAL: include this if you want history support --> <iframe id="__gwt_historyFrame" style="width:0px;height:0px;border:0;display:none"></iframe> </body> <script language='javascript' src='mantle/mantle.nocache.js'></script> <script language='javascript' src='content/data-access/resources/gwt/DatasourceEditor.nocache.js'></script>< /html>
OK

I click OK. When I try to execute and inform:

Error
java.lang.NullPointerException
OK


Can anyone help me???

Thanks in advance.

Jesi

Saving Reports

$
0
0
<html>
<head>
<title>Default Report</title>
<script src="jquery-3.2.1.min.js" type="text/javascript"></script>
</head>

<body>
<script>
var debug = true; //1.2 true or false 'browse_tree_expandid' 'browse_tree_frameid'
</script>

<div style="float:right;">
<input type="button" id="odxdSaveAsDefaultReportButton" value="Save As" />


</div>

<iframe id="<%=request.getParameter("iframeid")%>"
src="/pentaho/api/repos/<%=request.getParameter("file_path")%>/prpti.edit?parameterDate=<%=request.getParameter("dateFilter")%>&ts=<%=System.currentTimeMillis()%>"
scrolling="auto" frameborder="0" height="1200px" width="100%"></iframe>

<script>
givenFilePath = '<%=request.getParameter("file_path")%>';



$(document).on('click', '#odxdSaveAsDefaultReportButton', function() {



// var givenFilePath = ':public:optum:odxd:tenant:share:ireport_message_outbound.prpti';
var directoryPath = givenFilePath.substr(0, givenFilePath.lastIndexOf(':')).replace(/:/g, "/").replace("/tenant/share", "/tenant/protected/<%=request.getParameter("tenantSubFolder")%>" );//tenantSubFolder
var filenameOnly = givenFilePath.substr(givenFilePath.lastIndexOf(':') + 1).replace(".prpti","");


//var directoryPath = 'public/optum/odxd/tenant/protected/nyulmc_hie';//tenantSubFolder

var iframeId ='<%=request.getParameter("iframeid")%>';
if(debug) console.log('rr1 1.93 DefaultReport given iframeId =' + iframeId + ' givenFilePath=' + givenFilePath + ' directoryPath=' + directoryPath + ' filenameOnly=' + filenameOnly );

// pirUrlBase contains the location to the Pentaho Interactive Reporting entry point
var pirUrlBase = '/pentaho/api/repos/pentaho-interactive-reporting/prpti.new';
// pirLocation holds the value of the most recent location opened or saved.
var pirLocation;
// lastMessage keeps track of the last error during the save process.
var lastMessage;

// The alertOn and alertlog are used for debugging; set alertOn to see when the different callbacks are made.
var alertOn = false;
function alertlog(txt) {
if (alertOn) {
alert(txt);
}
}

console.log(test);

// API Methods that Interactive Reporting relies on to determine/provide available functionality.
//
// mantle_initialized must be set for Interactive Reporting to enable certain functionality
var mantle_initialized=true;

// The enableContentEdit method is called when a content generator is editable or not
function enableContentEdit(contentEdit) {
alertlog('enableContentEdit called: ' + contentEdit);
document.getElementById("edit").style.display = (contentEdit ? "inline" : "none");
}


// This function is called during the save process. triggers a repository refresh.
function mantle_refreshRepository() {
alertlog('mantle_refreshRepository called');
}


var test = 'hello there2';
console.log(test);

// The getSolutionPath method prompts for a .prpti file.
function getSolutionPath() {
var solutionPath = pirLocation;
if (solutionPath == null) {
solutionPath = [directoryPath,'Custom_iReport.prpti'];
}
//solutionPath[0] = prompt("Step 1 of 2 - Path:", solutionPath[0]);
if (!solutionPath[0]) {
return null;
}
solutionPath[1] = prompt("Enter File Name", solutionPath[1]);
if (!solutionPath[1]) {
return null;
}
window.parent.document.getElementById('browse_tree_frameid1').contentDocument.location.reload(true);
return solutionPath;
}

console.log(test);


// Local functions for interacting with Pentaho Interactive Reporting
//
// Returns the iFrame PIR is loaded in
function getPIRiFrame() {
return window.frames[0];
}

// Create a new Interactive Report. Called when the user clicks 'New'
function newPIRReport() {
alertlog("Loading new PIR Report");
getPIRiFrame().location = pirUrlBase;
editMode = true;
enableAdhocSave(true);
}

// Open an existing Interactive Report. Called when the user clicks "Open".
function openPIRReport() {
// Ajax call to solution browser
// display list
var sp = getSolutionPath();
if (sp != null) {
// This URL opens a PIR report at a given location within the repository.
// command=view is required to view the document at the provided path.
var url = '/pentaho/api/repos/' + sp[0].replace(/\//g, ":") + ':' + sp[1] + '/prpti.view';
getPIRiFrame().location = url;
editMode = false;
updateInfo(sp);
enableAdhocSave(true);
}
}

// Enables and disabled
function editPIRReport() {
// Toggle edit mode and editMode = !editMode;
getPIRiFrame().window.editContentToggled(editMode);
}

// The savePIRReport function is called when the user clicks "Save" or "Save As".
function savePIRReport(saveas) {
var sp;
if (pirLocation == null || saveas) {
sp = getSolutionPath();
} else {
sp = pirLocation;
}
if (sp != null) {
// This call tells PIR to save content in a specified location within a solution.
getPIRiFrame().handle_puc_save(sp[0], sp[1], true, function() {alert('An error occurred during save!');});
//updateInfo(sp);
}
}


var test = 'hello there';
console.log(test);

//var newFilename = prompt('Please enter a new file name.','Custom_' + filenameOnly);

var newFilename = 'Custom_' + filenameOnly;

if(!newFilename){
alert('You did not enter a name. Action will be canceled.');
}
else{
if(debug) console.log('rr1 1.93 DefaultReport SaveAS-clicked ' + ' newFilename =' + newFilename + ' directoryPath=' + directoryPath);
// api.operation.saveReport(newFilename, directoryPath,
// function(){ alert('Report: "' + newFilename + '" Saved Sucessfully'); },
// function(){ alert('Failed to save Report: "' + newFilename + '", Please check with administrator'); },
// true);

// window.location.reload(true);
//window.parent.document.getElementById('browse_tree_frameid').contentDocument.location.reload(true);




savePIRReport(true);
//window.location.reload(true);




}});





</script>
</body>
</html>

Pentaho 8.0 CE - Schedules - Select Folder option not working

$
0
0
Hi,

I am trying to modify/create Schedules Jobs and I cannot change the output folder (Generated Content Location). When I pressed Select button it show the Select Folder pop-up but it never show the folders available.

I checked Pentaho Browse Files options and it is able to show it.

Anyone facing the same issue?

Regards,

Manuel

My Pentato Server don't start!

$
0
0
Hi,
Have a very problem with my pentaho server intance online since 3 days. It don't start.
I have verify the log but don't understand.
Yesterday I done a new installation but still have the same problem.


See log image here https://i.ibb.co/8D6R6Dk/Selection-046.png


How can I resolv it please :confused: and idea:confused:

Regards,

415 Error while trying to retrieve report content

$
0
0
This is a post related to PDI but the functional issue seems to be in BISERVER.

I've been trying to use BI-SERVER (8.2) to generate some reports and save them as PDF through PDI.

Using a UDJ step I can save binary data that is returned.

Trying to use the REST client step I'm ending up with HTTP Status 415 – Unsupported Media Type when calling with POST and output-target parameter as 'pageable/pdf'

Using the REST client step with GET .../generatedContent?output-target=pageable/pdf returns the pdf binary in the response.

All fine and good, however using the GET method I have to include the user/pw in the URL, which I don't like. I would rather
include in the POST parameters.

I've tried to manually include content-type as application/pdf...for the POST, same result.

Is this a Tomcat configuration error or a pentaho configuration error or just a limitation of the server?

FYI: POST without specifying an output-target does return an html report.

Any ideas?

tia,

BobC

How to install a complete 8.2 suite?

$
0
0
I'm managing to install a 8.2 BI Suite CE on a SQL Server DBMS, but I don't know what I have exactly to download.
I need to build a DW, then I'm going to download PDI https://sourceforge.net/projects/pen...2.zip/download, where store historical and analytical data.
Then I have to build up some cube, then I need of Mondrian I think, but I can't find it on sourceforge. Could be that it's integrated in Pentaho Server CE? https://sourceforge.net/projects/pen...%208.2/server/
At the end I need to build up some reports and I think that the piece needed is PRD https://sourceforge.net/projects/pen...2.zip/download

I'm correct or I'm forgetting something? Do you think that I have all of needed to present some reports based on extraction of some data organized in some cube?

Thank you very much

Pentaho v8 with CAS 8 - Help - do you have it installed?

$
0
0
We have just upgraded to Pentaho v8 and want to install it with CAS v5. In reading the Pentaho 8 with CAS install documentation (link below), they recommend CAS 3.1.10. I have an open ticket with Pentaho questioning this and I have still been told they have only tested CAS 3.1.10 but he recommend trying CAS 3.5.2. Still an old version.

Has anyone successfully installed CAS 5 with Pentaho v8? We also use Tomcat 8 and Java 8.

https://help.pentaho.com/Documentati...curity/060/000
Step 2 in the document notes to download old versions of CAS.
cas-client-core-3.1.10.jar
Viewing all 2893 articles
Browse latest View live


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