[ 
https://issues.apache.org/jira/browse/SYNCOPE-456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13836666#comment-13836666
 ] 

Hadrian Zbarcea commented on SYNCOPE-456:
-----------------------------------------

The failing process hangs before the following snippet (take from an 
environment where the tests pass). The issue seems related with the host lookup 
or other network configuration. Will try to figure out the exact line. 

{code}
22:48:25.304 DEBUG org.apache.syncope.core.rest.controller.ControllerHandler - 
After returning TaskController.execute: 
org.apache.syncope.common.to.TaskExecTO@40c6e398[
  task=101
  id=10
  status=NOT_SENT
  message=MailSendException: Mail server connection failed; nested exception is 
javax.mail.MessagingException: Connection error (java.net.UnknownHostException: 
not-existing). Failed messages: javax.mail.MessagingException: Connection error 
(java.net.UnknownHostException: not-existing)
org.springframework.mail.MailSendException: Mail server connection failed; 
nested exception is javax.mail.MessagingException: Connection error 
(java.net.UnknownHostException: not-existing). Failed messages: 
javax.mail.MessagingException: Connection error (java.net.UnknownHostException: 
not-existing); message exception details (1) are:
Failed message 1:
javax.mail.MessagingException: Connection error (java.net.UnknownHostException: 
not-existing)
{code}

> TaskTestITCase failures
> -----------------------
>
>                 Key: SYNCOPE-456
>                 URL: https://issues.apache.org/jira/browse/SYNCOPE-456
>             Project: Syncope
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.2.0
>            Reporter: Hadrian Zbarcea
>            Assignee: Hadrian Zbarcea
>
> Both issueSYNCOPE81 and issueSYNCOPE86 fail on my system. The symptom is that 
> TaskController.execute hangs (the line below is the last in the log) and then 
> there is a timeout on the client side.
> 22:46:09.087 DEBUG org.apache.syncope.core.rest.controller.ControllerHandler 
> - Before TaskController.execute([101, false])
> I am not sure if anybody saw this, if so please add a comment. I reproduce 
> the issue consistently on my Ubuntu laptop with both sun and openjdk 6. 
> Others don't see it in an environment similar to mine. I also saw it on a 
> CentOS server. I cannot reproduce it on osx though. It is quite likely 
> related to the environment, but nevertheless syncope should be more robust 
> and handle errors gracefully in a misconfigured environment.
> Since I have environments that both work and don't, I will try to dig deeper, 
> compare the two and see what the culprit is.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to