Code Monkey home page Code Monkey logo

pentaho-platform's Introduction

pentaho-platform

Overview

This set of modules make up Pentaho's core platform and business analytics server.

api

This module contains common interfaces used by the platform. APIs for the plugin system, repository, security, and many others exist here.

core

This module contains core implementations of platform sub-systems and utility classes.

repository

This module contains the JCR Jackrabbit repository implementation of the pentaho platform

scheduler

This module contains the Quartz based scheduler implementation of the pentaho platform

extensions

This module contains a variety of capabilities used for various purposes within the platform

user-console

This module is a GWT front end for the pentaho platform, allowing users to navigate the repository, execute and schedule content, as well as administer the platform

assemblies

This module creates the Pentaho Server archive and contains the samples and other content needed for the Pentaho Server.

How to build

Pentaho platform uses the maven framework.

Pre-requisites for building the project:

  • Maven, version 3+
  • Java JDK 11
  • This settings.xml in your /.m2 directory

Building it

This is a maven project, and to build it use the following command

mvn clean install

Optionally you can specify -Dmaven.test.skip=true to skip the tests (even though you shouldn't as you know)

The build result will be a Pentaho package located in assemblies/pentaho-server/. Then, this package can be dropped inside your system folder.

Running the tests

Unit tests

This will run all unit tests in the project (and sub-modules). To run integration tests as well, see Integration Tests below.

$ mvn test

If you want to remote debug a single java unit test (default port is 5005):

$ cd core
$ mvn test -Dtest=<<YourTest>> -Dmaven.surefire.debug

Integration tests

In addition to the unit tests, there are integration tests that test cross-module operation. This will run the integration tests.

$ mvn verify -DrunITs

To run a single integration test:

$ mvn verify -DrunITs -Dit.test=<<YourIT>>

To run a single integration test in debug mode (for remote debugging in an IDE) on the default port of 5005:

$ mvn verify -DrunITs -Dit.test=<<YourIT>> -Dmaven.failsafe.debug

To skip test

$ mvn clean install -DskipTests

To get log as text file

$ mvn clean install test >log.txt

IntelliJ

  • Don't use IntelliJ's built-in maven. Make it use the same one you use from the commandline.
    • Project Preferences -> Build, Execution, Deployment -> Build Tools -> Maven ==> Maven home directory
For issue tracking and bug report please use
[Jira](http://jira.pentaho.com/browse/biserver). Its master branch is built upon commit
merges in [Jenkins Continuous Integration](http://ci.pentaho.com/job/BISERVER-CE/)

pentaho-platform's People

Contributors

aliaksandrdrebenchuk avatar angelo-rodriguez avatar bcostahitachivantara avatar brendan-lynch avatar bytekast avatar dcleao avatar ddiroma avatar e-cuellar avatar jeffreythomas avatar kolinus avatar krivera-pentaho avatar lucboudreau avatar mchen-len-son avatar mdamour1976 avatar mkambol avatar pamval avatar pedrofvteixeira avatar pentaho-nbaker avatar pentaho-skarmali avatar pentaho-tband avatar peterrinehart avatar pminutillo avatar renato-s avatar rfellows avatar rmansoor avatar sailingscally avatar smmribeiro avatar tkafalas avatar wseyler avatar yuryby avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pentaho-platform's Issues

Extract data error

HI,how can i do this error?
01:35:10,135 ERROR [BlueprintContainerImpl] Unable to start blueprint container for bundle org.apache.karaf.features.core due to unresolved dependencies [(&(url.handler.protocol=mvn)(objectClass=org.osgi.service.url.URLStreamHandlerService))]
java.util.concurrent.TimeoutException
at org.apache.aries.blueprint.container.BlueprintContainerImpl$1.run(BlueprintContainerImpl.java:336)
at org.apache.aries.blueprint.utils.threading.impl.DiscardableRunnable.run(DiscardableRunnable.java:48)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
01:35:10,516 ERROR [BlueprintContainerImpl] Unable to start blueprint container for bundle org.apache.karaf.features.command due to unresolved dependencies [(objectClass=org.apache.karaf.features.FeaturesService)]
java.util.concurrent.TimeoutException
at org.apache.aries.blueprint.container.BlueprintContainerImpl$1.run(BlueprintContainerImpl.java:336)
at org.apache.aries.blueprint.utils.threading.impl.DiscardableRunnable.run(DiscardableRunnable.java:48)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
01:35:10,845 ERROR [BlueprintContainerImpl] Unable to start blueprint container for bundle org.apache.karaf.kar.core due to unresolved dependencies [(objectClass=org.apache.karaf.features.FeaturesService)]
java.util.concurrent.TimeoutException
at org.apache.aries.blueprint.container.BlueprintContainerImpl$1.run(BlueprintContainerImpl.java:336)
at org.apache.aries.blueprint.utils.threading.impl.DiscardableRunnable.run(DiscardableRunnable.java:48)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
01:35:10,851 ERROR [BlueprintContainerImpl] Unable to start blueprint container for bundle org.apache.karaf.kar.command due to unresolved dependencies [(&(name=installedRepoNameCompleter)(objectClass=org.apache.karaf.shell.console.Completer)), (objectClass=org.apache.karaf.kar.KarService)]
java.util.concurrent.TimeoutException
at org.apache.aries.blueprint.container.BlueprintContainerImpl$1.run(BlueprintContainerImpl.java:336)
at org.apache.aries.blueprint.utils.threading.impl.DiscardableRunnable.run(DiscardableRunnable.java:48)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
01:35:14,797 ERROR [BlueprintContainerImpl] Unable to start blueprint container for bundle pentaho-marketplace-di due to unresolved dependencies [(objectClass=org.apache.karaf.kar.KarService), (objectClass=org.apache.karaf.features.FeaturesService)]
java.util.concurrent.TimeoutException
at org.apache.aries.blueprint.container.BlueprintContainerImpl$1.run(BlueprintContainerImpl.java:336)
at org.apache.aries.blueprint.utils.threading.impl.DiscardableRunnable.run(DiscardableRunnable.java:48)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)

User/Role List could not be obtained: after installation

Hi,

I'm just installing Pentaho Server 8.1 (Archive Installation) CE in a virtual machine Ubuntu 16.04.2 LTS, Java 8 and MySQL 5.7
I have been using the manual of Home - Pentaho Documentation https://help.pentaho.com/Documentation/8.1/Setup/Installation/Archive and when start Pentaho Server (/home/pentaho/pentaho/server/pentaho-server/start-pentaho.sh) it gives me several errors:

11:12:04,843 ERROR [CompositeUserRoleListService] User/Role List could not be obtained. java.lang.IllegalStateException: Target of Bean was never resolved: org.springframework.security.core.userdetails.UserDetailsService at org.pentaho.platform.engine.core.system.objfac.spring.BeanBuilder$1.invoke(BeanBuilder.java:159) at com.sun.proxy.$Proxy84.loadUserByUsername(Unknown Source) at org.pentaho.platform.plugin.services.security.userrole.ChainedUserDetailsService.loadUserByUsername(ChainedUserDetailsService.java:50) at org.pentaho.platform.plugin.services.security.userrole.PentahoCachingUserDetailsService.loadUserByUsername(PentahoCachingUserDetailsService.java:77) at org.pentaho.platform.security.userroledao.service.UserRoleDaoUserRoleListService.getRolesForUser(UserRoleDaoUserRoleListService.java:146) at org.pentaho.platform.plugin.services.security.userrole.ExtraRolesUserRoleListServiceDecorator.getRolesForUser(ExtraRolesUserRoleListServiceDecorator.java:116) at org.pentaho.platform.plugin.services.security.userrole.CompositeUserRoleListService$7.perform(CompositeUserRoleListService.java:125) at org.pentaho.platform.plugin.services.security.userrole.CompositeUserRoleListService.collectResultsForOperation(CompositeUserRoleListService.java:134) at org.pentaho.platform.plugin.services.security.userrole.CompositeUserRoleListService.getRolesForUser(CompositeUserRoleListService.java:123) at org.pentaho.platform.engine.security.SecurityHelper.createAuthentication(SecurityHelper.java:354) at org.pentaho.platform.engine.security.SecurityHelper.runAsSystem(SecurityHelper.java:417) at pt.webdetails.cpf.repository.pentaho.unified.PluginRepositoryResourceAccess.getSystemAccessRepository(PluginRepositoryResourceAccess.java:48) at pt.webdetails.cpf.repository.pentaho.unified.PluginRepositoryResourceAccess.getRepository(PluginRepositoryResourceAccess.java:65) at pt.webdetails.cpf.repository.pentaho.unified.UnifiedRepositoryAccess.getRepositoryFile(UnifiedRepositoryAccess.java:132) at pt.webdetails.cpf.repository.pentaho.unified.UnifiedRepositoryAccess.fileExists(UnifiedRepositoryAccess.java:62) at pt.webdetails.cdf.dd.extapi.FileHandler.createBasicDirIfNotExists(FileHandler.java:144) at pt.webdetails.cdf.dd.CdeEngine.ensureDirExists(CdeEngine.java:121) at pt.webdetails.cdf.dd.CdeEngine.ensureBasicDirs(CdeEngine.java:66) at pt.webdetails.cdf.dd.CdeLifeCycleListener.ready(CdeLifeCycleListener.java:39) at org.pentaho.platform.web.http.context.PentahoSystemReadyListener.contextInitialized(PentahoSystemReadyListener.java:56) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4745) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5207) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:752) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:728) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1141) at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1875) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748)
I've gone over and over again the configuration of MySQL, jackrabbit, quartz and hibernate and everything is correct. I can enter each of the schemes (jackrabbit, quartz and hibernate) created with the created users.

In http://localhost:8080/pentaho/Login I try to login, but it gives me this error:
12:12:05,315 ERROR [UsernamePasswordAuthenticationFilter] An internal error occurred while trying to authenticate the user. org.springframework.security.authentication.InternalAuthenticationServiceException: Target of Bean was never resolved: org.springframework.security.core.userdetails.UserDetailsService at org.springframework.security.authentication.dao.DaoAuthenticationProvider.retrieveUser(DaoAuthenticationProvider.java:126) at org.springframework.security.authentication.dao.AbstractUserDetailsAuthenticationProvider.authenticate(AbstractUserDetailsAuthenticationProvider.java:144) at org.springframework.security.authentication.ProviderManager.authenticate(ProviderManager.java:174) at org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter.attemptAuthentication(UsernamePasswordAuthenticationFilter.java:94) at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:212) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331) at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:121) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331) at org.pentaho.platform.web.http.security.HttpSessionReuseDetectionFilter.doFilter(HttpSessionReuseDetectionFilter.java:136) 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:276) 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:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.pentaho.platform.web.http.filters.SystemStatusFilter.doFilter(SystemStatusFilter.java:58) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.pentaho.platform.web.http.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.pentaho.platform.web.http.filters.WebappRootForwardingFilter.doFilter(WebappRootForwardingFilter.java:73) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.pentaho.platform.web.http.filters.PentahoPathDecodingFilter.doFilter(PentahoPathDecodingFilter.java:54) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:504) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81) at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:650) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:803) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:790) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1459) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) 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.lang.IllegalStateException: Target of Bean was never resolved: org.springframework.security.core.userdetails.UserDetailsService at org.pentaho.platform.engine.core.system.objfac.spring.BeanBuilder$1.invoke(BeanBuilder.java:159) at com.sun.proxy.$Proxy84.loadUserByUsername(Unknown Source) at org.pentaho.platform.plugin.services.security.userrole.ChainedUserDetailsService.loadUserByUsername(ChainedUserDetailsService.java:50) at org.pentaho.platform.plugin.services.security.userrole.PentahoCachingUserDetailsService.loadUserByUsername(PentahoCachingUserDetailsService.java:77) at org.springframework.security.authentication.dao.DaoAuthenticationProvider.retrieveUser(DaoAuthenticationProvider.java:114) ... 50 more
I attach the file catalina.log in a TXT
catalina.txt

Thanks!!

Hardcoded values in 'UserRolesAdminPanelController' breaking SAML plugin

Version of Pentaho: 9.1.0.0
Platform: Linux (CentOS)

Hello,

In my team we're trying to configure the Pentaho SAML plugin to use SAML both for authentication and authorization. We've already been using the SAML authentication feature for a long time, in hybrid mode with authorization provided by LDAP. But now we're trying to configure the plugin to use SAML also for authorization.

In lack of documentation for this type of setup, we have been looking into the configuration file pentaho.saml.cfg - deployed in the context of the SAML plugin under pentaho-server/pentaho-solutions/system/karaf/etc/pentaho.saml.cfg. We assume that this should be the single point to configure SAML. Here are the fields that we configure:

  • authorization.provider=saml - This is the field we would set to ldap in the past.
  • saml.role.related.user.attribute.name=***

Using these, it seems that the plugin should be prepared to handle our use case. Following this approach, we can successfully login to the User Console with Administrator rights (we can see the Administration panel). But if we access the list of roles and privileges in the administration panel, the list of "Managed roles" is empty (as for the "System roles", we can see Authenticated and Anonymous), and we cannot add any role manually through that interface. Specifically, not even the "Administrator" default role is showing. We need a way to define a list of roles and assign them appropriate privileges.

This issue is already described in the pentaho-engineering-samples repository: pentaho/pentaho-engineering-samples#106 . The author of that issue suspects that the issue might be related to the hardcoded values in the UserRolesAdminPanelController.java file which seems to disable the roles list visibility if the used security provider is any other than super or jackrabbit :

usingPentahoSecurity = resText.contains( "\"jackrabbit\"" ) || resText.contains( "\"super\"" );

private void processLDAPOrJDBCmode() {
    final String url = GWT.getHostPageBaseURL() + "api/system/authentication-provider";
    RequestBuilder executableTypesRequestBuilder = new RequestBuilder( RequestBuilder.GET, url );
    executableTypesRequestBuilder.setHeader( "If-Modified-Since", "01 Jan 1970 00:00:00 GMT" );
    executableTypesRequestBuilder.setHeader( "accept", "application/json" );
    try {
      executableTypesRequestBuilder.sendRequest( null, new RequestCallback() {

        public void onError( Request request, Throwable exception ) {
        }

        public void onResponseReceived( Request request, Response response ) {
          String resText = response.getText();
          usingPentahoSecurity = resText.contains( "\"jackrabbit\"" ) || resText.contains( "\"super\"" );
          userRolePermissions( usingPentahoSecurity );
        }
      } );
    } catch ( RequestException e ) {
      userRolePermissions( false );
    }
  }

Could the issue be actually related to the mentioned hardcoded values? Are there any plans to fix this to support the SAML plugin's authorization capability?

Thank you in advance!

Known Security Vulnerabilities to be fixed

Hello,
version 9.0 (and uppers) of Pentaho has few known CVEs (Common Vulnerabilities and Exposures) due to its dependencies.

Is possible to fix those security issues by updating the versions reported below?

Apache Axis2/Java

Apache Log4j - log4j

jackson-databind

karaf

org.apache.xmlgraphics:batik-bridge

wrong smtp ssl config property

Hi,

In org.pentaho.platform.util.Emailer line 171, the property "mail.smtp.ssl" should be "mail.smtp.ssl.enable"? Otherwise the default non-ssl will always be applied.

Dependency org.apache.httpcomponents:httpclient, leading to CVE problem

Hi, in repository/, there is a dependency org.apache.httpcomponents:httpclient:4.5.9 that calls the risk method.

CVE-2020-13956

The scope of this CVE affected version is [,4.5.13)

After further analysis, in this project, the main Api called is org.apache.http.client.utils.URIUtils: extractHost(java.net.URI)Lorg.apache.http.HttpHost

Risk method repair link : GitHub

CVE Bug Invocation Path--

Path Length : 6

org.pentaho.platform.repository2.unified.jcr.JcrAclNodeHelper: setAclFor(org.pentaho.platform.api.repository2.unified.RepositoryFile,org.pentaho.platform.api.repository2.unified.RepositoryFileAcl) .m2/repository/com/sun/jersey/jersey-servlet/1.19.1/jersey-servlet-1.19.1.jar
org.pentaho.platform.engine.security.SecurityHelper: runAsSystem(java.util.concurrent.Callable)Ljava.lang.Object; .m2/repository/org/springframework/ldap/spring-ldap-core/2.3.2.RELEASE/spring-ldap-core-2.3.2.RELEASE.jar
org.apache.http.impl.client.HttpRequestTaskCallable: call()Ljava.lang.Object; .m2/repository/org/netbeans/mof/200507110943/mof-200507110943.jar
org.apache.http.impl.client.DecompressingHttpClient: execute(org.apache.http.client.methods.HttpUriRequest,org.apache.http.client.ResponseHandler,org.apache.http.protocol.HttpContext)Ljava.lang.Object; .m2/repository/org/netbeans/mof/200507110943/mof-200507110943.jar
org.apache.http.impl.client.DecompressingHttpClient: getHttpHost(org.apache.http.client.methods.HttpUriRequest)Lorg.apache.http.HttpHost; .m2/repository/org/netbeans/mof/200507110943/mof-200507110943.jar
org.apache.http.client.utils.URIUtils: extractHost(java.net.URI)Lorg.apache.http.HttpHost;

Dependency tree--

[INFO] pentaho:pentaho-platform-repository:jar:9.5.0.0-SNAPSHOT
[INFO] +- commons-cli:commons-cli:jar:1.2:compile
[INFO] +- commons-collections:commons-collections:jar:3.2.2:compile
[INFO] +- commons-dbcp:commons-dbcp:jar:1.4:compile
[INFO] +- commons-pool:commons-pool:jar:1.5.7:compile
[INFO] +- commons-io:commons-io:jar:2.11.0:compile
[INFO] +- commons-lang:commons-lang:jar:2.4:compile
[INFO] +- commons-logging:commons-logging:jar:1.2:compile
[INFO] +- org.apache.commons:commons-vfs2:jar:2.7.0:compile
[INFO] +- org.aspectj:aspectjrt:jar:1.6.6:compile
[INFO] +- javax.jcr:jcr:jar:2.0:compile
[INFO] +- javax.servlet:javax.servlet-api:jar:4.0.1:compile
[INFO] +- com.sun.mail:javax.mail:jar:1.6.1:compile
[INFO] +- org.apache.logging.log4j:log4j-core:jar:2.17.1:compile
[INFO] +- org.apache.logging.log4j:log4j-api:jar:2.17.1:compile
[INFO] +- cglib:cglib-nodep:jar:2.2:compile
[INFO] +- com.google.guava:guava:jar:17.0:compile
[INFO] +- org.yaml:snakeyaml:jar:1.7:compile
[INFO] +- javax.ws.rs:jsr311-api:jar:1.1.1:compile
[INFO] +- com.sun.jersey.contribs:jersey-multipart:jar:1.19.1:compile
[INFO] +- org.jvnet.mimepull:mimepull:jar:1.9.3:compile
[INFO] +- com.sun.jersey.contribs:jersey-apache-client:jar:1.19.1:compile
[INFO] +- com.sun.jersey.contribs:jersey-spring:jar:1.19.1:compile
[INFO] +- com.sun.jersey:jersey-core:jar:1.19.1:compile
[INFO] +- com.sun.jersey:jersey-json:jar:1.19.1:compile
[INFO] +- org.codehaus.jettison:jettison:jar:1.1:compile
[INFO] +- javax.xml.bind:jaxb-api:jar:2.2.2:compile
[INFO] +- javax.xml.stream:stax-api:jar:1.0-2:compile
[INFO] +- javax.activation:activation:jar:1.1:compile
[INFO] +- com.sun.jersey:jersey-client:jar:1.19.1:compile
[INFO] +- com.sun.jersey:jersey-server:jar:1.19.1:compile
[INFO] +- com.sun.jersey:jersey-servlet:jar:1.19.1:compile
[INFO] +- org.glassfish.metro:webservices-api:jar:2.3.1:compile
[INFO] +- org.glassfish.metro:webservices-rt:jar:2.3.1:compile
[INFO] +- com.google.gwt:gwt-servlet:jar:2.9.0:compile
[INFO] +- org.hibernate:hibernate-core:jar:3.6.9.Final:compile
[INFO] +- org.hibernate:hibernate-ehcache:jar:3.6.0.Final:compile
[INFO] +- org.antlr:antlr-complete:jar:3.5.2:compile
[INFO] +- org.ow2.asm:asm:jar:7.1:compile
[INFO] +- asm:asm-attrs:jar:2.2.3:compile
[INFO] +- javax.transaction:jta:jar:1.1:compile
[INFO] +- net.sf.ehcache:ehcache-core:jar:2.5.1:compile
[INFO] +- cglib:cglib:jar:2.2:compile
[INFO] +- org.apache.jackrabbit:jackrabbit-core:jar:2.16.5:compile
[INFO] |  +- org.apache.jackrabbit:jackrabbit-data:jar:2.16.5:compile
[INFO] |  +- org.apache.tika:tika-core:jar:1.22:compile
[INFO] |  \- org.slf4j:jcl-over-slf4j:jar:1.7.26:compile
[INFO] +- pentaho:pentaho-concurrent:jar:1.0.0:compile
[INFO] +- org.apache.jackrabbit:jackrabbit-api:jar:2.16.5:compile
[INFO] |  \- org.jetbrains:annotations:jar:16.0.3:compile
[INFO] +- org.apache.jackrabbit:jackrabbit-spi:jar:2.16.5:compile
[INFO] +- org.apache.jackrabbit:jackrabbit-spi-commons:jar:2.16.5:compile
[INFO] +- org.apache.jackrabbit:jackrabbit-jcr-commons:jar:2.16.5:compile
[INFO] +- org.springframework:se-jcr:jar:0.9:compile
[INFO] +- org.springframework:spring-beans:jar:5.3.23:compile
[INFO] +- org.springframework:spring-context:jar:5.3.23:compile
[INFO] +- org.springframework:spring-core:jar:5.3.23:compile
[INFO] +- org.springframework.webflow:spring-binding:jar:2.4.8.RELEASE:compile
[INFO] |  \- org.springframework:spring-expression:jar:5.3.23:compile
[INFO] +- org.springframework.security:spring-security-core:jar:5.4.2:compile
[INFO] +- aopalliance:aopalliance:jar:1.0:compile
[INFO] +- org.apache.derby:derby:jar:10.14.2.0:compile
[INFO] +- org.fontbox:fontbox:jar:0.1.0:compile
[INFO] +- org.jempbox:jempbox:jar:0.2.0:compile
[INFO] +- org.apache.lucene:lucene-core:jar:3.6.0:compile
[INFO] +- net.sourceforge.nekohtml:nekohtml:jar:1.9.15:compile
[INFO] +- org.apache.poi:poi:jar:4.1.1:compile
[INFO] +- org.apache.poi:poi-scratchpad:jar:4.1.1:compile
[INFO] +- org.apache.commons:commons-collections4:jar:4.4:compile
[INFO] +- commons-codec:commons-codec:jar:1.15:compile
[INFO] +- org.apache.commons:commons-math3:jar:3.6.1:compile
[INFO] +- com.github.virtuald:curvesapi:jar:1.06:compile
[INFO] +- org.apache.commons:commons-compress:jar:1.20:compile
[INFO] +- org.slf4j:slf4j-api:jar:1.7.12:compile
[INFO] +- xml-apis:xml-apis:jar:1.4.01:compile
[INFO] +- jaxen:jaxen:jar:1.1.6:compile
[INFO] +- org.pentaho:pentaho-vfs:jar:1.0:compile
[INFO] +- pentaho:pentaho-connections:jar:9.5.0.0-SNAPSHOT:compile
[INFO] |  +- jakarta.xml.bind:jakarta.xml.bind-api:jar:2.3.3:compile
[INFO] |  |  \- jakarta.activation:jakarta.activation-api:jar:1.2.2:compile
[INFO] |  +- com.sun.activation:jakarta.activation:jar:1.2.2:compile
[INFO] |  \- org.dom4j:dom4j:jar:2.1.1:compile
[INFO] +- org.pentaho:pentaho-metadata:jar:9.5.0.0-SNAPSHOT:compile
[INFO] |  +- joda-time:joda-time:jar:2.10.2:compile
[INFO] |  +- commons-math:commons-math:jar:1.1:compile
[INFO] |  +- org.apache.httpcomponents:httpclient:jar:4.5.9:compile
[INFO] |  +- org.apache.httpcomponents:httpcore:jar:4.4.11:compile
[INFO] |  +- com.thoughtworks.xstream:xstream:jar:1.4.19:compile
[INFO] |  |  \- io.github.x-stream:mxparser:jar:1.2.2:compile
[INFO] |  |     \- xmlpull:xmlpull:jar:1.1.3.1:compile
[INFO] |  +- org.netbeans:jmi:jar:200507110943:compile
[INFO] |  +- org.netbeans:mdrapi:jar:200507110943:compile
[INFO] |  +- org.netbeans:mof:jar:200507110943:compile
[INFO] |  +- org.netbeans:nbmdr:jar:200507110943-custom:compile
[INFO] |  +- pentaho-kettle:kettle-engine:jar:9.5.0.0-SNAPSHOT:compile
[INFO] |  +- pentaho-kettle:kettle-core:jar:9.5.0.0-SNAPSHOT:compile
[INFO] |  +- pentaho:pentaho-cwm:jar:1.5.4:compile
[INFO] |  |  +- org.netbeans:jmiutils:jar:200507110943:compile
[INFO] |  |  \- org.netbeans:openide-util:jar:200507110943:compile
[INFO] |  +- org.pentaho.reporting.library:libformula:jar:9.5.0.0-SNAPSHOT:compile
[INFO] |  \- org.pentaho.reporting.library:libbase:jar:9.5.0.0-SNAPSHOT:compile
[INFO] +- pentaho:pentaho-platform-api:jar:9.5.0.0-SNAPSHOT:compile
[INFO] |  +- org.pentaho:actionsequence-dom:jar:9.5.0.0-SNAPSHOT:compile
[INFO] |  +- org.pentaho:commons-xul-core:jar:9.5.0.0-SNAPSHOT:compile
[INFO] |  +- org.pentaho:commons-database-model:jar:9.5.0.0-SNAPSHOT:compile
[INFO] |  \- pentaho:pentaho-service-coordinator:jar:9.5.0.0-SNAPSHOT:compile
[INFO] +- pentaho:pentaho-platform-core:jar:9.5.0.0-SNAPSHOT:compile
[INFO] |  +- org.apache.xmlgraphics:batik-awt-util:jar:1.9.1:compile
[INFO] |  +- org.apache.xmlgraphics:batik-dom:jar:1.9.1:compile
[INFO] |  +- org.apache.xmlgraphics:batik-svggen:jar:1.9.1:compile
[INFO] |  +- commons-beanutils:commons-beanutils:jar:1.9.3:compile
[INFO] |  +- jfree:jcommon:jar:1.0.14:compile
[INFO] |  +- jfree:jfreechart:jar:1.0.13:compile
[INFO] |  +- org.springframework:spring-jdbc:jar:5.3.23:compile
[INFO] |  +- org.springframework:spring-aop:jar:5.3.23:compile
[INFO] |  +- org.springframework.security:spring-security-ldap:jar:5.4.2:compile
[INFO] |  +- org.springframework.ldap:spring-ldap-core:jar:2.3.2.RELEASE:compile
[INFO] |  +- org.hibernate:hibernate-commons-annotations:jar:3.2.0.Final:compile
[INFO] |  +- org.hibernate.javax.persistence:hibernate-jpa-2.0-api:jar:1.0.1.Final:compile
[INFO] |  +- rhino:js:jar:1.7R1:compile
[INFO] |  \- pentaho:pentaho-versionchecker:jar:9.5.0.0-SNAPSHOT:compile
[INFO] +- org.javassist:javassist:jar:3.20.0-GA:compile
[INFO] +- org.osgi:org.osgi.core:jar:6.0.0:test
[INFO] +- pentaho:pentaho-platform-core:jar:tests:9.5.0.0-SNAPSHOT:test
[INFO] +- org.hamcrest:hamcrest-core:jar:2.2:test
[INFO] |  \- org.hamcrest:hamcrest:jar:2.2:test
[INFO] +- org.hamcrest:hamcrest-library:jar:2.2:test
[INFO] +- junit:junit:jar:4.12:test
[INFO] +- org.mockito:mockito-core:jar:4.0.0:test
[INFO] |  +- net.bytebuddy:byte-buddy:jar:1.11.19:test
[INFO] |  +- net.bytebuddy:byte-buddy-agent:jar:1.11.19:test
[INFO] |  \- org.objenesis:objenesis:jar:3.2:test
[INFO] +- org.mockito:mockito-inline:jar:4.0.0:test
[INFO] +- hsqldb:hsqldb:jar:1.8.0.7:test
[INFO] +- org.springframework:spring-test:jar:5.3.23:test
[INFO] +- com.jayway.jsonpath:json-path:jar:0.8.1:test
[INFO] |  \- net.minidev:json-smart:jar:1.1.1:test
[INFO] +- javax.persistence:persistence-api:jar:1.0:test
[INFO] +- javax.portlet:portlet-api:jar:2.0:test
[INFO] +- javax.servlet.jsp:jsp-api:jar:2.1:test
[INFO] +- javax.servlet:servlet-api:jar:2.5:test
[INFO] +- org.aspectj:aspectjweaver:jar:1.7.2:test
[INFO] +- org.springframework:spring-tx:jar:5.3.23:compile
[INFO] +- org.testng:testng:jar:6.5.2:test
[INFO] |  +- org.beanshell:bsh:jar:2.0b4:test
[INFO] |  \- com.beust:jcommander:jar:1.12:test
[INFO] +- xmlunit:xmlunit:jar:1.3:test
[INFO] +- javax.inject:javax.inject:jar:1:test
[INFO] +- pentaho:simple-jndi:jar:1.0.10:test
[INFO] +- org.quartz-scheduler:quartz:jar:1.7.2:compile
[INFO] +- com.sun.jersey.jersey-test-framework:jersey-test-framework-core:jar:1.19.1:test
[INFO] +- com.h2database:h2:jar:2.1.210:compile
[INFO] \- pentaho-kettle:kettle-core:jar:tests:9.5.0.0-SNAPSHOT:test
[INFO]    +- pentaho:metastore:jar:9.5.0.0-SNAPSHOT:compile
[INFO]    +- org.owasp.encoder:encoder:jar:1.2:compile
[INFO]    +- org.apache.xmlgraphics:batik-bridge:jar:1.9.1:compile
[INFO]    +- org.apache.xmlgraphics:batik-css:jar:1.9.1:compile
[INFO]    +- org.apache.xmlgraphics:batik-gvt:jar:1.9.1:compile
[INFO]    +- org.apache.xmlgraphics:batik-svg-dom:jar:1.9.1:compile
[INFO]    +- org.apache.xmlgraphics:batik-transcoder:jar:1.9.1:compile
[INFO]    +- org.apache.xmlgraphics:batik-codec:jar:1.9.1:compile
[INFO]    +- org.apache.xmlgraphics:batik-util:jar:1.9.1:compile
[INFO]    +- org.apache.xmlgraphics:batik-ext:jar:1.9.1:compile
[INFO]    +- org.apache.xmlgraphics:batik-xml:jar:1.9.1:compile
[INFO]    +- org.apache.xmlgraphics:batik-anim:jar:1.9.1:compile
[INFO]    +- org.apache.xmlgraphics:batik-parser:jar:1.9.1:compile
[INFO]    +- org.apache.xmlgraphics:batik-script:jar:1.9.1:compile
[INFO]    +- org.apache.xmlgraphics:batik-constants:jar:1.9.1:compile
[INFO]    +- org.apache.xmlgraphics:batik-i18n:jar:1.9.1:compile
[INFO]    +- xml-apis:xml-apis-ext:jar:1.3.04:compile
[INFO]    +- org.eclipse.jetty:jetty-util:jar:9.4.18.v20190429:compile
[INFO]    +- jug-lgpl:jug-lgpl:jar:2.0.0:compile
[INFO]    +- com.jcraft:jsch:jar:0.1.54:compile
[INFO]    +- com.jcraft:jzlib:jar:1.0.7:compile
[INFO]    +- ognl:ognl:jar:2.6.9:compile
[INFO]    +- net.sf.scannotation:scannotation:jar:1.0.2:compile
[INFO]    +- com.wcohen:com.wcohen.secondstring:jar:0.1:compile
[INFO]    +- org.samba.jcifs:jcifs:jar:1.3.3:compile
[INFO]    +- org.apache.tomcat:tomcat-jdbc:jar:8.5.27:compile
[INFO]    |  \- org.apache.tomcat:tomcat-juli:jar:8.5.27:compile
[INFO]    \- org.pentaho:pentaho-encryption-support:jar:9.5.0.0-SNAPSHOT:compile

Suggested solutions:

Please update <httpclient.version>4.5.9</httpclient.version> to 4.5.13 in file pom.xml of project
pantaho / maven-parent-poms to solve the problem.

Thank you very much.

Output the Excel format report in Pentaho Server CE, the borders setting of the subreport is invalid

Output the Excel format report in Pentaho Server. If there is a neutron report in the report, the borders setting of the subreport is invalid and the background may be invalid.
TIM截图20190827154148
output HTML is OK

TIM截图20190827154255
output Excel

TIM截图20190827154349
open output Excel file, the borders setting of the subreport is invalid.

TIM截图20190827154434
subreport

TIM截图20190827154717
prpt setting

The version used is pentaho-server-ce-8.2.0.0-342 and prd-ce-8.2.0.0-342.

I don't know if it's my use or if it's a bug.

Please help me with your reply, thank you very much.

license clarification

You state and include the regular GPL v2 as the license for this project, yet I found a note about a FLOSS exception on this page http://community.pentaho.com/faq/platform_licensing.php with a link to this page: http://www.pentaho.com/license/FLOSS/FLOSS.php

If the FLOSS exception still applies, shouldn't that be included with the license itself in the source code, as well as stated in the GPL headers at the file level?

I also noticed some files are under LGPL v2.1 - does this apply to entire directories, and if so, is it possible to state what directories are under LGPL v2.1 affirmatively at the top level directory?

Thanks

How to connect RethinkDB with Pentaho Data Integration

I want to connect Rethinkdb from Pentaho Data Integration ETL tool... I tried to copy jar file of Rethinkdb in pentaho/mypath/pdi-ce-8.0/data-integration/lib folder.. but Rethinkdb is not displaying in connection type of pentaho data integration.

Resolve Error on building pentaho platform


|                  |            modules            ||   artifacts   |
|       conf       | number| search|dwnlded|evicted|| number|dwnlded|
---------------------------------------------------------------------
|      default     |  566  |  293  |  289  |  131  ||  441  |  281  |
---------------------------------------------------------------------

[ivy:resolve] :: problems summary ::
[ivy:resolve] :::: WARNINGS
[ivy:resolve] [NOT FOUND ] pentaho-library#libbase;7.0-SNAPSHOT!libbase.jar(source) (2234ms)
[ivy:resolve] ==== pentaho-ivy: tried
[ivy:resolve] ==== pentaho-mvn: tried
[ivy:resolve] http://nexus.pentaho.org/content/groups/omni/pentaho-library/libbase/7.0-SNAPSHOT/libbase-7.0-20160922.022144-696-sources.jar
[ivy:resolve] http://nexus.pentaho.org/content/groups/omni/pentaho-library/libbase/7.0-SNAPSHOT/libbase-7.0-SNAPSHOT-sources.jar
[ivy:resolve] [NOT FOUND ] pentaho-library#libformula;7.0-SNAPSHOT!libformula.jar(source) (2358ms)
[ivy:resolve] ==== pentaho-ivy: tried
[ivy:resolve] ==== pentaho-mvn: tried
[ivy:resolve] http://nexus.pentaho.org/content/groups/omni/pentaho-library/libformula/7.0-SNAPSHOT/libformula-7.0-20160922.022709-675-sources.jar
[ivy:resolve] http://nexus.pentaho.org/content/groups/omni/pentaho-library/libformula/7.0-SNAPSHOT/libformula-7.0-SNAPSHOT-sources.jar
[ivy:resolve] [NOT FOUND ] pentaho#pentaho-versionchecker;7.0-SNAPSHOT!pentaho-versionchecker.jar(source) (2386ms)
[ivy:resolve] ==== pentaho-ivy: tried
[ivy:resolve] ==== pentaho-mvn: tried
[ivy:resolve] http://nexus.pentaho.org/content/groups/omni/pentaho/pentaho-versionchecker/7.0-SNAPSHOT/pentaho-versionchecker-7.0-20160922.022143-669-sources.jar
[ivy:resolve] http://nexus.pentaho.org/content/groups/omni/pentaho/pentaho-versionchecker/7.0-SNAPSHOT/pentaho-versionchecker-7.0-SNAPSHOT-sources.jar
[ivy:resolve] [NOT FOUND ] pentaho#pentaho-actionsequence-dom;7.0-SNAPSHOT!pentaho-actionsequence-dom.jar(source) (2539ms)
[ivy:resolve] ==== pentaho-ivy: tried
[ivy:resolve] ==== pentaho-mvn: tried
[ivy:resolve] http://nexus.pentaho.org/content/groups/omni/pentaho/pentaho-actionsequence-dom/7.0-SNAPSHOT/pentaho-actionsequence-dom-7.0-20160922.031013-648-sources.jar
[ivy:resolve] http://nexus.pentaho.org/content/groups/omni/pentaho/pentaho-actionsequence-dom/7.0-SNAPSHOT/pentaho-actionsequence-dom-7.0-SNAPSHOT-sources.jar
[ivy:resolve] [NOT FOUND ] pentaho#pentaho-metadata;7.0-SNAPSHOT!pentaho-metadata.jar(source) (2339ms)
[ivy:resolve] ==== pentaho-ivy: tried
[ivy:resolve] ==== pentaho-mvn: tried
[ivy:resolve] http://nexus.pentaho.org/content/groups/omni/pentaho/pentaho-metadata/7.0-SNAPSHOT/pentaho-metadata-7.0-20160922.041145-678-sources.jar
[ivy:resolve] http://nexus.pentaho.org/content/groups/omni/pentaho/pentaho-metadata/7.0-SNAPSHOT/pentaho-metadata-7.0-SNAPSHOT-sources.jar
[ivy:resolve] [NOT FOUND ] pentaho#pentaho-platform-api;7.0-SNAPSHOT!pentaho-platform-api.jar(source) (2506ms)
[ivy:resolve] ==== pentaho-ivy: tried
[ivy:resolve] ==== pentaho-mvn: tried
[ivy:resolve] http://nexus.pentaho.org/content/groups/omni/pentaho/pentaho-platform-api/7.0-SNAPSHOT/pentaho-platform-api-7.0-20160922.052614-1107-sources.jar
[ivy:resolve] http://nexus.pentaho.org/content/groups/omni/pentaho/pentaho-platform-api/7.0-SNAPSHOT/pentaho-platform-api-7.0-SNAPSHOT-sources.jar
[ivy:resolve] [NOT FOUND ] pentaho#pentaho-platform-core;7.0-SNAPSHOT!pentaho-platform-core.jar(source) (3228ms)
[ivy:resolve] ==== pentaho-ivy: tried
[ivy:resolve] ==== pentaho-mvn: tried
[ivy:resolve] http://nexus.pentaho.org/content/groups/omni/pentaho/pentaho-platform-core/7.0-SNAPSHOT/pentaho-platform-core-7.0-20160922.053130-1160-sources.jar
[ivy:resolve] http://nexus.pentaho.org/content/groups/omni/pentaho/pentaho-platform-core/7.0-SNAPSHOT/pentaho-platform-core-7.0-SNAPSHOT-sources.jar
[ivy:resolve] [NOT FOUND ] org.apache.jackrabbit#jackrabbit-jca;1.5.4!jackrabbit-jca.rar (0ms)
[ivy:resolve] ==== pentaho-mvn: tried
[ivy:resolve] http://nexus.pentaho.org/content/groups/omni/org/apache/jackrabbit/jackrabbit-jca/1.5.4/jackrabbit-jca-1.5.4.rar
[ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve] :: FAILED DOWNLOADS ::
[ivy:resolve] :: ^ see resolution messages for details ^ ::
[ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve] :: org.apache.jackrabbit#jackrabbit-jca;1.5.4!jackrabbit-jca.rar
[ivy:resolve] :: pentaho-library#libbase;7.0-SNAPSHOT!libbase.jar(source)
[ivy:resolve] :: pentaho#pentaho-metadata;7.0-SNAPSHOT!pentaho-metadata.jar(source)
[ivy:resolve] :: pentaho-library#libformula;7.0-SNAPSHOT!libformula.jar(source)
[ivy:resolve] :: pentaho#pentaho-versionchecker;7.0-SNAPSHOT!pentaho-versionchecker.jar(source)
[ivy:resolve] :: pentaho#pentaho-actionsequence-dom;7.0-SNAPSHOT!pentaho-actionsequence-dom.jar(source)
[ivy:resolve] :: pentaho#pentaho-platform-api;7.0-SNAPSHOT!pentaho-platform-api.jar(source)
[ivy:resolve] :: pentaho#pentaho-platform-core;7.0-SNAPSHOT!pentaho-platform-core.jar(source)
[ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve]
[ivy:resolve] :::: ERRORS
[ivy:resolve] unknown resolver default
[ivy:resolve]
[ivy:resolve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS

BUILD FAILED
F:\git-hub-pentaho\pentaho-platform\assembly\build-res\subfloor.xml:892: impossible to resolve dependencies:
resolve failed - see output for details

Can any one suggest, how to fix this build issue...

missing "Using legacy execution engine"

2018/02/28 10:12:00 - 转换 - Loading transformation from repository [load_data] in directory [/home/cdh/to_hbase_XDATA_T_ACC_TXN_TRADELIST]
2018/02/28 10:12:00 - 转换 - Using run configuration [Pentaho Server]
.
.
.
can't execute transformation "load_data"
version 8.1.0.0 262 RC

BUILD FAIL-kettle-engine (tests?)

I tried to build this tonight and the build fails. Attached is some selected output from the fail. Also the settings file and the pom I used. Tried 2 times with current 8.2.?? and 1 with 8.1.0.5-632-R. The errors where identical both times . mvn clean install and mvn clean install -Dmaven.test.skip=true
Win10 Geforce 980 ( looks like video error?)
Apache Maven 3.5.4
jdk1.8.0_181 64

pom.xml.txt
settings.xml.txt
MessagesPDI-Fail.txt

Configure LDAP without roles

Is there any way of configuring LDAP login in Pentaho avoiding the use of roles? I want all LDAP users to be administrators.

Is this possible? I would appreciate your help. Thank you.

Test Smell: poor code organization

Hi!

We notice that your way of naming test files doesn't follow the common naming convention.
For example, a test file is named ''https://github.com/pentaho/pentaho-platform/blob/master/repository/src/it/java/com/pentaho/pdi/ws/RepositorySyncWebServiceIT.java''

The common convention (good practice) is to add the term ''Test'' or ''test'' in the path or file name for the test cod.
Since it makes other readers easier to understand what source files are production code or test code.

Your way of naming test files is difficult for others to understand which are test files and it feels like mixing test code with production code.
It is a bad code organization. Thanks.

requires Tomcat Windows x64

mvn reports on Aarch64, CentOS 8

...
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:3.1.0:unpack (prepare-assembly) on project pentaho-server-ce: Unable to find/resolve artifact.: Could not find artifact org.apache.tomcat:tomcat-windows-x64:zip:8.5.51 in pentaho-public (http://nexus.pentaho.org/content/groups/omni/) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn -rf :pentaho-server-ce

Pentaho j_spring_security_check Internal Server Error

Hi,
When i close browser or shutdown my PC it gives me "Pentaho j_spring_security_check Internal Server Error" in Enterprise Edition. After fresh installation this error is resolved but same error arises when i restart my PC.
Please help

An Exception about <SolutionRepositoryVfs cannot be cast to AbstractFileProvider>

Hi guys, when I installed a plugin (Simplified Chinese Language Pack Installer) from marketplace,
the pentaho-server throwed an exception:

org.pentaho.platform.repository.solution.filebased.SolutionRepositoryVfs cannot be cast to org.apache.commons.vfs2.provider.AbstractFileProvider
	at org.apache.commons.vfs2.impl.DefaultFileSystemManager.freeUnusedResources(DefaultFileSystemManager.java:586)
	at org.pentaho.di.core.vfs.ConcurrentFileSystemManager.freeUnusedResources(ConcurrentFileSystemManager.java:171)
	at org.pentaho.di.core.vfs.KettleVFS.freeUnusedResources(KettleVFS.java:522)
	at org.pentaho.di.job.Job.run(Job.java:465)

8.1.0.0-SNAPSHOT
Up to now - commit f6d126a.

好吧,我的英文一般般,希望你们明白。

Mac m1 support

Hi,
just wondering if there's m1 support in the roadmap?

Does puc(pentaho-platform) support clickhouse?

  • I have been downloaded pentaho-server 9.2.0.0,try to add configure db-clickhouse,but it didn't work.

image

  • I checked the pentaho-platform code, 21 DataBaseDialects been adapted(like oracle,mysql...),but clickhouse not included,did I wrong.
  • if not,will you support clickhouse puc configuration in future?
  • thanks~

pentaho-platform-assembly build error.

Version: master branch.

Running assembly.xml with ant target "clean-all, resolve" result in,

[ivy:resolve]   found pentaho#pentaho-user-console-package;TRUNK-SNAPSHOT in pentaho-mvn
[ivy:resolve] :: problems summary ::
[ivy:resolve] :::: ERRORS
[ivy:resolve]       pentaho-mvn: bad revision found in http://ivy-nexus.pentaho.org/content/groups/omni/org/jvnet/staxex/stax-ex/1.0/stax-ex-1.0.pom: expected='1.0 found='working@bubu'
[ivy:resolve]       public-maven: bad revision found in http://ivy-nexus.pentaho.org/content/groups/omni/org/jvnet/staxex/stax-ex/1.0/stax-ex-1.0.pom: expected='1.0 found='working@bubu'
[ivy:resolve]   impossible to get artifacts when data has not been loaded. IvyNode = org.apache.poi#poi;3.9
[ivy:resolve] 
[ivy:resolve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS

BUILD FAILED
/home/ms/git/pentaho.com/pentaho-platform/assembly/build-res/subfloor.xml:740: impossible to resolve dependencies:
java.lang.IllegalStateException: impossible to get artifacts when data has not been loaded. IvyNode = org.apache.poi#poi;3.9

Here is the full log: https://gist.github.com/shuLhan/cea7dc39400b1558e468

BUILD FAILED cannot access org.apache.batik.script.InterpreterPool

Hi,

I am having trouble while building the project. I followed the instructions in README.txt file.
Installed TortoiseSVN and checked out the project (trunk).
Installed ant and set environment variables.
Right after checking out, executed following command

ant clean-all resolve create-dot-classpath

it completed successfully with BUILD SUCCESSFUL message.
After that when I try to run following command

ant clean-all resolve dist

it fails and gives below error message.

init:
    [mkdir] Created dir: E:\Projects\kettle\trunk\core\bin\classes
    [mkdir] Created dir: E:\Projects\kettle\trunk\core\dist

compile.pre:

compile.compile:
    [javac] Compiling 367 source files to E:\Projects\kettle\trunk\core\bin\clas
ses
    [javac] E:\Projects\kettle\trunk\core\src\org\pentaho\di\core\SwingUniversal
ImageSvg.java:45: cannot access org.apache.batik.script.InterpreterPool
    [javac] class file for org.apache.batik.script.InterpreterPool not found
    [javac]     BridgeContext ctx = new BridgeContext( userAgentAdapter, documen
tLoader );
    [javac]                         ^
    [javac] 1 error

BUILD FAILED
E:\Projects\kettle\trunk\build.xml:123: The following error occurred while execu
ting this line:
E:\Projects\kettle\trunk\build.xml:128: The following error occurred while execu
ting this line:
E:\Projects\kettle\trunk\core\build-res\subfloor.xml:1324: Compile failed; see t
he compiler error output for details.

Total time: 1 minute 28 seconds

Thanks for your help in advance.

The bundled MySQL jdbc driver does not support MySQL 8

In the pentaho-server-ce-9.0.0.0-423.zip file, there is a tomcat installation.
In the tomcat directory, the lib directory contains MySQL jdbc driver (mysql-connector-java-5.1.17.jar).

The below is exception raised when MySQL jdbc driver 5.1.17 is used.

Caused by: java.sql.SQLException: Unknown system variable 'tx_isolation'
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:964)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3973)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3909)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2527)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2680)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2490)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2448)
at com.mysql.jdbc.StatementImpl.executeQuery(StatementImpl.java:1381)
at com.mysql.jdbc.ConnectionImpl.loadServerVariables(ConnectionImpl.java:3787)
at com.mysql.jdbc.ConnectionImpl.initializePropsFromServer(ConnectionImpl.java:3233)
at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2242)
at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2024)
at com.mysql.jdbc.ConnectionImpl.(ConnectionImpl.java:779)
at com.mysql.jdbc.JDBC4Connection.(JDBC4Connection.java:47)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:425)
at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:389)
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:330)
at org.pentaho.reporting.engine.classic.core.modules.misc.datafactory.sql.DriverConnectionProvider.createConnection(DriverConnectionProvider.java:121)
at org.pentaho.reporting.engine.classic.core.modules.misc.datafactory.sql.SimpleSQLReportDataFactory.getConnection(SimpleSQLReportDataFactory.java:130)
at org.pentaho.reporting.engine.classic.core.modules.misc.datafactory.sql.SimpleSQLReportDataFactory.queryData(SimpleSQLReportDataFactory.java:174)
... 3 more

It it tested that the driver version 5.1.17 could not support MySQL 8.
Also, it is tested that the MySQL jdbc driver 5.1.44 in 5.1 series could support MySQL 8.

It is suggested to upgrade the bundle the MySQL jdbc driver to the latest version in 5.1 series.
(https://mvnrepository.com/artifact/mysql/mysql-connector-java/5.1.49)

BISERVER-10639

I could reproduce the error in a fresh install under Postgres. Prior to starting pentaho, I have executed the "create_quartz...sql" in pentaho_user@quartz.

Remember that Postgres transforms its model in lowercase unless explicitely
enclosed in double quotes.

I could work around the problem by creating a dummy table like this:

CREATE TABLE "QRTZ_I_WAS_HERE"
  (
    dummy bool
  )
;

This tricks the getTables( null, null, "%QRTZ%", null ) at line 161, that implies
an uppercase model.
I also tried to uppercase the whole model: it passed here but, as expected, failed further on...

This is actually a bug, because it doesn't go well along the given sql script or the rest of the database code.

Regards,

Gudesh.

How to build pentaho-platform with Intellij Idea

I cloned the project from repository and i don't know how build pentaho-platform with intellij-idea

getting this error :

[INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM for pentaho:pentaho-platform-ce-parent:7.1-SNAPSHOT: Could not find artifact org.pentaho:pentaho-ce-jar-parent-pom:pom:7.1-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 5, column 11
@
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project pentaho:pentaho-platform-ce-parent:7.1-SNAPSHOT (E:\prepro\pentaho\git\pentaho-platform\pom.xml) has 1 error
[ERROR] Non-resolvable parent POM for pentaho:pentaho-platform-ce-parent:7.1-SNAPSHOT: Could not find artifact org.pentaho:pentaho-ce-jar-parent-pom:pom:7.1-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 5, column 11 -> [Help 2]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException

Process finished with exit code 1

Problem with parameters when edit scheduled jobs

After adding one job that uses parameters to Pentaho schedules, when trying to edit these parameters the values appear like: "[Ljava.lang.String;@63ecdf7..." instead of the real value. I saw this problem in 8.1 and 8.2 version, maybe is older than this.

how to integrate Pentaho with MongoDB?

how to integrate Pentaho with MongoDB?

I am using Pentaho 5.2, but I do not know how to set the MongoDB as a data source! I am taking a whole day to find out how, but sadly, I have no idea yet!

snip20141127_1

And I added MongoDB driver to server directory as the instruction told

Pentaho 'DATA_PATH_1' detected issue

I have a root job(with sub-jobs and transformations inside) which I could run on my local machine(spoon) without any issues, but when I'm running it on remote server(pentaho user console), and getting an error Duplicate parameter 'DATA_PATH_1' detected.. The thing is when I'm running sub jobs separately in the remote server, everything works fine. I guess something wrong with the root job. Could anyone help me with that? Thank you. Pentaho version 9.0

The detail about api/userroledao/updatePassword

Hi, I notice that the userroledao/updatePassword api has been updated by the documentation 7.1, but I want to know the detail about the userroledao/updatePassword api, where can I find that

BUILD FAILED

Hello
I follow here
http://wiki.pentaho.com/display/ServerDoc2x/03.+Checking+Out+and+Building+Projects+in+5.0
Description of the steps , to build pentaho project
However, during the pentaho-platform-extensions of this project , an error message appears , saying that one can not find the element , the formation of failure.
Detailed error message follows
Are there encountered a similar situation to provide assistance ?

[ivy:resolve] :: problems summary ::
[ivy:resolve] :::: WARNINGS
[ivy:resolve] [FAILED ] net.java.dev.javacc#javacc;5.0!javacc.jar: The HTTP response code for http://repo.pentaho.org/artifactory/repo/net/java/dev/javacc/javacc/5.0/javacc-5.0.jar did not indicate a success. See log for more detail. (2853ms)
[ivy:resolve] [FAILED ] net.java.dev.javacc#javacc;5.0!javacc.jar: The HTTP response code for http://repo.pentaho.org/artifactory/repo/net/java/dev/javacc/javacc/5.0/javacc-5.0.jar did not indicate a success. See log for more detail. (2853ms)
[ivy:resolve] ==== pentaho-mvn: tried
[ivy:resolve] http://repo.pentaho.org/artifactory/repo/net/java/dev/javacc/javacc/5.0/javacc-5.0.jar
[ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve] :: FAILED DOWNLOADS ::
[ivy:resolve] :: ^ see resolution messages for details ^ ::
[ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve] :: net.java.dev.javacc#javacc;5.0!javacc.jar
[ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve]
[ivy:resolve]
[ivy:resolve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS

Null pointer exception on login - blank page displayed

Hello,

I'm trying to get pentaho 8.1 to run with a postgresql backend.
I am using jdbc security.

I see no exceptions during startup.
When logging on ( http://localhost:8080/pentaho ) as admin, I can see in the pentaho.log that the admin has been logged in, followed by an exception:

2019-01-04 16:03:47,022 DEBUG [org.springframework.security.core.userdetails.cache.EhCacheBasedUserCache] Cache hit: false; username: admin 2019-01-04 16:03:47,028 DEBUG [org.springframework.security.core.userdetails.cache.EhCacheBasedUserCache] Cache put: admin 2019-01-04 16:03:47,030 DEBUG [org.pentaho.platform.engine.security.event.PentahoAuthenticationSuccessListener] received AuthenticationSuccessEvent 2019-01-04 16:03:47,030 DEBUG [org.pentaho.platform.engine.security.event.PentahoAuthenticationSuccessListener] synchronizing current IPentahoSession with SecurityContext 2019-01-04 16:03:47,034 INFO [org.pentaho.platform.engine.security.event.PentahoAuthenticationSuccessListener] The user "admin" connected to server with session ID 9F28843FD481A60E87DE9A9ED7C8DBF7 2019-01-04 16:03:47,040 DEBUG [org.pentaho.platform.engine.security.SecurityHelper] rolesForUser:[Authenticated, admin, Anonymous] 2019-01-04 16:03:47,041 ERROR [org.pentaho.platform.repository2.unified.spring.BackingRepositoryLifecycleManagerAuthenticationSuccessListener] null java.lang.NullPointerException at org.pentaho.platform.repository2.unified.spring.BackingRepositoryLifecycleManagerAuthenticationSuccessListener$1.call(BackingRepositoryLifecycleManagerAuthenticationSuccessListener.java:86) at org.pentaho.platform.repository2.unified.spring.BackingRepositoryLifecycleManagerAuthenticationSuccessListener$1.call(BackingRepositoryLifecycleManagerAuthenticationSuccessListener.java:82) at org.pentaho.platform.engine.security.SecurityHelper.runAsSystem(SecurityHelper.java:421) at org.pentaho.platform.repository2.unified.spring.BackingRepositoryLifecycleManagerAuthenticationSuccessListener.onApplicationEvent(BackingRepositoryLifecycleManagerAuthenticationSuccessListener.java:82)

As I couldn't figure out what is going wrong, I decided to compile it myself.
My setup:
Apache Maven 3.6.0 (97c98ec64a1fdfee7767ce5ffb20918da4f719f3; 2018-10-24T20:41:47+02:00)
Maven home: xxx/lib/apache-maven-3.6.0
Java version: 1.8.0_191, vendor: Oracle Corporation, runtime: xxx/lib/jdk1.8.0_191/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "4.18.0-2-amd64", arch: "amd64", family: "unix"

.. this produces a successful build of Pentaho BI Platform Community Edition 8.3.0.0-SNAPSHOT

When running the tests - I can see the same exception occurring:
[INFO] Running org.pentaho.platform.repository2.unified.spring.BackingRepositoryLifecycleManagerAuthenticationSuccessListenerTest 17:27:05,223 INFO [BackingRepositoryLifecycleManagerAuthenticationSuccessListener] The user "testCurrentUser-/pentaho/testTenant" connected to repository 17:27:05,224 ERROR [BackingRepositoryLifecycleManagerAuthenticationSuccessListener] Unit Test Exception java.lang.RuntimeException: Unit Test Exception at org.pentaho.platform.repository2.unified.spring.BackingRepositoryLifecycleManagerAuthenticationSuccessListenerTest$MockBackingRepositoryLifecycleManager.newTenant(BackingRepositoryLifecycleManagerAuthenticationSuccessListenerTest.java:126) at org.pentaho.platform.repository2.unified.spring.BackingRepositoryLifecycleManagerAuthenticationSuccessListener$1.call(BackingRepositoryLifecycleManagerAuthenticationSuccessListener.java:86) at org.pentaho.platform.repository2.unified.spring.BackingRepositoryLifecycleManagerAuthenticationSuccessListener$1.call(BackingRepositoryLifecycleManagerAuthenticationSuccessListener.java:82) at org.pentaho.test.platform.engine.security.MockSecurityHelper.runAsSystem(MockSecurityHelper.java:111) at org.pentaho.platform.repository2.unified.spring.BackingRepositoryLifecycleManagerAuthenticationSuccessListener.onApplicationEvent(BackingRepositoryLifecycleManagerAuthenticationSuccessListener.java:82)

However, the tests all pass.

Could this be a bug ?

Cheers,
/m

Could Pentaho platform provide Traditional Chinese Language Pack?

In the latest community default installation (pentaho-server-ce-9.0.0.0-423.zip), there is no 繁體中文/Traditional Chinese Language.
![image](https://user-images.githubusercontent.com/2301325/82635787-a2fd5d00-9c33-11ea-8153-
6b2bb01b26b4.png)

Click the Additional Language..., the Pentaho Language Packs page is shown,
However, there is no 繁體中文/Traditional Chinese.
https://community.hitachivantara.com/s/article/pentaho-language-packs

Multi Tenant : createTenant method is creating tenant partially

Environment:
Ubuntu 15.04 64 bit
Pentaho-platform 6.1-SNAPSHOT

While Trying to create tenant with

SecurityHelper.getInstance().runAsUser(JcrTenantUtils.getTenantedUser("admin"),new CallableParam<Void>(principleName) {
                        String principleName = this.getParamString();
                        @Override
                        public Void call() throws Exception {
        tenantManager.createTenant(JcrTenantUtils.getDefaultTenant(),principleName,"Administrator", "authenticated", "Anonymous");
                            return null;
                        }
                    });

following errors are logged

org.springframework.extensions.jcr.JcrSystemException: Repository access exception; nested exception is javax.jcr.RepositoryException: Error retrieving RuntimeRoles for folder, folder not found
        at org.springframework.extensions.jcr.SessionFactoryUtils.translateException(SessionFactoryUtils.java:223)
        at org.springframework.extensions.jcr.JcrAccessor.convertJcrAccessException(JcrAccessor.java:58)
        at org.pentaho.platform.repository2.unified.jcr.sejcr.PentahoJcrTemplate.pentahoConvertJcrAccessException(PentahoJcrTemplate.java:103)
        at org.pentaho.platform.repository2.unified.jcr.sejcr.PentahoJcrTemplate.execute(PentahoJcrTemplate.java:69)
        at org.springframework.extensions.jcr.JcrTemplate.execute(JcrTemplate.java:115)
        at org.pentaho.platform.repository2.unified.jcr.JcrRepositoryFileAclDao.updateAcl(JcrRepositoryFileAclDao.java:363)
        at org.pentaho.platform.repository2.mt.RepositoryTenantManager.createTenant(RepositoryTenantManager.java:236)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
        at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:96)
        at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260)
        at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at org.springframework.security.intercept.method.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:66)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
        at com.sun.proxy.$Proxy150.createTenant(Unknown Source)


Caused by: javax.jcr.RepositoryException: Error retrieving RuntimeRoles for folder, folder not found
        at org.pentaho.platform.security.policy.rolebased.AbstractJcrBackedRoleBindingDao.getRuntimeRolesFolderNode(AbstractJcrBackedRoleBindingDao.java:328)
        at org.pentaho.platform.security.policy.rolebased.AbstractJcrBackedRoleBindingDao.getBoundLogicalRoleNames(AbstractJcrBackedRoleBindingDao.java:166)
        at org.pentaho.platform.security.policy.rolebased.AbstractJcrBackedRoleBindingDao.getBoundLogicalRoleNames(AbstractJcrBackedRoleBindingDao.java:128)
        at org.apache.jackrabbit.core.security.authorization.acl.PentahoEntryCollector.isAllowed(PentahoEntryCollector.java:514)
        at org.apache.jackrabbit.core.security.authorization.acl.PentahoEntryCollector.getAcesIncludingMagicAces(PentahoEntryCollector.java:308)
        at org.apache.jackrabbit.core.security.authorization.acl.PentahoEntryCollector.getEntries(PentahoEntryCollector.java:237)
        at org.apache.jackrabbit.core.security.authorization.acl.CachingPentahoEntryCollector.internalUpdateCache(CachingPentahoEntryCollector.java:175)
        at org.apache.jackrabbit.core.security.authorization.acl.CachingPentahoEntryCollector.throttledUpdateCache(CachingPentahoEntryCollector.java:218)
        at org.apache.jackrabbit.core.security.authorization.acl.CachingPentahoEntryCollector.updateCache(CachingPentahoEntryCollector.java:193)
        at org.apache.jackrabbit.core.security.authorization.acl.CachingPentahoEntryCollector.getEntries(CachingPentahoEntryCollector.java:148)
        at org.apache.jackrabbit.core.security.authorization.acl.PentahoEntryCollector.collectEntries(PentahoEntryCollector.java:470)
        at org.apache.jackrabbit.core.security.authorization.acl.PentahoCompiledPermissionsImpl.buildResult(PentahoCompiledPermissionsImpl.java:104)
        at org.apache.jackrabbit.core.security.authorization.acl.PentahoCompiledPermissionsImpl.buildResult(PentahoCompiledPermissionsImpl.java:218)
        at org.apache.jackrabbit.core.security.authorization.AbstractCompiledPermissions.getResult(AbstractCompiledPermissions.java:55)
        at org.apache.jackrabbit.core.security.authorization.AbstractCompiledPermissions.grants(AbstractCompiledPermissions.java:110)
        at org.apache.jackrabbit.core.security.DefaultAccessManager.isGranted(DefaultAccessManager.java:246)
        at org.apache.jackrabbit.core.security.DefaultAccessManager.isGranted(DefaultAccessManager.java:254)
        at org.apache.jackrabbit.core.ProtectedItemModifier.checkPermission(ProtectedItemModifier.java:175)
        at org.apache.jackrabbit.core.ProtectedItemModifier.addNode(ProtectedItemModifier.java:74)
        at org.apache.jackrabbit.core.ProtectedItemModifier.addNode(ProtectedItemModifier.java:70)
        at org.apache.jackrabbit.core.security.authorization.acl.ACLEditor.setPolicy(ACLEditor.java:205)
        at org.apache.jackrabbit.core.security.DefaultAccessManager.setPolicy(DefaultAccessManager.java:361)
        at org.pentaho.platform.repository2.unified.jcr.JcrRepositoryFileAclDao.internalUpdateAcl(JcrRepositoryFileAclDao.java:437)
        at org.pentaho.platform.repository2.unified.jcr.JcrRepositoryFileAclDao$6.doInJcr(JcrRepositoryFileAclDao.java:367)
        at org.pentaho.platform.repository2.unified.jcr.sejcr.PentahoJcrTemplate.execute(PentahoJcrTemplate.java:64)
        ... 106 more
Caused by: javax.jcr.PathNotFoundException: /pentaho/tenant0/anyTenantName
        at org.apache.jackrabbit.core.ItemManager.getItem(ItemManager.java:552)
        at org.apache.jackrabbit.core.session.SessionItemOperation$4.perform(SessionItemOperation.java:97)
        at org.apache.jackrabbit.core.session.SessionItemOperation$4.perform(SessionItemOperation.java:93)
        at org.apache.jackrabbit.core.session.SessionItemOperation.perform(SessionItemOperation.java:187)
        at org.apache.jackrabbit.core.session.SessionState.perform(SessionState.java:216)
        at org.apache.jackrabbit.core.SessionImpl.perform(SessionImpl.java:361)
        at org.apache.jackrabbit.core.SessionImpl.getItem(SessionImpl.java:786)
        at org.pentaho.platform.security.policy.rolebased.AbstractJcrBackedRoleBindingDao.getRuntimeRolesFolderNode(AbstractJcrBackedRoleBindingDao.java:326)
        ... 130 more






java.lang.RuntimeException: Error creating initial tenant folders
        at org.pentaho.platform.repository2.mt.RepositoryTenantManager.createTenant(RepositoryTenantManager.java:249)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
        at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:96)
        at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260)
        at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at org.springframework.security.intercept.method.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:66)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
        at com.sun.proxy.$Proxy150.createTenant(Unknown Source)
        at com.ccclogic.pentaho.mt.action.CCCLogicTenantManagementService$1.call(CCCLogicTenantManagementService.java:124)
        at com.ccclogic.pentaho.mt.action.CCCLogicTenantManagementService$1.call(CCCLogicTenantManagementService.java:117)
        at org.pentaho.platform.engine.security.SecurityHelper.runAsUser(SecurityHelper.java:173)
        at org.pentaho.platform.engine.security.SecurityHelper.runAsUser(SecurityHelper.java:162)


Caused by: org.springframework.extensions.jcr.JcrSystemException: Repository access exception; nested exception is javax.jcr.RepositoryException: Failed to list child nodes of node /pentaho/tenant0/anyTenantName/rep:policy
        at org.springframework.extensions.jcr.SessionFactoryUtils.translateException(SessionFactoryUtils.java:223)
        at org.springframework.extensions.jcr.JcrAccessor.convertJcrAccessException(JcrAccessor.java:58)
        at org.pentaho.platform.repository2.unified.jcr.sejcr.PentahoJcrTemplate.pentahoConvertJcrAccessException(PentahoJcrTemplate.java:103)
        at org.pentaho.platform.repository2.unified.jcr.sejcr.PentahoJcrTemplate.execute(PentahoJcrTemplate.java:69)
        at org.springframework.extensions.jcr.JcrTemplate.execute(JcrTemplate.java:115)
        at org.pentaho.platform.repository2.unified.jcr.JcrRepositoryFileAclDao.getAcl(JcrRepositoryFileAclDao.java:336)
        at org.pentaho.platform.repository2.unified.jcr.JcrRepositoryFileDao$4.doInJcr(JcrRepositoryFileDao.java:390)

        at org.pentaho.platform.repository2.unified.jcr.sejcr.PentahoJcrTemplate.execute(PentahoJcrTemplate.java:64)
        at org.springframework.extensions.jcr.JcrTemplate.execute(JcrTemplate.java:115)
        at org.pentaho.platform.repository2.unified.jcr.JcrRepositoryFileDao.internalGetFileById(JcrRepositoryFileDao.java:381)
        at org.pentaho.platform.repository2.unified.jcr.JcrRepositoryFileDao.getFileById(JcrRepositoryFileDao.java:338)
        at org.pentaho.platform.repository2.unified.jcr.JcrRepositoryFileDao.internalCreateFolder(JcrRepositoryFileDao.java:136)
        at org.pentaho.platform.repository2.unified.jcr.JcrRepositoryFileDao.access$400(JcrRepositoryFileDao.java:73)
        at org.pentaho.platform.repository2.unified.jcr.JcrRepositoryFileDao$2.doInJcr(JcrRepositoryFileDao.java:328)
        at org.pentaho.platform.repository2.unified.jcr.sejcr.PentahoJcrTemplate.execute(PentahoJcrTemplate.java:64)
        at org.springframework.extensions.jcr.JcrTemplate.execute(JcrTemplate.java:115)
        at org.pentaho.platform.repository2.unified.jcr.JcrRepositoryFileDao.createFolder(JcrRepositoryFileDao.java:325)
        at org.pentaho.platform.repository2.mt.RepositoryTenantManager.createPublicFolder(RepositoryTenantManager.java:463)
        at org.pentaho.platform.repository2.mt.RepositoryTenantManager.createInitialTenantFolders(RepositoryTenantManager.java:530)
        at org.pentaho.platform.repository2.mt.RepositoryTenantManager.createTenant(RepositoryTenantManager.java:247)
        ... 103 more
Caused by: javax.jcr.RepositoryException: Failed to list child nodes of node /pentaho/tenant0/anyTenantName/rep:policy
        at org.apache.jackrabbit.core.NodeImpl$9.perform(NodeImpl.java:2208)
        at org.apache.jackrabbit.core.NodeImpl$9.perform(NodeImpl.java:2202)
        at org.apache.jackrabbit.core.session.SessionState.perform(SessionState.java:216)
        at org.apache.jackrabbit.core.ItemImpl.perform(ItemImpl.java:91)
        at org.apache.jackrabbit.core.NodeImpl.getNodes(NodeImpl.java:2202)
        at org.apache.jackrabbit.core.security.authorization.acl.ACLTemplate.<init>(ACLTemplate.java:141)
        at org.apache.jackrabbit.core.security.authorization.acl.ACLEditor.getACL(ACLEditor.java:92)
        at org.apache.jackrabbit.core.security.authorization.acl.ACLEditor.getPolicies(ACLEditor.java:106)
        at org.apache.jackrabbit.core.security.DefaultAccessManager.getPolicies(DefaultAccessManager.java:314)
        at org.pentaho.platform.repository2.unified.jcr.JcrRepositoryFileAclDao.getAccessControlList(JcrRepositoryFileAclDao.java:326)
        at org.pentaho.platform.repository2.unified.jcr.JcrRepositoryFileAclDao.toAcl(JcrRepositoryFileAclDao.java:208)
        at org.pentaho.platform.repository2.unified.jcr.JcrRepositoryFileAclDao.access$300(JcrRepositoryFileAclDao.java:71)
        at org.pentaho.platform.repository2.unified.jcr.JcrRepositoryFileAclDao$4.doInJcr(JcrRepositoryFileAclDao.java:339)
        at org.pentaho.platform.repository2.unified.jcr.sejcr.PentahoJcrTemplate.execute(PentahoJcrTemplate.java:64)
        ... 119 more
Caused by: javax.jcr.ItemNotFoundException: d400f494-186f-4ec1-b937-894248325883
        at org.apache.jackrabbit.core.ItemManager.getItemData(ItemManager.java:384)
        at org.apache.jackrabbit.core.ItemManager.getItem(ItemManager.java:328)
        at org.apache.jackrabbit.core.ItemManager.getItem(ItemManager.java:622)
        at org.apache.jackrabbit.core.security.authorization.acl.PentahoCompiledPermissionsImpl.canRead(PentahoCompiledPermissionsImpl.java:277)
        at org.apache.jackrabbit.core.security.DefaultAccessManager.canRead(DefaultAccessManager.java:265)
        at org.apache.jackrabbit.core.ItemManager.canRead(ItemManager.java:438)
        at org.apache.jackrabbit.core.ItemManager.getItemData(ItemManager.java:395)
        at org.apache.jackrabbit.core.ItemManager.getItemData(ItemManager.java:349)
        at org.apache.jackrabbit.core.ItemManager.getChildNodes(ItemManager.java:744)
        at org.apache.jackrabbit.core.NodeImpl$9.perform(NodeImpl.java:2206)
        ... 132 more

But when same code is executed second time, pentaho throws AlreadyExistsException.

When I try to create folder, I am getting

javax.jcr.PathNotFoundException: /pentaho/tenant0/anyTenantName

I debugged and found that
doInJcr method is using following session
type:
session XASessionImpl (id=247)
sessionName "session-admin-%2Fpentaho%2Ftenant0-289" (id=267)

Could not resolve dependencies for project pentaho:pentaho-platform-extensions / org.syslog4j:syslog4j:jar:0.9.46

Hi,
I'm trying to compile Pentaho Platform on Fedora 37 w/Java 11. Compiles fine on Windows.

I get this error when trying to compile on Linux:
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Pentaho BI Platform Community Edition 9.5.0.0-SNAPSHOT:
[INFO]
[INFO] Pentaho BI Platform Community Edition .............. SUCCESS [ 48.341 s]
[INFO] pentaho-platform-api ............................... SUCCESS [ 25.528 s]
[INFO] pentaho-platform-core .............................. SUCCESS [ 26.609 s]
[INFO] pentaho-platform-repository ........................ SUCCESS [ 19.286 s]
[INFO] pentaho-platform-scheduler ......................... SUCCESS [ 3.365 s]
[INFO] pentaho-platform-extensions ........................ FAILURE [01:21 min]
[INFO] pentaho-tomcat-logs ................................ SKIPPED
[INFO] pentaho-user-console ............................... SKIPPED
[INFO] Platform assemblies ................................ SKIPPED
[INFO] pentaho-user-console-package ....................... SKIPPED
[INFO] pentaho-samples .................................... SKIPPED
[INFO] pentaho-plugin-samples ............................. SKIPPED
[INFO] pentaho-war ........................................ SKIPPED
[INFO] pentaho-style ...................................... SKIPPED
[INFO] pentaho-data ....................................... SKIPPED
[INFO] pentaho-solutions .................................. SKIPPED
[INFO] pentaho-server-manual-ce ........................... SKIPPED
[INFO] pentaho-server-ce .................................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 03:31 min
[INFO] Finished at: 2022-12-02T13:31:48-07:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project pentaho-platform-extensions: Could not resolve dependencies for project pentaho:pentaho-platform-extensions:jar:9.5.0.0-SNAPSHOT: Could not find artifact org.syslog4j:syslog4j:jar:0.9.46 in pentaho-public (https://repo.orl.eng.hitachivantara.com/artifactory/pnt-mvn/) -> [Help 1]

Building Pentaho-Platform for BA Server

Hi,
After clone when i try to build complete project it gives me 100 errors approx.
pentaho-platform/user-console/source/org/pentaho/mantle/client/events/SolutionBrowserCloseEventHandler.java
Error:(20, 35) java: package com.google.gwt.event.shared does not exist and others which requires some packages as well. Why this is so?

`mvn clean install` error

I runned mvn clean install in the project directory, got error:

[ERROR] Failed to execute goal org.pentaho.maven.plugins:license-helper-maven-plugin:1.4:check-license (check-license) on project pentaho-platform-ce-parent: Execution check-license of goal org.pentaho.maven.plugins:license-helpe
r-maven-plugin:1.4:check-license failed: Unable to load the mojo 'check-license' in the plugin 'org.pentaho.maven.plugins:license-helper-maven-plugin:1.4' due to an API incompatibility: org.codehaus.plexus.component.repository.ex
ception.ComponentLookupException: org/pentaho/maven/plugins/license/CheckLicenseMojo : Unsupported major.minor version 52.0

My maven info:

Apache Maven 3.5.0 (ff8f5e7444045639af65f6095c62210b5713f426; 2017-04-04T03:39:06+08:00)
Maven home: E:\apache-maven-3.5.0\bin\..
Java version: 1.7.0_79, vendor: Oracle Corporation
Java home: D:\Program Files (x86)\Java\jdk1.7.0_79\jre
Default locale: zh_CN, platform encoding: GBK
OS name: "windows 8.1", version: "6.3", arch: "x86", family: "windows"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.