<?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 Re: serviceTask can not instantiate class in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/servicetask-can-not-instantiate-class/m-p/6585#M1524</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I think it would be great if we can obtain the existing service objects of the application with serviceTask.&amp;nbsp; : )&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff, can you explain that suggestion a bit more elaborate?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Sep 2010 09:06:47 GMT</pubDate>
    <dc:creator>tombaeyens</dc:creator>
    <dc:date>2010-09-02T09:06:47Z</dc:date>
    <item>
      <title>serviceTask can not instantiate class</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/servicetask-can-not-instantiate-class/m-p/6581#M1520</link>
      <description>hi activiti forum!at first i want to send my congratulations for the work done so far, on the activiti project within the last ~4(?) month!I am testing around with activiti and have a problem right now, when executing a process with a serviceTask contained. in my bpmn20.xml I had defined a service T</description>
      <pubDate>Sun, 22 Aug 2010 03:15:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/servicetask-can-not-instantiate-class/m-p/6581#M1520</guid>
      <dc:creator>eranriesenfeld</dc:creator>
      <dc:date>2010-08-22T03:15:42Z</dc:date>
    </item>
    <item>
      <title>Re: serviceTask can not instantiate class</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/servicetask-can-not-instantiate-class/m-p/6582#M1521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;yes it is&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Aug 2010 06:57:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/servicetask-can-not-instantiate-class/m-p/6582#M1521</guid>
      <dc:creator>tombaeyens</dc:creator>
      <dc:date>2010-08-23T06:57:22Z</dc:date>
    </item>
    <item>
      <title>Re: serviceTask can not instantiate class</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/servicetask-can-not-instantiate-class/m-p/6583#M1522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;That is the easiest way to get it working, yes (If you are testing the process through Explorer).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you are building your own application, you must make sure that the class is on the same classpath as on which you create the process engine on.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Aug 2010 12:43:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/servicetask-can-not-instantiate-class/m-p/6583#M1522</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2010-08-25T12:43:05Z</dc:date>
    </item>
    <item>
      <title>Re: serviceTask can not instantiate class</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/servicetask-can-not-instantiate-class/m-p/6584#M1523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think it would be great if we can obtain the existing service objects of the application with serviceTask.&amp;nbsp; : )&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Aug 2010 01:51:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/servicetask-can-not-instantiate-class/m-p/6584#M1523</guid>
      <dc:creator>jeff1</dc:creator>
      <dc:date>2010-08-26T01:51:59Z</dc:date>
    </item>
    <item>
      <title>Re: serviceTask can not instantiate class</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/servicetask-can-not-instantiate-class/m-p/6585#M1524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I think it would be great if we can obtain the existing service objects of the application with serviceTask.&amp;nbsp; : )&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff, can you explain that suggestion a bit more elaborate?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Sep 2010 09:06:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/servicetask-can-not-instantiate-class/m-p/6585#M1524</guid>
      <dc:creator>tombaeyens</dc:creator>
      <dc:date>2010-09-02T09:06:47Z</dc:date>
    </item>
    <item>
      <title>Re: serviceTask can not instantiate class</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/servicetask-can-not-instantiate-class/m-p/6586#M1525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;so sorry for my english, tom : (&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I said that because in my mind(I don't know what it is like now), jbpm4 uses relfect to invoke the target java method, which may newly create a target object, for example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;java name="greet"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; class="org.jbpm.examples.java.JohnDoe"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; method="hello"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var="answer"&amp;gt;&lt;BR /&gt;&lt;/CODE&gt;&lt;SPAN&gt;of course, we can use jndi to obtain object in jbpm4 too.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;now, let's assume that there are some domain service objects inside my application, which are stateful and have been initiated with specific business logic, how can I access such objects with service task? since I can not newly create one.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;need I manually expose them to somewhat like jndi, do some integration work, or I can access them more conveniently.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Sep 2010 11:38:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/servicetask-can-not-instantiate-class/m-p/6586#M1525</guid>
      <dc:creator>jeff1</dc:creator>
      <dc:date>2010-09-02T11:38:21Z</dc:date>
    </item>
    <item>
      <title>Re: serviceTask can not instantiate class</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/servicetask-can-not-instantiate-class/m-p/6587#M1526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The service task does indeed do the instantiation, which has as a consequens that the beans are stateless.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, I do believe that when you use Spring for example, you can reference a stateful bean from the service task (I havent tried this yet, though)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Sep 2010 10:45:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/servicetask-can-not-instantiate-class/m-p/6587#M1526</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2010-09-06T10:45:47Z</dc:date>
    </item>
    <item>
      <title>Re: serviceTask can not instantiate class</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/servicetask-can-not-instantiate-class/m-p/6588#M1527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;That is the easiest way to get it working, yes (If you are testing the process through Explorer).&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;is there any way to update the jar file in the tomcat/lib folder without having to restart tomcat?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 02 Oct 2010 17:06:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/servicetask-can-not-instantiate-class/m-p/6588#M1527</guid>
      <dc:creator>rrabbit</dc:creator>
      <dc:date>2010-10-02T17:06:14Z</dc:date>
    </item>
    <item>
      <title>Re: serviceTask can not instantiate class</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/servicetask-can-not-instantiate-class/m-p/6589#M1528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;No, unfortunately not. That's the way Tomcat works (and JBoss too and probably other app servers too).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When you have your own web application with activiti jar inside, you can however hot deploy you war, and that will give you what you need.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Oct 2010 08:34:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/servicetask-can-not-instantiate-class/m-p/6589#M1528</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2010-10-06T08:34:40Z</dc:date>
    </item>
  </channel>
</rss>

