<?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: 10 minute guide example, deployment fails in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/10-minute-guide-example-deployment-fails/m-p/36030#M18968</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;frederikheremans Thanks for your help that works well.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the XML file, the attribute is called "id", and you have two methods with nearly identical names.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It is a bit confusing and code completion filled in the blanks. I did not even notice that they were different.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I thought I was cutting/pasting them out of the docs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In any regard, it works now… thanks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regarding #fail, I was referring to my effort to get the 10 minute example to work. I will continue to tweet unabated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It is clear to me that the failure was on my part for calling the wrong method.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again for your help.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Feb 2011 07:53:47 GMT</pubDate>
    <dc:creator>rickhigh</dc:creator>
    <dc:date>2011-02-02T07:53:47Z</dc:date>
    <item>
      <title>10 minute guide example, deployment fails</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/10-minute-guide-example-deployment-fails/m-p/36026#M18964</link>
      <description>I am trying to get the 10 minute guide example to work in a standalone application.I am getting the following error&lt;IMG id="smileyfrustrated" class="emoticon emoticon-smileyfrustrated" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-frustrated.png" alt="Smiley Frustrated" title="Smiley Frustrated" /&gt;EVERE: Error while closing command contextorg.activiti.engine.ActivitiException: no deployed process definition found with id 'financialReport'&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.activiti.engine.impl.db.DbRepo</description>
      <pubDate>Tue, 01 Feb 2011 22:24:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/10-minute-guide-example-deployment-fails/m-p/36026#M18964</guid>
      <dc:creator>rickhigh</dc:creator>
      <dc:date>2011-02-01T22:24:45Z</dc:date>
    </item>
    <item>
      <title>Re: 10 minute guide example, deployment fails</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/10-minute-guide-example-deployment-fails/m-p/36027#M18965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I went through the tutorial for the eclipse plugin and it worked.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Well, the unit test worked in the unit test only.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;package org.activiti.designer.test;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;import java.util.HashMap;&lt;BR /&gt;import java.util.Map;&lt;BR /&gt;&lt;BR /&gt;import org.activiti.engine.RuntimeService;&lt;BR /&gt;import org.activiti.engine.test.Deployment;&lt;BR /&gt;import org.activiti.engine.test.ActivitiRule;&lt;BR /&gt;import org.junit.Rule;&lt;BR /&gt;import org.junit.Test;&lt;BR /&gt;&lt;BR /&gt;public class ProcessTestHelloworld {&lt;BR /&gt;&lt;BR /&gt; @Rule&lt;BR /&gt; public ActivitiRule activitiRule = new ActivitiRule();&lt;BR /&gt;&lt;BR /&gt; @Test&lt;BR /&gt; @Deployment(resources="diagrams/my_bpmn2_diagram.activiti.bpmn20.xml")&lt;BR /&gt; public void startProcess() {&lt;BR /&gt;&amp;nbsp; RuntimeService runtimeService = activitiRule.getRuntimeService();&lt;BR /&gt;&amp;nbsp; Map&amp;lt;String, Object&amp;gt; variableMap = new HashMap&amp;lt;String, Object&amp;gt;();&lt;BR /&gt;&amp;nbsp; variableMap.put("name", "Activiti");&lt;BR /&gt;&amp;nbsp; variableMap.put("color", "BLUE");&lt;BR /&gt;&amp;nbsp; runtimeService.startProcessInstanceByKey("helloworld", variableMap);&lt;BR /&gt; }&lt;BR /&gt;}&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, I don't know how to run it standalone.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried writing a main method that loads the same process.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;package com.demo;&lt;BR /&gt;&lt;BR /&gt;import java.util.List;&lt;BR /&gt;&lt;BR /&gt;import org.activiti.engine.ProcessEngine;&lt;BR /&gt;import org.activiti.engine.ProcessEngineConfiguration;&lt;BR /&gt;import org.activiti.engine.task.Task;&lt;BR /&gt;&lt;BR /&gt;public class Demo {&lt;BR /&gt; &lt;BR /&gt; public static void main (String [] args) {&lt;BR /&gt;&amp;nbsp; ProcessEngine processEngine = ProcessEngineConfiguration.createStandaloneInMemProcessEngineConfiguration()&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .setDatabaseSchemaUpdate(ProcessEngineConfiguration.DB_SCHEMA_UPDATE_FALSE)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .setJdbcUrl("jdbc:h2:mem:my-own-db;DB_CLOSE_DELAY=1000")&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .setDatabaseSchemaUpdate("create-drop")&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .setJobExecutorActivate(true)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .buildProcessEngine();&lt;BR /&gt;&amp;nbsp; &lt;BR /&gt;&amp;nbsp; &lt;BR /&gt;&amp;nbsp; /* Deploy the xml file. */&lt;BR /&gt;&amp;nbsp; processEngine.getRepositoryService()&lt;BR /&gt;&amp;nbsp; .createDeployment().addClasspathResource("diagrams/my_bpmn2_diagram.activiti.bpmn20.xml").deploy();&lt;BR /&gt;&amp;nbsp; &lt;BR /&gt;&amp;nbsp; /* Start the process by id. */&lt;BR /&gt;&amp;nbsp; processEngine.getRuntimeService().startProcessInstanceById("helloworld");&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp; List&amp;lt;Task&amp;gt; tasks = processEngine.getTaskService()&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; .createTaskQuery().taskCandidateUser("fozzie").list();&lt;BR /&gt;&amp;nbsp; &lt;BR /&gt;&amp;nbsp; System.out.println("Got some tasks " + tasks);&lt;BR /&gt;&amp;nbsp; for (Task task : tasks) {&lt;BR /&gt;&amp;nbsp;&amp;nbsp; System.out.println(task.getId());&lt;BR /&gt;&amp;nbsp; }&lt;BR /&gt; }&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;I get the same exception I was getting before (well similar).&lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;Feb 1, 2011 5:08:47 PM org.activiti.engine.impl.ProcessEngineImpl &amp;lt;init&amp;gt;&lt;BR /&gt;INFO: ProcessEngine default created&lt;BR /&gt;Feb 1, 2011 5:08:47 PM org.activiti.engine.impl.jobexecutor.JobAcquisitionThread run&lt;BR /&gt;INFO: JobAcquisitionThread starting to acquire jobs&lt;BR /&gt;Feb 1, 2011 5:08:47 PM org.activiti.engine.impl.bpmn.deployer.BpmnDeployer deploy&lt;BR /&gt;INFO: Processing resource diagrams/my_bpmn2_diagram.activiti.bpmn20.xml&lt;BR /&gt;Feb 1, 2011 5:08:47 PM org.activiti.engine.impl.bpmn.parser.BpmnParse parseDefinitionsAttributes&lt;BR /&gt;INFO: XMLSchema currently not supported as typeLanguage&lt;BR /&gt;Feb 1, 2011 5:08:47 PM org.activiti.engine.impl.bpmn.parser.BpmnParse parseDefinitionsAttributes&lt;BR /&gt;INFO: XPath currently not supported as expressionLanguage&lt;BR /&gt;Feb 1, 2011 5:08:49 PM org.activiti.engine.impl.interceptor.CommandContext close&lt;BR /&gt;SEVERE: Error while closing command context&lt;BR /&gt;org.activiti.engine.ActivitiException: no deployed process definition found with id 'helloworld'&lt;BR /&gt; at org.activiti.engine.impl.db.DbRepositorySession.findDeployedProcessDefinitionById(DbRepositorySession.java:217)&lt;BR /&gt; at org.activiti.engine.impl.cmd.StartProcessInstanceCmd.execute(StartProcessInstanceCmd.java:47)&lt;BR /&gt; at org.activiti.engine.impl.cmd.StartProcessInstanceCmd.execute(StartProcessInstanceCmd.java:29)&lt;BR /&gt; at org.activiti.engine.impl.interceptor.CommandExecutorImpl.execute(CommandExecutorImpl.java:22)&lt;BR /&gt; at org.activiti.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:37)&lt;BR /&gt; at org.activiti.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:33)&lt;BR /&gt; at org.activiti.engine.impl.RuntimeServiceImpl.startProcessInstanceById(RuntimeServiceImpl.java:57)&lt;BR /&gt; at com.demo.Demo.main(Demo.java:25)&lt;BR /&gt;Exception in thread "main" org.activiti.engine.ActivitiException: no deployed process definition found with id 'helloworld'&lt;BR /&gt; at org.activiti.engine.impl.db.DbRepositorySession.findDeployedProcessDefinitionById(DbRepositorySession.java:217)&lt;BR /&gt; at org.activiti.engine.impl.cmd.StartProcessInstanceCmd.execute(StartProcessInstanceCmd.java:47)&lt;BR /&gt; at org.activiti.engine.impl.cmd.StartProcessInstanceCmd.execute(StartProcessInstanceCmd.java:29)&lt;BR /&gt; at org.activiti.engine.impl.interceptor.CommandExecutorImpl.execute(CommandExecutorImpl.java:22)&lt;BR /&gt; at org.activiti.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:37)&lt;BR /&gt; at org.activiti.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:33)&lt;BR /&gt; at org.activiti.engine.impl.RuntimeServiceImpl.startProcessInstanceById(RuntimeServiceImpl.java:57)&lt;BR /&gt; at com.demo.Demo.main(Demo.java:25)&lt;BR /&gt;&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;I want just a simple standalone example (that is not a unit test) that works.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;BTW I did explore and try a few things with the unit test so I am not completely stuck.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Also the screenshots and generated code for the tutorial do not match the current plugin.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;10 minute guide missing pieces.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Working tutorial with old screenshots.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Feb 2011 04:34:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/10-minute-guide-example-deployment-fails/m-p/36027#M18965</guid>
      <dc:creator>rickhigh</dc:creator>
      <dc:date>2011-02-02T04:34:21Z</dc:date>
    </item>
    <item>
      <title>Re: 10 minute guide example, deployment fails</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/10-minute-guide-example-deployment-fails/m-p/36028#M18966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You should use the startProcessInstanceByKey('financialProcess') instead of startProcessInstanceById(''), this will fix your problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Activiti is an open-source project and has a large community of contributors. The Designer is completely contributed by a team in Holland, which do this after (!) their normal day-job, so they may have missed the userguide-update this time (we do monthly release, and designer functionality has grown a lot this month).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm not sure the best way to get help from us/our community is to tweet how #activiti #fails though…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Feb 2011 06:04:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/10-minute-guide-example-deployment-fails/m-p/36028#M18966</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2011-02-02T06:04:00Z</dc:date>
    </item>
    <item>
      <title>Re: 10 minute guide example, deployment fails</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/10-minute-guide-example-deployment-fails/m-p/36029#M18967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I understand your criticism, the userguide must reflect the current state of things.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've created following JIRA issues and planned them on release 5.3: &lt;/SPAN&gt;&lt;A href="http://jira.codehaus.org/browse/ACT-601" rel="nofollow noopener noreferrer"&gt;http://jira.codehaus.org/browse/ACT-601&lt;/A&gt;&lt;SPAN&gt; and &lt;/SPAN&gt;&lt;A href="http://jira.codehaus.org/browse/ACT-600" rel="nofollow noopener noreferrer"&gt;http://jira.codehaus.org/browse/ACT-600&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Feb 2011 06:26:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/10-minute-guide-example-deployment-fails/m-p/36029#M18967</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2011-02-02T06:26:51Z</dc:date>
    </item>
    <item>
      <title>Re: 10 minute guide example, deployment fails</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/10-minute-guide-example-deployment-fails/m-p/36030#M18968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;frederikheremans Thanks for your help that works well.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the XML file, the attribute is called "id", and you have two methods with nearly identical names.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It is a bit confusing and code completion filled in the blanks. I did not even notice that they were different.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I thought I was cutting/pasting them out of the docs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In any regard, it works now… thanks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regarding #fail, I was referring to my effort to get the 10 minute example to work. I will continue to tweet unabated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It is clear to me that the failure was on my part for calling the wrong method.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again for your help.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Feb 2011 07:53:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/10-minute-guide-example-deployment-fails/m-p/36030#M18968</guid>
      <dc:creator>rickhigh</dc:creator>
      <dc:date>2011-02-02T07:53:47Z</dc:date>
    </item>
    <item>
      <title>Re: 10 minute guide example, deployment fails</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/10-minute-guide-example-deployment-fails/m-p/36031#M18969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Rick,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It's indeed a bit confusing that the process-definition "id" in the xml (bpmn 2.0 style), is actually the process key in activiti-terms.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You can tweet unbated, be my guest &lt;img id="smileywink" class="emoticon emoticon-smileywink" src="https://connect.hyland.com/i/smilies/16x16_smiley-wink.png" alt="Smiley Wink" title="Smiley Wink" /&gt; Keep on spreading the #activiti word!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Feb 2011 08:44:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/10-minute-guide-example-deployment-fails/m-p/36031#M18969</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2011-02-02T08:44:09Z</dc:date>
    </item>
  </channel>
</rss>

