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

Getting error while swtiching pentaho with CAS server

$
0
0
Good Day,

I am using pentaho 5.0.4 Enterprise Edition BA server and trying to switch with CAS server and client. I have go through
"http://infocenter.pentaho.com/help/index.jsp?topic=%2Fsecurity_guide%2Ftask_auth_cas_sso.html" this link and trying implemented as well as follow all instruction. But seems to getting error. I have attached pentaho log file and catilina log along with my post.

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

I'm missing something pretty obvious here? I feel like it's staring me in the face.

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

Chandan
Attached Files

Repository Cache Refresh Failed - suddenly started receiving this message

$
0
0
This was working fine a couple of days ago.

Originally I was getting a JVM heap space issue, so I upped that, and now I get this:

Quote:

2014-03-13 13:37:48,778 ERROR [org.hibernate.util.JDBCExceptionReporter] failed batch2014-03-13 13:37:48,778 ERROR [org.hibernate.event.def.AbstractFlushingEventListener] Could not synchronize database state with session
org.hibernate.exception.GenericJDBCException: Could not execute JDBC batch update
...
Quote:

Caused by: java.sql.BatchUpdateException: failed batch at org.hsqldb.jdbc.jdbcStatement.executeBatch(Unknown Source)
at org.hsqldb.jdbc.jdbcPreparedStatement.executeBatch(Unknown Source)
at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:48)
at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:246)
... 82 more
(attached full log)

Now I've tried a couple of things, replacing hibernate.script with a generic one, as supplied and referenced in another thread works, but then I see none of my solution directories, and I can't change any security settings or anything like that.

I noticed when I went to publish a report through the report designer that the structure of one of my folders didn't match what was actually there when viewing the directory in a terminal.

Thinking this is what was meant by the states not matching I used the report designer to republish the files so that they would all match up, but I still get this error.

I'm not sure what else to try and am open to suggestions.

Thank you,

David
Attached Files

Biserver-ce 4.8.0 Admin Console Error

$
0
0
Good Day! I installed biserver-ce-4.8.0-stable.tar.gz in my linux server. The biserver works just fine. But when I opened the admin console after a few seconds I got redirected to a blank space and this is what I got at the terminal.

WARN [HttpMethodBase] Going to buffer response body of large or unknown size. Using getResponseBodyAsStream instead is recommended.

I cannot create a new database connection and users.

Can anyone help me out?

Thanks in advance.

Is This a Bug? Kettle Over Kettle Transform

$
0
0
Hi All,
I'm using BI Server CE 5 and I'm trying to create dashboard in it using Kettle Transformation (.KTR as data source). During the process i get a weird behavior from pentaho biserver ce 5. Following steps explains the buggy behavior.

1] In datasource section of dashboard I two Kettle Over Kettle Transform and brows and select the first .KTR file
bug2.jpg

2] Here I can preview/modify/save my file
bug3.jpg

3] I did the same for second Kettle over Kettle Transform.
bug5.jpg

4] Now when I select first Kettle Over Kettle Transform it Shows Error as
bug8.jpg

5] The same bug occurs for second ktr file
bug9.jpg

Can anyone have previously have this issue? If yes then how to address it?
Also I tried with only one Kettle Over Kettle Transform which works well until I logout from the current user.

Any help on this issue is much appreciated.
Thanks In Advance.
Suraj.
Attached Images

Special character in Table name (Data Source)

$
0
0
Hello, we want to analyze the data from an AS400 table. The connection to the AS400 works very well. Unfortunately, the table is called KDDH12.13. The problem is that if you want to create the report, pentaho can not access the data because it does not come with the dot in the name of the table name. Did any of you have a similar problem or knows what to do? Sorry for the bad English (google translator)

Integration of Pentaho Community Edition 5.0 with CAS (Central Authentication Server)

$
0
0
I want to configure biserver-ce-5.0 with CAS server, so that whenever user access pentaho it will redirect to CAS login page and and after entering credentials in CAS it should redirect to pentaho Home page with taking username and password from token generated by cas server. for that following modification I have done -

In \biserver-ce\tomcat\conf\server.xml file
commented
<!--Connector URIEncoding="UTF-8" port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" /-->
Added
<Connector SSLEnabled="true"
acceptCount="100"
clientAuth="false"
disableUploadTimeout="true"
enableLookups="false"
maxThreads="25"
port="8444"
keystoreFile="C:\path\to\.keystore"
keystorePass="password"
truststoreFile="E:\path\to\cacerts"
truststorePass="changeit"
protocol="HTTP/1.1"
scheme="https"
secure="true"
sslProtocol="TLS"/>

Added file in \biserver-ce\pentaho-solutions\system\applicationContext-spring-security-cas.xml and added content
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!--+
| Application context containing FilterChainProxy. This version overrides
| certain beans from applicationContext-spring-security.xml to enable CAS.
+--><!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">

<beans default-autowire="no" default-dependency-check="none" default-lazy-init="false">

<!-- ======================== FILTER CHAIN ======================= -->

<!-- overridden from applicationContext-spring-security.xml to enable CAS -->
<bean autowire="default" class="org.springframework.security.util.FilterChainProxy" dependency-check="default" id="filterChainProxy" lazy-init="default">
<property name="filterInvocationDefinitionSource">
<value>
<![CDATA[CONVERT_URL_TO_LOWERCASE_BEFORE_COMPARISON
PATTERN_TYPE_APACHE_ANT
/**=securityContextHolderAwareRequestFilter,httpSessionContextIntegrationFilter,logoutFilter,casProcessingFilter,basicProcessingFilter,requestParameterProcessingFilter,anonymousProcessingFilter,exceptionTranslationFilter,filterInvocationInterceptor]]>
</value>
</property>
</bean>

<!-- ======================== FILTER CHAIN WITH SIGNOUT ======================= -->
<!--
<bean id="filterChainProxy"
class="org.springframework.security.util.FilterChainProxy">
<property name="filterInvocationDefinitionSource">
<value>
<![CDATA[CONVERT_URL_TO_LOWERCASE_BEFORE_COMPARISON
PATTERN_TYPE_APACHE_ANT
/**=securityContextHolderAwareRequestFilter,httpSessionContextIntegrationFilter,logoutFilter,casSingleSignOutFilter,casProcessingFilter,basicProcessingFilter,requestParameterProcessingFilter,anonymousProcessingFilter,exceptionTranslationFilter,filterInvocationInterceptor]]>
</value>
</property>
</bean>
<bean id="casSingleSignOutFilter" class="org.jasig.cas.client.session.SingleSignOutFilter"/>
-->

<!-- ===================== HTTP REQUEST SECURITY ==================== -->

<bean autowire="default" class="org.springframework.security.ui.cas.ServiceProperties" dependency-check="default" id="serviceProperties" lazy-init="default">
<property name="service" value="https://localhost:8444/pentaho/j_spring_cas_security_check"/>
<property name="sendRenew" value="false"/>
</bean>

<!-- replaces authenticationProcessingFilter in filterChainProxy above -->
<bean autowire="default" class="org.springframework.security.ui.cas.CasProcessingFilter" dependency-check="default" id="casProcessingFilter" lazy-init="default">
<property name="authenticationManager">
<ref bean="authenticationManager"/>
</property>
<property name="authenticationFailureUrl" value="/public/casFailed"/>
<property name="defaultTargetUrl" value="/"/>
<property name="filterProcessesUrl" value="/j_spring_cas_security_check"/>
</bean>

<!-- overridden from applicationContext-spring-security.xml -->
<bean autowire="default" class="org.springframework.security.ui.ExceptionTranslationFilter" dependency-check="default" id="exceptionTranslationFilter" lazy-init="default">
<property name="authenticationEntryPoint">
<ref local="casProcessingFilterEntryPoint"/>
</property>
<property name="accessDeniedHandler">
<bean autowire="default" class="org.springframework.security.ui.AccessDeniedHandlerImpl" dependency-check="default" lazy-init="default"/>
</property>
</bean>

<bean autowire="default" class="org.springframework.security.ui.cas.CasProcessingFilterEntryPoint" dependency-check="default" id="casProcessingFilterEntryPoint" lazy-init="default">
<property name="loginUrl" value="https://localhost:8444/cas-server-webapp-3.5.1-RC1/login"/>
<property name="serviceProperties">
<ref local="serviceProperties"/>
</property>
</bean>

<!-- overridden from applicationContext-spring-security.xml -->
<bean autowire="default" class="org.springframework.security.providers.ProviderManager" dependency-check="default" id="authenticationManager" lazy-init="default">
<property name="providers">
<list>

<ref bean="anonymousAuthenticationProvider"/>
<ref bean="casAuthenticationProvider"/>
</list>
</property>
</bean>

<bean autowire="default" class="org.springframework.security.providers.cas.CasAuthenticationProvider" dependency-check="default" id="casAuthenticationProvider" lazy-init="default">
<property name="userDetailsService">
<ref bean="userDetailsService"/>
</property>
<property name="serviceProperties">
<ref local="serviceProperties"/>
</property>
<property name="ticketValidator">
<ref local="ticketValidator"/>
</property>
<property name="key" value="my_password_for_this_auth_provider_only"/>
</bean>

<bean autowire="default" class="org.jasig.cas.client.validation.Cas20ServiceTicketValidator" dependency-check="default" id="ticketValidator" lazy-init="default">
<constructor-arg index="0" value="https://localhost:8444/cas-server-webapp-3.5.1-RC1"/>
</bean>

<!-- overridden from applicationContext-spring-security.xml to specify logoutSuccessUrl as CAS logout page -->
<bean autowire="default" class="org.springframework.security.ui.logout.LogoutFilter" dependency-check="default" id="logoutFilter" lazy-init="default">
<constructor-arg value="https://localhost:8444/cas-server-webapp-3.5.1-RC1/logout?url=https://localhost:8444/pentaho/Home"/>
<!-- URL redirected to after logout -->
<constructor-arg>
<list>
<bean autowire="default" class="org.pentaho.platform.web.http.security.PentahoLogoutHandler" dependency-check="default" lazy-init="default"/>
<bean autowire="default" class="org.springframework.security.ui.logout.SecurityContextLogoutHandler" dependency-check="default" lazy-init="default"/>
</list>
</constructor-arg>
<property name="filterProcessesUrl" value="/Logout"/>
</bean>

</beans>


In \biserver-ce\pentaho-solutions\system\pentaho-spring-beans
Added
<import resource="applicationContext-spring-security-cas.xml"/>

Also added cas-client-core-3.1.5.jar and spring-security-cas-client-2.0.5.RELEASE.jar in \biserver-ce\tomcat\webapps\pentaho\WEB-INF\lib

apart from from this all java certificate, keystore and CAS server files are in place.

on running tomcat server is redirecting to CAS login page but if I will give same username and password (ie. username==password) it will generate token and redirect to pentaho but throw error saying

16:25:53,927 ERROR [Cas20ServiceTicketValidator] javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed:
sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilde
rException: unable to find valid certification path to requested target

on other hand when I m giving username as admin and password as password it is staying in CAS login page itself.

pentaho is not able to take credentials from CAS token. so tell me if I have done any wrong configuration or I need to do something else to Configure pentaho 5.0 with CAS

Thanks & Regards

Get JSon of report or analyzer report

$
0
0
Hi,
in which way is possible to call a web service in order to get the result set of a report or analyzer report (available in Pentaho EE) in a JSon format?

I'm not able to find any documentation on the web relating to the web services available within Pentaho platform both CE and EE.

Any help is really appreciated.

I'm using Pentaho 4.8 CE and EE

Regards

Nico

Minnesota Pentaho User Group


Pentaho 5.0.1 BI Server Startup Issue

$
0
0
I've been diligently trying to get the 5.0.1 server up and running but have been receiving errors. I have tried several troubleshooting steps but still receive the same error. If I could get some guidance on steps for troubleshooting this error, I would appreciate it.

Problem:
I downloaded and unzipped all the latest versions of stable files from Pentaho Business Analytics through sourceforge.net for the following

  • biserver-ce - biserver-ce-5.0.1-stable.zip
  • data-integration - pdi-ce-5.0.1.A-stable.zip
  • design-studio - pds-ce-win-32-4.0.0-stable.zip
  • metadata-editor - pme-ce-5.0.1-stable.zip
  • PentahoReportingEngineSDK - pre-classic-sdk-5.0.1-stable.zip
  • report-designer - prd-ce-5.0.1-stable.zip


The next step I take after unzipping and placing each folder into a parent folder called 'Pentaho' that's placed in my Program Files directory, is to click on the start-pentaho.bat file. This brings up a two different DOS windows and kicks off the Tomcat process.

After it looks like the process is running in my Terminal window, I open a browser and type in localhost:8080.

This hangs and eventually the Terminal Services window with Tomcat running spits out a number of lines showing the process failed.

The browser shows the following error:

HTTP Status 404
type: Status report
message:
Description: The requested resource is not available

Apache Tomcat/6.0.36


I open my log files in the C:\Program Files\Pentaho\biserver-ce\tomcat\logs and the following is output:

pentaho.txt
2014-03-14 10:26:43,946 ERROR [org.springframework.web.context.ContextLoader] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.h2.tools.Server' defined in file [C:\Program Files\Pentaho\biserver-ce\pentaho-solutions\system\GettingStartedDB-spring.xml]: Invocation of init method failed; nested exception is org.h2.jdbc.JdbcSQLException: Exception opening port "H2 TCP Server (tcp://169.254.31.197:9092)" (port may be in use), cause: "timeout" [90061-131]
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)
at java.security.AccessController.doPrivileged(Native Method)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)
at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4206)
...
Caused by: org.h2.jdbc.JdbcSQLException: Exception opening port "H2 TCP Server (tcp://169.254.31.197:9092)" (port may be in use), cause: "timeout" [90061-131]
at org.h2.message.DbException.getJdbcSQLException(DbException.java:316)
at org.h2.message.DbException.get(DbException.java:167)
at org.h2.tools.Server.start(Server.java:344)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
...
Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.pentaho.platform.plugin.services.cache.CacheManager]: Constructor threw exception; nested exception is java.lang.NullPointerException
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:115)
...
Caused by: java.lang.NullPointerException
at org.pentaho.platform.engine.core.system.SystemSettings.getAbsolutePath(SystemSettings.java:182)

localhost.2014-03-14
Mar 14, 2014 10:22:24 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
Mar 14, 2014 10:26:43 AM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.h2.tools.Server' defined in file [C:\Program Files\Pentaho\biserver-ce\pentaho-solutions\system\GettingStartedDB-spring.xml]: Invocation of init method failed; nested exception is org.h2.jdbc.JdbcSQLException: Exception opening port "H2 TCP Server (tcp://169.254.31.197:9092)" (port may be in use), cause: "timeout" [90061-131]
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)
at java.security.AccessController.doPrivileged(Native Method)
...
Caused by: org.h2.jdbc.JdbcSQLException: Exception opening port "H2 TCP Server (tcp://169.254.31.197:9092)" (port may be in use), cause: "timeout" [90061-131]
at org.h2.message.DbException.getJdbcSQLException(DbException.java:316)
at org.h2.message.DbException.get(DbException.java:167)
at org.h2.tools.Server.start(Server.java:344)
...
Mar 14, 2014 10:26:44 AM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Exception sending context initialized event to listener instance of class org.pentaho.platform.web.http.context.SolutionContextListener
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.h2.tools.Server' defined in file [C:\Program Files\Pentaho\biserver-ce\pentaho-solutions\system\GettingStartedDB-spring.xml]: Invocation of init method failed; nested exception is org.h2.jdbc.JdbcSQLException: Exception opening port "H2 TCP Server (tcp://169.254.31.197:9092)" (port may be in use), cause: "timeout" [90061-131]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1338)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
...
Mar 14, 2014 10:26:44 AM org.apache.catalina.core.StandardContext listenerStop
SEVERE: Exception sending context destroyed event to listener instance of class org.pentaho.platform.web.http.context.PentahoCacheContextListener
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ICacheManager' defined in file [C:\Program Files\Pentaho\biserver-ce\pentaho-solutions\system\pentahoObjects.spring.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.pentaho.platform.plugin.services.cache.CacheManager]: Constructor threw exception; nested exception is java.lang.NullPointerException
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:883)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:839)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
at java.security.AccessController.doPrivileged(Native Method)

catalina.2014-03-14
SEVERE: Error listenerStart
Mar 14, 2014 10:26:44 AM org.apache.catalina.core.StandardContext start
SEVERE: Context [/pentaho] startup failed due to previous errors
Mar 14, 2014 10:26:44 AM org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
SEVERE: The web application [/pentaho] registered the JDBC driver [org.h2.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
Mar 14, 2014 10:26:44 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/pentaho] appears to have started a thread named [HSQLDB Timer @57ae58] but has failed to stop it. This is very likely to create a memory leak.
Mar 14, 2014 10:26:44 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/pentaho] appears to have started a thread named [H2 TCP Server (tcp://169.254.31.197:9092)] but has failed to stop it. This is very likely to create a memory leak.
Mar 14, 2014 10:26:44 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/pentaho] appears to have started a thread named [DefaultQuartzScheduler_Worker-1] but has failed to stop it. This is very likely to create a memory leak.

(I shortened these log files)

The obvious major error is the H2 TCP Server (tcp://169.254.31.197:9092) but there's noting on the 9092 port. I run a netstat -an and there's nothing ESTABLISHED or RUNNING on 8080 or 9092.

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Users\>netstat -an

Active Connections

Proto Local Address Foreign Address State
TCP 0.0.0.0:80 0.0.0.0:0 LISTENING
TCP 0.0.0.0:135 0.0.0.0:0 LISTENING
TCP 0.0.0.0:445 0.0.0.0:0 LISTENING
TCP 0.0.0.0:554 0.0.0.0:0 LISTENING
TCP 0.0.0.0:902 0.0.0.0:0 LISTENING
TCP 0.0.0.0:912 0.0.0.0:0 LISTENING
TCP 0.0.0.0:2869 0.0.0.0:0 LISTENING
TCP 0.0.0.0:2968 0.0.0.0:0 LISTENING
TCP 0.0.0.0:3306 0.0.0.0:0 LISTENING
TCP 0.0.0.0:5357 0.0.0.0:0 LISTENING
TCP 0.0.0.0:6515 0.0.0.0:0 LISTENING
TCP 0.0.0.0:6783 0.0.0.0:0 LISTENING
TCP 0.0.0.0:10243 0.0.0.0:0 LISTENING
TCP 0.0.0.0:19995 0.0.0.0:0 LISTENING
TCP 0.0.0.0:19996 0.0.0.0:0 LISTENING
TCP 0.0.0.0:30172 0.0.0.0:0 LISTENING
TCP 0.0.0.0:49152 0.0.0.0:0 LISTENING
TCP 0.0.0.0:49153 0.0.0.0:0 LISTENING
TCP 0.0.0.0:49154 0.0.0.0:0 LISTENING
TCP 0.0.0.0:49161 0.0.0.0:0 LISTENING
TCP 0.0.0.0:49163 0.0.0.0:0 LISTENING
TCP 0.0.0.0:49229 0.0.0.0:0 LISTENING
TCP 0.0.0.0:49230 0.0.0.0:0 LISTENING
TCP 127.0.0.1:5354 0.0.0.0:0 LISTENING
TCP 127.0.0.1:5354 127.0.0.1:49155 ESTABLISHED
TCP 127.0.0.1:5550 0.0.0.0:0 LISTENING
TCP 127.0.0.1:27015 0.0.0.0:0 LISTENING
TCP 127.0.0.1:49155 127.0.0.1:5354 ESTABLISHED
TCP 127.0.0.1:49998 127.0.0.1:49999 ESTABLISHED
TCP 127.0.0.1:49999 127.0.0.1:49998 ESTABLISHED
TCP 169.254.31.197:139 0.0.0.0:0 LISTENING
TCP 192.168.1.71:139 0.0.0.0:0 LISTENING
TCP 192.168.1.71:49178 192.168.1.78:445 ESTABLISHED
TCP 192.168.1.71:49186 74.125.142.125:443 ESTABLISHED
TCP 192.168.1.71:49219 74.125.142.125:5222 ESTABLISHED
TCP 192.168.1.71:49237 207.46.5.158:443 ESTABLISHED
TCP 192.168.1.71:49805 74.125.142.125:5222 ESTABLISHED
TCP 192.168.1.71:49810 157.56.237.70:443 ESTABLISHED
TCP 192.168.1.71:49811 54.219.20.84:443 ESTABLISHED
TCP 192.168.1.71:51926 204.152.18.206:443 TIME_WAIT
TCP 192.168.1.71:51957 204.152.18.206:443 TIME_WAIT
TCP 192.168.1.71:51968 204.152.18.196:443 TIME_WAIT
TCP 192.168.1.71:51985 204.152.18.196:443 TIME_WAIT
TCP 192.168.1.71:51986 204.152.18.206:443 ESTABLISHED
TCP 192.168.1.71:52000 204.152.18.196:443 TIME_WAIT
TCP 192.168.1.71:52010 204.152.18.196:443 ESTABLISHED
TCP 192.168.1.71:52026 204.152.18.196:443 ESTABLISHED
TCP 192.168.58.1:139 0.0.0.0:0 LISTENING
TCP 192.168.117.1:139 0.0.0.0:0 LISTENING
TCP [::]:80 [::]:0 LISTENING
TCP [::]:135 [::]:0 LISTENING
TCP [::]:445 [::]:0 LISTENING
TCP [::]:554 [::]:0 LISTENING
TCP [::]:2869 [::]:0 LISTENING
TCP [::]:3306 [::]:0 LISTENING
TCP [::]:5357 [::]:0 LISTENING
TCP [::]:10243 [::]:0 LISTENING
TCP [::]:30172 [::]:0 LISTENING
TCP [::]:49152 [::]:0 LISTENING
TCP [::]:49153 [::]:0 LISTENING
TCP [::]:49154 [::]:0 LISTENING
TCP [::]:49161 [::]:0 LISTENING
TCP [::]:49163 [::]:0 LISTENING
TCP [::]:49229 [::]:0 LISTENING
TCP [::]:49230 [::]:0 LISTENING
TCP [fe80::cd44:44c6:22b7:f181%12]:52028 [fe80::cd44:44c6:22b7:f181%12]:80
SYN_SENT
TCP [fe80::cd44:44c6:22b7:f181%12]:52029 [fe80::cd44:44c6:22b7:f181%12]:80
SYN_SENT
UDP 0.0.0.0:500 *:*
UDP 0.0.0.0:2968 *:*
UDP 0.0.0.0:3702 *:*
UDP 0.0.0.0:3702 *:*
UDP 0.0.0.0:3702 *:*
UDP 0.0.0.0:3702 *:*
UDP 0.0.0.0:4500 *:*
UDP 0.0.0.0:5004 *:*
UDP 0.0.0.0:5005 *:*
UDP 0.0.0.0:5355 *:*
UDP 0.0.0.0:6514 *:*
UDP 0.0.0.0:6515 *:*
UDP 0.0.0.0:6516 *:*
UDP 0.0.0.0:6783 *:*
UDP 0.0.0.0:30172 *:*
UDP 0.0.0.0:50299 *:*
UDP 0.0.0.0:51270 *:*
UDP 0.0.0.0:51272 *:*
UDP 0.0.0.0:52775 *:*
UDP 0.0.0.0:61250 *:*
UDP 0.0.0.0:61704 *:*
UDP 0.0.0.0:61706 *:*
UDP 0.0.0.0:65137 *:*
UDP 0.0.0.0:65139 *:*
UDP 127.0.0.1:1900 *:*
UDP 127.0.0.1:51269 *:*
UDP 127.0.0.1:51271 *:*
UDP 127.0.0.1:61248 *:*
UDP 127.0.0.1:61249 *:*
UDP 127.0.0.1:62841 *:*
UDP 127.0.0.1:65136 *:*
UDP 127.0.0.1:65138 *:*
UDP 169.254.31.197:137 *:*
UDP 169.254.31.197:138 *:*
UDP 169.254.31.197:1900 *:*
UDP 169.254.31.197:5353 *:*
UDP 169.254.31.197:62840 *:*
UDP 169.254.31.197:64393 *:*
UDP 192.168.1.71:137 *:*
UDP 192.168.1.71:138 *:*
UDP 192.168.1.71:1900 *:*
UDP 192.168.1.71:5353 *:*
UDP 192.168.1.71:62837 *:*
UDP 192.168.1.71:64394 *:*
UDP 192.168.58.1:137 *:*
UDP 192.168.58.1:138 *:*
UDP 192.168.58.1:1900 *:*
UDP 192.168.58.1:5353 *:*
UDP 192.168.58.1:62838 *:*
UDP 192.168.58.1:64396 *:*
UDP 192.168.117.1:137 *:*
UDP 192.168.117.1:138 *:*
UDP 192.168.117.1:1900 *:*
UDP 192.168.117.1:5353 *:*
UDP 192.168.117.1:62839 *:*
UDP 192.168.117.1:64395 *:*
UDP [::]:500 *:*
UDP [::]:3702 *:*
UDP [::]:3702 *:*
UDP [::]:3702 *:*
UDP [::]:3702 *:*
UDP [::]:4500 *:*
UDP [::]:5004 *:*
UDP [::]:5005 *:*
UDP [::]:5355 *:*
UDP [::]:30172 *:*
UDP [::]:49152 *:*
UDP [::]:60882 *:*
UDP [::]:61251 *:*
UDP [::]:61705 *:*
UDP [::]:61707 *:*
UDP [::1]:1900 *:*
UDP [::1]:62836 *:*
UDP [fe80::cc4:5a10:8a52:1fc5%23]:546 *:*
UDP [fe80::cc4:5a10:8a52:1fc5%23]:1900 *:*
UDP [fe80::cc4:5a10:8a52:1fc5%23]:5353 *:*
UDP [fe80::cc4:5a10:8a52:1fc5%23]:62835 *:*
UDP [fe80::45d0:fff7:8c6c:e9d3%11]:546 *:*
UDP [fe80::45d0:fff7:8c6c:e9d3%11]:1900 *:*
UDP [fe80::45d0:fff7:8c6c:e9d3%11]:62832 *:*
UDP [fe80::a988:c9f4:2fa8:e374%13]:546 *:*
UDP [fe80::a988:c9f4:2fa8:e374%13]:1900 *:*
UDP [fe80::a988:c9f4:2fa8:e374%13]:62834 *:*
UDP [fe80::cd44:44c6:22b7:f181%12]:546 *:*
UDP [fe80::cd44:44c6:22b7:f181%12]:1900 *:*
UDP [fe80::cd44:44c6:22b7:f181%12]:62833 *:*

There's an h2-1.2.131.jar file and I don't have any other h2 services installed. I downloaded the h2-1.3.168.jar but haven't placed in the tomcat\lib directory yet. I deleted all lock files in the pentaho-solutions\system\jackrabbit directory (assuming lock files all have "lock" in the name. There are a few db2.lock files created). I also noticed my network printer is using port 139 through tcp tcp://169.254.31.197 and disabled those rules on my firewall, but that didn't work.

Some guidance here would be appreciated on how to troubleshoot this issue.

Thank you in advance.

Changing the login background graphic

$
0
0
Hopefully a simple question. I found the jpeg used for the background of the login page here:
./pentaho-solutions/system/common-ui/resources/themes/crystal/images/login-crystal-bg.jpeg

I was hoping to swap out the graphic with another, but found that doing so and restarting the BA server didn't achieve the desired result.

Anyone able to explain how to customize the background?

Thanks!
-Brian

BI plateform not taking DB2 as datasource

$
0
0
Hello all,

Pentaho BI 5.0.1 server is showing error while creating JDBC datasource for db2 database even i have pasted db2jcc-9.5.jar in tomcat/lib folder message is coming while hitting TEST " ERROR OK".

Can anybody suggest a solution.

thanks
sumit

Adding JDBC Datasource through REST?

$
0
0
Hey I was wondering if there is anyway to add a JDBC datasource to the 5.0.1 server using rest services? I have figured out how to do it for a mondrian schema but cant find anything about JDBC Datasources. Thanks!

linking dashboard

$
0
0
hi,
I already searched on the forum but i couldn't manage to make it work
i have 2 dashboards, i want to link the first one to the second one,passing a parameter.
the second one is named test2.wcdf and is found under /aaa/test2.wcdf
the custom parameter inside the second dashboard is named: prova
and he has this function:
function {Dashboards.getQueryParameter('prova')}

If i open the second dashboard in a new windows i get this link:
http://localhost:8080/pentaho/api/re...neratedContent
i already tried to link with this:

window.location ('http://localhost:8080/pentaho/api/repos/:aaa:test2.wcdf/generatedContent&prova='prima' ')

window.location ('http://localhost:8080/pentaho/api/repos/:aaa:test2.wcdf/generatedContent&prova="prima"')
window.location ('http://localhost:8080/pentaho/api/re...nt&prova=prima')

window.location ('http://localhost:8080/pentaho/api/re...neratedContent')

window.location ('http://localhost:8080/pentaho/api/re...neratedContent')
window.location ('http://localhost:8080/pentaho/api/repos/:aaa:test2.wcdf&prova="prima"/generatedContent')

where prima is what i want to get inside the parameter prova

which is the correct url to put inside window.location?
i am using pentaho 5.0.1 community

How to benefit from Mondrian Cache

$
0
0
Hi folks,

it's quite hard to gather consitent information about how Mondrian, or especially the BI Server 4.8 makes use of the Mondrian Cache.
My assumption was, that for every MDX Query I do, no matter if in Saiku, CDA, Report Engine, the result get's cached so next time there is no need to ask the database again.
That assumption got relativized by this bolgpost of Pedro Alves. However, if I would follow his proposal, Caching would work as expected.

My question now is, how to (partially) refresh the Mondrian Cache and how to do it for example via an HTTP-Request? I found this documentation. Is there a way to make use of this features from a higher level, like xactions or something in the BI Server? I want to be able to partially renew the cache if there are changes in the fact tables.

Kind Regards

where do we start

$
0
0
Hi folks,

I want to build a solution using Pentaho and i want to know where do we start a business intelligence solution... first step, second step and more? best books for business intelligence and others...

thank you so much!!

Kettle Job executing using xaction in Pentaho 5.0.1 CE BI server

$
0
0
Hello All,


Don't able to access Kettle job from xaction. For that I copy my kettle job and xaction in pentaho solution repository e.g public/phantomjs.


In that folder I have following contains
1)init_var.ktr
2)phantom.kjb
3)phantomjs.xaction

I am using Pentaho 5.0.1 CE.By using above action file I called job called “phantom.kjb” but I was got following error




The Pentaho BI Platform reported an error while running an action sequence

Possible Causes:
ActionExecutionException: RuntimeContext.ERROR_0017 - Action failed to execute Action Sequence:phantomjs.xaction
Execution Stack:
EXECUTING ACTION: Pentaho Data Integration Job (KettleComponent) Loop Index:0
Error Time:Tuesday, March 18, 2014 4:08:13 PM IST
Error Type:ActionExecutionException
Session ID:admin
Instance Id:67ef116b-ae89-11e3-ba46-d43d7e1d14c1
Action Class:KettleComponent
Action Description:Pentaho Data Integration Job
Hide Details

Stack Trace:
org.pentaho.platform.api.engine.ActionExecutionException: RuntimeContext.ERROR_0017 - Action failed to execute
at org.pentaho.platform.engine.services.runtime.RuntimeContext.executeComponent(RuntimeContext.java:1341)
at org.pentaho.platform.engine.services.runtime.RuntimeContext.executeAction(RuntimeContext.java:1279)
at org.pentaho.platform.engine.services.runtime.RuntimeContext.performActions(RuntimeContext.java:1176)
at org.pentaho.platform.engine.services.runtime.RuntimeContext.executeLoop(RuntimeContext.java:1122)
at org.pentaho.platform.engine.services.runtime.RuntimeContext.executeSequence(RuntimeContext.java:1004)
at org.pentaho.platform.engine.services.runtime.RuntimeContext.executeSequence(RuntimeContext.java:910)
at org.pentaho.platform.engine.services.solution.SolutionEngine.executeInternal(SolutionEngine.java:386)
at org.pentaho.platform.engine.services.solution.SolutionEngine.execute(SolutionEngine.java:305)
at org.pentaho.platform.engine.services.solution.SolutionEngine.execute(SolutionEngine.java:184)
at org.pentaho.platform.web.http.api.resources.XactionUtil.executeInternal(XactionUtil.java:286)
at org.pentaho.platform.web.http.api.resources.XactionUtil.executeHtml(XactionUtil.java:195)
at org.pentaho.platform.web.http.api.resources.XactionUtil.execute(XactionUtil.java:335)
at org.pentaho.platform.web.http.ActionSequenceContentGenerator.createContent(ActionSequenceContentGenerator.java:61)
at org.pentaho.platform.engine.services.solution.SimpleContentGenerator.createContent(SimpleContentGenerator.java:57)
at org.pentaho.platform.web.http.api.resources.GeneratorStreamingOutput.generateContent(GeneratorStreamingOutput.java:229)
at org.pentaho.platform.web.http.api.resources.GeneratorStreamingOutput.write(GeneratorStreamingOutput.java:156)
at org.pentaho.platform.web.http.api.resources.GeneratorStreamingOutputProvider.writeTo(GeneratorStreamingOutputProvider.java:58)
at org.pentaho.platform.web.http.api.resources.GeneratorStreamingOutputProvider.writeTo(GeneratorStreamingOutputProvider.java:37)
at com.sun.jersey.spi.container.ContainerResponse.write(ContainerResponse.java:306)
at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1479)
at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1391)
at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1381)
at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416)
at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:538)
at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:716)
at org.pentaho.platform.web.servlet.JAXRSServlet.service(JAXRSServlet.java:111)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.pentaho.platform.web.servlet.JAXRSServlet.service(JAXRSServlet.java:116)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.pentaho.platform.web.http.filters.PentahoWebContextFilter.doFilter(PentahoWebContextFilter.java:161)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.pentaho.platform.web.http.filters.PentahoRequestContextFilter.doFilter(PentahoRequestContextFilter.java:83)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:378)
at org.springframework.security.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109)
at org.springframework.security.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
at org.springframework.security.ui.ExceptionTranslationFilter.doFilterHttp(ExceptionTranslationFilter.java:101)
at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
at org.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:216)
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.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:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.pentaho.platform.web.http.filters.SystemStatusFilter.doFilter(SystemStatusFilter.java:59)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.pentaho.platform.web.http.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.pentaho.platform.web.http.filters.WebappRootForwardingFilter.doFilter(WebappRootForwardingFilter.java:66)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:470)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Unknown Source)


Plz help me to solve it

Here I attached source Files also
Thanks
phantomjs.zip
Attached Files

requestParameterProcessingFilter : how to hide login parameter

$
0
0
Request parameter using GET method is working fine but I dont want to show credentials in URL , post method is not working


requestParameterProcessingFilter : http://jira.pentaho.com/browse/BISERVER-10708

<html>
<form action="http://localhost:8080/pentaho/api/repos/:public:Company:Reporting:Test:Test2.prpt/report?&output-target=pageable%2Fpdf" method="post">
<input type="hidden" name="userid" id="username" value="admin"/>
<input type="hidden" name="password" id="password" value="password"/>
<input type="submit" value="Submit">
</form>
</html>

How much is Pentaho EE 5?

$
0
0
I'm kind of sorry asking this, but I was requested to make a budget for acquiring Pentaho Enterprise Edition 5. I have been looking for information about pricing, but I have found nothing. Where can I find that? Could you give me some links or any other references please? I'm from Peru - South America (Spanish original speaker, but If I had to call someone I would do it)

Is there a "like" fuction within Spoon

$
0
0
I have several, but just trying to get the first one to work. I have CSV files from didn't sources. I am trying to compare device names from one to the other. However, in one system the device name is just "server". In the next system, it is "server.domin.com". I am currently using a Stream Value Lookup step to compare the columns. It works fine as long as they are exact. In my systems they are not. Is there a way to add a "like" type of function so it will see "server" and "server.domain.com" as the same device?

google analytics pentaho

$
0
0
Hi there,

I have noticed that, when using Pentaho5 BI platform, the web app tries to connect to google analytics. Is there a way or configuration to avoid this? In our network, access to google analytics have been disalloed by proxy / firewall.

Thanks,

Rafael
Viewing all 2893 articles
Browse latest View live