org.nrg.pipeline.exception.PipelineEngineException: Execution of $PIPELINE_HOME/catalog/notifications/Notifier -user $TOKEN -password $TOKEN_SECRET -from valid_email\@northwestern.edu -tolist /valid/path/to/email_file_list -cc valid_email\@northwestern.edu -subject NUNDA update: Pipeline complete -body content -host smtp.host.com
at Step[id= NotifyA:] was unsuccessful
Personnel notification email could not be sent class java.lang.ArrayStoreExceptionnull null
at org.nrg.pipeline.manager.ExecutionManager.execute(ExecutionManager.java:121)
at org.nrg.pipeline.task.StepManager.execute(StepManager.java:166)
at org.nrg.pipeline.manager.PipelineManager.launchPipeline(PipelineManager.java:213)
at org.nrg.pipeline.manager.PipelineManager.launchPipeline(PipelineManager.java:193)
at org.nrg.pipeline.client.XNATPipelineLauncher.launch(XNATPipelineLauncher.java:70)
at org.nrg.pipeline.client.XNATPipelineLauncher.run(XNATPipelineLauncher.java:290)
at org.nrg.pipeline.client.XNATPipelineLauncher.main(XNATPipelineLauncher.java:254)
----
And in the *.err file:
Failed sending email. Exception: null
--
You received this message because you are subscribed to the Google Groups "xnat_discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to xnat_discussi...@googlegroups.com.
To post to this group, send email to xnat_di...@googlegroups.com.
Visit this group at http://groups.google.com/group/xnat_discussion.
For more options, visit https://groups.google.com/d/optout.
Hi Mohana,
Please see below.
Thanks,
Kate
<pip:ResolvedStep id="NotifyA:" status="Failed" continueOnFailure="false" precondition="true" description="Notify" preconditionType="relaxed">
<pip:resolvedResource prefix="pip">
<pip:name>Notifier</pip:name>
<pip:location>$PIPELINE_HOME/catalog/notifications</pip:location>
<pip:type>Human</pip:type>
<pip:description/>
<pip:input>
<pip:argument id="user">
<pip:name>user</pip:name>
<pip:value>TOKEN</pip:value>
<pip:description>Mail service user</pip:description>
</pip:argument>
<pip:argument id="password">
<pip:name>password</pip:name>
<pip:value>SECRET</pip:value>
<pip:description>Mail service password</pip:description>
</pip:argument>
<pip:argument id="from">
<pip:name>from</pip:name>
<pip:value>mye...@northwestern.edu</pip:value>
<pip:description>Email from</pip:description>
</pip:argument>
<pip:argument id="tolist">
<pip:name>tolist</pip:name>
<pip:value>/valid/path/to/email_list</pip:value>
<pip:description>Emails file path. Emails are to be separated by , or newline</pip:description>
</pip:argument>
<pip:argument id="cc">
<pip:name>cc</pip:name>
<pip:value>mye...@northwestern.edu</pip:value>
<pip:description>CC Email to</pip:description>
</pip:argument>
<pip:argument id="subject">
<pip:name>subject</pip:name>
<pip:value>XNAT update: Pipeline complete</pip:value>
<pip:description>Email subject</pip:description>
</pip:argument>
<pip:argument id="body">
<pip:name>body</pip:name>
<pip:value><![CDATA[Body]]></pip:value>
<pip:description>Email body</pip:description>
</pip:argument>
<pip:argument id="host">
<pip:name>host</pip:name>
<pip:value>smtp.host</pip:value>
<pip:description>SMTP host</pip:description>
</pip:argument>
</pip:input>
</pip:resolvedResource>
</pip:ResolvedStep>
Hi Kate
Try adding a "to" argument (maybe to site admin) also. If the notifier works, its a bug
PS: I am on vacation and I will try to look into this over the weekend.
Mohana
Kate
To unsubscribe from this group and stop receiving emails from it, send an email to xnat_discussion+unsubscribe@googlegroups.com.
To post to this group, send email to xnat_discussion@googlegroups.com.
Visit this group at http://groups.google.com/group/xnat_discussion.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "xnat_discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to xnat_discussion+unsubscribe@googlegroups.com.
To post to this group, send email to xnat_discussion@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to xnat_discussi...@googlegroups.com.
To post to this group, send email to xnat_di...@googlegroups.com.
No, that’s strictly a client-side option: it will overwrite the indicated output file. For the server side (i.e. to overwrite an existing resource within XNAT), you need to add the overwrite=true flag to the URL. Eventually I’m going to spiff XDC up to do that sort of thing (adding overwrite=true, inbody=true, content type request header, etc.), but today is not that day yet.
Rick Herrick
Sr. Programmer/Analyst
Neuroinformatics Research Group
Washington University School of Medicine
Kate
To unsubscribe from this group and stop receiving emails from it, send an email to xnat_discussi...@googlegroups.com.
To post to this group, send email to xnat_di...@googlegroups.com.
Visit this group at http://groups.google.com/group/xnat_discussion.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "xnat_discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to xnat_discussi...@googlegroups.com.
To post to this group, send email to xnat_di...@googlegroups.com.
Visit this group at http://groups.google.com/group/xnat_discussion.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "xnat_discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to xnat_discussi...@googlegroups.com.
To post to this group, send email to xnat_di...@googlegroups.com.
Visit this group at http://groups.google.com/group/xnat_discussion.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "xnat_discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
xnat_discussi...@googlegroups.com.
To post to this group, send email to
xnat_di...@googlegroups.com.
Visit this group at http://groups.google.com/group/xnat_discussion.
For more options, visit https://groups.google.com/d/optout.
Rick Herrick
Sr. Programmer/Analyst
Neuroinformatics Research Group
Washington University School of Medicine