28 Jul

slf4j conflict during AAAR_Extract execution

slf4jDuring my support activities on the A.A.A.R. solution, I receive few contacts reporting about the error described below. The context is the first execution of the AAAR_Extract script, immediately after the first installation.

2015/07/25 16:25:15 - Cmis Input documents before last update.0 - ERROR (version 5.4.0.1-130, build 1 from 2015-06-14_12-34-55 by buildguy) : Unexpected error
2015/07/25 16:25:15 - Cmis Input documents before last update.0 - ERROR (version 5.4.0.1-130, build 1 from 2015-06-14_12-34-55 by buildguy) : java.lang.LinkageError: loader constraint violation: when resolving method "org.slf4j.impl.StaticLoggerBinder.getLoggerFactory()Lorg/slf4j/ILoggerFactory;" the class loader (instance of org/pentaho/di/core/plugins/KettleURLClassLoader) of the current class, org/slf4j/LoggerFactory, and the class loader (instance of java/net/URLClassLoader) for resolved class, org/slf4j/impl/StaticLoggerBinder, have different Class objects for the type LoggerFactory; used in the signature
2015/07/25 16:25:15 - Cmis Input documents before last update.0 - at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:299)
2015/07/25 16:25:15 - Cmis Input documents before last update.0 - at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:269)
2015/07/25 16:25:15 - Cmis Input documents before last update.0 - at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:281)
2015/07/25 16:25:15 - Cmis Input documents before last update.0 - at org.apache.chemistry.opencmis.client.bindings.cache.impl.CacheImpl.<clinit>(CacheImpl.java:38)
2015/07/25 16:25:15 - Cmis Input documents before last update.0 - at org.apache.chemistry.opencmis.client.bindings.impl.RepositoryInfoCache.<init>(RepositoryInfoCache.java:56)
2015/07/25 16:25:15 - Cmis Input documents before last update.0 - at org.apache.chemistry.opencmis.client.bindings.impl.CmisBindingImpl.clearAllCaches(CmisBindingImpl.java:253)
2015/07/25 16:25:15 - Cmis Input documents before last update.0 - at org.apache.chemistry.opencmis.client.bindings.impl.CmisBindingImpl.<init>(CmisBindingImpl.java:150)
2015/07/25 16:25:15 - Cmis Input documents before last update.0 - at org.apache.chemistry.opencmis.client.bindings.CmisBindingFactory.createCmisAtomPubBinding(CmisBindingFactory.java:146)
2015/07/25 16:25:15 - Cmis Input documents before last update.0 - at org.apache.chemistry.opencmis.client.runtime.CmisBindingHelper.createAtomPubBinding(CmisBindingHelper.java:98)
2015/07/25 16:25:15 - Cmis Input documents before last update.0 - at org.apache.chemistry.opencmis.client.runtime.CmisBindingHelper.createBinding(CmisBindingHelper.java:56)
2015/07/25 16:25:15 - Cmis Input documents before last update.0 - at org.apache.chemistry.opencmis.client.runtime.SessionFactoryImpl.getRepositories(SessionFactoryImpl.java:133)
2015/07/25 16:25:15 - Cmis Input documents before last update.0 - at org.apache.chemistry.opencmis.client.runtime.SessionFactoryImpl.getRepositories(SessionFactoryImpl.java:112)
2015/07/25 16:25:15 - Cmis Input documents before last update.0 - at it.francescocorti.kettle.cmisinput.CmisSessionFactory.getNewSession(Unknown Source)
2015/07/25 16:25:15 - Cmis Input documents before last update.0 - at it.francescocorti.kettle.cmisinput.CmisSessionFactory.getSession(Unknown Source)
2015/07/25 16:25:15 - Cmis Input documents before last update.0 - at it.francescocorti.kettle.cmisinput.CmisInputMeta.getSession(Unknown Source)
2015/07/25 16:25:15 - Cmis Input documents before last update.0 - at it.francescocorti.kettle.cmisinput.CmisInputMeta.getFields(Unknown Source)
2015/07/25 16:25:15 - Cmis Input documents before last update.0 - at it.francescocorti.kettle.cmisinput.CmisInput.processRow(Unknown Source)
2015/07/25 16:25:15 - Cmis Input documents before last update.0 - at org.pentaho.di.trans.step.RunThread.run(RunThread.java:62)
2015/07/25 16:25:15 - Cmis Input documents before last update.0 - at java.lang.Thread.run(Thread.java:722)

In this post I would like to face this issue, describing the reasons of this behaviour and focusing on the solution (because there is a solution). Read More

27 Jul

A.A.A.R. for a long time extraction on big Alfresco repositories

speedometerDuring my support activities on the A.A.A.R. solution I often receive the question below. The context is a request of support about the optimization of the extraction and the compression of the time of data extraction for A.A.A.R. Below the question mentioned above.

The script ran for hours but the data extraction process didn’t complete.
In the log I always see something like this:

Cmis Input modified document.0 – Cmis Input – Retrieved n.0 results from item n.714 on a total of n.967 results.
Cmis Input modified document.0 – Cmis Input – Retrieved n.0 results from item n.714 on a total of n.967 results.
Cmis Input modified document.0 – Cmis Input – Retrieved n.0 results from item n.714 on a total of n.967 results.

Francesco, could you give me support please?

In this post I would like to face this relevant issue, describing the reasons of this behaviour and focusing on the solution (because there is a solution) to test and use A.A.A.R. with satisfaction into your Alfresco installations. Read More

20 Jul

Run Alfresco Honeycomb Edition for the first time

Order of the BeeProbably you already know or probably not, in any case Alfresco Community has a relevant new emerging organization called the Order Of The Bee. One of the goal of the OOTB is to maintain the so called Alfresco Honeycomb Edition, a free and open source distribution of Alfresco, mainly based on the Alfresco Community Edition.

In this post I would like to share my experience on the Alfresco Honeycomb Edition with an initial tutorial on how to set up the working environment and run it for the first time. Of course I would like to thank Martin Cosgrave and Daren Firminger for their work and support to me and the entire community too. Read More

17 Jul

Sparkl error on Pentaho 5.4.0.1-130 with multiple modules

bugThanking the community, an issue has been submitted to me about a conflict between Saiku module, Pivot4J Analytics module and A.A.A.R., on Sparkl App builder on Pentaho 5.4 (more precisely on 5.4.0.1-130). Below a brief description of the tests, hoping to help the community to avoid the issue and Pentaho team to solve it in the future release.

UPDATE: Read here for an update (and the solution) to the conflict.

Read More

07 Jul

Workflow analytics on Alfresco 4.2.e and AAAR v3.1

analytics-iconThis post describes an issue that could happens on the workflow analytics, using Alfresco Community 4.2.e and AAAR v3.1. The post is written in collaboration with Pablo Vásquez from Smart Solutions & Services (Chile). From our prospective this is the result of a collaboration and a practical example on how the community can help in practice. Read More