07-16-2009 09:29 AM
# Configuration du serveur de messagerie
mail.host =192.168.1.1
mail.port = 25
mail.username = anonymous
mail.password =
mail.encoding = UTF-8
mail.header = 7bit
mail.from.default = monadresse@truc.com //J'ai bien sûr mis mon adresse perso
Ma configuration PC/Alfresco :07-16-2009 10:36 AM
07-16-2009 10:45 AM
16:58:45,837 ERROR [org.alfresco.repo.content.transform.magick.AbstractImageMagickContentTransformer] ImageMagickContentTransformer not available: Failed to perform ImageMagick transformation:
Execution result:
os: Windows 2000
command: [./ImageMagick/bin/convert, D:\Lomy\apache-tomcat-6.0.20\temp\Alfresco\ImageMagickContentTransformer_init_source_24908.gif, D:\Lomy\apache-tomcat-6.0.20\temp\Alfresco\ImageMagickContentTransformer_init_target_24909.png]
succeeded: false
exit code: 1
out:
err: CreateProcess: .\ImageMagick\bin\convert D:\Lomy\apache-tomcat-6.0.20\temp\Alfresco\ImageMagickContentTransformer_init_source_24908.gif D:\Lomy\apache-tomcat-6.0.20\temp\Alfresco\ImageMagickContentTransformer_init_target_24909.png error=2
16:58:48,306 INFO [org.alfresco.config.xml.XMLConfigService$PropertyConfigurer] Loading properties file from class path resource [alfresco/file-servers.properties]
16:58:58,868 INFO [org.alfresco.repo.domain.schema.SchemaBootstrap] Schema managed by database dialect org.hibernate.dialect.MySQLInnoDBDialect.
16:58:59,805 INFO [org.alfresco.repo.domain.schema.SchemaBootstrap] No changes were made to the schema.
16:59:00,680 ERROR [org.alfresco.util.exec.RuntimeExecBootstrapBean] Bootstrap command failed:
Execution result:
os: Windows 2000
command: [soffice, -accept=socket,host=localhost,port=8100;urp;StarOffice.ServiceManager, -env:UserInstallation=file:///D:/Lomy/apache-tomcat-6.0.20/bin/alf_data/oouser, -nologo, -headless, -nofirststartwizard, -nocrashrep, -norestore]
succeeded: false
exit code: 2
out:
err: CreateProcess: soffice -accept=socket,host=localhost,port=8100;urp;StarOffice.ServiceManager -env:UserInstallation=file:///D:/Lomy/apache-tomcat-6.0.20/bin/alf_data/oouser -nologo -headless -nofirststartwizard -nocrashrep -norestore error=2
16:59:02,149 INFO [org.alfresco.repo.admin.ConfigurationChecker] The Alfresco root data directory ('dir.root') is: D:\Lomy\apache-tomcat-6.0.20\bin\alf_data
16:59:02,196 INFO [org.alfresco.repo.admin.patch.PatchExecuter] Checking for patches to apply …
16:59:02,477 INFO [org.alfresco.repo.admin.patch.PatchExecuter] No patches were required.
16:59:02,477 INFO [org.alfresco.repo.module.ModuleServiceImpl] Found 0 module(s).
16:59:03,852 WARN [org.alfresco.util.OpenOfficeConnectionTester] An initial OpenOffice connection could not be established.
16:59:03,868 INFO [org.alfresco.service.descriptor.DescriptorService] Alfresco JVM - v1.5.0_10-b03; maximum heap size 254,063MB
16:59:03,868 WARN [org.alfresco.service.descriptor.DescriptorService] Alfresco JVM - WARNING - maximum heap size 254,063MB is less than recommended 512MB
16:59:03,868 INFO [org.alfresco.service.descriptor.DescriptorService] Alfresco started (Labs): Current version 3.0.0 (Stable 1526) schema 1002 - Installed version 3.0.0 (Stable 1526) schema 1002
16:59:23,570 INFO [org.alfresco.web.site.FrameworkHelper] Successfully Initialized Web Framework
17:01:26,551 ERROR [org.alfresco.repo.content.transform.magick.AbstractImageMagickContentTransformer] ImageMagickContentTransformer not available: Failed to perform ImageMagick transformation:
Execution result:
os: Windows 2000
command: [./ImageMagick/bin/convert, D:\Lomy\apache-tomcat-6.0.20\temp\Alfresco\ImageMagickContentTransformer_init_source_43150.gif, D:\Lomy\apache-tomcat-6.0.20\temp\Alfresco\ImageMagickContentTransformer_init_target_43151.png]
succeeded: false
exit code: 1
out:
err: CreateProcess: .\ImageMagick\bin\convert D:\Lomy\apache-tomcat-6.0.20\temp\Alfresco\ImageMagickContentTransformer_init_source_43150.gif D:\Lomy\apache-tomcat-6.0.20\temp\Alfresco\ImageMagickContentTransformer_init_target_43151.png error=2
17:01:28,972 INFO [org.alfresco.config.xml.XMLConfigService$PropertyConfigurer] Loading properties file from class path resource [alfresco/file-servers.properties]
17:01:39,691 INFO [org.alfresco.repo.domain.schema.SchemaBootstrap] Schema managed by database dialect org.hibernate.dialect.MySQLInnoDBDialect.
17:01:40,660 INFO [org.alfresco.repo.domain.schema.SchemaBootstrap] No changes were made to the schema.
17:01:41,488 ERROR [org.alfresco.util.exec.RuntimeExecBootstrapBean] Bootstrap command failed:
Execution result:
os: Windows 2000
command: [soffice, -accept=socket,host=localhost,port=8100;urp;StarOffice.ServiceManager, -env:UserInstallation=file:///D:/Lomy/apache-tomcat-6.0.20/bin/alf_data/oouser, -nologo, -headless, -nofirststartwizard, -nocrashrep, -norestore]
succeeded: false
exit code: 2
out:
err: CreateProcess: soffice -accept=socket,host=localhost,port=8100;urp;StarOffice.ServiceManager -env:UserInstallation=file:///D:/Lomy/apache-tomcat-6.0.20/bin/alf_data/oouser -nologo -headless -nofirststartwizard -nocrashrep -norestore error=2
17:01:42,909 INFO [org.alfresco.repo.admin.ConfigurationChecker] The Alfresco root data directory ('dir.root') is: D:\Lomy\apache-tomcat-6.0.20\bin\alf_data
17:01:42,956 INFO [org.alfresco.repo.admin.patch.PatchExecuter] Checking for patches to apply …
17:01:43,253 INFO [org.alfresco.repo.admin.patch.PatchExecuter] No patches were required.
17:01:43,253 INFO [org.alfresco.repo.module.ModuleServiceImpl] Found 0 module(s).
17:01:44,628 WARN [org.alfresco.util.OpenOfficeConnectionTester] An initial OpenOffice connection could not be established.
17:01:44,644 INFO [org.alfresco.service.descriptor.DescriptorService] Alfresco JVM - v1.5.0_10-b03; maximum heap size 254,063MB
17:01:44,644 WARN [org.alfresco.service.descriptor.DescriptorService] Alfresco JVM - WARNING - maximum heap size 254,063MB is less than recommended 512MB
17:01:44,659 INFO [org.alfresco.service.descriptor.DescriptorService] Alfresco started (Labs): Current version 3.0.0 (Stable 1526) schema 1002 - Installed version 3.0.0 (Stable 1526) schema 1002
17:02:04,581 INFO [org.alfresco.web.site.FrameworkHelper] Successfully Initialized Web Framework
07-16-2009 10:59 AM
Cependant, lorsque j'envoie des messages, je ne les reçois pas sur ma boite email ?
mail.from.default
est l'adresse expéditrice par défaut du message.07-16-2009 11:42 AM
07-16-2009 12:21 PM
INFO: Server startup in 52567 ms
18:15:19,347 User:Lomy ERROR [action.executer.MailActionExecuter] Failed to send email to [Lomy]
org.springframework.mail.MailSendException; nested exception details (1) are:
Failed message 1:
com.sun.mail.smtp.SMTPSendFailedException: 530 5.7.0 No AUTH command has been given.
Avec comme configuration :
# Configuration du serveur de messagerie
mail.host=smtp-lb.gicm.net
mail.port=25
mail.username=mon user
mail.password=mon mot depasse
mail.encoding=UTF-8
mail.header=7bit
mail.from.default=no-reply@alfresco.org
mail.smtp.auth=true
07-16-2009 06:07 PM
mail.smtp.auth=trueIl me semble que la propriété mail.smtp.auth n'est pas reconnue par défaut par Alfresco. Pour que cela fonctionne sur mon serveur, j'avais été obligé de la déclarer dans le fichier "core-services-context.xml", en ajoutant dans la rubrique <bean id=''mailService''…> les lignes suivantes :
<property name="javaMailProperties">
<props>
<prop key="mail.smtp.auth">${mail.smtp.auth}</prop>
</props>
</property>
07-17-2009 03:21 AM
<!– –>
<!– MAIL SERVICE –>
<!– –>
<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="username">
<value>${mail.username}</value>
</property>
<property name="password">
<value>${mail.password}</value>
</property>
<property name="defaultEncoding">
<value>${mail.encoding}</value>
</property>
<property name="javaMailProperties">
<props>
<prop key="mail.smtp.auth">${mail.smtp.auth}</prop>
</props>
</property>
</bean>
Avec dans le custom-repository.properties# Configuration du serveur de messagerie
mail.host=smtp-lb.gicm.net
mail.port=25
mail.username=mon user
mail.password=mon mot de passe
mail.encoding=UTF-8
mail.header=7bit
mail.from.default=mon adresse
mail.smtp.auth=true
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.