Mail Archive Troubleshooting

Last modified by Jeremie Bousquet on 2012/09/14 13:46

Connection to mail server

  • Remember to browse to the server configuration page, where you can easily test the connection. Usually testing should provide indications of what the problem is, sometimes you will have to check the logs for exceptions, to find out. Some common problems are listed below.
  • javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

If you get this exception, it means that your mail server certificate must be added to the keystore of the VM used to launch XWiki server.

You can follow the instructions from this page, or use google to find more:

http://www.java-samples.com/showtutorial.php?tutorialid=210

Notes:
- If you are under Windows 7, remember to launch command DOS window with administrative rights.
- Take care to update the correct JRE used by xwiki.
- Restart xwiki after adding the certificate for it to take effect.

Get Connected