eMail notification fails with Failed to convert to JAVA MAIL
search cancel

eMail notification fails with Failed to convert to JAVA MAIL


Article ID: 133383


Updated On:


CA Service Desk Manager


An email notification fails with a conversion error when the email address contains a non-English-alphabetic character.  You may find that the associated email file stays in $NX_ROOT\site\mail_queue and delivery is attempted indefinitely.

An example of the messages written to the $NX_ROOT\log\mail_nxd.log file are as follows:


2019-06-13 07:07:46:776 INFO [ForkJoinPool.commonPool-worker-3] c.c.S.m.MessageProcessorActorSystem - Mail Stats: Received(0) Sent(0) In Queue(0) In Work(0) Max Active Sessions(0) Errors(0) Invalid Msgs(0) Tracing(No) 
2019-06-13 07:07:46:776 INFO 11:07:46.775UTC [] c.c.S.m.MessageProcessorChildActor - Get Max Active Sessions call received.
2019-06-13 07:13:20:716 INFO 11:13:20.715UTC [] c.c.S.m.MessageProcessorChildActor - createReceive() called....
2019-06-13 07:13:20:895 ERROR [] c.c.S.m.NXMessageToTargetMessageConverter - Failed to convert to JAVA MAIL
javax.mail.internet.AddressException: Local address contains control or whitespace 
 at javax.mail.internet.InternetAddress.checkAddress( 
 at javax.mail.internet.InternetAddress.parse( 
 at javax.mail.internet.InternetAddress.parse( 
 at javax.mail.internet.InternetAddress.<init>( 
 at scala.PartialFunction$class.applyOrElse(PartialFunction.scala:123) 
 at scala.PartialFunction$OrElse.applyOrElse(PartialFunction.scala:170) 
 at scala.PartialFunction$OrElse.applyOrElse(PartialFunction.scala:171) 
 at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:257) 
 at akka.dispatch.Mailbox.exec(Mailbox.scala:234) 
 at akka.dispatch.forkjoin.ForkJoinTask.doExec( 
 at akka.dispatch.forkjoin.ForkJoinPool$WorkQueue.runTask( 
 at akka.dispatch.forkjoin.ForkJoinPool.runWorker( 


Release : 17.1



For version 17.1, apply rollup patch #3 (and its prerequisites).

If the issue persists or you are unable to apply RU3, the following steps may be a work-around:

1. Download the latest release of JavaMail, which is 1.6.2 from "". The name of the downloaded file is "javax.mail.jar". 

2. Copy the downloaded javax.mail.jar into "C:\PROGRA~2\CA\SERVIC~1\java\lib\". 

3. Stop the CA Service Desk Manager service on the server. 

4. Archive the existing C:\PROGRA~2\CA\SERVIC~1\java\lib\javax.mail-1.5.6.jar 

Note: You could create a subdirectory named "archive" and move the file into it.

5. Copy javax.mail.jar into C:\PROGRA~2\CA\SERVIC~1\java\lib\. 

6. Suggestion: Make a copy of javax.mail.jar and give it the name "javax.mail-1.6.2.jar". 

7. Rename javax.mail.jar to javax.mail-1.5.6.jar. 

 Note: naming the 1.6.2 version to 1.5.6 is necessary although not ideal - the new name is misleading of the actual version

8. stop the CA SDM service 

9. start CA SDM service

Additional Information