<?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 Deploying a 5.9 activiti-spring app with Eclipse Designer in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/deploying-a-5-9-activiti-spring-app-with-eclipse-designer/m-p/88774#M60274</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hey guys,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am a java guy and trying to get activiti running and deployed. I downloaded 5.9 and did run ant demo.start and that stuff worked. Now I was trying to develop my own app using Eclipse Indigo, with the help of user-guide and things got a little murky. Here's what I did.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1) Created an Activiti project and "Activiti Diagram" called FinancialProcess. Added various service tasks to this process.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) Now modified this process to have expressions to call a spring POJO. Created a simple bean StepDetails with printStepDetails method. Also created a activiti-context.xml in src/main/resources (same folder that has the diagrams folder, where the bpm process is stored)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3) After this did a "Create Deployment Artifacts". This generated FinancialProcess.bar (with only the bpm process in it) and FinancialProcess.jar (with only the java class StepDetails in it. So far so good, the deployment (using tomcat) is where it gets murky&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4) Using activiti-explorer, deployed the FinancialProcess.bar first. Next, copied the FinancialProcess.jar file to webapps\activiti-rest\WEB-INF\lib.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;**5) According to the user guide, the activiti.cfg.xml should be replaced by my activiti-context.xml in webapps/activiti-rest/lib/activiti-cfg.jar. However there is no activiti-cfg.jar at that location! &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;6) So I modified the activiti-context.xml under webapps\activiti-rest\WEB-INF\classes by adding my spring beans (pasted in this mail).&amp;nbsp; I then started tomcat. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;7) When I goto activiti explorer and start my process, I get an error. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Caused by: org.activiti.engine.impl.javax.el.PropertyNotFoundException: Cannot r&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;esolve identifier 'stepDetails'&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;What am I doing wrong?? I suspect something with step 5 above. My context is not being recognized?? Can someone help?&lt;BR /&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&amp;lt;beans xmlns="&lt;A href="http://www.springframework.org/schema/beans" rel="nofollow noopener noreferrer"&gt;http://www.springframework.org/schema/beans&lt;/A&gt;"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xmlns:context="&lt;A href="http://www.springframework.org/schema/context" rel="nofollow noopener noreferrer"&gt;http://www.springframework.org/schema/context&lt;/A&gt;"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xmlns:tx="&lt;A href="http://www.springframework.org/schema/tx" rel="nofollow noopener noreferrer"&gt;http://www.springframework.org/schema/tx&lt;/A&gt;"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xmlns:xsi="&lt;A href="http://www.w3.org/2001/XMLSchema-instance" rel="nofollow noopener noreferrer"&gt;http://www.w3.org/2001/XMLSchema-instance&lt;/A&gt;"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xsi:schemaLocation="&lt;A href="http://www.springframework.org/schema/beans" rel="nofollow noopener noreferrer"&gt;http://www.springframework.org/schema/beans&lt;/A&gt; &lt;A href="http://www.springframework.org/schema/beans/spring-beans.xsd" rel="nofollow noopener noreferrer"&gt;http://www.springframework.org/schema/beans/spring-beans.xsd&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://www.springframework.org/schema/context" rel="nofollow noopener noreferrer"&gt;http://www.springframework.org/schema/context&lt;/A&gt; &lt;A href="http://www.springframework.org/schema/context/spring-context-2.5.xsd" rel="nofollow noopener noreferrer"&gt;http://www.springframework.org/schema/context/spring-context-2.5.xsd&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://www.springframework.org/schema/tx" rel="nofollow noopener noreferrer"&gt;http://www.springframework.org/schema/tx&lt;/A&gt; &lt;A href="http://www.springframework.org/schema/tx/spring-tx-3.0.xsd" rel="nofollow noopener noreferrer"&gt;http://www.springframework.org/schema/tx/spring-tx-3.0.xsd&lt;/A&gt;"&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;bean id="stepDetails" class="com.activityone.StepDetails"/&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&amp;nbsp; &amp;lt;bean id="dbProperties" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="location" value="classpath:db.properties" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!– Allow other PropertyPlaceholderConfigurer to run as well –&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="ignoreUnresolvablePlaceholders" value="true"/&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;/bean&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;bean id="dataSource" class="org.springframework.jdbc.datasource.SimpleDriverDataSource"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="driverClass" value="${jdbc.driver}" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="url" value="${jdbc.url}" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="username" value="${jdbc.username}" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="password" value="${jdbc.password}" /&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;/bean&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;bean id="transactionManager" class="org.springframework.jdbc.datasource.DataSourceTransactionManager"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="dataSource" ref="dataSource" /&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;/bean&amp;gt;&lt;BR /&gt;&lt;BR /&gt; &amp;lt;bean id="processEngineConfiguration" class="org.activiti.spring.SpringProcessEngineConfiguration"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="dataSource" ref="dataSource" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="transactionManager" ref="transactionManager" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="databaseSchemaUpdate" value="true" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="mailServerHost" value="localhost" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="mailServerPort" value="5025" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="jobExecutorActivate" value="true" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="deploymentResources" value="classpath*:/org/activiti/spring/test/autodeployment/autodeploy.FinancialProcess.bpmn20.xml" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="beans"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;map&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;entry key="stepDetails" value-ref="stepDetails" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/map&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/property&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp; &amp;lt;/bean&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;bean id="processEngine" class="org.activiti.spring.ProcessEngineFactoryBean"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="processEngineConfiguration" ref="processEngineConfiguration" /&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;/bean&amp;gt;&lt;BR /&gt;&amp;nbsp; &lt;BR /&gt;&amp;nbsp; &amp;lt;bean id="repositoryService" factory-bean="processEngine" factory-method="getRepositoryService" /&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;bean id="runtimeService" factory-bean="processEngine" factory-method="getRuntimeService" /&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;bean id="taskService" factory-bean="processEngine" factory-method="getTaskService" /&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;bean id="historyService" factory-bean="processEngine" factory-method="getHistoryService" /&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;bean id="managementService" factory-bean="processEngine" factory-method="getManagementService" /&amp;gt;&amp;nbsp; &lt;BR /&gt;&lt;BR /&gt;&amp;lt;/beans&amp;gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 May 2012 20:34:12 GMT</pubDate>
    <dc:creator>dilipl1</dc:creator>
    <dc:date>2012-05-01T20:34:12Z</dc:date>
    <item>
      <title>Deploying a 5.9 activiti-spring app with Eclipse Designer</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/deploying-a-5-9-activiti-spring-app-with-eclipse-designer/m-p/88774#M60274</link>
      <description>Hey guys,I am a java guy and trying to get activiti running and deployed. I downloaded 5.9 and did run ant demo.start and that stuff worked. Now I was trying to develop my own app using Eclipse Indigo, with the help of user-guide and things got a little murky. Here's what I did.1) Created an Activit</description>
      <pubDate>Tue, 01 May 2012 20:34:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/deploying-a-5-9-activiti-spring-app-with-eclipse-designer/m-p/88774#M60274</guid>
      <dc:creator>dilipl1</dc:creator>
      <dc:date>2012-05-01T20:34:12Z</dc:date>
    </item>
    <item>
      <title>Re: Deploying a 5.9 activiti-spring app with Eclipse Designer</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/deploying-a-5-9-activiti-spring-app-with-eclipse-designer/m-p/88775#M60275</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;Can you please post these kind of questions to the user forum?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Why did you include this in the process engine config?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;&amp;lt;property name="beans"&amp;gt;&lt;BR /&gt;&amp;lt;map&amp;gt;&lt;BR /&gt;&amp;lt;entry key="stepDetails" value-ref="stepDetails" /&amp;gt;&lt;BR /&gt;&amp;lt;/map&amp;gt;&lt;BR /&gt;&amp;lt;/property&amp;gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you try and remove this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2012 09:41:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/deploying-a-5-9-activiti-spring-app-with-eclipse-designer/m-p/88775#M60275</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2012-05-02T09:41:04Z</dc:date>
    </item>
  </channel>
</rss>

