<?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 External mailserver configuration in activiti-explorer and tomcat in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/external-mailserver-configuration-in-activiti-explorer-and/m-p/157422#M111603</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope that my question was not asked already twice or even more often.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In Activiti 5.14 i am trying to enable the activiti mail function in combination with our exchange server and a local postgresql database.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;First i configured the properties in the activity.cfg.xml and run the email example in eclipse and JVM. &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;property name="mailServerHost" value="192.168.1.10" /&amp;gt; &lt;BR /&gt;&amp;lt;property name="mailServerPort" value="26" /&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;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;…and everything works as expected.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Later i tried to configure these both setting inside tomcat and the activiti-explorer with edtiting the "activiti-standalone-context.xml"&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;bean id="processEngine" class="org.activiti.spring.ProcessEngineFactoryBean" destroy-method="destroy"&amp;gt;&lt;BR /&gt; &amp;lt;property name="processEngineConfiguration" ref="processEngineConfiguration" /&amp;gt;&lt;BR /&gt;&amp;lt;property name="mailServerPort" value="26"/&amp;gt;&lt;BR /&gt;&amp;lt;property name="mailServerHost" value="192.168.1.10"/&amp;gt;&lt;BR /&gt;&amp;lt;/bean&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;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;When i start tomcat again, i got following exception, and the activiti-explorer didn't start up. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'processEngine' defined in ServletContext resource [/WEB-INF/activiti-standalone-context.xml]: Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyException: Invalid property 'mailServerPort' of bean class [org.activiti.spring.ProcessEngineFactoryBean]: Bean property 'mailServerPort' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1396) &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can someone give me some advice what I have done wrong?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you much.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Mar 2014 22:39:24 GMT</pubDate>
    <dc:creator>werners</dc:creator>
    <dc:date>2014-03-18T22:39:24Z</dc:date>
    <item>
      <title>External mailserver configuration in activiti-explorer and tomcat</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/external-mailserver-configuration-in-activiti-explorer-and/m-p/157422#M111603</link>
      <description>Hi all,I hope that my question was not asked already twice or even more often.In Activiti 5.14 i am trying to enable the activiti mail function in combination with our exchange server and a local postgresql database.First i configured the properties in the activity.cfg.xml and run the email example</description>
      <pubDate>Tue, 18 Mar 2014 22:39:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/external-mailserver-configuration-in-activiti-explorer-and/m-p/157422#M111603</guid>
      <dc:creator>werners</dc:creator>
      <dc:date>2014-03-18T22:39:24Z</dc:date>
    </item>
    <item>
      <title>Re: External mailserver configuration in activiti-explorer and tomcat</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/external-mailserver-configuration-in-activiti-explorer-and/m-p/157423#M111604</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Werner,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;mailServer is set in processEngineConfiguration.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;e.g.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;bean id="processEngineConfiguration"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; class="org.activiti.engine.impl.cfg.StandaloneProcessEngineConfiguration"&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="jdbcUrl" value="jdbc:h2:mem:activiti;DB_CLOSE_DELAY=1000" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="jdbcDriver" value="org.h2.Driver" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="jdbcUsername" value="sa" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="jdbcPassword" value="" /&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!– Database configurations –&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="databaseSchemaUpdate" value="drop-create" /&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!– job executor configurations –&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="jobExecutorActivate" value="false" /&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!– mail server configurations –&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="history" value="full" /&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;/bean&amp;gt;&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;Could you try to move port to the &lt;/SPAN&gt;&lt;CODE&gt;processEngineConfiguration&lt;/CODE&gt;&lt;SPAN&gt; bean?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Martin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2014 07:48:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/external-mailserver-configuration-in-activiti-explorer-and/m-p/157423#M111604</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2014-03-19T07:48:32Z</dc:date>
    </item>
    <item>
      <title>Re: External mailserver configuration in activiti-explorer and tomcat</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/external-mailserver-configuration-in-activiti-explorer-and/m-p/157424#M111605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Martin, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;i moved the property tags to the processEngineConfiguration-Bean and it works now. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Many thanks for your help!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2014 19:17:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/external-mailserver-configuration-in-activiti-explorer-and/m-p/157424#M111605</guid>
      <dc:creator>werners</dc:creator>
      <dc:date>2014-03-19T19:17:10Z</dc:date>
    </item>
  </channel>
</rss>

