[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [smila-user] Exporting my bundle on SMILA distribution.
|
Ciao Jurgen.
Certainly.
I attached the bundle source code with the bpel we use to check
the features and also the jar exported (renamed in zip).
As I said I modified also the config.ini file in configure folder.
I attached it too.
Thank you very much.
Il 06/08/2013 12.48, Marilena Lazzaro
ha scritto:
-------- Messaggio originale --------
Hi Lorenzo,
can you send me the exported bundle with your pipelet so
I could check it?
Regards,
Juergen.
Hi Jurgen.
thank you very much for your quick response.
As you suspected I forgot to add SMILA-INF folder inside the
build.properties file.
Then I removed my old copy of SMILA build (1.1), I unzipped
an empty one (because I had played with some configuration
file in the old one) and I copied the exported bundle - it
now has the SMILA-INF folder inside the jar - inside the
plugins folder.
I started SMILA and I looked to my pipelet at the URL you
wrote. Nothing.
In the log, when it loads the pipelets, mine is not present.
So I tried to add my bundle inside the config.ini file in
the configuration folder, as I saw the other pipelet bundles
written inside.
New test, same result.
Thanks
-------- Messaggio originale --------
Hi Lorenzo
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
--
Lorenzo Eccher
lorenzo.eccher@xxxxxx
(+39) 0461 312 306
Engineering Ingegneria informatica s.p.a
www.eng.it
ENGINEERING Society and Territory Trento Research
Office
EIT-ITC
Labs, Trento node
ESTRO Lab at FBK building
via Sommarive, 18
Povo - 38123 Trento
Le informazioni trasmesse sono destinate
esclusivamente alla persona o alla società in
indirizzo e sono da intendersi confidenziali e
riservate. Ogni trasmissione, inoltro, diffusione o
altro uso di queste informazioni a persone o societÃ
differenti dal destinatario è proibita. Se ricevete
questa comunicazione per errore, contattate il
mittente e cancellate le informazioni da ogni
computer.
The information transmitted is intended only for the
person or entity to which it is addressed and may
contain confidential and/or privileged material. Any
review, retransmission, dissemination or other use of,
or taking of any action in reliance upon, this
information by persons or entities other than the
intended recipient is prohibited. If you received this
in error, please contact the sender and delete the
material from any computer.
Die Informationen in dieser E-Mail-Mitteilung sind
vertraulich und deren Verbreitung in jeglicher Art
oder Form ist untersagt. Sollten Sie diese Nachricht
irrtümlich erhalten haben, ersuchen wir Sie, sofort
den Absender darüber zu informieren und die Mail zu
löschen.
--
Lorenzo Eccher
lorenzo.eccher@xxxxxx
(+39) 0461 312 306
Engineering Ingegneria informatica s.p.a
www.eng.it
ENGINEERING Society and Territory Trento Research Office
EIT-ITC
Labs, Trento node
ESTRO Lab at FBK building
via Sommarive, 18
Povo - 38123 Trento
Le informazioni trasmesse sono destinate esclusivamente
alla persona o alla società in indirizzo e sono da
intendersi confidenziali e riservate. Ogni trasmissione,
inoltro, diffusione o altro uso di queste informazioni a
persone o società differenti dal destinatario è proibita. Se
ricevete questa comunicazione per errore, contattate il
mittente e cancellate le informazioni da ogni computer.
The information transmitted is intended only for the
person or entity to which it is addressed and may contain
confidential and/or privileged material. Any review,
retransmission, dissemination or other use of, or taking of
any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited. If
you received this in error, please contact the sender and
delete the material from any computer.
Die Informationen in dieser E-Mail-Mitteilung sind
vertraulich und deren Verbreitung in jeglicher Art oder Form
ist untersagt. Sollten Sie diese Nachricht irrtümlich
erhalten haben, ersuchen wir Sie, sofort den Absender
darüber zu informieren und die Mail zu löschen.
|
Attachment:
org.eclipse.smila.integration.trendanalysisresults.zip
Description: Binary data
Attachment:
org.eclipse.smila.integration.trendanalysisresults_1.0.0.201308061034.jar.zip
Description: Binary data
#/***********************************************************************************************************************
# * Copyright (c) 2008 empolis GmbH and brox IT Solutions GmbH. All rights reserved. This program and the accompanying
# * materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution,
# * and is available at http://www.eclipse.org/legal/epl-v10.html
# *
# * Contributors: Ivan Churkin (brox IT Solutions GmbH) - initial creator
# **********************************************************************************************************************/
osgi.splashPath=platform:/base/plugins/org.eclipse.smila.product
eclipse.application=SMILA.application
eclipse.product=org.eclipse.smila.product.SMILA
osgi.noShutdown=true
org.apache.commons.logging.Log=org.apache.commons.logging.impl.Log4JLogger
log4j.configuration=platform:/base/log4j.properties
osgi.bundles=org.eclipse.core.runtime@:start, \
org.eclipse.equinox.common@2:start, \
org.eclipse.update.configurator@3:start, \
org.eclipse.equinox.util@2:start, \
org.eclipse.equinox.ds@3:start, \
org.eclipse.smila.utils@3:start, \
org.eclipse.smila.management@3:start, \
javax.persistence@3:start, \
org.eclipse.persistence.jpa@3:start, \
org.eclipse.smila.zookeeper@3:start, \
org.eclipse.smila.objectstore.filesystem@3:start, \
org.eclipse.smila.common.mimetype.impl@4:start, \
org.eclipse.smila.connectivity.deltaindexing.jpa.impl@4:start, \
org.eclipse.smila.connectivity.framework.impl@4:start,\
org.eclipse.smila.management.jmx@4:start, \
org.eclipse.smila.management.jmx.client@4:start, \
org.eclipse.smila.ontology@4:start,\
org.eclipse.smila.processing@4:start, \
org.eclipse.smila.processing.bpel@4:start, \
org.eclipse.smila.processing.pipelets@4:start, \
org.eclipse.smila.integration.trendanalysisresults@4:start, \
org.eclipse.smila.search.api@4:start, \
org.eclipse.smila.search.servlet@4:start, \
org.eclipse.smila.solr@4:start, \
org.eclipse.smila.clusterconfig.simple@4:start, \
org.eclipse.smila.connectivity.framework@4:start, \
org.eclipse.smila.connectivity.bulkbuilder@4:start, \
org.eclipse.smila.connectivity.framework.agent.feed@4:start, \
org.eclipse.smila.connectivity.framework.agent.jobfile@4:start, \
org.eclipse.smila.connectivity.framework.crawler.filesystem@4:start, \
org.eclipse.smila.connectivity.framework.crawler.web@4:start, \
org.eclipse.smila.connectivity.framework.crawler.jdbc@4:start, \
org.eclipse.smila.connectivity.framework.compound.zip@4:start, \
org.eclipse.smila.binarystorage.impl@4:start, \
org.eclipse.smila.blackboard@4:start, \
org.eclipse.smila.jobmanager@4:start, \
org.eclipse.smila.jobmanager.persistence.objectstore@4:start, \
org.eclipse.smila.jobmanager.persistence.zk@4:start, \
org.eclipse.smila.taskmanager@4:start, \
org.eclipse.smila.taskmanager.persistence.zk@4:start, \
org.eclipse.smila.workermanager@4:start, \
org.eclipse.smila.bulkbuilder@4:start, \
org.eclipse.smila.processing.worker@4:start, \
org.eclipse.smila.importing.state.objectstore@4:start, \
org.eclipse.smila.importing@4:start, \
org.eclipse.smila.importing.crawler.web@4:start, \
org.eclipse.smila.importing.crawler.file@4:start, \
org.eclipse.smila.restapi@4:start, \
org.eclipse.smila.http.server@5:start