<?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 Activiti 5.9 with Spring 1.2.9 possible? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/activiti-5-9-with-spring-1-2-9-possible/m-p/114641#M80779</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello Guys,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;is it possible to use Activiti with Spring 1.2.9? If it is not possible, which is the lowest spring version i need?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If I use Spring 1.2.9 I've a problem with the SpringProcessEngineConfiguration and the dataSource property.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;applicationContext.xml:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;&lt;BR /&gt;&amp;lt;!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "&lt;A href="http://www.springframework.org/dtd/spring-beans.dtd" rel="nofollow noopener noreferrer"&gt;http://www.springframework.org/dtd/spring-beans.dtd&lt;/A&gt;"&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;lt;beans&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;property name="driverClassName" value="com.mysql.jdbc.Driver" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;property name="url" value="jdbc:mysql://localhost:3306/activiti" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;property name="username" value="root" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;property name="password" value="root" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/bean&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;bean id="processEngineConfiguration" class="org.activiti.spring.SpringProcessEngineConfiguration"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&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;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;property name="transactionManager" ref="transactionManager" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&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;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;property name="jobExecutorActivate" value="false" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;property name="deploymentResources" value="classpath:*/tutorial/diagram/SingleApprover.bpmn20.xml" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/bean&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;…&lt;BR /&gt;&amp;lt;/beans&amp;gt;&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Error Message:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'processEngineConfiguration' defined in class path resource [applicationContext.xml]: Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyException: Invalid property 'dataSource' of bean class [org.activiti.spring.SpringProcessEngineConfiguration]: Bean property 'dataSource' is not writable or has an invalid setter method: Does the parameter type of the setter match the return type of the getter?&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Greetz cookie-exploit&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;EDIT: We now use Spring 3.x, problem is solved.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 31 Jul 2012 12:19:34 GMT</pubDate>
    <dc:creator>cookie-exploit</dc:creator>
    <dc:date>2012-07-31T12:19:34Z</dc:date>
    <item>
      <title>Activiti 5.9 with Spring 1.2.9 possible?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-5-9-with-spring-1-2-9-possible/m-p/114641#M80779</link>
      <description>Hello Guys,is it possible to use Activiti with Spring 1.2.9? If it is not possible, which is the lowest spring version i need?If I use Spring 1.2.9 I've a problem with the SpringProcessEngineConfiguration and the dataSource property.applicationContext.xml:&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;</description>
      <pubDate>Tue, 31 Jul 2012 12:19:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-5-9-with-spring-1-2-9-possible/m-p/114641#M80779</guid>
      <dc:creator>cookie-exploit</dc:creator>
      <dc:date>2012-07-31T12:19:34Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti 5.9 with Spring 1.2.9 possible?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-5-9-with-spring-1-2-9-possible/m-p/114642#M80780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The version activiti 5.9 uses is 3.0.5. I Presume there are older versions where it will run on, but no guarantees on that. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think your version of spring doesn't support setters that return a value, as most of the ProcessEngineConfiguration setters are to allow chaining when used in code… So probably the first version that can cope with those, is the smallest version activiti needs for the error you have, not sure about other stuff off course. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyway, if you're stuck at 1.2.9, I think it's time to upgrade. Spring has a good reputation of being backwards-compatible…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jul 2012 12:24:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-5-9-with-spring-1-2-9-possible/m-p/114642#M80780</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2012-07-31T12:24:56Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti 5.9 with Spring 1.2.9 possible?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-5-9-with-spring-1-2-9-possible/m-p/114643#M80781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for reply. &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have done a mistake, I have copied the wrong spring.jar from our project, this was a .jar which is no longer used.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The version we actually use is 2.5.6, but with this version i have another error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'processEngine' defined in class path resource [applicationContext.xml]: Initialization of bean failed; nested exception is java.lang.reflect.MalformedParameterizedTypeException&lt;BR /&gt; at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:480)&lt;BR /&gt; at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)&lt;BR /&gt; at java.security.AccessController.doPrivileged(Native Method)&lt;BR /&gt; at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)&lt;BR /&gt; at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)&lt;BR /&gt; at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)&lt;BR /&gt; at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)&lt;BR /&gt; at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)&lt;BR /&gt; at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)&lt;BR /&gt; at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:423)&lt;BR /&gt; at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)&lt;BR /&gt; at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)&lt;BR /&gt; at org.springframework.context.support.ClassPathXmlApplicationContext.&amp;lt;init&amp;gt;(ClassPathXmlApplicationContext.java:139)&lt;BR /&gt; at org.springframework.context.support.ClassPathXmlApplicationContext.&amp;lt;init&amp;gt;(ClassPathXmlApplicationContext.java:83)&lt;BR /&gt; at biz.myera.tecframe.bpm.test.activiti.SingleApproverTest.setUp(SingleApproverTest.java:30)&lt;BR /&gt; at junit.framework.TestCase.runBare(TestCase.java:125)&lt;BR /&gt; at junit.framework.TestResult$1.protect(TestResult.java:106)&lt;BR /&gt; at junit.framework.TestResult.runProtected(TestResult.java:124)&lt;BR /&gt; at junit.framework.TestResult.run(TestResult.java:109)&lt;BR /&gt; at junit.framework.TestCase.run(TestCase.java:118)&lt;BR /&gt; at junit.framework.TestSuite.runTest(TestSuite.java:208)&lt;BR /&gt; at junit.framework.TestSuite.run(TestSuite.java:203)&lt;BR /&gt; at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)&lt;BR /&gt; at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)&lt;BR /&gt; at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)&lt;BR /&gt; at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)&lt;BR /&gt; at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)&lt;BR /&gt; at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)&lt;BR /&gt;Caused by: java.lang.reflect.MalformedParameterizedTypeException&lt;BR /&gt; at sun.reflect.generics.reflectiveObjects.ParameterizedTypeImpl.validateConstructorArguments(Unknown Source)&lt;BR /&gt; at sun.reflect.generics.reflectiveObjects.ParameterizedTypeImpl.&amp;lt;init&amp;gt;(Unknown Source)&lt;BR /&gt; at sun.reflect.generics.reflectiveObjects.ParameterizedTypeImpl.make(Unknown Source)&lt;BR /&gt; at sun.reflect.generics.factory.CoreReflectionFactory.makeParameterizedType(Unknown Source)&lt;BR /&gt; at sun.reflect.generics.visitor.Reifier.visitClassTypeSignature(Unknown Source)&lt;BR /&gt; at sun.reflect.generics.tree.ClassTypeSignature.accept(Unknown Source)&lt;BR /&gt; at sun.reflect.generics.repository.ClassRepository.getSuperInterfaces(Unknown Source)&lt;BR /&gt; at java.lang.Class.getGenericInterfaces(Unknown Source)&lt;BR /&gt; at org.springframework.core.GenericTypeResolver.getTypeVariableMap(GenericTypeResolver.java:154)&lt;BR /&gt; at org.springframework.core.GenericTypeResolver.resolveReturnType(GenericTypeResolver.java:101)&lt;BR /&gt; at org.springframework.beans.GenericTypeAwarePropertyDescriptor.getPropertyType(GenericTypeAwarePropertyDescriptor.java:88)&lt;BR /&gt; at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:138)&lt;BR /&gt; at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:386)&lt;BR /&gt; at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.convertForProperty(AbstractAutowireCapableBeanFactory.java:1289)&lt;BR /&gt; at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1250)&lt;BR /&gt; at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1010)&lt;BR /&gt; at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)&lt;BR /&gt; … 27 more&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;If no one have a idea with this error, then I had to told the project leader, that we need Spring 3.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Have anyone an idea? &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Greetz cookie-exploit&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jul 2012 13:20:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-5-9-with-spring-1-2-9-possible/m-p/114643#M80781</guid>
      <dc:creator>cookie-exploit</dc:creator>
      <dc:date>2012-07-31T13:20:04Z</dc:date>
    </item>
  </channel>
</rss>

