GithubHelp home page GithubHelp logo

fcorti / alfresco-audit-analysis-reporting Goto Github PK

View Code? Open in Web Editor NEW
11.0 13.0 11.0 239.38 MB

A.A.A.R. migrated to Aflytics!

HTML 0.25% CSS 3.41% JavaScript 24.18% Shell 1.25% Java 42.33% Batchfile 0.81% PLpgSQL 23.94% FreeMarker 3.71% XSLT 0.12%

alfresco-audit-analysis-reporting's Introduction

Attention!

A.A.A.R. project became Alflytics!

It is higly suggested to consider the migration to Alflytics.

Alfresco Audit Analysis and Reporting

”Who is using the Alfresco E.C.M.?

How the repository is growing up in the passing time?

Which are the most viewed contents in the Alfresco E.C.M. last week?

Who are the most active users in the Alfresco E.C.M. in the last quarter?

Which is the created content during last week? And during last month?

Which is the most accessed content of the last month?

How many failed login?”

These are only some of the questions that are often done about an Alfresco E.C.M. and is well known that Alfresco only recently is starting to define a reporting system and today they are following exactly the same path you can see here, with a solution for Enterprise Edition only and a high cost.

With Alfresco Audit Analysis and Reporting (A.A.A.R.) is provided a solution to extract, store and query audit data together with the document/folder informations at a very detailed level, with the goal to be useful to the end-user in a very easy way. To reach that goal, to make the data more friendly for the end-user, the data are published in reports in well-known formats (pdf, Microsoft Excel, csv, etc.) and stored directly in Alfresco as static documents organized in folders, versioned, authorized and published.

On the top of the A.A.A.R. solution, the A.A.A.R. Analytics is a set of powerful tools to analyze data in an interactive and customizable way with a user console composed by dashboards, reports and free analysis.

Remembering that Alfresco is leader as an Open Source E.C.M. platform, the provided solution integrates the Pentaho Suite (http://www.pentaho.com) as the most important Open Source Business Intelligence platform. Thanking to the use of Pentaho Data Integration (http://community.pentaho.com) and Pentaho Report Designer (http://community.pentaho.com) the solution is a scalable and generic Reporting System with an open window on the Business Intelligence world. A.A.A.R. is now published in the official Pentaho Marketplace.

For more informations: http://fcorti.com/alfresco-audit-analysis-reporting/

alfresco-audit-analysis-reporting's People

Contributors

bitdeli-chef avatar fcorti avatar hutingung avatar sorrentinov avatar yregaieg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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

alfresco-audit-analysis-reporting's Issues

When starting up after applying amp successfully

Hi fcorti

im trying to install 4.1, on alfresco 5.0.d, pentaho 6, the amps apply ok, but im seeing when alfresco starts up, im using java 8, could that be an issue?

2016-02-18 08:18:13,472 INFO [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Stopped 'email' subsystem, ID: [email, outbound]
2016-02-18 08:18:13,843 WARN [factory.support.DisposableBeanAdapter] [localhost-startStop-1] Invocation of destroy method 'close' failed on bean with name 'locksSqlSessionTemplate': java.lang.UnsupportedOperationException: Manual close is not allowed over a Spring managed SqlSession
2016-02-18 08:18:13,846 WARN [factory.support.DisposableBeanAdapter] [localhost-startStop-1] Invocation of destroy method 'close' failed on bean with name 'propertyValueSqlSessionTemplate': java.lang.UnsupportedOperationException: Manual close is not allowed over a Spring managed SqlSession
2016-02-18 08:18:13,847 WARN [factory.support.DisposableBeanAdapter] [localhost-startStop-1] Invocation of destroy method 'close' failed on bean with name 'auditSqlSessionTemplate': java.lang.UnsupportedOperationException: Manual close is not allowed over a Spring managed SqlSession
2016-02-18 08:18:13,848 WARN [factory.support.DisposableBeanAdapter] [localhost-startStop-1] Invocation of destroy method 'close' failed on bean with name 'contentSqlSessionTemplate': java.lang.UnsupportedOperationException: Manual close is not allowed over a Spring managed SqlSession
2016-02-18 08:18:13,849 INFO [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Stopping 'sysAdmin' subsystem, ID: [sysAdmin, default]
2016-02-18 08:18:13,849 INFO [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Stopped 'sysAdmin' subsystem, ID: [sysAdmin, default]
2016-02-18 08:18:13,853 WARN [factory.support.DisposableBeanAdapter] [localhost-startStop-1] Invocation of destroy method 'close' failed on bean with name 'repoSqlSessionTemplate': java.lang.UnsupportedOperationException: Manual close is not allowed over a Spring managed SqlSession
2016-02-18 08:18:13,856 ERROR [web.context.ContextLoader] [localhost-startStop-1] Context initialization failed
org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [com.fcorti.aaar.GetNodesModifiedAfterWebScript] for bean with name 'webscript.com.fcorti.AAAR.getNodesModifiedAfter.get' defined in class path resource [alfresco/module/AAAR-Alfresco-CE-v5.0.d-Repository/context/webscript-context.xml]: problem with class file or dependent class; nested exception is java.lang.UnsupportedClassVersionError: com/fcorti/aaar/GetNodesModifiedAfterWebScript : Unsupported major.minor version 52.0 (unable to load class com.fcorti.aaar.GetNodesModifiedAfterWebScript)
at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1281)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowire

Dates with null values in custom properties and various improvements

TODO:
- Modify the AMPs to check the null values in DateToString method.
- Modify the AMPs to perform URLEncode of the String values.

- Update ETL.
custom ptoperties.tar.gz
Get custom types and aspect to operational.ktr.tar.gz
nodes dwh.tar.gz
workflows.tar.gz

- Remove uni_documents_id_custom_types and uni_folders_id_custom_types from data mart.

- Separate Alfresco extraction from json import in staging. This will make the first import easier.

~~- Add 'clean_nodes_deleted' with value true/false. Change also the AAAR_Extract scripts (in ETL and default scripts).

- Remove chartType parameter from the audit dashboard.

- Port everything on MySql

Pentaho Business Analytics Platform - Installation issue

Hi,

I am following the A.A.A.R. – Prerequisites. I installed the "Pentaho Data Integration" and launched the spoon.
Now, I have download the pentaho-server-ce-7.0.0.0-25.zip and extracted. executed the pentaho.sh and got below output. When type http://:8080/pentaho and it is not loading
The requested URL /pentaho was not found on this server. http://:8080/ is working

Below is the environment and I have installed the mysql. By looking at log and catalina.out, I understand that it is by default using the HSQLDB server 2.3.2 is online on port 9001. I copied the error, is the because of port is not opened or something else. Is there way to change the database to mysql instead of HSQLDB

Server version: Apache Tomcat/8.0.37
Server built: Sep 1 2016 10:01:52 UTC
Server number: 8.0.37.0
OS Name: Linux
OS Version: 2.6.39-400.286.3.el5uek
Architecture: amd64
Java Home: /usr/java/jdk1.8.0_131/jre
JVM Version: 1.8.0_131-b11
JVM Vendor: Oracle Corporation
CATALINA_BASE: /oracle/app/pentaho/pentaho-server/tomcat
CATALINA_HOME: /oracle/app/pentaho/pentaho-server/tomcat

And I am getting below error in catalina.out

27-Apr-2017 17:14:25.165 SEVERE [main] org.apache.coyote.AbstractProtocol.init Failed to initialize end point associated with ProtocolHandler ["http-nio-8080"]
java.net.BindException: Address already in use
at sun.nio.ch.Net.bind0(Native Method)
at sun.nio.ch.Net.bind(Net.java:433)

27-Apr-2017 17:14:25.167 SEVERE [main] org.apache.catalina.core.StandardService.initInternal Failed to initialize connector [Connector[HTTP/1.1-8080]]
org.apache.catalina.LifecycleException: Failed to initialize component [Connector[HTTP/1.1-8080]]
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:107)
17:15:18,473 ERROR [HsqlDatabaseStarterBean] HsqlDatabaseStarterBean.ERROR_0006 - The default port of 9001 is already in use. Do you already have HSQLDB running in another process? The HSQLDB Starter cannot continue.
17:15:19,171 INFO [PeriodicStatusLogger] Caution, the system is initializing. Do not shut down or restart the system at this time.
17:15:20,574 WARN [PentahoSolutionSpringApplicationContext] Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.h2.tools.Server' defined in file [/oracle/app/pentaho/pentaho-server/pentaho-solutions/system/GettingStartedDB-spring.xml]: Invocation of init method failed; nested exception is org.h2.jdbc.JdbcSQLException: Exception opening port "9092" (port may be in use), cause: "java.net.BindException: Address already in use (Bind failed)" [90061-131]
17:15:20,593 ERROR [ContextLoader] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.h2.tools.Server' defined in file [/oracle/app/pentaho/pentaho-server/pentaho-solutions/system/GettingStartedDB-spring.xml]: Invocation of init method failed; nested exception is org.h2.jdbc.JdbcSQLException: Exception opening port "9092" (port may be in use), cause: "java.net.BindException: Address already in use (Bind failed)" [90061-131]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1578)
Caused by: org.h2.jdbc.JdbcSQLException: Exception opening port "9092" (port may be in use), cause: "java.net.BindException: Address already in use (Bind failed)" [90061-131]
at org.h2.message.DbException.getJdbcSQLException(DbException.java:316)
at org.h2.message.DbException.get(DbException.java:156)

Error during Kettle data extraction "Cannot find function setValue in object..."

After a year and a half working with the AAAR Solution with an Alfresco Community 4.2.c installation, some errors in the scheduled data extraction began to appear and no new data was imported to the aaar_datamart database.

Before facing the current error, I would list the previous solved (or at least I think so) errors (I think it would be helpful to know the background):

  1. First we got erros (in the AAAR.log) like

2015/10/18 23:04:00 - stg_audits.0 - Error batch inserting rows into table [stg_audits].
2015/10/18 23:04:00 - stg_audits.0 - Errors encountered (first 10):
2015/10/18 23:04:00 - stg_audits.0 - Data truncation: Data too long for column 'values' at row 1

that we solved increasing the VARCHAR size for the column 'values'

  1. Then a new error appeared

2015/10/17 23:04:15 - Modified Java Script Value.0 - ERROR (version 5.0.1-stable, build 1 from 2013-11-15_16-08-58 by buildguy) : UnexpectedError:
2015/10/17 23:04:15 - Modified Java Script Value.0 - ERROR (version 5.0.1-stable, build 1 from 2013-11-15_16-08-58 by buildguy) : java.lang.OutOfMemoryError: Java heap space

that we solved changing the JVM memory params for Pentaho (we changed de memory params in the pentaho windows service). We didn't that changes in the spoon.bat file (is it necessary?).

  1. Current error
    And now the current error is

2015/10/19 23:05:01 - Modified Java Script Value.0 - Javascript error:
2015/10/19 23:05:01 - Modified Java Script Value.0 - TypeError: Cannot find function setValue in object ADMIN. (script#24)

what I could find out about this error is that has to do with the 'compatibility mode' configuration but I don't know how to fix it or wy are I getting this error now (I've never changed this parameter).

To give you more info I must say that the AAAR installation and Alfresco are in the same server and share the same MySQL Instance who also reside in the same server.

I will appreciate your help!

Issue in extracting data from Alflytics

Hello Francesco,

  I have been working on the project that requires alflytics for over a month now. I have following tools installed on my 
 Windows:

   1) Pentaho server (C.E 7.1)
   2) Alfresco ( C.E 5.2)
   3) PDI 
   4) Alflytics ( 5.0)

I have followed the steps in the alflytics manual for installation. I have been facing the following issues:
1) Getting error for few tasks in the extraction log
2) Not able to view data quality log
3) Error processing component/ no data found on the alflytics dashboard

While configuring alflytics, I have kept the configurations as default. In which files the configurations are saved? where should I locate those files? attaching log and the necessary screenshots for your reference.
extraction11
no data1
catalina.2020-08-31.log

Issue in AAAR installation and Extraction IN Pentaho 7 version

Hai Francesco,

I am facing this issue

2017-01-07 14:57:11,011 ERROR [org.pentaho.platform.dataaccess.datasource.wizard.service.impl.ConnectionServiceImpl] ConnectionServiceImpl.ERROR_0004 - Unable to add connection name : connection name was AAAR_DataMart caused by null
2017-01-07 14:57:11,013 ERROR [org.pentaho.di] 2017/01/07 14:57:11 - Abort.0 - ERROR (version 7.0.0.0-25, build 1 from 2016-11-05 15.35.36 by buildguy) : Row nr 1 causing abort : [null], [{"changed":true,"connectSql":"","databaseName":"AAAR_DataMart","databasePort":"5433","hostname":"localhost","name":"AAAR_DataMart","password":"admin","username":"postgres","attributes":{},"connectionPoolingProperties":{},"extraOptions":{},"accessType":"NATIVE","databaseType":{"defaultDatabasePort":"5433","extraOptionsHelpUrl":"http://jdbc.postgresql.org/documentation/83/connect.html#connection-parameters","name":"PostgreSQL","shortName":"POSTGRESQL","supportedAccessTypes":["NATIVE","ODBC","JNDI"]}}], [409]
2017-01-07 14:57:11,013 ERROR [org.pentaho.di] 2017/01/07 14:57:11 - Abort.0 - ERROR (version 7.0.0.0-25, build 1 from 2016-11-05 15.35.36 by buildguy) : Aborting after having seen 1 rows.
2017-01-07 14:57:11,013 INFO [org.pentaho.di] 2017/01/07 14:57:11 - Abort.0 - Finished processing (I=0, O=0, R=1, W=1, U=0, E=1)
2017-01-07 14:57:11,013 INFO [org.pentaho.di] 2017/01/07 14:57:11 - _pentahoAddDatasource - Transformation detected one or more steps with errors.
2017-01-07 14:57:11,013 INFO [org.pentaho.di] 2017/01/07 14:57:11 - _pentahoAddDatasource - Transformation is killing the other steps!
2017-01-07 14:57:11,014 INFO [org.pentaho.di] 2017/01/07 14:57:11 - Switch / Case.0 - Finished processing (I=0, O=0, R=1, W=1, U=0, E=0)
2017-01-07 14:57:11,014 INFO [org.pentaho.di] 2017/01/07 14:57:11 - Generate multipart entity.0 - Finished processing (I=0, O=0, R=2, W=2, U=0, E=0)
2017-01-07 14:57:11,014 ERROR [org.pentaho.di] 2017/01/07 14:57:11 - _pentahoAddDatasource - ERROR (version 7.0.0.0-25, build 1 from 2016-11-05 15.35.36 by buildguy) : Errors detected!
2017-01-07 14:57:11,014 INFO [org.pentaho.di] 2017/01/07 14:57:11 - Get trasformation root.0 - Finished processing (I=0, O=0, R=2, W=2, U=0, E=0)
2017-01-07 14:57:11,014 INFO [org.pentaho.di] 2017/01/07 14:57:11 - Add root to file.0 - Finished processing (I=0, O=0, R=2, W=2, U=0, E=0)
2017-01-07 14:57:11,015 INFO [org.pentaho.di] 2017/01/07 14:57:11 - REST Client.0 - Finished processing (I=0, O=0, R=1, W=1, U=0, E=0)
2017-01-07 14:57:11,034 INFO [org.pentaho.di] 2017/01/07 14:57:11 - HTTP Post.0 - Finished processing (I=0, O=0, R=1, W=0, U=0, E=0)
2017-01-07 14:57:11,092 INFO [org.pentaho.di] 2017/01/07 14:57:11 - Append streams.0 - Finished processing (I=0, O=0, R=2, W=2, U=0, E=0)
2017-01-07 14:57:11,314 ERROR [org.pentaho.di] 2017/01/07 14:57:11 - _pentahoAddDatasource - ERROR (version 7.0.0.0-25, build 1 from 2016-11-05 15.35.36 by buildguy) : Errors detected!
2017-01-07 14:57:11,315 INFO [org.pentaho.di] 2017/01/07 14:57:11 - _installFromConfiguration - Finished job entry [_pentahoAddDatasource] (result=[false])
2017-01-07 14:57:11,315 INFO [org.pentaho.di] 2017/01/07 14:57:11 - _installFromConfiguration - Finished job entry [_installPostgreSql] (result=[false])
2017-01-07 14:57:11,315 INFO [org.pentaho.di] 2017/01/07 14:57:11 - _installFromConfiguration - Finished job entry [Check databaseType = 'PostgreSql'] (result=[false])
2017-01-07 14:57:11,315 INFO [org.pentaho.di] 2017/01/07 14:57:11 - _installFromConfiguration - Finished job entry [_readConfigurationInVariables] (result=[false])
2017-01-07 14:57:11,315 INFO [org.pentaho.di] 2017/01/07 14:57:11 - _installFromConfiguration - Finished job entry [Checks if files exist] (result=[false])
2017-01-07 14:57:11,317 INFO [org.pentaho.di] 2017/01/07 14:57:11 - installFromConfiguration - Finished job entry [_installFromConfiguration] (result=[false])
2017-01-07 14:57:11,317 INFO [org.pentaho.di] 2017/01/07 14:57:11 - installFromConfiguration - Job execution finished

Help me please

Working with configured hostname, appname and port

Hi Francesco,

Installed the A.A.A.R 4.3 plugin for Pentaho B.A 6.0 CE from Martketplace. I configure the hostname, appname and port of pentaho and is working great with other plugins. I'm having issues on the default pentaho static url e.g pentaho/api/repos/AAAR/static/custom/js/AAAR.js where as i've already change the name pentaho to my appname.

I already tried find and replace. and after the installation i get a Warning! Please, check logs ignoring errors with description '...Folder/File [...] exists, failing.'.

And some errors on dashboard:
Error processing component (auditChartComponent)
Error processing component (documentsPerDay)
Error processing component (workflowDefinitionFilter)
Error processing component (workflowsChartComponent)

Any advise?

Share menu

Hello @fcorti . How are you?

I'm playing with the AAAR integration with Share, and everything seems to be working well, except for one details that I still couldn't figure out.

The dashboard's links are ok, as they are created using the host, port and context as configured into alfresco-global.properties.
My problem is with the header menu links, as they are created with the right hostname and context, but the port is not ok.

I have 2 tomcat instances here, the Alfresco's one running on 9090, and the Pentaho's one running on 9080.
The share reader menu links are always created with port 9090, what is wrong.

Checking the source code, I noticed this part https://github.com/fcorti/alfresco-audit-analysis-reporting/blob/ae6f4401ff75257928a8b80190bab991b5dd283e/Alfresco/Alfresco-EE-v4.2/AAAR-Alfresco-EE-v4.2-Share/src/main/amp/config/alfresco/web-extension/site-webscripts/com/fcorti/AAAR/header/share-header.get.js

Specificaly this part

Where are the configuration read by that line defined?
I know that usually there is a config file in the same folder as the webscript's description file, but there is nothing like that here.

I hope you can shed some light on this issue.

Thank you in advance.

Update button into the marketplace

Even if you install the AAAR 3 the update button is active.
Pressing the button the AAAR 2.4 version is installed.
This should be avoid.

Issue in installing AAAR in Pentaho server

Hi Francesco,

I have been facing issue in installing AAAR in to the Pentaho server environment (CE Version 7.1). I have extended my alfresco with AAAR services,but when I try to access AAAR on alfresco, it gives page not found error. Also, I have downloaded pivot4j,saiku analytics and alflytics from marketplace but how to install them in to pentaho server to get AAAR dashboard on pentaho.
11
12

Question Pentaho Port

My pentaho server is running on 8082. where can i configure the AAAR Dashlet links ? because now is redirecting to 8080.

Regards.

AAAR View renders as text/plain instead of HTML

After following installation instructions, I get the following view:

image

Marketplace Versions:

image

I've upgraded Sparkl and downgraded Saiku to see if I could resolve the issue, but nothing has helped.

Extraction failing on NODES STAGING

HI Francesco ,

Greetings ...

I am a newbie to the Alfresco and AAAR plat Form . I tried configuring the AAAR and faced below challenge .

PlatForm :- Ubuntu 18.04
Alfresco Version :- Alfresco Platform 5.2.g & Alfresco Share 5.2.f
AAAR Version :- AAAR_v4.5.zip
Amp Files Used : - AAAR-Alfresco-CE-v5.2-Share-v4.5.amp & AAAR-Alfresco-CE-v5.2-Repository-v4.5.amp
Pentaho :- pentaho-server-ce-7.0.0.0-25 & pdi-ce-7.0.0.0-25.zip

Issue :- Failed to Extract data regarding NODES . Please find the attached Screen Shot
AAAR_Error

We found that the Http Link using the Node Extraction was not fetching the content from the Alfresco .I tried calling the Http link from the browser , it failed there as well .The Link came with the default AAAR installation is below .

http://192.168.10.131:8080/alfresco/service/AAAR/getNodesModifiedAfter?baseType=cm:content&dt=2001-01-01&customProperties={"types":[],"aspects":[]}&skip=0&limit=50000

However , when we change the link to below it the Http Link is working . where we change "c" to capital letter in CustomProperties and removed the Dirac notation "{ }" from the CustomProperties .

http://192.168.10.131:8080/alfresco/service/AAAR/getNodesModifiedAfter?baseType=cm:content&dt=2001-01-01&CustomProperties="types":[],"aspects":[]&skip=0&limit=50000

Requesting your help in getting the same fixed .

Please do find the log File for reference
AAAR.log
.

Appreciate your effort in advance .

Error when running job "Get nodes"

The backing whebscript for this job called "GetNodesModifiedAfterWebScript" seems to fail on this line :

https://github.com/fcorti/alfresco-audit-analysis-reporting/blob/master/Alfresco/Alfresco-EE-v5.1/AAAR-Alfresco-EE-v5.1-Repository/src/main/java/com/fcorti/aaar/GetNodesModifiedAfterWebScript.java#L137

with this exception

 2017-01-30 01:06:31,777  ERROR [extensions.webscripts.AbstractRuntime] [http-apr-8080-exec-15] Exception from executeScript - redirecting to status template error: 00300017 Wrapped Exception (with status template): A namespace prefix is not registered for uri dl
 org.springframework.extensions.webscripts.WebScriptException: 00300017 Wrapped Exception (with status template): A namespace prefix is not registered for uri dl
	at org.springframework.extensions.webscripts.AbstractWebScript.createStatusException(AbstractWebScript.java:1138)
	at org.springframework.extensions.webscripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:171)
	at org.alfresco.repo.web.scripts.RepositoryContainer$3.execute(RepositoryContainer.java:519)
	at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:464)
	at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecute(RepositoryContainer.java:587)
	at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecuteAs(RepositoryContainer.java:656)
	at org.alfresco.repo.web.scripts.RepositoryContainer.executeScriptInternal(RepositoryContainer.java:428)
	at org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(RepositoryContainer.java:308)
	at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:382)
	at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:210)
	at org.springframework.extensions.webscripts.servlet.WebScriptServlet.service(WebScriptServlet.java:132)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.alfresco.module.aosmodule.service.ContextRootFilter.doFilter(ContextRootFilter.java:93)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.alfresco.web.app.servlet.GlobalLocalizationFilter.doFilter(GlobalLocalizationFilter.java:68)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:504)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421)
	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1074)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)
	at org.apache.tomcat.util.net.AprEndpoint$SocketWithOptionsProcessor.run(AprEndpoint.java:2403)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.lang.Thread.run(Thread.java:745)
Caused by: org.alfresco.service.namespace.NamespaceException: A namespace prefix is not registered for uri dl
	at org.alfresco.util.ISO9075.getXPathName(ISO9075.java:334)
	at org.alfresco.service.cmr.repository.Path$ChildAssocElement.createElementString(Path.java:428)
	at org.alfresco.service.cmr.repository.Path$ChildAssocElement.getPrefixedString(Path.java:389)
	at org.alfresco.service.cmr.repository.Path.toPrefixString(Path.java:190)
	at com.fcorti.aaar.GetNodesModifiedAfterWebScript.executeImpl(GetNodesModifiedAfterWebScript.java:137)
	at org.springframework.extensions.webscripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:64)
	... 36 more

And it seems that the namespace service is having a problem resolving some paths, it can be related to some unicode characters in node names or orphaned nodes (nodes without any parent)
I will try to dig deeper into this, and if it turned out an issue with orphaned nodes, I think I should surround this by a try catch and fallback to UNKNOWN in case the path was not resolved

What do you think ?

Data error when changing the type of a document

Following a type input error, I had to change a document type back to cm:content (form custom:document), I was able to do this on the alfresco side, without issues. AAAR extraction on the other hand did not catch the change and still shows the document in question as of the specific type (custom:content).

@fcorti, is this a bug or an intentional behavior ?

Install button fails (Alfresco 4.2.f, Pentaho 5.2)

When i click on the "install" button there is a javascript error and the installation not start: "undefined is not a function". The error occurs on file "dashboards/admin/install.cdfde" on line: if (!pentahoUrlValue.contains(window.location.port)) ...

Responsive charts could not be updated during resizing

In the dashboards, during the resize of the browser's window, the charts are responsives.
In some cases, depending from the client, the charts could not be updated and an empty chart is presented.
Refreshing the dashboard the charts will appears.

Error during the extraction of workflow data

It seems that, when you undeploy some old workflow definition, alfresco still tries to resolve their related workflow instances on the endpoint we are using for extraction, causing a null pointer exception at some point.

Don't you think we should at least extract data from existing workflow definitions : instead of launching two big queries one active and the other for completed workflows, why not launch a couple of requests for each definition ?

AAAR_Repository free analytics (Pentaho 5.1)

Ho provato anche ad utilizzare Saiku Analytics, JPivot e Pivot4J Analytics ma con tutti e tre ottengo un errore selezionando "AAAR_Repository":
Table 'aaar_datamart.vw_dm_fact_repository' doesn't exist

Dashboards in printable version (PDF)

I can access to the workflow reporting and dashboard, but I need export the main dashboard to pdf (I would like to see in future versions of AAAR, export dashboards, as such reports are exported as today). For this I make a transformations and a job using Kettle. This job export a URL page to PDF (using phantom.js), and I wish add this functionality to a button in the main dashboard. But I have problem when I click in the button, a white windows is opened (I not wish this) and the console shows an error about of variables, these not receive the value which I passed for the URL. The function of the button is:

function pdfExport() {

var urlParamsParameter = "http://localhost:8082/pentaho/api/repos/%3Apublic%3AAAAR%3Amain.wcdf/generatedContent";
var fileParamsParameter = "worflowAudits.pdf";
var pentahoParamsParameter = "/home/arak/Tools/biserver-ce";

var newURL = "http://" + window.location.host + Dashboards.getWebAppPath(); 
var url = newURL + '/plugin/PdfExport/api/pdfjob?bypassCache=true'; 
url += '&URL_PARAM=' + encodeURIComponent(urlParamsParameter); 
url += '&FILE_NAME=' + fileParamsParameter; 
url += '&PENTAHO_FOLDER=' + pentahoParamsParameter;

window.open(url,'PDF Export','toolbar=0,resizable=1,location=0,status=0');

}

The name of variables in the Kettle job is: URL_PARAM, FILE_NAME and PENTAHO_FOLDER. In terminal this job is working, but via URL not working, the variables not taken the value of javascript variables.

AAAR doesn't work with a proxy

From issue #13

AAAR (or CTools) always use the port number that Tomcat is running on. Don't pass AAAR through a proxy. As soon as I targeted port 8080 (7080 for me), AAAR came up.

I think this is happening because javascripts cannot access data across different domains; in this case http://myserver/pentaho and http://myserver:7080/pentaho are technically different domains. I am not sure where a port number is being used in your code (or in CDE), but it should really respect the settings in tomcat/webapps/pentaho/WEB-INF/web.xml and tomcat/config/server.xml. At any rate, the result is broken AAAR.

Recommend Projects

  • React photo React

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

  • Vue.js photo Vue.js

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

  • Typescript photo Typescript

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

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

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

Recommend Topics

  • javascript

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

  • web

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

  • server

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

  • Machine learning

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

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

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

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.