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

create root folder in user console

$
0
0
Hi
I need to create a root folder like '1CAAP' in pentaho user console.We can create under home folder but i need a root folder.

Now am achieving by creating folder using report designer while publishing my reports.-windows machine

How i ll create in Linux machine.

Thanks in advance

Setting up session values

$
0
0
Hello,

i am trying to write a XAction which by accessing the HttpSession sets some session attributes. I found that this is possible here:
https://www.on-reporting.com/blog/en...w-to-use-them/

where Thomas Morgner says:

Quote:

Setting up session values
You can define the values for the session-keys of the report-environment inside the BI-Server with the help of a on-logon-XAction. Within that XAction, use a JavaScript-Rule to access the HttpSession object and to store the string-value on it.
The problem I am facing here is how to access the HttpSession from JavaScript? This is breaking my mind... this javascript is running on the server, not on client side, right? so maybe it could be possible, but how? Any line code as example?

I've been digging in this forum but I am unable to find any information source beyond Morgner statements. Maybe some book i don't know talks about this?

Regards.

Pd. I am using Pentaho BI Server 4.8

Convert measure from seconds to hh:mm:ss

$
0
0
Hello,

I have in my database a field with a number that represents the seconds of life of my tickets and i'd like to convert this number in format hh:mm:ss.
I would you like that instead of showing in the measure the number 3448 (seconds) saw my user 00:57:28.
In my case I have great numbers, as tickets whose lifespan is over 100,000 seconds.
Thanks a lot.

What's the easiest way to upgrade biserver-ce from 3.0.0 to 5.0.1?

$
0
0
Pentaho biserver is embedded in my application. Currently, biserver 3.0.0 STABLE. I'd like to upgrade to the latest and greatest biserver (5.0.1), but the references I've found via google and pentaho itself are very involved, and, to me, full of potential errors. I'm testing now, running them kind of side by side (not running at the same time). One reference makes it seem that a few jar files replacement will do the trick. Any help will be much appreciated!

ArrayIndexOutOfBoundsException in jpivot analisys

$
0
0
Hi There,

lately I am experiencing problems with the legacy Pentaho Analyzer, I am getting this error while trying to execute an MDX query:

014-02-25 17:42:55,715 ERROR [com.tonbeller.wcf.component.RendererTag] trouble rendering table7c688b6c-9e38-11e3-8fcd-7bfdfd7d4426
com.tonbeller.jpivot.olap.model.OlapException: mondrian.olap.MondrianException: Mondrian Error:Internal error: Error while executing query [select NON EMPTY Crossjoin(Hierarchize(Crossjoin({[PERIODOS.PERIODO].[2013-04]}, Union({[SEXOS.SEXO].[All SEXOS.SEXOs]}, [SEXOS.SEXO].[All SEXOS.SEXOs].Children))), {[MUNICIPIOS.MUNICIPIO].[All MUNICIPIOS.MUNICIPIOs]}) ON COLUMNS,
NON EMPTY {[Measures].[TD o TT Mujeres en Edad Fertil 15 a 49 ], [Measures].[Consultas Control Embarazo], [Measures].[Consultas prenatal primera vez], [Measures].[Consulta oftalmologia], [Measures].[Mediciones agudeza visual], [Measures].[Colposcopias], [Measures].[Tomas biopsia cervico uterina], [Measures].[Tomas citologia cervico uterinas], [Measures].[Consultas adulto primera vez], [Measures].[Consulta joven primera vez], [Measures].[Numero registros], [Measures].[Peso bajo al nacer], [Measures].[Consultas crecimiento primera vez], [Measures].[Atenciones al parto], [Measures].[Serologias durante parto], [Measures].[Suministro anticonceptivos orales], [Measures].[Consultas planificacion Familiar primera vez], [Measures].[Esterilizaciones OTB], [Measures].[Anticonceptivos emergencia], [Measures].[Anticonceptivos hormonales], [Measures].[Vacunaciones BCG], [Measures].[Vacunaciones DPT], [Measures].[Vacunaciones Fiebre amarilla], [Measures].[Vacunaciones Hepatitis B], [Measures].[Vacunaciones influenza], [Measures].[Vacunaciones Polio], [Measures].[Vacunaciones TD/TT], [Measures].[Vacunaciones Triple virica]} ON ROWS
from [ESTRELLA_IND_ENVIOS]
]
at com.tonbeller.jpivot.mondrian.MondrianModel.getResult(MondrianModel.java:307)
at com.tonbeller.jpivot.olap.model.OlapModelDecorator.getResult(OlapModelDecorator.java:54)
at com.tonbeller.jpivot.olap.model.CachingOlapModel.getResult(CachingOlapModel.java:48)
at com.tonbeller.jpivot.olap.model.OlapModelDecorator.getResult(OlapModelDecorator.java:54)
at com.tonbeller.jpivot.table.TableComponent.updateOlapModel(TableComponent.java:246)
at com.tonbeller.jpivot.table.TableComponent.render2(TableComponent.java:251)
at com.tonbeller.jpivot.table.TableComponent.render(TableComponent.java:235)
at com.tonbeller.wcf.component.RendererTag.doEndTag(RendererTag.java:137)
at org.apache.jsp.jsp.Pivot_jsp._jspService(Pivot_jsp.java:2750)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.pentaho.platform.web.http.filters.PentahoWebContextFilter.doFilter(PentahoWebContextFilter.java:142)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.pentaho.platform.web.http.filters.PentahoRequestContextFilter.doFilter(PentahoRequestContextFilter.java:84)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:378)
at org.springframework.security.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109)
at org.springframework.security.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
at org.springframework.security.ui.ExceptionTranslationFilter.doFilterHttp(ExceptionTranslationFilter.java:101)
at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
at org.pentaho.platform.web.http.security.SecurityStartupFilter.doFilter(SecurityStartupFilter.java:103)
at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
at org.springframework.security.providers.anonymous.AnonymousProcessingFilter.doFilterHttp(AnonymousProcessingFilter.java:105)
at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
at org.pentaho.platform.web.http.security.RequestParameterAuthenticationFilter.doFilter(RequestParameterAuthenticationFilter.java:169)
at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
at org.springframework.security.ui.basicauth.BasicProcessingFilter.doFilterHttp(BasicProcessingFilter.java:174)
at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
at org.pentaho.platform.web.http.security.HttpSessionReuseDetectionFilter.doFilter(HttpSessionReuseDetectionFilter.java:134)
at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
at org.springframework.security.context.HttpSessionContextIntegrationFilter.doFilterHttp(HttpSessionContextIntegrationFilter.java:235)
at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
at org.springframework.security.wrapper.SecurityContextHolderAwareRequestFilter.doFilterHttp(SecurityContextHolderAwareRequestFilter.java:91)
at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
at org.springframework.security.util.FilterChainProxy.doFilter(FilterChainProxy.java:175)
at org.springframework.security.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:99)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.pentaho.platform.web.http.filters.SystemStatusFilter.doFilter(SystemStatusFilter.java:60)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.pentaho.platform.web.http.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:113)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:470)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:662)
Caused by: mondrian.olap.MondrianException: Mondrian Error:Internal error: Error while executing query [select NON EMPTY Crossjoin(Hierarchize(Crossjoin({[PERIODOS.PERIODO].[2013-04]}, Union({[SEXOS.SEXO].[All SEXOS.SEXOs]}, [SEXOS.SEXO].[All SEXOS.SEXOs].Children))), {[MUNICIPIOS.MUNICIPIO].[All MUNICIPIOS.MUNICIPIOs]}) ON COLUMNS,
NON EMPTY {[Measures].[TD o TT Mujeres en Edad Fertil 15 a 49 ], [Measures].[Consultas Control Embarazo], [Measures].[Consultas prenatal primera vez], [Measures].[Consulta oftalmologia], [Measures].[Mediciones agudeza visual], [Measures].[Colposcopias], [Measures].[Tomas biopsia cervico uterina], [Measures].[Tomas citologia cervico uterinas], [Measures].[Consultas adulto primera vez], [Measures].[Consulta joven primera vez], [Measures].[Numero registros], [Measures].[Peso bajo al nacer], [Measures].[Consultas crecimiento primera vez], [Measures].[Atenciones al parto], [Measures].[Serologias durante parto], [Measures].[Suministro anticonceptivos orales], [Measures].[Consultas planificacion Familiar primera vez], [Measures].[Esterilizaciones OTB], [Measures].[Anticonceptivos emergencia], [Measures].[Anticonceptivos hormonales], [Measures].[Vacunaciones BCG], [Measures].[Vacunaciones DPT], [Measures].[Vacunaciones Fiebre amarilla], [Measures].[Vacunaciones Hepatitis B], [Measures].[Vacunaciones influenza], [Measures].[Vacunaciones Polio], [Measures].[Vacunaciones TD/TT], [Measures].[Vacunaciones Triple virica]} ON ROWS
from [ESTRELLA_IND_ENVIOS]
]
at mondrian.resource.MondrianResource$_Def0.ex(MondrianResource.java:967)
at mondrian.olap.Util.newInternal(Util.java:2400)
at mondrian.olap.Util.newError(Util.java:2416)
at mondrian.rolap.RolapConnection.executeInternal(RolapConnection.java:715)
at mondrian.rolap.RolapConnection.access$000(RolapConnection.java:51)
at mondrian.rolap.RolapConnection$1.call(RolapConnection.java:631)
at mondrian.rolap.RolapConnection$1.call(RolapConnection.java:630)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
... 1 more
Caused by: java.lang.ArrayIndexOutOfBoundsException: 0
at mondrian.rolap.agg.DenseObjectSegmentDataset.getObject(DenseObjectSegmentDataset.java:56)
at mondrian.rolap.agg.SegmentWithData.getCellValue(SegmentWithData.java:179)
at mondrian.rolap.RolapStar.getCellFromCache(RolapStar.java:157)
at mondrian.rolap.agg.AggregationManager.getCellFromCache(AggregationManager.java:188)
at mondrian.rolap.FastBatchingCellReader.get(FastBatchingCellReader.java:130)
at mondrian.rolap.RolapEvaluator.evaluateCurrent(RolapEvaluator.java:660)
at mondrian.olap.fun.CrossJoinFunDef.checkData(CrossJoinFunDef.java:999)
at mondrian.olap.fun.CrossJoinFunDef.nonEmptyList(CrossJoinFunDef.java:949)
at mondrian.olap.fun.CrossJoinFunDef.nonEmptyOptimizeList(CrossJoinFunDef.java:483)
at mondrian.olap.fun.CrossJoinFunDef$BaseListCalc.evaluateList(CrossJoinFunDef.java:361)
at mondrian.olap.fun.HierarchizeFunDef$1.evaluateList(HierarchizeFunDef.java:46)
at mondrian.rolap.sql.CrossJoinArgFactory.expandNonNative(CrossJoinArgFactory.java:910)
at mondrian.rolap.sql.CrossJoinArgFactory.checkCrossJoin(CrossJoinArgFactory.java:341)
at mondrian.rolap.RolapNativeCrossJoin.createEvaluator(RolapNativeCrossJoin.java:105)
at mondrian.rolap.RolapNativeRegistry.createEvaluator(RolapNativeRegistry.java:56)
at mondrian.rolap.RolapSchemaReader.getNativeSetEvaluator(RolapSchemaReader.java:663)
at mondrian.olap.DelegatingSchemaReader.getNativeSetEvaluator(DelegatingSchemaReader.java:269)
at mondrian.olap.fun.CrossJoinFunDef$CrossJoinIterCalc.evaluateIterable(CrossJoinFunDef.java:173)
at mondrian.rolap.RolapResult.executeAxis(RolapResult.java:817)
at mondrian.rolap.RolapResult.evalLoad(RolapResult.java:642)
at mondrian.rolap.RolapResult.loadMembers(RolapResult.java:598)
at mondrian.rolap.RolapResult.<init>(RolapResult.java:286)
at mondrian.rolap.RolapConnection.executeInternal(RolapConnection.java:680)
... 8 more

The same query works in the Saiku Analytics. Any help? we have Pentaho BI Server 4.8 Stable

Thanks

pentaho 5.0.1 - authentication via url parameters for iframe

$
0
0
Hi,

We work on a web java app that embedded pentaho reports through iframes:

<iframe width="1050" height="580" src="http://localhost:8085/pentaho/api/repos/:public:reporte_ejecucion.prpt/generatedContent?userid=admin&password=password" name="previewFrame">
</iframe>

when the page load it ask for user and password, seems pentaho server does not recognize the parameters.

On pentaho 4.8 this work perfect. Could have changed the parameters in this release?

I read the following guide but does not explain how pass user/password parameters: http://infocenter.pentaho.com/help50...put_types.html

thanks,

Carlos

how can i programmatically publish a report on bi server with java?

$
0
0
please give me an example or helpful resources for that.

Browsing created cube in web browser

$
0
0
Hi guys,
I'm new in Oentaho and have just start to use it.
Actually I was searching to find a client web-based app to brows a OLAP CUBE data.

I found Pentaho and I installed it.

Now my question is :
Can I connect to my created CUBE on MS SQL Server and brows a data on it ?

Or any other suggestion to me to handle this issue ?

All I know is there is the cube on MS SQL Server and i should find appropriate web-based client to use that cube and retrieve information form that.


Thanks in advance.

Pentaho BI Server 5.0.1CE - MSSQL- Tomcat

Pentaho 4.8.2 - disable timeout popup / redirect to custom logout page

$
0
0
Hi All,

We are using Pentaho BA server 4.8.2 and we have implemented custom SSO for sign-in, wherein we have disabled the Pentaho login screen. However, on session timeout, we are being taken back to the login screen or shown a login popup.

We want to take the user to a standard timeout page. Is there any way we can change this behaviour (disable going to Pentaho login screen on session timeout)?

Thanks,
Vinod

Dashboard Designer - Query Builder

A fantastic book to solve big data problems using Pentaho (Giveaway Contest)

$
0
0
Dear all,

Here is a great "hands on" book Pentaho for Big Data Analytics talking about big data solving its problems using Pentaho's tools.

I am running a giveaway contest for this book and you can visit my blog and enter the contest to win a FREE COPY of this book. You can leave your comments on what do you feel about this book at the bottom.

Thanks for reading and wishing you most and more. :)

-manoj

Pentaho configure mysql as database

Datasource Export/Import

$
0
0
Hi all,

I am trying to migrate some reports from a Pentaho 5.0 test environment to the production one.
This means that I need to copy:
- JDBC datasource
- Data source wizard (that uses the JDBC datasource)
- a folder with the reports (Analysis and Interactive reports)

I would like to avoid the export/impot of all the repository since in test environment there is a lot of tests and other stuff that I don't want to have in prod.

1) There is a way to export and import a JDBC datasource?

2) From the PUC is possible to export a data source of type "Data Source Wizard". The export is a zip archive containing (for example) the following files:
  • MPP_Schema_Infobright_Data.xmi.xmi
  • schema.xml


How can I import this zip archive into the destination environment?
what I can achieve through "Browse File" -> Upload is importing a MPP_Schema_Infobright_Data.xmi file into the repository that is useless.

Any hint or help will be very much appreciated! :)
Thank you!

Emanuele

reports

$
0
0
How to update the existing Pentaho 4.8 scripts to 5.0 version using command line?

How to install pentaho BA server in Windows Server 2008 R2 ?

$
0
0
Hi..
I'm very very newbie to "Windows Server 2008 R2" server and have to install all the community tools of pentaho.

I need to install all the latest tools like
1) BA server 5.0.1
2) Kettle 5.0
3) PRD 5.0
4) PSW 3.6
and etc..

Your help will be appreciated..

Thank you in Advance :D

Pentaho 5.0 ce with Jboss and CBF

[Building and Debugging Pentaho Platform] bi-platform-v2/trunk/ does not exist

$
0
0
Hello,

I am having some issues with Pentaho/Mondrian i18n LocalizingDynamicSchemaProcessor so I decided to checkout the source code and try to debug it. I'm following this instructions:
http://wiki.pentaho.com/display/Serv...rojects+in+2.0

but it seems that bi-platform-v2/trunk/does not exist anymore ^^. Does anyone know where it has been moved into?

Regards.

Pd. as user I'm using 4.8 bi server. Maybe i can download /bi-platform-v2/tags/4.8.0-stable/ although /tags/4.8.3.1-R already exists?

Pentaho bi server switch report pages

$
0
0
Hi all,

I'm using Pentaho community edition 5.0, i made a report using pentaho report designer and then i published it on my bi server (in .prpt format)
I managed to see it and to put it in a dashboard, but i have a problem.
My report has about 100 pages but on the dashboard i can see only the first one, how do i set it up so i can see the others?

Thanks

Action successfull

$
0
0
Is it possible to remove the “Action successful” message which appear after firing a xaction. The xaction runs a kettle transformation. The xaction has no output so something like

<outputs>
<image-tag type="string">
<destinations>
<response>content</response>
</destinations>
</image-tag>
</outputs>

Is not working
Viewing all 2893 articles
Browse latest View live


Latest Images

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