Mail Archive Home | exoplatform List | January 2008 Index
[exoplatform] Exo ECM2 + bonita + jonas: issue with predifined scripts for action, interceptor and widget
- Subject: [exoplatform] Exo ECM2 + bonita + jonas: issue with predifined scripts for action, interceptor and widget
- From: Rodrigue Le Gall <rodrigue.le-gall@xxxxxxxx>
- Date: Mon, 14 Jan 2008 11:57:03 +0100
- Delivered-to: exoplatform@ow2.org
Hi community,
I'm trying to use exo-ecm with bonita (build with: exobuild
--product=ecm --workflow=bonita --build --deploy=jonas ).
I have an issue when I use the Fast Content Creator: the path
ecm-explorer/interceptor/PreNodeSaveInterceptor.groovy is not found.
After some research, i found that these kind of scripts (interceptor)
are managed in the ECM Administration / Advanced Configuration / Manage
Scripts.
But in this section I only found a script defined for Bonita purpose
(ReloadBPScript). So I take a look in the ecm configuration and I find
that 2 configuration files try to init the same plugin :
in bonita-configuration.xml
<external-component-plugins>
<target-component>org.exoplatform.services.cms.scripts.ScriptService</target-component>
<component-plugin>
<name>manage.script.plugin</name>
<set-method>addScriptPlugin</set-method>
<type>org.exoplatform.services.cms.scripts.impl.ScriptPlugin</type>
<description>Nothing</description>
<init-params>
<value-param>
<name>autoCreateInNewRepository</name>
<value>true</value>
</value-param>
<value-param>
<name>repository</name>
<value>repository</value>
</value-param>
<value-param>
<name>predefinedScriptsLocation</name>
<value>war:/conf/ecm/artifacts</value>
</value-param>
<object-param>
<name>predefined.scripts</name>
<description>description</description>
<object
type="org.exoplatform.services.cms.impl.ResourceConfig">
<field name="resources">
<collection type="java.util.ArrayList">
<value>
<object
type="org.exoplatform.services.cms.impl.ResourceConfig$Resource">
<field
name="name"><string>ecm-explorer/action/ReloadBPScript.groovy</string></field>
</object>
</value>
</collection>
</field>
</object>
</object-param>
</init-params>
</component-plugin>
</external-component-plugins>
and in ecm-scripts-configuration.xml :
<external-component-plugins>
<target-component>org.exoplatform.services.cms.scripts.ScriptService</target-component>
<component-plugin>
<name>manage.script.plugin</name>
<set-method>addScriptPlugin</set-method>
<type>org.exoplatform.services.cms.scripts.impl.ScriptPlugin</type>
<description>Nothing</description>
<init-params>
<value-param>
<name>autoCreateInNewRepository</name>
<value>true</value>
</value-param>
<value-param>
<name>repository</name>
<value>repository</value>
</value-param>
<value-param>
<name>predefinedScriptsLocation</name>
<value>war:/conf/ecm/artifacts</value>
</value-param>
<object-param>
<name>predefined.scripts</name>
<description>description</description>
<object
type="org.exoplatform.services.cms.impl.ResourceConfig">
<field name="resources">
<collection type="java.util.ArrayList">
<!-- ecm-explorer/interceptor -->
<value>
<object
type="org.exoplatform.services.cms.impl.ResourceConfig$Resource">
<field
name="name"><string>ecm-explorer/interceptor/PreNodeSaveInterceptor.groovy</string></field>
</object>
</value>
</collection>
</field>
</object>
</object-param>
</init-params>
</component-plugin>
</external-component-plugins>
And in the configuration.xml of the ecm-portal, I see that the bonita
file is called before the ecm one. So I suppose that the second
configuration is not loaded because there is already one.
Do you have an idea to solve this issue? Is this issue available for all
plugins configuration?
--
Rodrigue, Le Gall
Portal Technologies' Leader
BULL R&D , BPM
Bull, Architect of an Open World TM
Phone: +33(0)4 7629 7464
email: rodrigue.le-gall@xxxxxxxx
http://www.bull.com
*Orchestra*, The BPEL open source project: http://orchestra.objectweb.org
*Bonita*, The XPDL open source project: http://bonita.objectweb.org
This e-mail contains material that is confidential for the sole use of the
intended recipient. Any review, reliance or distribution by others or
forwarding without express permission is strictly prohibited. If you are not
the intended recipient, please contact the sender and delete all copies.
begin:vcard
fn:Rodrigue Le Gall
n:Le Gall;Rodrigue
org:BULL SAS;BULL R&D - BPM
adr;quoted-printable:1 RUE DE PROVENCE B.P.208 CENTRE UNIX;;Boite courier: B1/397;Echirolles CEDEX ;Is=C3=A8re;38432 ;France
email;internet:rodrigue.le-gall@xxxxxxxx
title:Portal Technologies' Leader
tel;work:+33(0)4 7629 7464
tel;fax:+33(0)4 7629 7777
note;quoted-printable:*Orchestra*, The BPEL open source project: http://orchestra.objectweb.org=
=0D=0A=
*Bonita*, The XPDL open source project: http://bonita.objectweb.org
x-mozilla-html:FALSE
url:http://www.bull.com
version:2.1
end:vcard
- [exoplatform] Exo ECM2 + bonita + jonas: issue with predifined scripts for action, interceptor and widget,
Rodrigue Le Gall
Powered by MHonArc.
Copyright © 2006-2007, OW2 Consortium | contact | webmaster.