<?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 delegateExpression call an ejb from another ear in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/delegateexpression-call-an-ejb-from-another-ear/m-p/5875#M2864</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone, i am pretty new in the topic activiti. I have two ears on a jboss AS 7.&lt;/P&gt;&lt;P&gt;The first ear includes the activiti 5.22 engine. I create the engine with the activiti.cfg.xml&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my process configuration I had the entry&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&amp;lt;serviceTask id="my_task" name="My Task" activiti:delegateExpression="${myTask}"&amp;gt;&amp;lt;/serviceTask&amp;gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The process should call an EJB from the second ear. When I deploy it to my server and start the process i get an exception:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;PropertyNotFoundException: Cannot resolve identifier 'myTask'&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don´t use the spring way to announce the bean.&lt;/P&gt;&lt;P&gt;How can I use the MyTask EJB?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I attached the files.&lt;/P&gt;&lt;P&gt;The IMyTask is a empty RemoteInterface.&lt;/P&gt;&lt;P&gt;It would be nice if you could help me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Feb 2018 13:17:49 GMT</pubDate>
    <dc:creator>kroninho</dc:creator>
    <dc:date>2018-02-16T13:17:49Z</dc:date>
    <item>
      <title>delegateExpression call an ejb from another ear</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/delegateexpression-call-an-ejb-from-another-ear/m-p/5875#M2864</link>
      <description>Hi everyone, i am pretty new in the topic activiti. I have two ears on a jboss AS 7.The first ear includes the activiti 5.22 engine. I create the engine with the activiti.cfg.xmlIn my process configuration I had the entry&amp;lt;serviceTask id="my_task" name="My Task" activiti:delegateExpression="${myTa</description>
      <pubDate>Fri, 16 Feb 2018 13:17:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/delegateexpression-call-an-ejb-from-another-ear/m-p/5875#M2864</guid>
      <dc:creator>kroninho</dc:creator>
      <dc:date>2018-02-16T13:17:49Z</dc:date>
    </item>
    <item>
      <title>Re: delegateExpression call an ejb from another ear</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/delegateexpression-call-an-ejb-from-another-ear/m-p/5876#M2865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you using CDI integration (&lt;A class="link-titled" href="https://www.activiti.org/userguide/#cdiintegration" title="https://www.activiti.org/userguide/#cdiintegration" rel="nofollow noopener noreferrer"&gt;Activiti User Guide&lt;/A&gt;&amp;nbsp;)? Or are you using spring like&amp;nbsp;&lt;A class="link-titled" href="http://www.jorambarrez.be/blog/2011/01/13/tutorial-call-an-ejb-in-a-bpmn-2-0-process-using-activiti-and-spring/" title="http://www.jorambarrez.be/blog/2011/01/13/tutorial-call-an-ejb-in-a-bpmn-2-0-process-using-activiti-and-spring/" rel="nofollow noopener noreferrer"&gt;Tutorial: call an EJB in a BPMN 2.0 process using Activiti and Spring | Small steps with big feet&lt;/A&gt;&amp;nbsp; ? I think one or the other would be needed for the expression to work - see&amp;nbsp;&lt;A __default_attr="218742" __jive_macro_name="thread" _jive_internal="true" class="jive_macro_thread jive_macro link-titled" href="https://community.alfresco.com/thread/218742-how-using-ejbs-30-in-service-tasks" rel="nofollow noopener noreferrer"&gt;&lt;/A&gt;&amp;nbsp; .&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Feb 2018 14:37:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/delegateexpression-call-an-ejb-from-another-ear/m-p/5876#M2865</guid>
      <dc:creator>ryandawson</dc:creator>
      <dc:date>2018-02-19T14:37:37Z</dc:date>
    </item>
    <item>
      <title>Re: delegateExpression call an ejb from another ear</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/delegateexpression-call-an-ejb-from-another-ear/m-p/5877#M2866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, thank you.&lt;/P&gt;&lt;P&gt;I add a &amp;lt;jee:remote-slsb&amp;gt; in my activity.cfg.xml and now it works.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Feb 2018 13:25:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/delegateexpression-call-an-ejb-from-another-ear/m-p/5877#M2866</guid>
      <dc:creator>kroninho</dc:creator>
      <dc:date>2018-02-22T13:25:20Z</dc:date>
    </item>
  </channel>
</rss>

