Startup Rule Engine

68 views
Skip to first unread message

Dan

unread,
Oct 10, 2017, 9:38:29 AM10/10/17
to pentaho-...@googlegroups.com
Hi,

It seems the Startup Rule Engine (PDI instead of xactions) doesnt work in Pentaho 7.1, has anyone else noticed this?

The error seems to be:

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'startupRuleEngine.api' defined in file [/Users/codek/apps/ba-ce-71/pentaho-solutions/system/startupRuleEngine/plugin.spring.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [pt.webdetails.cpk.CpkApi]: Constructor threw exception; nested exception is java.lang.NoSuchMethodError: org.pentaho.platform.api.engine.ISecurityHelper.getAuthentication(Lorg/pentaho/platform/api/engine/IPentahoSession;Z)Lorg/springframework/security/Authentication;


Any ideas about that one?


Thanks!

Dan

Carlos Russo

unread,
Oct 11, 2017, 4:44:46 AM10/11/17
to Pentaho Community
The java libraries need to be upgraded. 

To get a partial workaround, that will allow the plugin to react to the system startup event, you can simply replace the files in pentaho-solutions/system/startupRuleEngine/lib with their equivalent in pentaho-solutions/system/sparkl/lib. That covers the CPF and CPK libraries.

However, the session listener that allows the plugins to hook to the user login/logout events is also broken in 7.0 and 7.1
There is currently no known workaround. Some needs to look into the java code.

Cheers,
Carlos

Dan

unread,
Oct 14, 2017, 2:27:00 AM10/14/17
to pentaho-...@googlegroups.com
Ok. 

Seems a shame a point version can break a plugin!

Anyway is there a jira or shall I raise one? 

Dan 

Sent from my phone


--
You received this message because you are subscribed to the Google Groups "Pentaho Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pentaho-community+unsubscribe@googlegroups.com.
To post to this group, send email to pentaho-community@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pentaho-community/b3e50625-9f4b-4c4c-8f7b-2bd8f6d8f9ff%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Pedro Alves

unread,
Oct 14, 2017, 7:05:02 AM10/14/17
to pentaho-...@googlegroups.com
Kleyson has a fix for it. Wasn't a point release, was on 7.0 with spring upgrade

Dan

unread,
Oct 14, 2017, 12:58:32 PM10/14/17
to pentaho-...@googlegroups.com
OK, not what Carlos said.

Shout when it's there, and i'll let you know if it actually works :)

Dan

Carlos Russo

unread,
Oct 15, 2017, 3:48:44 AM10/15/17
to Pentaho Community
Sorry if I wasn't clear,  Dan.

It wouldn't have been hard to come up with the phrase "The  java libraries (custom session listener and CPF/CPK) bundled with SRE won't work in 7.0 and 7.1 due to the upgrade of the Spring framework".

To unsubscribe from this group and stop receiving emails from it, send an email to pentaho-commun...@googlegroups.com.
To post to this group, send email to pentaho-...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Pentaho Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pentaho-commun...@googlegroups.com.
To post to this group, send email to pentaho-...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Pentaho Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pentaho-commun...@googlegroups.com.
To post to this group, send email to pentaho-...@googlegroups.com.

Dan

unread,
Oct 16, 2017, 8:14:39 AM10/16/17
to pentaho-...@googlegroups.com
No worries!

I can confirm, if you install Kleysons release branch from here:


It launches in Pentaho 7.1 CE

Now to test EE!

Thanks guys!
Dan

To unsubscribe from this group and stop receiving emails from it, send an email to pentaho-community+unsubscribe@googlegroups.com.
To post to this group, send email to pentaho-community@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pentaho-community/4b2b65d9-571a-43e6-93f8-584d87a7e6f3%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages