Environment
Novell ZENworks Configuration Management 11.2
Novell ZENworks Configuration Management 11.3
Situation
The installer for the reporting server will not allow for a blank password in the SMTP field.
Resolution
Workaround:
Note: this will work only if the SMTP does not require authentications
- While installing, select configure SMTP settings later
- Once installation is done, stop ZEN Reporting Server
- Make changes in below file:
Open : js.quartz.proprties from %ZRS_HOME%\js\apache-tomcat\webapps\jasperserver-pro\WEB-INF
Give details for below:
report.scheduler.mail.sender.host
report.scheduler.mail.sender.port
report.scheduler.mail.sender.username (eg: user@novell.com)
report.scheduler.mail.sender.from
report.scheduler.mail.sender.protocol (smtp) - Save and close js.quartz.proprties.
- Open applicationContext-report-scheduling.xml from %ZRS_HOME%\js\apache-tomcat\webapps\jasperserver-pro\WEB-INF
- search for <prop key="mail.smtp.auth"> and change value from true to false
- Note:
report.scheduler.mail.sender.username=
report.scheduler.mail.sender.password=
will be ignored if the setting in step 6 is set. - Save and close applicationContext-report-scheduling.xml
- Start ZEN Reporting Server
- Schedule a report
Modify applicationContext-report-scheduling.xml
to change
<prop key="mail.smtp.starttls.enable">true</prop>
to
<prop key="mail.smtp.starttls.enable">false</prop>
014-03-25 16:57:49,724 ERROR ReportExecutionJob,quartzScheduler_Worker-1:306 -
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. Failed messages:
javax.mail.MessagingException: Can't send command to SMTP host;
nested exception is:
javax.net.ssl.SSLHandshakeEx