Hi Lorenzo
Am 05.08.2013, 14:46 Uhr, schrieb Lorenzo Eccher <leccher@xxxxxx>:
Hi.
I just created a pipelet calling a web service. Inside eclipse
everithing works. Now I'd like to create my own build distribution
using my pipelet and my bpel.
I must use SMILA 1.1.
I tested doing it using original SMILA 1.1 distribution and adding
my bpel in configuration/org.eclipse.smila.processing.bpel and
modifing deploy.xml. Then I exported my boundle (the pipelet) as
described in wiki
(http://wiki.eclipse.org/SMILA/Documentation/HowTo/How_to_export_a_bundle)
and I tested just copying it in plugins folder (at same level of
smila.exe).
The bpel is seen by smila. That is not for pipelet as described in
REST api response
{
"message" : "Error processing BPEL workflow TrendAnalysisResultsDashboardPipeline: Invocation of pipeline element TrendAnalysisResultsDashboardPipeline/invokeDashBoardPipelet@29 failed due to pipelet error: Pipelet of class org.eclipse.smila.integration.trendanalysisresults.DashboardPipelet for activity TrendAnalysisResultsDashboardPipeline/invokeDashBoardPipelet@29 is not yet instantiated.\ncaused by: Invocation of pipeline element TrendAnalysisResultsDashboardPipeline/invokeDashBoardPipelet@29 failed due to pipelet error: Pipelet of class org.eclipse.smila.integration.trendanalysisresults.DashboardPipelet for activity TrendAnalysisResultsDashboardPipeline/invokeDashBoardPipelet@29 is not yet instantiated.\ncaused by: Pipelet of class org.eclipse.smila.integration.trendanalysisresults.DashboardPipelet for activity TrendAnalysisResultsDashboardPipeline/invokeDashBoardPipelet@29 is not yet instantiated."
}
You could check http://localhost:8050/smila/pipelets if your pipelet is listed there. If not, please check if the SMILA-INF directory with the pipelet description JSON file is present in the exported bundle. If not you must probably add the SMILA-INF directory to the build.properties of the bundle.
If it is listed, you can follow the link and see if there are errors reported (at the end of the page, probably).
I tested also the wiki about Build a SMILA-Distribution following
this page
http://wiki.eclipse.org/SMILA/Documentation/HowTo/Howto_build_a_SMILA-Distribution
but something goes wrong as you can read below.
Buildfile: C:\workspace\SMILA.builder\make.xml
versions:
[echo] SMILA version=1.1.0.Unversioned directory
clean:
[delete] Deleting directory C:\workspace\eclipse.build
versions:
[echo] SMILA version=1.1.0.Unversioned directory
bundle.names.init:
fetch:
[mkdir] Created dir: C:\workspace\eclipse.build
[mkdir] Created dir:
C:\workspace\eclipse.build\features
[mkdir] Created dir: C:\workspace\eclipse.build\plugins
[mkdir] Created dir:
C:\workspace\eclipse.build\Application
[echo] ### copying all features ###
[echo] bundle org.eclipse.smila.extension.feature
does not exist!!
[echo] bundle org.eclipse.smila.feature does not
exist!!
[echo] bundle org.eclipse.smila.product.core.feature
does not exist!!
[echo] bundle org.eclipse.smila.test.feature does not
exist!!
...
BUILD FAILED
C:\workspace\SMILA.builder\make.xml:447: Java returned: 13
Total time: 38 seconds
I will try to reproduce this. Never seen this before.
Regards,
Juergen