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

Problem generating my first report

$
0
0
Hi,

i try to generate a report from Java, but i only receive a blank page right now.

Any help would be appreciated.

my code is from the Pentaho for Java Developers Book:
Code:


        String load = Table.class.getResource("log.properties")
                .getFile();
        PropertyConfigurator.configure(load);
        LOGGER.getParent().setLevel(Level.WARN);
       
        ClassicEngineBoot.getInstance().start();


        MasterReport report = new MasterReport();


        DefaultTableModel t = new DefaultTableModel(new Object[][] {
                { "Hallo", 1 }, { "Welt", 2 } }, new String[] { "Text",
                "Zeichen" });


       
        final TableDataFactory dataFactory = new TableDataFactory();
        dataFactory.addTable("default", t);
        report.setDataFactory(dataFactory);


        FormulaExpression form = new FormulaExpression();
        form.setName("simple");
        form.setFormula("=[Zeichen]+100");
        report.addExpression(form);


        ReportHeader rH = new ReportHeader();
        ReportFooter rF = new ReportFooter();


        report.setReportHeader(rH);
        report.setReportFooter(rF);


        ItemBand band = new ItemBand();
        report.setItemBand(band);


        LabelElementFactory labelFactory = new LabelElementFactory();
        labelFactory.setText("LaberText");
        labelFactory.setX(1f);
        labelFactory.setY(1f);
        labelFactory.setMaximumWidth(100f);
        labelFactory.setMaximumHeight(20f);
        labelFactory.setBold(true);


        Element label = labelFactory.createElement();
        rH.addElement(label);


        TextFieldElementFactory textFactory = new TextFieldElementFactory();
        textFactory.setFieldname("Text");
        textFactory.setX(1f);
        textFactory.setY(1f);
        textFactory.setMaximumHeight(20f);
        textFactory.setMaximumWidth(100f);
        Element textField = textFactory.createElement();
        band.addElement(textField);


        NumberFieldElementFactory numberFactory = new NumberFieldElementFactory();
        numberFactory.setFieldname("simple");
        numberFactory.setX(101f);
        numberFactory.setY(1f);
        numberFactory.setMaximumHeight(20f);
        numberFactory.setMaximumWidth(100f);
        Element zahlField = numberFactory.createElement();
        band.addElement(zahlField);


        // Save Pdf to harddisc
        FileOutputStream out = new FileOutputStream(new File("report2.pdf"));
        PdfReportUtil.createPDF(report, out);
        out.close();
        out.flush();


I get the following warning when i run this code:

Code:

08/22/2013 15:29:15.359 WARN  [main] org.pentaho.reporting.libraries.base.boot.PackageState    - Unable to initialize the module misc-bsf
08/22/2013 15:29:15.391 WARN  [main] org.pentaho.reporting.libraries.base.boot.PackageState    - Unable to initialize the module ext-sbarcodes
08/22/2013 15:29:15.435 WARN  [main] org.pentaho.reporting.libraries.base.boot.PackageState    - Unable to initialize the module output-table-xls
08/22/2013 15:29:15.451 WARN  [main] org.pentaho.reporting.libraries.base.boot.PackageManager    - Required dependency 'org.pentaho.reporting.engine.classic.core.modules.output.table.xls.ExcelTableModule' for module 'org.pentaho.reporting.engine.classic.core.modules.gui.xls.ExcelExportGUIModule not initializable.
08/22/2013 15:29:15.906 WARN  [main] org.pentaho.reporting.engine.classic.core.layout.process.InfiniteMinorAxisLayoutStep    - Auto-Corrected zero-width first-line on paragraph
08/22/2013 15:29:15.907 WARN  [main] org.pentaho.reporting.engine.classic.core.layout.process.RevalidateAllAxisLayoutStep    - Revalidate: Auto-Corrected zero-width linebox.
08/22/2013 15:29:15.910 WARN  [main] org.pentaho.reporting.engine.classic.core.layout.process.InfiniteMinorAxisLayoutStep    - Auto-Corrected zero-width first-line on paragraph
08/22/2013 15:29:15.910 WARN  [main] org.pentaho.reporting.engine.classic.core.layout.process.InfiniteMinorAxisLayoutStep    - Auto-Corrected zero-width first-line on paragraph
08/22/2013 15:29:15.910 WARN  [main] org.pentaho.reporting.engine.classic.core.layout.process.RevalidateAllAxisLayoutStep    - Revalidate: Auto-Corrected zero-width linebox.
08/22/2013 15:29:15.910 WARN  [main] org.pentaho.reporting.engine.classic.core.layout.process.RevalidateAllAxisLayoutStep    - Revalidate: Auto-Corrected zero-width linebox.
08/22/2013 15:29:15.911 WARN  [main] org.pentaho.reporting.engine.classic.core.layout.process.InfiniteMinorAxisLayoutStep    - Auto-Corrected zero-width first-line on paragraph
08/22/2013 15:29:15.911 WARN  [main] org.pentaho.reporting.engine.classic.core.layout.process.InfiniteMinorAxisLayoutStep    - Auto-Corrected zero-width first-line on paragraph
08/22/2013 15:29:15.911 WARN  [main] org.pentaho.reporting.engine.classic.core.layout.process.RevalidateAllAxisLayoutStep    - Revalidate: Auto-Corrected zero-width linebox.
08/22/2013 15:29:15.912 WARN  [main] org.pentaho.reporting.engine.classic.core.layout.process.RevalidateAllAxisLayoutStep    - Revalidate: Auto-Corrected zero-width linebox.
08/22/2013 15:29:15.917 WARN  [main] org.pentaho.reporting.engine.classic.core.layout.process.InfiniteMinorAxisLayoutStep    - Auto-Corrected zero-width first-line on paragraph
08/22/2013 15:29:15.917 WARN  [main] org.pentaho.reporting.engine.classic.core.layout.process.RevalidateAllAxisLayoutStep    - Revalidate: Auto-Corrected zero-width linebox.
08/22/2013 15:29:15.918 WARN  [main] org.pentaho.reporting.engine.classic.core.layout.process.InfiniteMinorAxisLayoutStep    - Auto-Corrected zero-width first-line on paragraph
08/22/2013 15:29:15.918 WARN  [main] org.pentaho.reporting.engine.classic.core.layout.process.InfiniteMinorAxisLayoutStep    - Auto-Corrected zero-width first-line on paragraph
08/22/2013 15:29:15.918 WARN  [main] org.pentaho.reporting.engine.classic.core.layout.process.RevalidateAllAxisLayoutStep    - Revalidate: Auto-Corrected zero-width linebox.
08/22/2013 15:29:15.918 WARN  [main] org.pentaho.reporting.engine.classic.core.layout.process.RevalidateAllAxisLayoutStep    - Revalidate: Auto-Corrected zero-width linebox.
08/22/2013 15:29:15.919 WARN  [main] org.pentaho.reporting.engine.classic.core.layout.process.InfiniteMinorAxisLayoutStep    - Auto-Corrected zero-width first-line on paragraph
08/22/2013 15:29:15.919 WARN  [main] org.pentaho.reporting.engine.classic.core.layout.process.InfiniteMinorAxisLayoutStep    - Auto-Corrected zero-width first-line on paragraph
08/22/2013 15:29:15.919 WARN  [main] org.pentaho.reporting.engine.classic.core.layout.process.RevalidateAllAxisLayoutStep    - Revalidate: Auto-Corrected zero-width linebox.
08/22/2013 15:29:15.919 WARN  [main] org.pentaho.reporting.engine.classic.core.layout.process.RevalidateAllAxisLayoutStep    - Revalidate: Auto-Corrected zero-width linebox.


I think that this may be because there are some missing jars, so this is from my pom.xml:

Code:


        <repository>
            <name>pentaho</name>
            <id>pentaho-reporting-engine</id>
            <url>http://repository.pentaho.org/artifactory/pentaho/</url>
        </repository>


<dependency>
            <groupId>commons-logging</groupId>
            <artifactId>commons-logging</artifactId>
            <version>1.1.1</version>
        </dependency>
        <dependency>
            <groupId>org.beanshell</groupId>
            <artifactId>bsh</artifactId>
            <version>1.3.0</version>
        </dependency>
        <dependency>
            <groupId>org.apache.bsf</groupId>
            <artifactId>bsf-api</artifactId>
            <version>3.1</version>
        </dependency>


        <dependency>
            <groupId>pentaho-reporting-engine</groupId>
            <artifactId>pentaho-reporting-engine-classic-core</artifactId>
            <version>3.9.1-GA</version>
            <type>jar</type>
        </dependency>
        <dependency>
            <groupId>pentaho-reporting-engine</groupId>
            <artifactId>pentaho-reporting-engine-classic-extensions</artifactId>
            <version>3.9.1-GA</version>
            <type>jar</type>
        </dependency>
        <dependency>
            <groupId>pentaho-library</groupId>
            <artifactId>libbase</artifactId>
            <version>1.2.8</version>
        </dependency>
        <dependency>
            <groupId>pentaho-library</groupId>
            <artifactId>libdocbundle</artifactId>
            <version>1.2.8</version>
        </dependency>
        <dependency>
            <groupId>pentaho-library</groupId>
            <artifactId>libfonts</artifactId>
            <version>1.2.8</version>
        </dependency>
        <dependency>
            <groupId>pentaho-library</groupId>
            <artifactId>libformat</artifactId>
            <version>1.2.8</version>
        </dependency>
        <dependency>
            <groupId>pentaho-library</groupId>
            <artifactId>libformula</artifactId>
            <version>1.2.8</version>
        </dependency>
        <dependency>
            <groupId>pentaho-library</groupId>
            <artifactId>libloader</artifactId>
            <version>1.2.8</version>
        </dependency>
        <dependency>
            <groupId>pentaho-library</groupId>
            <artifactId>librepository</artifactId>
            <version>1.2.8</version>
        </dependency>
        <dependency>
            <groupId>pentaho-library</groupId>
            <artifactId>libserializer</artifactId>
            <version>1.2.8</version>
        </dependency>
        <dependency>
            <groupId>pentaho-library</groupId>
            <artifactId>libxml</artifactId>
            <version>1.2.8</version>
        </dependency>
        <dependency>
            <groupId>pentaho-library</groupId>
            <artifactId>libswing</artifactId>
            <version>1.2.8</version>
        </dependency>
       
        <dependency>
    <groupId>pentaho-library</groupId>
    <artifactId>libsparkline</artifactId>
    <version>1.2.9</version>
</dependency>
       
       
       
        <dependency>
            <groupId>com.lowagie</groupId>
            <artifactId>itext</artifactId>
            <version>2.1.7</version>
        </dependency>
        <dependency>
            <groupId>com.lowagie</groupId>
            <artifactId>itext-rtf</artifactId>
            <version>2.1.7</version>
        </dependency>


Change CDE Export CSV Change Separator

$
0
0
Is it possible to change the CSV separator character from the default ";" to a ","?

I've found a file - "system/cda/cda.properties" but changing it here doesn't seem to have an effect. Is there somewhere else I can change?

Also is is possible to set the formatting for columns when exporting to an xls file? I'm exporting (in my file) the number "123456" but when I open the file it appears as "123,456.00".

Thanks!

SMOTE Error

$
0
0
Hi Mark,

I get a SMOTE error saying, " Problem filtering instances: Comparison method violates its general contract!". I know it is not in the Weka code itself because it functions perfectly on a work computer. My home computer is the one that is giving the error. Both are using Windows 7.


Thank you,
Mike

Can Kettle write out HL7 messages?

$
0
0
Hi.

Looking through the Kettle documentation for integration with HL7...
I can find an HL7 Input documentation, but not HL7 output documentation.

Is this because Kettle only inputs HL7 messages?

Thank you.
Calvin

How to change series data for one CDE component

$
0
0
Hi, I work in a big government DW project and have a very detail-specific set of customized reports. I have a CDE report with 6 components (bar charts and dot charts) and need to change the series data for some of the charts. I'm using this SELECT to make tests, is works on Pentaho's built-in SampleData:

SELECT CUSTOMERNAME, 1000 * SUM(ORDERFACT.TOTALPRICE) / (SELECT SUM(ORDERFACT.TOTALPRICE) FROM ORDERFACT WHERE YEAR_ID = 2004) AS REVENUE_PCT
FROM ORDERFACT INNER JOIN CUSTOMERS ON CUSTOMERS.CUSTOMERNUMBER = ORDERFACT.CUSTOMERNUMBER
WHERE YEAR_ID = 2004
GROUP BY CUSTOMERNAME
ORDER BY REVENUE_PCT DESC limit 50


I need to change the returned data like this:

  • if REVENUE_PCT > 25, multiply it by 1.33
  • if REVENUE_PCT <= 10, multiply it by 0.5



Can't change the SQL because the results are used in other charts. I must send just one SQL query to the production database (these are heavy queries), so can't create another datasource.

How can I do this?

Thanks
Rafael


EDIT:
  • CDE Version 13.06.05 (stable)
  • CDA Version 13.06.05 (stable)
  • CDF Version 13.06.05 (stable)

REST Client not returning data

$
0
0
Hello guys,

I'm pretty new using Kettle. I'm trying to run a very simple REST Client example. No parameter or authentication required, just the URL. I don't know what is going on, but it's not working. When I browse the URL at my web browser it works, I can see the xml file content. In the other hand when I try to get the same file using the REST client Step it doesn't work. The message I get when I try to preview the step is: "Sorry, during preview there weren't any rows to display for this step.". At Step Metrics panel every register (read, write, input, output) is 0.
Could someone help me on that? Did any one face similar problem?

Regards

Deployment of non-kettle files by less savvy users

$
0
0
Briefly: Can the Enterprise Edition repository deploy non-kettle files?

Details:
We currently use Enterprise Edition PDI to generate many excel spreadsheet reports and distribute them via email on a regular basis. Each report has its own template spreadsheet used by the Excel Writer transformation step. These templates normally change whenever the transform changes and need to be deployed at the same time. There are also other non-kettle files required as part of our various ETL processes. Our file-based repository is in linux and as a linux sysadmin management is simple. However for new our 100% Windows based report developer linux commands are completely out of scope. The Enterprise Edition's repository management tools could help simplify access and deployment for this non-linux user, but it appears that the repository does not allow for non-kettle files such as our Excel report templates.

How can we best provide our non-sysadmin with a method to manage Pentaho jobs, transforms and required non-kettle files on our linux server?

Suggestions?

MongoDB Output and arrays

$
0
0
Hi Everyone,

Just starting with this, so excuse my "newbiesness".

Ok, simple example of my problem:

Have this input:
Student_id, Student_name, Professor_id, Professor_name

The output should be a structure like:

Professor document
{
"Name" : "Professor 1",
"_id" : NumberLong(1),
"students" : [
{
"id" : NumberLong(1),
"name" : "Student1"
},
{
"id" : NumberLong(2),
"name" : "Student2"
}
]
}

So, created a transformation for an upsert, but got to the issue that the desired behavior is this:
* If the student id is not in the array, add it. If it is, update the name only.
i could not do that.

Tried using these conditions with professor_id as upsert match:
students[0].id $set Insert
students[0].name $set Insert
students[].id $push Update
students[].name $push Update

that works the first time, but the second (as expected) it just adds the items again and i end up with double the expected items.

If i add the student_id to the upsert match, the document is never created and i end up with an empty collection.

Could you give me an idea on how to accomplish this?

Thanks

Daniel

Crosstab report feature in PRD 3.9.1

$
0
0
Hi, I would like to ask if it is expected behavior for PRD 3.9.1 to display only one page (i.e. cannot span more than one page) when printing/previewing crosstab reports. I know it is simply an experimental feature for that version, but I would like to know if I made a mistake in my configuration or not.

For reference, I followed this guide when making the report: http://b-e-o.blogspot.in/2009/11/cro...in-prd-35.html

We are considering using Pentaho as a solution for our project's reporting requirements (one of them being support for pivot reports and crosstabs), so feedback would be greatly appreciated. Thanks.

Support for static Extension-B characters

$
0
0
Hi, one of the requirements in our project is support for Extension-B characters in reports.

PRD handles this fine if the characters are coming from the database, however, it has trouble supporting static versions of the said characters, i.e. when the characters are copy-pasted/typed directly into Pentaho Report Designer, even when the required font has been installed. It works fine for regular Chinese characters, but it has trouble supporting the mentioned characters.

Is there a workaround for supporting them in Pentaho Report Designer besides having to use images instead of text? Thanks.

Argument list too long error in she'll script step pdi 3.2

$
0
0
How can I explicitly limit the list of arguments passed to the shell script step? I have tried to pass as a list of arguments to a file, and have also written the script directly into the step.
It seems that after my job has run for a certain length of time, this will error gets thrown. I suspect that there are arguments being passed that I do not need.
Thanks.

java.io.IOException:Insufficient system resources exist to complete the requested

$
0
0
Hi,

Can anybody know when this error occurred:

ERROR 23-08 06:11:04,649 - CAL-1 - Unable to close openFile file : file:///K:/Life Insurance/Pentaho/DELIVERABLE/PENTAHO_JOBS/TRANSFORMATIONS/NEW_MIS_TRANSFORMATIONS_JOBS/MIS_EXCEL_INPUTS/CAL-1.xls
ERROR 23-08 06:11:05,590 - CAL-1 - java.io.IOException: Insufficient system resources exist to complete the requested service
at java.io.FileOutputStream.writeBytes(Native Method)
at java.io.FileOutputStream.write(Unknown Source)
at java.io.BufferedOutputStream.write(Unknown Source)
at org.apache.commons.vfs.util.MonitorOutputStream.write(Unknown Source)
at jxl.write.biff.MemoryDataOutput.writeData(MemoryDataOutput.java:107)
at jxl.write.biff.CompoundFile.writeExcelData(CompoundFile.java:505)
at jxl.write.biff.CompoundFile.write(CompoundFile.java:455)
at jxl.write.biff.File.close(File.java:120)
at jxl.write.biff.WritableWorkbookImpl.close(WritableWorkbookImpl.java:456)
at org.pentaho.di.trans.steps.exceloutput.ExcelOutput.closeFile(ExcelOutput.java:653)
at org.pentaho.di.trans.steps.exceloutput.ExcelOutput.dispose(ExcelOutput.java:764)
at org.pentaho.di.trans.step.RunThread.run(RunThread.java:69)
at java.lang.Thread.run(Unknown Source)


ERROR 23-08 06:11:06,735 - CALCULATIVE - Errors detected!
ERROR 23-08 06:11:06,751 - CALCULATIVE - Errors detected!
ERROR 23-08 06:11:06,942 - Kitchen - Finished with errors


If anybody know please provide some suitable solution to remove such error occured


Regards,
Rushikesh

How do you copy a transformation from the Repository?

$
0
0
I have been using flat files to store my transformations in for a year but I now need to create transformations in the repository which is internalto PDI.
How do I copy a transformation from my new repository to another repository in another environment please?

Pentaho Logging Tables

$
0
0
How do I maintain my own tables and link them to the Pentaho Logging Tables?

When a transformation runs it can be configured to update logging tables.
These 4 tables make up the permanent Control Log and may be kept for posterity.
It is not possible to add or maintain any new and more useful details in the logging tables because they are internal to Pentaho, so I want to capture the internal keys and hold some more useful information about the transformations in my own tables.

How do I maintain my own tables and link them to the internal keys of the 4 Pentaho Logging Tables?

usage of variable in Get File Names step

$
0
0
Hi All ,


Issue on using filename variable in Get File Names ,My job works fine on windows, while running the same on linux, got the below issue .
can some help to know , how to resolve this .


INFO 23-08 07:59:51,573 - GetTodaydate - Dispatching started for transformation [GetTodaydate]
ERROR 23-08 07:59:51,651 - FileInputList - org.apache.commons.vfs.FileSystemException: Could not find files in "file:///My_shared/inbox/logs".
at org.apache.commons.vfs.provider.AbstractFileObject.findFiles(Unknown Source)
at org.apache.commons.vfs.provider.AbstractFileObject.findFiles(Unknown Source)
at org.pentaho.di.core.fileinput.FileInputList.createFileList(FileInputList.java:211)
at org.pentaho.di.trans.steps.getfilenames.GetFileNamesMeta.getFileList(GetFileNamesMeta.java:690)
at org.pentaho.di.trans.steps.getfilenames.GetFileNames.init(GetFileNames.java:336)
at org.pentaho.di.trans.step.StepInitThread.run(StepInitThread.java:62)
at java.lang.Thread.run(Unknown Source)
Caused by: java.util.regex.PatternSyntaxException: Illegal repetition near index 0
${FILE1}.*\.txt$
^
at java.util.regex.Pattern.error(Unknown Source)
at java.util.regex.Pattern.closure(Unknown Source)
at java.util.regex.Pattern.sequence(Unknown Source)


Thanks

formula

$
0
0
Hi,
Can you provide me the formula used for calculating correlation coefficient and cross-validated correlation coefficient in WEKA 3.6.8.
Also, kindly tell me what 'N' stands for in RMSE formula
: RMSE = ∑√(yi-xi)2 / N

Thanks in advance...

Copy Rows to Results with bigger Data sets

$
0
0
I am running into an issue when trying to load roughly 130k records into several tables on the same database.

My first attempt was the same one I used for smaller datasets, where everything was contained in the same transformation, I just put block steps in to make sure there was no locking. Well that did not work with a dataset of 130k records due to the rowset size being at 10k. That leads to my first question:

Does it make sense to change the rowset size to 130k + ? I also need to consider that one day I will have to load more than that.

My next attempt was to separate each database insert into separate transformations, and just send results into a Copy Rows to Results step. Well when I attempted that, the first transformation would finish, and attempt to move to the next transformation, but just quit. No error message, no log entry that the job was finished either.

Anyone have any experience in loading bigger amounts of data and care to share some tips? I can provide more details if needed.

Interactive Reports: way to filter a field based on a parameter name?

$
0
0
Is there a way to put a filter on a field in the Interactive Report creator to set it equal to either another field name or a parameter name? I.e., "FIELD_1 exactly matches $(PARAM)"?

metadataService security issue

$
0
0
I am trying to use the pir.html web service to view Interactive Reports (IRs) Anonymously (without requiring Authentication). I am currently using three separate pentaho environments (dev/QA/prod), and their security settings are exactly the same on all three servers, however I am only able to successfully view IRs Anonymously on our test environment. By security settings, I am referring to the ObjectDefinitionSource property in the filterInvocationInterceptor bean in /pentaho-solutions/system/applicationContext-spring-security.xml, as well as the <data-access-view-roles> & <data-access-roles> properties in /system/data-access/settings.xml, and a few other settings that I don't think are relevant to this discussion.

Now, the issue...

Our solution uses a metadata datasource to (mostly) drive our Reports/Dashboards, which is configured with the proper Role restrictions such that Dashboards using the metadata model have no issues being viewed Anonymously; it's only when I attempt to generate reports using specifically the pir.html content-generator that I get errors (When I instead generate Interactive Reports via the /pentaho-solutions/system/reporting/reportviewer/ content-generator the reports actually display).

It's got to be the /ws-run/metadataService web-service (/pentaho-solutions/common-ui/) that's causing this problem - actually, I knowit's the metadataService call that's causing the issue because running it manually, and UNAUTHENTICATED, produces the following


from DEV environment (where the issue resides):

http://bidev01:8080/pentaho/content/...=1377275290614


outputs:
Code:

<ns:listBusinessModelsResponse/>
This output is not valid, because when I run the same URL but as an AUTHENTICATED user, I get:

http://bidev01:8080/pentaho/content/...=1377275290614

outputs:
Code:

<ns:listBusinessModelsResponse>
<return type="org.pentaho.common.ui.metadata.model.impl.ModelInfo">
<domainId>admin/resources/metadata/ALL_REQUESTS.xmi</domainId>
<modelDescription>This is the data model for ALL_REQUESTS</modelDescription>
<modelId>MODEL_1</modelId>
<modelName>ALL_REQUESTS</modelName>
</return>

<return type="org.pentaho.common.ui.metadata.model.impl.ModelInfo">
<domainId>steel-wheels/metadata.xmi</domainId>
<modelDescription>This model contains information about Employees.</modelDescription>
<modelId>BV_HUMAN_RESOURCES</modelId>
<modelName>Human Resources</modelName>
</return>
....
</ns:listBusinessModelsResponse>

On my QA server (where this problem does not reside) I am able to make this web service call either Anonymously or Authenticated and get the same (valid!) results. The ObjectDefinitionSource property in ApplicationContext-spring-security looks like this:

Code:

\A/content/iadhoc.*\Z=Anonymous,PentahoUsers,PentahoAdmins
\A/content/ws-run/metadataservice.*\Z=Anonymous,PentahoUsers,PentahoAdmins
\A/content/ws-run/metadataserviceda.*\Z=Anonymous,PentahoUsers,PentahoAdmins
\A/content/ws-run/interactiveadhocservice.*\Z=Anonymous,PentahoUsers,PentahoAdmins
\A/content/ws-run/usersettingservice.*\Z=Anonymous,PentahoUsers,PentahoAdmins
\A/content/pentaho-interactive-reporting.*\Z=Anonymous,PentahoUsers,PentahoAdmins
\A/viewaction?.*\Z=Anonymous,PentahoUsers,PentahoAdmins
\A/content/viz-crossfilter/.*\Z=Anonymous,PentahoUsers,PentahoAdmins
\A/content/viz-sunburst/.*\Z=Anonymous,PentahoUsers,PentahoAdmins
\A/content/viz-funnel/.*\Z=Anonymous,PentahoUsers,PentahoAdmins
\A/content/viz-calendar/.*\Z=Anonymous,PentahoUsers,PentahoAdmins
\A/getresource.*\Z=Anonymous,PentahoUsers,PentahoAdmins
\A/content/pentaho-cdf.*solution.public.*\Z=Anonymous,PentahoUsers,PentahoAdmins
\A/pivot.*\Z=Anonymous,PentahoUsers,PentahoAdmins
\A/content/pentaho-cdf.*.js.*\Z=Anonymous,PentahoUsers,PentahoAdmins
\A/content/pentaho-cdf.*.resources.*\Z=Anonymous,PentahoUsers,PentahoAdmins
\A/content/pentaho-cdf.*.resource.*\Z=Anonymous,PentahoUsers,PentahoAdmins
\A/content/pentaho-cdf/storage.*.action.*\Z=Anonymous,PentahoUsers,PentahoAdmins
\A/content/cda/doquery.*\Z=Anonymous,PentahoUsers,PentahoAdmins
\A/content/dashboards.*\Z=Anonymous,PentahoUsers,PentahoAdmins
\A/content/analyzer/viewer.*.solution.*.public.*.path.*\Z=Anonymous,PentahoUsers,PentahoAdmins
\A/content/analyzer/viewer.*.solution=Public.*\Z=Anonymous,PentahoUsers,PentahoAdmins
\A/content/analyzer/viewer.*solution.*Public.*\Z=Anonymous,PentahoUsers,PentahoAdmins
\A/content/analyzer/editor.*command.*solution=public.*action.*\Z=Anonymous,PentahoUsers,PentahoAdmins
\A/content/analyzer/editor.*command=open.*solution=Public.*path.*action.*\Z=Anonymous,PentahoUsers,PentahoAdmins
\A/viewaction.*solution=public.*action.*background.*\Z=Anonymous,PentahoUsers,PentahoAdmins
\A/content/dashboards/theme.*\Z=Anonymous,PentahoUsers,PentahoAdmins
\A/content/dashboards/resource.*\Z=Anonymous,PentahoUsers,PentahoAdmins
\A/openflashchart/open-flash-chart-full-embedded-font.swf.*\Z=Anonymous,PentahoUsers,PentahoAdmins
\A/content/analyzer/webcontext.js.*\Z=Anonymous,PentahoUsers,PentahoAdmins
\A/content/analyzer/styles.*\Z=Anonymous,PentahoUsers,PentahoAdmins
\A/mantle/widgets.*\Z=Anonymous,PentahoUsers,PentahoAdmins
\A/mantle/mantlestyle.*\Z=Anonymous,PentahoUsers,PentahoAdmins
\A/content/analyzer/scripts.*\Z=Anonymous,PentahoUsers,PentahoAdmins
\A/js/require.*.js.*\Z=Anonymous,PentahoUsers,PentahoAdmins
\A/content/reporting.*\Z=Anonymous,PentahoUsers,PentahoAdmins
\A/content/pentaho-geo/resources/baselayers/baselayers.js.*\Z=Anonymous,PentahoUsers,PentahoAdmins
\A/content/pentaho-geo/resources/web.*\Z=Anonymous,PentahoUsers,PentahoAdmins
\A/content/dashboards/script.*\Z=Anonymous,PentahoUsers,PentahoAdmins
\A/content/common-ui.*\Z=Anonymous,PentahoUsers,PentahoAdmins
\A/content/webcontext.js.*\Z=Anonymous,PentahoUsers,PentahoAdmins
\A/content/dashboards.*.command.*\Z=Anonymous,PentahoUsers,PentahoAdmins
\A/content/dashboards.*.solution.*.public.*\Z=Anonymous,PentahoUsers,PentahoAdmins
\A/index.jsp.*\Z=Anonymous,PentahoUsers,PentahoAdmins
\A/viewaction.*solution.Public.*\Z=Anonymous,PentahoUsers,PentahoAdmins
\A/i18n.*.plugin.*.name.*\Z=Anonymous,PentahoUsers,PentahoAdmins
\A/.*require-js-cfg.js\Z=Anonymous,PentahoUsers,PentahoAdmins
\A/webcontext.js.*\Z=Anonymous,PentahoUsers,PentahoAdmins
\A/content/common-ui/resources/web/cache/cache-service.js.*\Z=Anonymous,PentahoUsers,PentahoAdmins
\A/cacheexpirationservice.*\Z=Anonymous,PentahoUsers,PentahoAdmins
\A/js/theme.*\Z=Anonymous,PentahoUsers,PentahoAdmins
\A/content/common-ui/resources/themes/.*\Z=Anonymous,PentahoUsers,PentahoAdmins
\A/content/common-ui/resources/web/dojo/djconfig.js.*\Z=Anonymous,PentahoUsers,PentahoAdmins
\A/content/pentaho-mobile/resources/.*\Z=Anonymous,PentahoUsers,PentahoAdmins
\A/docs/.*\Z=Anonymous,PentahoUsers,PentahoAdmins
\A/mantlelogin/.*\Z=Anonymous,PentahoUsers,PentahoAdmins
\A/mantle/mantleloginservice/*\Z=Anonymous,PentahoUsers,PentahoAdmins
\A/mantle/.*\Z=PentahoUsers,PentahoAdmins
\A/welcome/.*\Z=Anonymous,PentahoUsers,PentahoAdmins
\A/public/.*\Z=Anonymous,PentahoUsers,PentahoAdmins
\A/login.*\Z=Anonymous,PentahoUsers,PentahoAdmins
\A/ping/alive.gif.*\Z=Anonymous,PentahoUsers,PentahoAdmins
\A/j_spring_security_check.*\Z=Anonymous,PentahoUsers,PentahoAdmins
\A/getimage.*\Z=Anonymous,PentahoUsers,PentahoAdmins
\A/getresource.*\Z=Anonymous,PentahoUsers,PentahoAdmins
\A/admin/resources/metadata/.*\Z=Anonymous,PentahoUsers,PentahoAdmins
\A/admin.*\Z=PentahoAdmins,Anonymous,PentahoUsers
\A/auditreport.*\Z=PentahoAdmins
\A/auditreportlist.*\Z=PentahoAdmins
\A/versioncontrol.*\Z=PentahoAdmins
\A/propertieseditor.*\Z=PentahoAdmins
\A/propertiespanel.*\Z=PentahoAdmins
\A/subscriptionadmin.*\Z=PentahoAdmins
\A/resetrepository.*\Z=PentahoAdmins
\A/viewaction.*solution.admin.*\Z=PentahoAdmins
\A/scheduleradmin.*\Z=PentahoAdmins
\A/publish.*\Z=PentahoAdmins,PentahoUsers
\A/logout.*\Z=Anonymous,PentahoAdmins,PentahoUsers
\A/solutionrepositoryservice.*component=delete.*solution=system.*\Z=Nobody
\A/solutionrepositoryservice.*solution=system.*component=delete.*\Z=Nobody
\A/admin.*\Z=PentahoAdmins,Anonymous,PentahoUsers
...
\A/.*\Z=PentahoAdmins,PentahoUsers

I've attached the output from pentaho.log to this post; Anyone have any suggesstion? Please, help me!!!!!!!!!! :(


TL;DR: metadataService web-service doesn't work UNAUTHENTICATED, and only when trying to view Interactive Reports using pir.html. Dashboards are viewable just fine.
Attached Files

Adding watermark to a chart

$
0
0
Hello again,
I'm trying to add an image on the background of a chart, to work as a watermark.
The problem is that I have no idea how to achieve this.
I've only found this example so far, but I cannot apply it to my chart.

I created the image, but I don't now how to insert it into the chart.

Code:

var img = new pv.Panel()    .width(100)
    .height(100)
  .add(pv.Image)
    .url("http://bestclipartblog.com/clipart-pics/sun-clip-art-11.png");

Thank you.
Viewing all 16689 articles
Browse latest View live


Latest Images

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