O que há com o Alfresco falhando devido a erros de correio?

1

Não tenho certeza de como solucionar esse problema, pois nosso servidor Alfresco de repente decidiu que não deseja mais enviar e-mails (ou fazer qualquer operação que tente enviar e-mails, como aprovar documentos). Eu tentei uma atualização de 4.2e para 4.2f (em um diretório completamente separado), mas nunca tive a nova versão para iniciar (que será uma segunda pergunta que eu vou fazer ...). Também reeditamos nosso certificado de servidor de email SSL novamente (original devido a heartbleed, depois outra reemissão devido a uma chave inválida e, em seguida, uma terceira reemissão devido a um de nossos dispositivos não aceitar a chave de reemissão maior). Essas são as únicas duas coisas vagamente relacionadas que vêm à mente. O snippet do log de erros segue:

00:00:00,204 WARN [org.alfresco.repo.activities.feed.FeedNotifier] FeedNotifier: Failed to process entry "Person mailuser". org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mail' defined in file [C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\classes\alfresco\subsystems\email\OutboundSMTP\outboundSMTP-context.xml]: Invocation of init method failed; nested exception is org.alfresco.error.AlfrescoRuntimeException: 03290001 email.outbound.err.send.failed at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1420) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:580) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425) at org.alfresco.repo.management.subsystems.ChildApplicationContextFactory$ApplicationContextState.start(ChildApplicationContextFactory.java:803) at org.alfresco.repo.management.subsystems.AbstractPropertyBackedBean.start(AbstractPropertyBackedBean.java:991) at org.alfresco.repo.management.subsystems.AbstractPropertyBackedBean.onApplicationEvent(AbstractPropertyBackedBean.java:530) at org.alfresco.repo.management.SafeApplicationEventMulticaster.multicastEventInternal(SafeApplicationEventMulticaster.java:209) at org.alfresco.repo.management.SafeApplicationEventMulticaster.multicastEvent(SafeApplicationEventMulticaster.java:180) at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:303) at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:911) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:428) at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47) at org.alfresco.web.app.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:63) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4939) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5434) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633) at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:976) at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1653) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:724) Caused by: org.alfresco.error.AlfrescoRuntimeException: 03290001 email.outbound.err.send.failed at org.alfresco.repo.action.executer.MailActionExecuter.sendEmail(MailActionExecuter.java:958) at org.alfresco.repo.action.executer.MailActionExecuter.executeImpl(MailActionExecuter.java:490) at org.alfresco.repo.action.executer.MailActionExecuter$1.doWork(MailActionExecuter.java:424) at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:548) at org.alfresco.repo.action.executer.MailActionExecuter.init(MailActionExecuter.java:414) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1544) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1485) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1417) ... 35 more Caused by: org.springframework.mail.MailSendException: Mail server connection failed; nested exception is javax.mail.MessagingException: Unexpected exception borrwoing connection from pool; nested exception is: java.util.NoSuchElementException: Could not create a validated object, cause: ValidateObject failed. Failed messages: javax.mail.MessagingException: Unexpected exception borrwoing connection from pool; nested exception is: java.util.NoSuchElementException: Could not create a validated object, cause: ValidateObject failed; message exceptions (1) are: Failed message 1: javax.mail.MessagingException: Unexpected exception borrwoing connection from pool; nested exception is: java.util.NoSuchElementException: Could not create a validated object, cause: ValidateObject failed at org.springframework.mail.javamail.JavaMailSenderImpl.doSend(JavaMailSenderImpl.java:400) at org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSenderImpl.java:340) at org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSenderImpl.java:336) at org.alfresco.repo.action.executer.MailActionExecuter.sendEmail(MailActionExecuter.java:929) ... 46 more Caused by: javax.mail.MessagingException: Unexpected exception borrwoing connection from pool; nested exception is: java.util.NoSuchElementException: Could not create a validated object, cause: ValidateObject failed at org.alfresco.repo.mail.AlfrescoJavaMailSender$PooledTransportWrapper.protocolConnect(AlfrescoJavaMailSender.java:214) at javax.mail.Service.connect(Service.java:275) at org.springframework.mail.javamail.JavaMailSenderImpl.doSend(JavaMailSenderImpl.java:389) ... 49 more Caused by: java.util.NoSuchElementException: Could not create a validated object, cause: ValidateObject failed at org.apache.commons.pool.impl.GenericKeyedObjectPool.borrowObject(GenericKeyedObjectPool.java:1234) at org.alfresco.repo.mail.AlfrescoJavaMailSender$PooledTransportWrapper.protocolConnect(AlfrescoJavaMailSender.java:205) ... 51 more

Oh, nota final. Eu tentei postar nos fóruns do Alfresco, mas ele continuou cortando meus logs de erro e apagando aleatoriamente meu texto. Existe um recurso melhor do que aqui ou em seus fóruns?

    
por Brian Knoblauch 02.05.2014 / 19:31

2 respostas

0

Estamos usando um "e-mail". CNAME para o registro A real do nosso servidor de e-mail para SMTP / MSA. Por alguma razão, Alfresco decidiu de repente não gostar disso. Eu mudei para o registro A real e funcionou uma vez, depois falhou novamente. Então eu mudei para o endereço IP real e está funcionando bem assim. Embora, ele irá quebrar da próxima vez que atualizarmos o nosso servidor de e-mail ...

    
por 05.05.2014 / 16:30
1

A exceção parece ser causada por

...
Mail server connection failed;
...

Verifique seus registros do servidor de e-mail

    
por 03.05.2014 / 23:16