Al intentar correr esta configuración en ALfresco 3.3 para el envío de notificaciones a través de GMAIL sale el siguiente error: Error creating bean with name 'mailService' defined in file [/var/tomcat/apache-tomcat-6.0.26/webapps/alfresco/WEB-INF/classes/alfresco/extension/custom-email-context.xml]: Initialization of bean failed; nested exception is org.springframework.beans.TypeMismatchException: Failed to convert property value of type 'java.lang.String' to required type 'int' for property 'port' Nota: Lo estoy probando bajo Solaris en Windows no tengo este problema¿Agradecería mucho su ayuda?En el archivo alfresco.global.propertiesmail.host=smtp.gmail.com
mail.port=465
mail.protocol=smtps
mail.username=luis.becerra@micorreo.com
mail.encoding=UTF-8
mail.password=password
# New Properties
mail.smtps.starttls.enable=true
mail.smtps.auth=true
${mail.smtps.auth}
${mail.smtps.starttls.enable}
En la carpeta de extensión cree el archivo custom-email-context.xml.<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'>
<beans>
<bean id="mailService" class="org.springframework.mail.javamail.JavaMailSenderImpl">
<property name="host">
<value>${mail.host}</value>
</property>
<property name="port">
<value>${mail.port}</value>
</property>
<property name="protocol">
<value>${mail.protocol}</value>
</property>
<property name="username">
<value>${mail.username}</value>
</property>
<property name="password">
<value>${mail.password}</value>
</property>
<property name="javaMailProperties">
<props>
<prop key="mail.smtps.auth">${mail.smtps.auth}</prop>
<prop key="mail.smtps.starttls.enable">${mail.smtps.starttls.enable}</prop>
</props>
</property>
</bean>
</beans>