Quantcast
Channel: Pentaho Community Forums
Viewing all 16689 articles
Browse latest View live

Writing plugin using highcharts

$
0
0
Hi,
I am new to Pentaho. I want to know if we can create custom visualizations using other 3rd party javascript charting libraries like highcharts? I also need to plug it into pentaho. i.e, My new visualization name should appear in the dropdown list of chart types while creating charts in Pentaho. Is it possible? If so, how do we implement it? I am asking this because there isn't enough documentation in this regard.

Thanks in advance. Hope you guys will reply soon.

Get 30 FTP files

$
0
0
Hello Guy,

I want to create a job with spoon 5.0.1 which permit to take 30 files on a server with FTP.
I know that there is a component "get FTP file" in spoon but it takes the files one by one. For my problem I want to take this 30 files in one shot :(and put there content in Oracle data base.
I got 8 servers and in each server there are 30 files. I would like that the process ETL connect to these servers and take all the 30 files in a job or transformation.

Thanks for your help !!!

Regards,

Update CDE

$
0
0
Hello Forum,

i manually updated the C-Tools:

CDE <version buildId="6" branch="STABLE">14.07.29</version>
CDF <version buildId="7" branch="STABLE">14.07.29</version>
CDA <version buildId="217" branch="TRUNK">TRUNK-SNAPSHOT</version>
CGG <version buildId="10" branch="STABLE">14.07.29</version>

After the update i can not open my Dashboards.
Error:
Sorry. We really did try. Something went wrong. Please try againor contact your administrator.

The Log-file:
2014-08-20 17:15:46,624 INFO [org.pentaho.di] 2014/08/20 17:15:46 - General - Logging plugin type found with ID: CheckpointLogTable
2014-08-20 17:16:10,302 ERROR [hive.ql.exec.HiveHistory] Unable to create log directory /tmp/SRVBI03$
2014-08-20 17:16:10,458 ERROR [org.pentaho.platform.util.logging.Logger] misc-org.pentaho.platform.engine.services.connection.datasource.dbcp.DynamicallyPooledDatasourceSystemListener: DatasourceSystemListener.ERROR_0003 - Unable to pool datasource object: SampleData caused by java.sql.SQLException: socket creation error
.....
2014-08-20 17:21:49,750 ERROR [hive.ql.exec.HiveHistory] Unable to create log directory /tmp/SRVBI03$
2014-08-20 17:21:49,773 ERROR [org.pentaho.platform.web.servlet.PentahoDataSourceResolver] PentahoXmlaServlet.ERROR_0002 - IDatasourceService.UNABLE_TO_INSTANTIATE_OBJECT
org.pentaho.platform.api.data.DBDatasourceServiceException: java.sql.SQLException: socket creation error
at org.pentaho.platform.engine.services.connection.datasource.dbcp.PooledDatasourceHelper.setupPooledDataSource(PooledDatasourceHelper.java:280)
at org.pentaho.platform.engine.services.connection.datasource.dbcp.PooledOrJndiDatasourceService.resolveDatabaseConnection(PooledOrJndiDatasourceService.java:31)
at org.pentaho.platform.engine.services.connection.datasource.dbcp.NonPooledOrJndiDatasourceService.retrieve(NonPooledOrJndiDatasourceService.java:51)
at org.pentaho.platform.engine.services.connection.datasource.dbcp.BaseDatasourceService.getDataSource(BaseDatasourceService.java:69)
at org.pentaho.platform.engine.services.connection.datasource.dbcp.DynamicallyPooledOrJndiDatasourceService.resolveDatabaseConnection(DynamicallyPooledOrJndiDatasourceService.java:37)
at org.pentaho.platform.engine.services.connection.datasource.dbcp.NonPooledOrJndiDatasourceService.retrieve(NonPooledOrJndiDatasourceService.java:51)
at org.pentaho.platform.engine.services.connection.datasource.dbcp.BaseDatasourceService.getDataSource(BaseDatasourceService.java:69)
at org.pentaho.platform.web.servlet.PentahoDataSourceResolver.lookup(PentahoDataSourceResolver.java:43)
at mondrian.rolap.RolapConnection.createDataSource(RolapConnection.java:429)
at mondrian.rolap.RolapConnection.<init>(RolapConnection.java:135)
at mondrian.rolap.RolapConnection.<init>(RolapConnection.java:91)
at mondrian.olap.DriverManager.getConnection(DriverManager.java:113)
at mondrian.olap.DriverManager.getConnection(DriverManager.java:69)
at mondrian.olap.DriverManager.getConnection(DriverManager.java:51)
at mondrian.server.FileRepository$CatalogInfo.getRolapSchema(FileRepository.java:324)
at mondrian.server.FileRepository$CatalogInfo.access$800(FileRepository.java:301)
at mondrian.server.FileRepository.getRolapSchemas(FileRepository.java:274)
at mondrian.server.MondrianServerImpl.getRolapSchemas(MondrianServerImpl.java:434)
at mondrian.olap4j.MondrianOlap4jConnection.<init>(MondrianOlap4jConnection.java:213)
at mondrian.olap4j.FactoryJdbc4Plus$AbstractConnection.<init>(FactoryJdbc4Plus.java:323)
at mondrian.olap4j.FactoryJdbc41Impl$MondrianOlap4jConnectionJdbc41.<init>(FactoryJdbc41Impl.java:118)
at mondrian.olap4j.FactoryJdbc41Impl.newConnection(FactoryJdbc41Impl.java:32)
at mondrian.olap4j.MondrianOlap4jDriver.connect(MondrianOlap4jDriver.java:134)
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at mondrian.server.FileRepository.getConnection(FileRepository.java:166)
at mondrian.server.MondrianServerImpl.getConnection(MondrianServerImpl.java:264)
at org.pentaho.platform.plugin.action.olap.impl.OlapServiceImpl.getConnection(OlapServiceImpl.java:715)
at org.pentaho.platform.plugin.action.olap.impl.OlapServiceImpl.flushHostedAndRemote(OlapServiceImpl.java:515)
at org.pentaho.platform.plugin.action.olap.impl.OlapServiceImpl.flushAll(OlapServiceImpl.java:502)
at org.pentaho.platform.web.http.api.resources.SystemRefreshResource.flushMondrianSchemaCache(SystemRefreshResource.java:106)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)
at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:205)
at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)
at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302)
at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)
at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)
at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1511)
at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1442)
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:108)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
at org.pentaho.platform.web.servlet.JAXRSServlet.service(JAXRSServlet.java:113)
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:185)
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:87)
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.springframework.security.ui.basicauth.BasicProcessingFilter.doFilterHttp(BasicProcessingFilter.java:174)
at org.pentaho.platform.web.http.security.PentahoBasicProcessingFilter.doFilterHttp(PentahoBasicProcessingFilter.java:115)
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:263)
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 com.pentaho.ui.servlet.SystemStatusFilter.doFilter(SourceFile:89)
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:114)
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:70)
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.PentahoPathDecodingFilter.doFilter(PentahoPathDecodingFilter.java:33)
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)
Caused by: java.sql.SQLException: socket creation error
at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
at org.hsqldb.jdbc.jdbcConnection.<init>(Unknown Source)
at org.hsqldb.jdbcDriver.getConnection(Unknown Source)
at org.hsqldb.jdbcDriver.connect(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at org.apache.commons.dbcp.DriverManagerConnectionFactory.createConnection(DriverManagerConnectionFactory.java:75)
at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:582)
at org.apache.commons.pool.impl.GenericObjectPool.addObject(GenericObjectPool.java:1679)
at org.pentaho.platform.engine.services.connection.datasource.dbcp.PooledDatasourceHelper.setupPooledDataSource(PooledDatasourceHelper.java:260)
... 109 more

I try different Versions of the C-Tools, its not working. I use a Microsoft Server 2008.
The local installation on my PC is working, there I installed the C-Tools with the marketplace, but the marketplace doesnt work on my server (because we use a Proxy)

What can I do, or what does I wrong?
Thank you for your help... :)

UnsatisfiedLinkError: Could not load SWT library.

$
0
0
Hi

I am trying to install the community edition of Pentaho (PDI 5.1.0) on Amazon Linux.

I have updated the Java Version to

java.version=1.7.0_65java.vendor=Oracle Corporation

I have also got a windows x11 client working using xming and this works with xeyes as a test.

However when I execute ./spoon.sh I get the following error.



/home/ec2-user/data-integration
java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons:
no swt-pi-gtk-4332 in java.library.path
no swt-pi-gtk in java.library.path
/home/ec2-user/.swt/lib/linux/x86_64/libswt-pi-gtk-4332.so: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory
Can't load library: /home/ec2-user/.swt/lib/linux/x86_64/libswt-pi-gtk.so


If I navigate to the directory referenced above

[ec2-user@ip-10-0-10-158 x86_64]$ ls -ltr
total 1480
-rwxr-xr-x 1 ec2-user ec2-user 544904 Aug 20 15:36 libswt-gtk-4332.so
-rwxr-xr-x 1 ec2-user ec2-user 477168 Aug 20 15:36 libswt-pi-gtk-4332.so
-rwxr-xr-x 1 ec2-user ec2-user 485784 Aug 20 16:32 libswt-pi-gtk-4427.so




Any help would be greatly appreciated.

Daniel

Enabling Apache Axis logs while running the trasnformation from Spoon.

$
0
0
Hi Experts,
I want to enable the http logs for the apache axis soap request
I tried adding log4j.properties to the lib folder as shown below but I am not able to get logs related to apache axis, other logs for emptoris and onit which are my custom jars do appear.
I aso tried setting -Dlog4j.confguration = absolute path fo lg4j.properties in spoon.sh but did not help ? I also added PropertyConfigurator

.configure("properties file path"); in my Custom but in vain:( .
What am I suppose to do ?



# Set root category priority to INFO and its only appender to CONSOLE.

log4j.rootCategory=ERROR, LOGFILE
log4j.logger.org.apache.axis.transport.http.HTTPSender=DEBUG
log4j.logger.com.onit.cdw.emptoris=DEBUG
log4j.logger.com.onit.util=DEBUG


# LOGFILE is set to be a File appender using a PatternLayout.
log4j.appender.LOGFILE=org.apache.log4j.FileAppender
log4j.appender.LOGFILE.File=emptorisinteg.log
log4j.appender.LOGFILE.Append=true
log4j.appender.LOGFILE.layout=org.apache.log4j.PatternLayout
log4j.appender.LOGFILE.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss,SSS} [%t] %-5p %c %x - %m%n

-Thank
Yogsh

Spoon 5.1 How to get ERROR lines to write to log in Kitchen batch command files

$
0
0
Hi,

This may be helpful to some of you after upgrading to PDI 5.1
I use batch files to run Kitchen from the Windows scheduler to automate jobs.
Since upgrading to 5.1 from 4.2 my log files did not include error lines.
The resolution is to add the switch 2>&1 to the end of each kitchen.bat command line.

So in each scheduled batch job the line:
kitchen.bat /file:"jobnamehere.kjb" /level:Basic > log_name_here.log

changes to this:
kitchen.bat /file:"jobnamehere.kjb" /level:Basic > log_name_here.log 2>&1

Hope this helps some of you.

Mark Hogan

Spoon 5.1 Error reading multiple sheets from same Excel file in a transform

$
0
0
I have recently upgraded PDI to 5.1 from 4.2.
Since the upgrade, any transform that has multiple input steps reading from the same excel file but different sheets now fails.
I assume there is some kind of resource contention.
These transforms worked perfectly in 4.2 and thus we generated dozens of transforms like this.

My temporary workaround has been to duplicate the root excel file and specify a separate file for each Excel Input Step.

If anybody else has experienced this and has a resolution I woud be grateful to hear it.

Thanks

Mark Hogan

Can PDI process data from something like "tail -f"?

$
0
0
I'm doing a little brainstorming on a bunch of ideas, so forgive me if this question is way out in left field.

Is it possible to set up a continuously running input source in PDI that will run a transformation for every row received?

For example, I'd like to use PDI to process a logfile that is continuously being written to, like an Apache access_log file, transform the rows, and spit it out.

Thanks....

REST API call to athenticate with pentaho

$
0
0
Hi

Is there a Rest call available within Pentaho Rest API to authenticate user?
We are trying to access the Pentaho services from an external application where from would like to authenticate once and make subsequent calls using some sort of authentication token. So wanted to check it's feasibility & support within Pentaho.
Looking at http://javadoc.pentaho.com/bi-platfo...webservice500/ couldn't find much to this effect. Would appreciate any pointers or experience in a similar usage scenario.

Nikhil

Reporting with Metadata Source

$
0
0
If I create a metadata data source in PRD, it prompts me for the XMI file. I believe this is stored in the jackrabbit repo in the newer versions. Is there any way for me to point directly to the file that's published on the server? Or do I have to use PME to export the file as an XMI separately from publishing it directly to the server and having PRD point to it?

Dynamically entering table name in database lookup step

$
0
0
Currently, I'm working on a transformation where I've gotten my data from an xml and dynamically through ETL. One of my columns in my stream (TABLE_NAME), contains exactly that information, table names. I can have anywhere from 10 to 100+ rows.
I see that the Table Output step has an option called "Is the name of the table defined in a field?" I am looking for something similar in a database lookup step. I need the Lookup Table field of my database lookup step to be loaded (in some sort of loop, I am guessing) with each TABLE_NAME value. Does anyone have an idea of the best way to do such a thing? All I can think of is setting a variable, but then again variables can't be used within the same transformation, meaning other external jobs, etc. Also, I would still need some kind of loop to go through all the needed table names. Any input in this is greatly appreciated!!

XML Reading

$
0
0
Hi,
I have an input file as follows.

<Tag1>
<Tag2>
<Name>AAA</Name>
<Qualification>BBB</Qualification>
</Tag2>
<Tag2>
<Name>CCC</Name>
<Qualification>DDD</Qualification>
</Tag2>
<Date1tag>20140819</Date1tag>
<Date2tag>20140820</Date2tag>
</Tag1>

I want to create a table as follows from above XML.

Name Qualification Date1 Date2
AAA BBB 20140819 20140820
CCC DDD 20140819 20140820

Please let me know if this is possible using XML Input Stream (StAX).

TimeSeries Collector: Plotting with more than one column

$
0
0
I'm trying to have more than one line in my time series chart. I'm using the TimeSeries Collector XY Line Chart. In the value-columns field, I give it both column names. The column names are selected from the UI and they are derived from the results of a database query. I only see the first value in the value-columns array plotted. I can switch the order and the plot will change. I'd like both on at the same time.

Here are the column names:
date
value
prev_value


Any thoughts on what I might be doing wrong?
Thanks!

Filter rows

$
0
0
Hi -

I need to filter the rows for the below column. The column has both numeric and alpha numeric values in it. Do we have any step in pentaho that can filter it.

Is there any other way we can do this.

Column Name
------------
123456
Abc

Please guide me.

Thank you.

Can i run Mondrian on Tomcat Cluster?

$
0
0
Hello , i run Mondrian on the Apache2 + Tomcat cluster . But when i want to share the 'session' between tomcat servers . i got the error which said :

set Attribute : Non-serializable attribute

Can i solve this problem ? Or Mondrian can not support cluster?

invoke another kettle inside one kettle using execute command

$
0
0
Hi

I was looking like using execute command - can we invoke a batch script which executes another pentaho job.Basically , I want to use 2 kettles to minimize the memory .But was wondering if it is possible at all?

Thanks in advance!!!!

Getting start with Pentaho Community Edition

$
0
0
Hi gurus,

I just started to explore on Pentaho Community Edition. I was referring http://wiki.joanillo.org/images/1/11...user_guide.pdf for start up and I'm lost in Downloading and Installing the BI Suite. They instructed us to go http://sourceforge.net/projects/pentaho/ and download. On SourgeForge download page, they requested click Business Intelligence Server and I'm unable to find this and I cannot follow the following steps due to this. When I click the download button it downloading pdi-ce-5.1.0.0-752.zip. Am I downloading the correct zip folder or Is there any other document i can refer? PLease advice.

JNDI error While calling kettle job from Java code

$
0
0
My project calls a kettle job from the Java API.

I have a kettle job with a number of transformations and jobs within.
I am passing command line arguments to the job. Using java API I pass parameters using jobMeta.setArguments(parameters);
I am using JNDI connection for db. I have defined all the JNDI properties in the jdbc.properties file.
But I am getting the following error:

Error occured while trying to connect to the database
java.io.File parameter must be a directory. [/home/EclipseWorkspace/SampleForm/simple-jndi]

The path for the simple-jndi folder is my eclipse workspce root folder. How can I change it to the pentaho folder?

Dashboard freezes?

$
0
0
Hello.

I have been having an issue with one of my dashboard. It freezes.. Well actually when I open the dashboard, it just keeps loading... loading... loading.. and never reaches the dashboard.
Is this issue something to do with the SQL-queries that it has? Is there too many? It has been working for like 2 month now, but suddenly it stopped working properly.

This is the icon that stays there rolling: (They see me rollin', they hating..)
https://dl.dropboxusercontent.com/u/...vei/pyorii.png

My other dashboards load just normally. There is no problem with the other dashboards.
This dashboard had a js-code that was set to reload the page every 30 seconds and repeat that. But I did delete that loop js-code from the dashboard, and it still does not load the dashboard.

SQL-server works fine and the queries are going through when testing TOAD MySql program.
Pentaho Server is working normally, but not this dashboard...

It would very nice to get that dashboard to work again.

Should I restart pentaho server? Tho' I do not know how that resolves that.. Well, maybe it does. I will return to matter if it does.
But this freezing situation is odd and I have not faced it before with Pentaho CE.

edit.
Okey, the removing of the JS-code did let the dashboard load once. So it loads very slowly to the browser for some reason. It did not have this problem before on loading the page :/
Are the sql-queries going through too slowly?

edit2.
Hmm.. The problem seems to be the queries that take too long to query at the moment.. No idea why it is taking so long.


Cheers,
Niko

Unable to run kettle tranfromation from command line using sh pan.sh

$
0
0
Hi Forum,

I'm getting below error while running pan from command prmpt.

spoon is working without any issue

[a1551@localhost data-integration]$ sh pan.sh
Exception in thread "main" java.lang.NoClassDefFoundError: installed/Pentaho/data-integration
Caused by: java.lang.ClassNotFoundException: installed.Pentaho.data-integration
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
Could not find the main class: installed/Pentaho/data-integration. Program will exit.
[a1551@localhost data-integration]$



Thank you.
Sadakar
Viewing all 16689 articles
Browse latest View live


Latest Images

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