<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Email service task in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/email-service-task/m-p/105898#M74057</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am trying to send email from my small Activiti test program. I have the following line in my bpmn20.xml file:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;serviceTask id="errorEnding" activiti:type="mail"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In Eclipse, it has an error message: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Multiple annotations found at this line:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;- cvc-attribute.3: The value 'mail' of attribute 'activiti:type' on element 'serviceTask' is not valid with respect to its type, 'null'.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;- cvc-enumeration-valid: Value 'mail' is not facet-valid with respect to enumeration '[shell]'. It must be a value from the &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; enumeration.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How do I fix this? Is there any way to get better debug information in runtime?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the help.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Jul 2012 23:27:00 GMT</pubDate>
    <dc:creator>yfwang</dc:creator>
    <dc:date>2012-07-20T23:27:00Z</dc:date>
    <item>
      <title>Email service task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/email-service-task/m-p/105898#M74057</link>
      <description>I am trying to send email from my small Activiti test program. I have the following line in my bpmn20.xml file:&amp;lt;serviceTask id="errorEnding" activiti:type="mail"&amp;gt;In Eclipse, it has an error message: Multiple annotations found at this line:&amp;nbsp;&amp;nbsp;&amp;nbsp;- cvc-attribute.3: The value 'mail' of attribute 'ac</description>
      <pubDate>Fri, 20 Jul 2012 23:27:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/email-service-task/m-p/105898#M74057</guid>
      <dc:creator>yfwang</dc:creator>
      <dc:date>2012-07-20T23:27:00Z</dc:date>
    </item>
    <item>
      <title>Re: Email service task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/email-service-task/m-p/105899#M74058</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This is a problem with the XML-schema, reported by eclipse. You can "safely" ignore this, I'll look into it. If you deploy the process in the engine, it will work, regardless of the schema-error you see in eclipse.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jul 2012 06:42:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/email-service-task/m-p/105899#M74058</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2012-07-23T06:42:13Z</dc:date>
    </item>
    <item>
      <title>Re: Email service task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/email-service-task/m-p/105900#M74059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It does not seem to work. I tried to run it and saw the following error message in the application server log:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[#|2012-07-23T09:33:38.066-0700|INFO|glassfish3.1|org.activiti.engine.impl.bpmn.deployer.BpmnDeployer|_ThreadID=18;_ThreadName=Thread-1;|Processing resource SimplePizzaOrderProcess.bpmn20.xml|#]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[#|2012-07-23T09:33:38.128-0700|INFO|glassfish3.1|org.activiti.engine.impl.bpmn.parser.BpmnParse|_ThreadID=18;_ThreadName=Thread-1;|XMLSchema currently not supported as typeLanguage|#]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[#|2012-07-23T09:33:38.128-0700|INFO|glassfish3.1|org.activiti.engine.impl.bpmn.parser.BpmnParse|_ThreadID=18;_ThreadName=Thread-1;|XPath currently not supported as expressionLanguage|#]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[#|2012-07-23T09:33:38.128-0700|SEVERE|glassfish3.1|org.activiti.engine.impl.bpmn.parser.BpmnParse|_ThreadID=18;_ThreadName=Thread-1;|Uknown exception&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;org.activiti.engine.ActivitiException: couldn't instantiate class org.activiti.engine.impl.bpmn.behavior.MailActivityBehavior&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.util.ReflectUtil.instantiate(ReflectUtil.java:131)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.bpmn.helper.ClassDelegate.instantiateDelegate(ClassDelegate.java:162)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.bpmn.helper.ClassDelegate.instantiateDelegate(ClassDelegate.java:158)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.bpmn.parser.BpmnParse.parseEmailServiceTask(BpmnParse.java:1547)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.bpmn.parser.BpmnParse.parseServiceTask(BpmnParse.java:1329)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.bpmn.parser.BpmnParse.parseActivity(BpmnParse.java:901)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.bpmn.parser.BpmnParse.parseActivities(BpmnParse.java:886)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.bpmn.parser.BpmnParse.parseScope(BpmnParse.java:585)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.bpmn.parser.BpmnParse.parseProcess(BpmnParse.java:558)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.bpmn.parser.BpmnParse.parseProcessDefinitions(BpmnParse.java:524)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.bpmn.parser.BpmnParse.parseRootElement(BpmnParse.java:241)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.bpmn.parser.BpmnParse.execute(BpmnParse.java:213)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.bpmn.deployer.BpmnDeployer.deploy(BpmnDeployer.java:86)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.persistence.deploy.DeploymentCache.deploy(DeploymentCache.java:38)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.persistence.entity.DeploymentManager.insertDeployment(DeploymentManager.java:42)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.cmd.DeployCmd.execute(DeployCmd.java:58)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.cmd.DeployCmd.execute(DeployCmd.java:30)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.interceptor.CommandExecutorImpl.execute(CommandExecutorImpl.java:24)………..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Caused by: org.activiti.engine.ActivitiClassLoadingException: Could not load class: org.activiti.engine.impl.bpmn.behavior.MailActivityBehavior&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.util.ReflectUtil.loadClass(ReflectUtil.java:81)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.util.ReflectUtil.instantiate(ReflectUtil.java:128)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; … 65 more&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Caused by: java.lang.NoClassDefFoundError: org/apache/commons/mail/EmailException&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at java.lang.Class.forName0(Native Method)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at java.lang.Class.forName(Class.java:247)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.util.ReflectUtil.loadClass(ReflectUtil.java:62)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; … 66 more&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Caused by: java.lang.ClassNotFoundException: org.apache.commons.mail.EmailException&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.glassfish.web.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1518)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.glassfish.web.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1368)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; … 69 more&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any suggestion would be appreciated.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jul 2012 16:43:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/email-service-task/m-p/105900#M74059</guid>
      <dc:creator>yfwang</dc:creator>
      <dc:date>2012-07-23T16:43:13Z</dc:date>
    </item>
    <item>
      <title>Re: Email service task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/email-service-task/m-p/105901#M74060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You need commons-email on your class path… Check the pom-file for the correct versions.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2012 07:25:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/email-service-task/m-p/105901#M74060</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2012-07-24T07:25:55Z</dc:date>
    </item>
  </channel>
</rss>

