[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [smila-user] Invocation of pipelet error

Hi Nick,

 

Can you please switch the log level of org.eclipse.smila.processing.PipeletTrackerImpl to debug and check for messages from the PipeletTrackerImpl class concerning the respective bundle or pipelet.

 

Tanks

Andreas

 

Von: smila-user-bounces@xxxxxxxxxxx [mailto:smila-user-bounces@xxxxxxxxxxx] Im Auftrag von Nick
Gesendet: Montag, 14. Mai 2012 13:41
An: Smila project user mailing list
Betreff: Re: [smila-user] Invocation of pipelet error

 

Hi,

2012/5/14 Jürgen Schumacher <juergen.schumacher@xxxxxxxxxxxxx>

Hi,

Am 14.05.2012 12:58, schrieb Nick:

> Hi Jürgen,
>
> thank you for the reply,
>
> actually the bundle is in the launch configuration and all the
> required bundles are added too.
> Checking in the log I found this:
>
>  2012-05-14 12:41:36,278 INFO  [Component Resolve Thread (Bundle
> 90)         ]  management.ManagementRegistration             -
> [Management Registration] Registering new agent
> [Processing/Pipelet/FrameMatchingPipeline/FrameMatchingPipelet@37
> (eu.cubrikprj.pipelet.polmi.FrameMatching.FrameMatchingPipelet)]
>  2012-05-14 12:41:36,278 INFO  [Component Resolve Thread (Bundle
> 90)         ]  activities.PipeletManager                     -
> FrameMatchingPipeline/FrameMatchingPipelet@37: found pipelet
> eu.cubrikprj.pipelet.polmi.FrameMatching.FrameMatchingPipelet,
> processing request -> request
>  2012-05-14 12:41:36,278 INFO  [Component Resolve Thread (Bundle
> 90)         ]  activities.PipeletManager                     -
> FrameMatchingPipeline/FrameMatchingPipelet@37: pipelet configuration
> parsed.
>
> It seems that the pipelet has been found.
>

No, these messages are just about parsing the <invokePipelet> element in
BPEL. If your pipelet class has been found, there should be a line like
this in the log file:
2012-02-13 16:38:21,047 INFO  [Component Resolve Thread (Bundle
46)         ]  activities.PipeletManager                     - Pipelets
have been added:
[eu.cubrikprj.pipelet.polmi.FrameMatching.FrameMatchingPipelet, ...]
Only then will the pipelet class be available to the pipeline processor.
Otherwise there should be a log message about "Pipelet class
eu.cubrikprj.pipelet.polmi.FrameMatching.FrameMatchingPipelet could not
be loaded from bundle ..." (logged by PipeletTrackerImpl), which
hopefully gives more details, or the bundle was not found at all.


the pipelet has not been found as the PipeletManager log as follows:

 2012-05-14 13:32:51,348 INFO  [Component Resolve Thread (Bundle 90)         ]  activities.PipeletManager                     - Pipelets have been added: [eu.cubrikprj.pipelet.polmi.RetrieveLogoInstance.RetrieveLogoInstancesFromGooglePipelet]
 2012-05-14 13:32:51,348 INFO  [Component Resolve Thread (Bundle 90)         ]  activities.PipeletManager                     - Pipelets have been added: [eu.cubrikprj.pipelet.polmi.DescriptorExtraction.DescriptorExtractionPipelet]
 2012-05-14 13:32:51,348 INFO  [Component Resolve Thread (Bundle 90)         ]  activities.PipeletManager                     - Pipelets have been added: [org.eclipse.smila.ontology.pipelets.CreateResourcePipelet, org.eclipse.smila.ontology.pipelets.CreateRelationPipelet, org.eclipse.smila.ontology.pipelets.SesameRecordReaderPipelet, org.eclipse.smila.ontology.pipelets.SesameRecordWriterPipelet, org.eclipse.smila.ontology.pipelets.CreateFileUriPipelet]
 2012-05-14 13:32:51,348 INFO  [Component Resolve Thread (Bundle 90)         ]  activities.PipeletManager                     - Pipelets have been added: [org.eclipse.smila.processing.pipelets.HtmlToTextPipelet, org.eclipse.smila.processing.pipelets.SetValuePipelet, org.eclipse.smila.processing.pipelets.FileWriterPipelet, org.eclipse.smila.processing.pipelets.JSONWriterPipelet, org.eclipse.smila.processing.pipelets.ScriptPipelet, org.eclipse.smila.processing.pipelets.CommitRecordsPipelet, org.eclipse.smila.processing.pipelets.CopyPipelet, org.eclipse.smila.processing.pipelets.MimeTypeIdentifyPipelet, org.eclipse.smila.processing.pipelets.RemoveAttributePipelet, org.eclipse.smila.processing.pipelets.PushRecordsPipelet, org.eclipse.smila.processing.pipelets.FileReaderPipelet, org.eclipse.smila.processing.pipelets.FilterPipelet, org.eclipse.smila.processing.pipelets.ExecPipelet, org.eclipse.smila.processing.pipelets.JSONReaderPipelet, org.eclipse.smila.processing.pipelets.AddValuesPipelet, org.eclipse.smila.processing.pipelets.SubAttributeExtractorPipelet, org.eclipse.smila.processing.pipelets.ReplacePipelet]
 2012-05-14 13:32:51,349 INFO  [Component Resolve Thread (Bundle 90)         ]  activities.PipeletManager                     - Pipelets have been added: [org.eclipse.smila.processing.pipelets.xmlprocessing.RemoveElementFromXMLPipelet, org.eclipse.smila.processing.pipelets.xmlprocessing.XPathFilterPipelet, org.eclipse.smila.processing.pipelets.xmlprocessing.XPathExtractorPipelet, org.eclipse.smila.processing.pipelets.xmlprocessing.XslTransformationPipelet, org.eclipse.smila.processing.pipelets.xmlprocessing.TidyPipelet, org.eclipse.smila.processing.pipelets.xmlprocessing.XmlSplitterPipelet]
 2012-05-14 13:32:51,349 INFO  [Component Resolve Thread (Bundle 90)         ]  activities.PipeletManager                     - Pipelets have been added: [eu.cubrikprj.pipelet.polmi.ImageUpload.LogoUploadPipelet, eu.cubrikprj.pipelet.polmi.ImageUpload.FramesUploadPipelet, eu.cubrikprj.pipelet.polmi.ImageUpload.VideosToFramesPipelet]
 2012-05-14 13:32:51,349 INFO  [Component Resolve Thread (Bundle 90)         ]  activities.PipeletManager                     - Pipelets have been added: [eu.cubrikprj.pipelet.polmi.FrameExtraction.FrameExtractionPipelet]
 2012-05-14 13:32:51,349 INFO  [Component Resolve Thread (Bundle 90)         ]  activities.PipeletManager                     - Pipelets have been added: [org.eclipse.smila.security.processing.SampleSecurityConverterPipelet]
 2012-05-14 13:32:51,349 INFO  [Component Resolve Thread (Bundle 90)         ]  activities.PipeletManager                     - Pipelets have been added: [eu.cubrikprj.pipelet.polmi.LogosDownload.LogosDownloadPipelet]
 2012-05-14 13:32:51,349 INFO  [Component Resolve Thread (Bundle 90)         ]  activities.PipeletManager                     - Pipelets have been added: [eu.cubrikprj.pipelet.polmi.VideoSegmentation.VideoSegmentationPipelet]

The FrameMatchingPipelet is missing, but the PipeletTrackerImpl does not log anything.

Thank you,

Nicolò