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

Security Tables-Users,Authorities,Granted_Authorities in Pentaho 5

$
0
0
Hi ,


In Pentaho 4.1 for the external security implementation , we are using the tables Users, Authorities ,granted_authorities from the hibernate database. In Pentaho 5 we are not able to locate these tables in the hibernate, jcrabit and quarts data bases.
In Pentaho 5 which tables are having these datas?

Thanks

How to disable edit mode for dashboards

$
0
0
Hi,As I log in with any role I can able to edit the dashboards. I want to refrain user from editing the dashboard. Is there any way to disable the edit mode?

Regards,
Jayesh

How Pentaho support Me?

$
0
0
Hi all,
I'm new to Pentaho. and I'm searching for a web based open source BI tool for a large scale project to show analytic data to multiple users (1000+ users)
by providing login Id's to individuals. So could any one tell me how Pentaho support me and please provide me if there any Licence costs. And What type types of features Pentaho have like SDK for Programmers, Interactive dashboards, report scheduling etc.

Thanks,
Ram Charan Tej Ragi

Problem with space creating the JVM

$
0
0
Hi everyone!
I have a problem when starting the biserver with start-pentaho.bat. When I try to execute it, it says something like:

Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.


I searched on the Internet and tried two things but none of them are working for me.

1. I start the server from "/tomcat/bin startup.bat". In this case, the server starts and I can access the locaklhost:8080/pentaho. But it goes really slow and when I want to save something I get an error and in the tomcat server it is possible to read something regarding the space problem. I tried to set the "initial memory pool" and "maximum memory pool" to higher numbers but still it does not work.

2. I start the service with "/biserver-ce start-pentaho.bat" changing before the

set CATALINA_OPTS=-Xms1024m -Xmx2048m -XX:MaxPermSize=256m to higher values just to check-> 2048, 4096 and 512

But still I get an error with that.

Anyone can give me a hint?
Thanks in advance and kind regards,
Alain

consuming a named set in report

$
0
0
Hi ,

I have created a name set by name top seller for calculating top 5 product seller seller by unit price.
the formula which i am using is
TopCount([Product].[Product Category].MEMBERS, 5, [Measures].[Unit price])

now i want to consume this named set in the report which i am creating in user console.
so i guess i need to use this named set (top seller) in some dimension in schema workbench and than i would be able to use it.
but in schema workbench how can i use this named set in a dimension.....

Thanks in advance

Problem with filters with nameexpression

$
0
0
Hi,
I have a big problem concerning NameExpression tag.
I tried to change current formatting of Month column in such manner:
<Level caption="Discrepancy arrival date Month" column="MONTH" hideMemberIf="Never" levelType="TimeMonths" name="Month" ordinalColumn="MONTH" type="Numeric" uniqueMembers="false">
<Annotations>
<Annotation name="AnalyzerDateFormat">[yyyy].[M]</Annotation>
</Annotations>
<NameExpression>
<SQL dialect="oracle">TIME.YEARMONTH</SQL>
</NameExpression>
</Level>
And during browsing of the cube in Analyzer tool everything seems to works fine but it isn't, because now if I try to define on such column a filter with option Current Discrepancy arrival date Month checked i get no data. Now if i delete the NameExpression:
<Level caption="Discrepancy arrival date Month" column="MONTH" hideMemberIf="Never" levelType="TimeMonths" name="Month" ordinalColumn="MONTH" type="Numeric" uniqueMembers="false">
<Annotations>
<Annotation name="AnalyzerDateFormat">[yyyy].[M]</Annotation>
</Annotations>
</Level>
And try again to add a filter with aforementioned option checked then I get some results. It seems that something went wrong because in pentaho logs storing executed queries in where condition instead of value for a certain month I got 1=0.

Please help ASAP.
P.S: I'm using Pentaho version: 4.8

pentaho user console cohort analysis

$
0
0
hi all

i am using pentaho user console 4.8 which talks to a mysql db through the pentaho metadata layer.

sometimes users need to do cohort analysis. an example of the cohorts they are experimenting with are the number of units each partner has sold 0-9, 10-49, 50-249, 250+ maps to low, med, high, vhigh respectively. these mappings are prototype data analyses so it doesnt make sense to keep chopping and changing database columns.

solution 1: the current solution is to export all the necessary data to a csv and process in excel. this takes 30mins to stream all the uncompressed data to the browser then download as a csv. the query run straight in mysql INTO OUTFILE takes 30s, 30s to zip up and 10s to download. is it possible to replicate this INTO OUTFILE and download compressed process in PUC?

solution 2: is it possible to upload a new data source (csv with cohort mapping data) which is joinable to the current table?

solution 3: calculated measure in PUC?

thanks for your help! id be happy with any other viable solution too
ben

Best practice tip

$
0
0
Hi all,
I'm coming to start a new project using an old version of Pentaho EE: v 4.6.


I need a tip in order to start in the right direction, then I expose you the work that I'm coming to start.


I have to buil a NEAR REAL-TIME BI SOLUTION wich takes as input a JMS, which consumes about 1000 records per minute,
then I have to aggregate the input data in a time-based window (i.e. 3-5 min.)


Then the point: about you is better to store the data in a intermediate DB and then read data to visualize it, or
is better to display directly the data on the dashboard by creating a report, whit PDI as data sources, and refreash the dashboard every 1 minute?

THANKS

How to migrate dashboards from different servers?

$
0
0
Hi, I wonder if anyone ever read any article on migrating dashboards from one server to another. What would be the best way to do this migration? Today working with pentaho in development and production environment. I did a test by just copying the folder, however I had to restart the service to be able to view the changes. I would like your help community!

adding new datasource

$
0
0
i have a problem with pentaho community business analytics, whenever i try to create a new datasource over mysql(jdbc) the test succeeds,but when i create it it says: "connection is not a valid connection. are you sure you want to save this connection".

i already put the jdbc driver in the right folder
how do i solve it?

Macos

$
0
0
How to start spoon in MAC using community edition of dataintegration ?

Is there any software i need to install for specific MAC

Scheduled Report and Email - re-sending if mail server is down

$
0
0
I have a number of scheduled reports that run and are emailed, setup via the scheduling option with the Pentaho 5 CE web UI.

At the runtime of a report, the report is generated and the email tries to send, but the mail server is down for a reboot or something. Is it possible for Pentaho to realize this and try to re-send the report after an hour or something?

Right now, the report is generated and shows up in the output folder, but there is no indication that the email fails until someone notices that they did not get it.

Any suggestions?

Upgrade pentaho bi server version from 3.6 to 5.0.1 Problems!!!!

$
0
0
Hi!
I deployed the new bi server war into my tomcat server. I work with :
Mysql 5,Tomcat 6,Pentaho 5.0.1,Java 7
I've added configuration of my own datasources, security ldap and cas, and i'm trying to embed reporting with my java gwt project already running on server.
But when i try to launch a report i found on log the errror above :




2014-03-11 10:20:41,626 ERROR [org.pentaho.platform.web.servlet.GenericServlet] GenericServlet.ERROR_0002 - Could not get content generator: KPI=XXX&solution=xxx&path=dashboard/general&name=XXX.prpt&locale=%257Blocale%257D&PERIODO=2014-01&COD_CONTRATTO=XXX%202013&CONTRATTO=Contratto%20XXX%202013
java.lang.NullPointerException
at org.pentaho.reporting.platform.plugin.ReportContentGenerator.getMimeType(ReportContentGenerator.java:160)
at org.pentaho.platform.engine.services.solution.SimpleContentGenerator.createContent(SimpleContentGenerator.java:52)
at org.pentaho.platform.web.servlet.GenericServlet.doGet(GenericServlet.java:261)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
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.pentaho.platform.web.http.security.PentahoBasicProcessingFilter.doFilterHttp(PentahoBasicProcessingFilter.java:88)
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.ui.AbstractProcessingFilter.doFilterHttp(AbstractProcessingFilter.java:278)
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.ui.logout.LogoutFilter.doFilterHttp(LogoutFilter.java:89)
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.pentaho.platform.web.http.filters.HttpSessionPentahoSessionIntegrationFilter.doFilter(HttpSessionPentahoSessionIntegrationFilter.java:265)
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:242)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.jasig.cas.client.session.SingleSignOutFilter.doFilter(SingleSignOutFilter.java:76)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:242)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.pentaho.platform.web.http.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:113)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:242)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:203)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:562)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:108)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at it.twoheads.valve.JNDIValve.invoke(JNDIValve.java:82)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:379)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:242)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:259)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:281)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)






my pentahoObject.spring.xml is configured as follow :


<bean id="ISolutionEngine" class="org.pentaho.platform.engine.services.solution.SolutionEngine" scope="prototype"/>
<bean id="ISolutionRepository" class="org.pentaho.platform.repository.solution.dbbased.DbBasedSolutionRepository" scope="session" />
<bean id="ISolutionRepositoryService" class="org.pentaho.platform.repository.solution.SolutionRepositoryServiceImpl" scope="session" />
<bean id="IContentRepository" class="org.pentaho.platform.repository.content.ContentRepository" scope="session" />


<bean id="IUnifiedRepository" class="org.pentaho.platform.repository2.unified.fs.FileSystemBackedUnifiedRepository" scope="prototype" />




<bean id="IAuditEntry" class="org.pentaho.platform.engine.services.audit.AuditFileEntry" scope="singleton"/>
<bean id="IUITemplater" class="org.pentaho.platform.web.http.WebTemplateHelper" scope="singleton"/>
<!-- Concrete implementation of IMetadataDomainRepository -->
<bean id="IMetadataDomainRepositoryImpl"
class="org.pentaho.platform.plugin.services.metadata.SecurityAwarePentahoMetadataDomainRepository" scope="singleton">
<!-- <constructor-arg>
<ref bean="unifiedRepository"/>
</constructor-arg> -->
</bean>
<!-- Wrap the concrete IMetadataDomainRepository implementation with one that caches domains per session -->
<!-- <bean id="IMetadataDomainRepository"
class="org.pentaho.platform.plugin.services.metadata.SessionCachingMetadataDomainRepository" scope="singleton">
<constructor-arg>
<ref bean="IMetadataDomainRepositoryImpl"/>
</constructor-arg>
</bean> -->
<!-- <bean id="IMetadataDomainRepository" class="org.pentaho.platform.plugin.services.metadata.SecurityAwarePentahoMetadataDomainRepository" scope="singleton"/> -->
<!-- Use this schema factory to disable PMD security -->


<bean id="IUserSettingService" class="org.pentaho.platform.repository.usersettings.UserSettingService">
<!-- <constructor-arg ref="unifiedRepository"/> -->
</bean>


<!-- <bean id="IUserSettingService" class="org.pentaho.platform.repository.usersettings.UserSettingService" scope="session" /> -->
<bean id="IEmailService" class="org.pentaho.platform.plugin.services.email.EmailService" scope="session"/>
<bean id="file" class="org.pentaho.platform.plugin.outputs.FileOutputHandler" scope="session"/>
<bean id="contentrepo" class="org.pentaho.platform.repository.content.ContentRepositoryOutputHandler" scope="session"/>
<bean id="vfs-ftp" class="org.pentaho.platform.plugin.outputs.ApacheVFSOutputHandler" scope="session"/>
<bean id="IAclPublisher" class="org.pentaho.platform.engine.security.acls.AclPublisher" scope="singleton"/>
<bean id="IAclVoter" class="org.pentaho.platform.engine.security.acls.voter.PentahoBasicAclVoter" scope="singleton"/>
<bean id="IVersionHelper" class="org.pentaho.platform.util.VersionHelper" scope="singleton"/>
<bean id="ICacheManager" class="org.pentaho.platform.plugin.services.cache.CacheManager" scope="singleton"/>
<bean id="IScheduler2" class="org.pentaho.platform.scheduler2.quartz.QuartzScheduler" scope="singleton"/>
<bean id="IBlockoutManager" class="org.pentaho.platform.scheduler2.blockout.PentahoBlockoutManager" scope="singleton"/>
<bean id="IConditionalExecution" class="org.pentaho.platform.plugin.condition.javascript.ConditionalExecution"
scope="prototype"/>
<bean id="IMessageFormatter" class="org.pentaho.platform.engine.services.MessageFormatter" scope="singleton"/>
<!--
IDBDatasourceService - options are:
org.pentaho.platform.engine.services.connection.datasource.dbcp.JndiDatasourceService
org.pentaho.platform.engine.services.connection.datasource.dbcp.NonPooledOrJndiDatasourceService
org.pentaho.platform.engine.services.connection.datasource.dbcp.PooledDatasourceService
org.pentaho.platform.engine.services.connection.datasource.dbcp.NonPooledDatasourceService
org.pentaho.platform.engine.services.connection.datasource.dbcp.PooledOrJndiDatasourceService (Default option)
-->
<bean id="IDatasource"
class="org.pentaho.platform.repository.datasource.Datasource"
scope="singleton"/>
<bean id="IPasswordService" class="org.pentaho.platform.util.Base64PasswordService" scope="singleton"/>
<bean id="IPluginProvider" class="org.pentaho.platform.plugin.services.pluginmgr.SystemPathXmlPluginProvider"
scope="singleton"/>




<bean id="IPluginManager" class="org.pentaho.platform.plugin.services.pluginmgr.DefaultPluginManager"
scope="singleton"/>
<bean id="IPluginResourceLoader" class="org.pentaho.platform.plugin.services.pluginmgr.PluginResourceLoader"
scope="singleton"/>
<bean id="IPluginPerspectiveManager"
class="org.pentaho.platform.plugin.services.pluginmgr.perspective.DefaultPluginPerspectiveManager"
scope="singleton"/>
<bean id="IServiceManager" class="org.pentaho.platform.plugin.services.pluginmgr.servicemgr.DefaultServiceManager"
scope="singleton">
<property name="serviceTypeManagers">
<list>
<ref bean="gwtServiceManager"/>
<ref bean="axisServiceManager"/>
</list>
</property>
</bean>
<bean id="ITempFileDeleter" class="org.pentaho.platform.web.http.session.SessionTempFileDeleter" scope="prototype"/>
<bean id="gwtServiceManager" class="org.pentaho.platform.plugin.services.pluginmgr.servicemgr.GwtRpcServiceManager"
scope="singleton"/>
<bean id="axisServiceManager" class="org.pentaho.platform.plugin.services.pluginmgr.servicemgr.AxisWebServiceManager"
scope="singleton"/>




<bean id="IChartBeansGenerator" class="org.pentaho.platform.plugin.action.chartbeans.DefaultChartBeansGenerator"
scope="singleton"/>




<bean id="systemStartupSession" class="org.pentaho.platform.engine.security.session.TrustedSystemStartupSession" scope="prototype" />
<!-- Data connections. Connections objects should be accessed through PentahoConnectionFactory,
not directly from the PentahoObjectFactory. -->
<bean id="connection-SQL" class="org.pentaho.platform.plugin.services.connections.sql.SQLConnection"
scope="prototype">
<property name="fallBackToNonscrollableOnError" value="true"/>
</bean>
<bean id="connection-MDX" class="org.pentaho.platform.plugin.services.connections.mondrian.MDXConnection"
scope="prototype">
<property name="useExtendedColumnNames" value="true"/>
</bean>
<bean id="connection-MDXOlap4j" class="org.pentaho.platform.plugin.services.connections.mondrian.MDXOlap4jConnection" scope="prototype" />
<bean id="connection-XML" class="org.pentaho.platform.plugin.services.connections.xquery.XQConnection"
scope="prototype"/>
<bean id="connection-HQL" class="org.pentaho.platform.plugin.services.connections.hql.HQLConnection"
scope="prototype"/>




<!-- actual bean defined in repository.spring.xml; aliased here -->
<!-- <alias name="unifiedRepository" alias="IUnifiedRepository"/> -->




<!-- actual bean defined in repository.spring.xml; aliased here -->
<!-- <alias name="backingRepositoryLifecycleManager" alias="IBackingRepositoryLifecycleManager"/>-->




<!-- actual bean defined in repository.spring.xml; aliased here -->
<!--<alias name="authorizationPolicy" alias="IAuthorizationPolicy"/>-->




<!-- actual bean defined in repository.spring.xml; aliased here -->
<!--<alias name="roleAuthorizationPolicyRoleBindingDaoTxn" alias="IRoleAuthorizationPolicyRoleBindingDao"/>-->




<!-- actual bean defined in applicationContext-pentaho-security-*.xml; aliased here -->
<!-- <pen:bean id="IUserRoleListService" class="org.pentaho.platform.api.engine.IUserRoleListService">
<pen:attributes>
<pen:attr key="providerName" value="${security.provider}"/>
</pen:attributes>
<penublish as-type="INTERFACES">
<pen:attributes>
<pen:attr key="priority" value="50"/>
</pen:attributes>
</penublish>
</pen:bean>












<pen:bean id="UserDetailsService" class="org.springframework.security.userdetails.UserDetailsService">
<pen:attributes>
<pen:attr key="providerName" value="${security.provider}"/>
</pen:attributes>
</pen:bean>-->








<bean id="ehCacheUserCache" class="org.springframework.security.providers.dao.cache.EhCacheBasedUserCache">
<property name="cache">
<bean class="org.springframework.cache.ehcache.EhCacheFactoryBean">
<property name="cacheManager">
<bean class="org.springframework.cache.ehcache.EhCacheManagerFactoryBean">
<property name="shared" value="true"/>
</bean>
</property>
<property name="cacheName" value="userCache"/>
</bean>
</property>
</bean>




<bean id="cachingUserDetailsService" class="org.pentaho.platform.plugin.services.security.userrole.PentahoCachingUserDetailsService">
<constructor-arg>
<ref bean="UserDetailsService"/>
</constructor-arg>
<constructor-arg ref="tenantedUserNameUtils"/>
<property name="userCache" ref="ehCacheUserCache"/>




<!-- <penublish as-type="INTERFACES">
<pen:attributes>
<pen:attr key="priority" value="50"/>
</pen:attributes>
</penublish>-->




</bean>




<!-- actual bean defined in applicationContext-spring-security.xml; aliased here -->
<!-- <alias name="authenticationManager" alias="AuthenticationManager"/> -->




<bean id="IMondrianCatalogService" class="org.pentaho.platform.plugin.action.mondrian.catalog.MondrianCatalogHelper"
scope="singleton"/>




<bean id="IDatabaseDialectService" class="org.pentaho.database.service.DatabaseDialectService" scope="singleton"/>




<bean id="IDatasourceMgmtService" class="org.pentaho.platform.repository.datasource.DatasourceMgmtService" scope="prototype">
<!-- <constructor-arg ref="unifiedRepository"/>
<constructor-arg ref="IDatabaseDialectService"/> -->
</bean>
<!-- This mondrian user/role mapper assumes that roles from the platform also exist in mondrian -->
<!--
Disabled by default in 3.5.2. In trunk, this should be enabled.
-->
<bean id="Mondrian-UserRoleMapper"
name="Mondrian-One-To-One-UserRoleMapper"
class="org.pentaho.platform.plugin.action.mondrian.mapper.MondrianOneToOneUserRoleListMapper"
scope="singleton" />
<!-- <bean id="ReportCache" class="org.pentaho.reporting.platform.plugin.cache.NullReportCache" scope="singleton"/>
<bean id="PentahoNameGenerator" class="org.pentaho.reporting.platform.plugin.repository.TempDirectoryNameGenerator"
scope="prototype"/>-->
<bean id="MondrianConnectionProvider"
class="org.pentaho.reporting.platform.plugin.connection.PentahoMondrianConnectionProvider" scope="singleton"/>




<bean id="metadataqueryexec-SQL"
class="org.pentaho.platform.plugin.services.connections.metadata.sql.SqlMetadataQueryExec" scope="prototype"/>
<bean id="sqlGenerator" class="org.pentaho.metadata.query.impl.sql.SqlGenerator" scope="prototype"/>
<bean id="IThemeManager" class="org.pentaho.platform.web.html.themes.DefaultThemeManager" scope="singleton"/>




<bean id="ICacheExpirationRegistry" class="org.pentaho.platform.plugin.services.cache.CacheExpirationRegistry"
scope="singleton"/>


<bean id="IUserFilesComponent" class="org.pentaho.platform.web.refactor.UserFilesComponent" scope="session" />
<bean id="IBackgroundExecution" class="org.pentaho.platform.scheduler.SecurityAwareBackgroundExecutionHelper" scope="singleton" />
<bean id="BackgroundSubscriptionExecution" class="org.pentaho.platform.scheduler.SecurityAwareBackgroundSubscriptionHelper" scope="singleton" />
<bean id="ISubscriptionRepository" class="org.pentaho.platform.repository.subscription.SubscriptionRepository" scope="singleton" />
<bean id="ISubscriptionScheduler" class="org.pentaho.platform.scheduler.QuartzSubscriptionScheduler" scope="singleton" />
<bean id="INavigationComponent" class="org.pentaho.platform.uifoundation.component.xml.NavigationComponent" scope="prototype" />
<bean id="IVersionCheckDataProvider" class="org.pentaho.platform.plugin.services.versionchecker.PentahoVersionCheckDataProvider" scope="prototype" />
<bean id="IMenuProvider" class="org.pentaho.platform.web.html.HtmlMenuProvider" scope="singleton" />
</beans>


I also have not understand how to set up unifiedRepository, because for resetRepository i use ISolutionRepository.




Thank's for help me!!!!

Repository - Missing folder after short time

$
0
0
Hi,

After creating a folder in PUC repository it's visible but only for a short time (< 5 minutes). Why :mad: ?

Thank you for your help !

Pentaho 4.6 parameterize query in Analyzer Report

$
0
0
Hi I need a simple answare:

is available in pentaho BA 4.6 the possibility to parameterize a query in the Analyzer Report?

It is available in v. 4.8.

Please I need a response.

Regards.

Nico

import-export tool

$
0
0
Hi there,

We have deployed Bi-Server version 4.8 and 5.0 in different machines, and we would like to export BiServer 4.8 solutions and import them into BiServer5.0. We found out there is a import-export tool. So we copied all solutions directories to the new machine, and when trying to use the import-export, we see this message:

./import-export.sh --import --url=http://localhost:8080/pentaho --type=files --charset=UTF-8 --path=/public --file-path=/root/pentaho4/RIPS/ --logfile= /root/pentaho4/RIPS_logfile.log
/usr/pentaho/biserver-ce
/usr/pentaho/biserver-ce
DEBUG: Using PENTAHO_JAVA_HOME
DEBUG: _PENTAHO_JAVA_HOME=/usr/local/java
DEBUG: _PENTAHO_JAVA=/usr/local/java/bin/java
log4j:WARN Continuable parsing error 3 and column 57
log4j:WARN Document root element "configuration", must match DOCTYPE root "null".
log4j:WARN Continuable parsing error 3 and column 57
log4j:WARN Document is invalid: no grammar found.
log4j:WARN The <configuration> element has been deprecated.
log4j:WARN Use the <log4j:configuration> element instead.
java.io.FileNotFoundException: /root/pentaho4/RIPS (Es un directorio)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:146)
at org.pentaho.platform.plugin.services.importexport.CommandLineProcessor.performImportREST(CommandLineProcessor.java:685)
at org.pentaho.platform.plugin.services.importexport.CommandLineProcessor.performImport(CommandLineProcessor.java:435)
at org.pentaho.platform.plugin.services.importexport.CommandLineProcessor.main(CommandLineProcessor.java:286)
ERROR CommandLineProcessor - /root/pentaho4/RIPS (Es un directorio)
java.io.FileNotFoundException: /root/pentaho4/RIPS (Es un directorio)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:146)
at org.pentaho.platform.plugin.services.importexport.CommandLineProcessor.performImportREST(CommandLineProcessor.java:685)
at org.pentaho.platform.plugin.services.importexport.CommandLineProcessor.performImport(CommandLineProcessor.java:435)
at org.pentaho.platform.plugin.services.importexport.CommandLineProcessor.main(CommandLineProcessor.java:286)

where RIPS is one of our 4.8 solution directory.

What are we doing wrong? any help?

Thanks,

Rafael

Pentaho 5 CE + Multi Tenant ?

$
0
0
How to enable multi-tenant on Pentaho 5 CE ?


Regards.
Kleyson Rios.

Pentaho User Console

$
0
0
I am having issues trying to connect to the SQL server (which is a VM in HyperV). I go into the Pentaho User Console and in trying to create a new connection, I keep running into an error.

The error I am seeing is:

Error connecting to database [XXXXX] : org.pentaho.di.core.exception.KettleDatabaseException:
Error occured while trying to connect to the database

Error connecting to database: (using class net.sourceforge.jtds.jdbc.Driver)
Invalid URL: jdbc:jtds:sqlserver://XXX.XXX.XXX.83:1433/XXXXXDev

org.pentaho.di.core.exception.KettleDatabaseExcep


The SQL server has TCP/IP ports open. I have ensured that the SQL jar files from Microsoft for SQL Server 2012 have been put into the lib folders and I did restart the BA Server. Any suggestions out there?

Thanks.

Problem with running BI server ce on tomcat

$
0
0
Hi

i have been trying get this work for over a week now and still getting the same error, i am wondering if anyone can help me with this, here is the log file from tomcat

2014-03-12 17:05:08,535 ERROR [org.springframework.web.context.ContextLoader] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'filterChainProxy' defined in file [E:\pentaho\server\biserver-ce\pentaho-solutions\system\applicationContext-spring-security.xml]: Invocation of init method failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'basicProcessingFilter' defined in file [E:\pentaho\server\biserver-ce\pentaho-solutions\system\applicationContext-spring-security.xml]: Cannot resolve reference to bean 'authenticationManager' while setting bean property 'authenticationManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'authenticationManager' defined in file [E:\pentaho\server\biserver-ce\pentaho-solutions\system\applicationContext-spring-security.xml]: Cannot create inner bean 'pen:bean#1ef2708' of type [org.pentaho.platform.engine.core.system.objfac.spring.BeanBuilder] while setting bean property 'providers' with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'pen:bean#1ef2708': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.security.providers.dao.DaoAuthenticationProvider#1' defined in file [E:\pentaho\server\biserver-ce\pentaho-solutions\system\applicationContext-spring-security-jackrabbit.xml]: Cannot create inner bean 'pen:bean#13ccfca' of type [org.pentaho.platform.engine.core.system.objfac.spring.BeanBuilder] while setting bean property 'userDetailsService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'pen:bean#13ccfca': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cachingUserDetailsService' defined in file [E:\pentaho\server\biserver-ce\pentaho-solutions\system\pentahoObjects.spring.xml]: Cannot resolve reference to bean 'UserDetailsService' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'UserDetailsService': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userDetailsService' defined in file [E:\pentaho\server\biserver-ce\pentaho-solutions\system\applicationContext-spring-security-jackrabbit.xml]: Cannot resolve reference to bean 'userRoleDaoTxn' while setting bean property 'userRoleDao'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userRoleDaoTxn' defined in file [E:\pentaho\server\biserver-ce\pentaho-solutions\system\repository.spring.xml]: Cannot resolve reference to bean 'userRoleDao' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userRoleDao' defined in file [E:\pentaho\server\biserver-ce\pentaho-solutions\system\repository.spring.xml]: Cannot resolve reference to bean 'adminJcrTemplate' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'adminJcrTemplate' defined in file [E:\pentaho\server\biserver-ce\pentaho-solutions\system\repository.spring.xml]: Cannot resolve reference to bean 'jcrAdminSessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jcrAdminSessionFactory' defined in file [E:\pentaho\server\biserver-ce\pentaho-solutions\system\repository.spring.xml]: Cannot resolve reference to bean 'jcrRepository' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jcrRepository' defined in file [E:\pentaho\server\biserver-ce\pentaho-solutions\system\repository.spring.xml]: Invocation of init method failed; nested exception is org.apache.jackrabbit.core.config.ConfigurationException: Duplicate configuration element PersistenceManager in Versioning.
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1338)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)

Regards

Exaltra

Pentaho biserver-ce 5 RepositorySynchronizer plugin issue!

$
0
0
Hi All,

I have installed the Pentaho BI-Server CE 5. I have also created new dashboard in it using MDX query. As with CE 5 all the data is stored into JCR and not on file system (as it was with 4.5 etc.) I try installing the plugin RepositorySynchronizer from marketplace. After installation I restart tomcat (pentaho server) and tried to open RepositorySynchronizer plugin, but it gives error like "Check the paths of JCR and File System in prs.xml" which i solved using this: http://redmine.webdetails.org/issues/2961 discussion. So now my prs.xml looks like
<location path="jcr-solution:file:///E:/Suraj/Pentaho/biserver-ce/tomcat/bin/" name="JCR"/>
<location path="E:/Suraj/Pentaho/biserver-ce/pentaho-solutions/system/../repositorySynchronizer" name="File System"/>

As stated, with above settings I can Open the RepositorySynchronizer plugin, but it Shows 0 number of files in all (JCR+filesystem category)

I don't know what exactly is went wrong or I did any wrong configuration! :(

Any help on this issue is much appreciated.
Thanks In advance.
Suraj

(p.s.: My ultimate goal is to bring my work(dashboards) to my local file system)
Viewing all 2893 articles
Browse latest View live


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