Summary:

An error may appear in the \CRM\tomcat\Logs\localhost.log following Tomcat startup. The issue causes the synchronisation to never run - the status will always be "Waiting for sync". The error appears in the logs as a null pointer exception in SyncIntegrationExchange.getServerName.

Symptoms:

Error in localhost log:

INFO: Initializing Spring FrameworkServlet 'dispatch'
Aug 17, 2011 10:43:18 AM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet dispatch threw exception
java.lang.NullPointerException
at com.sage.scrm.model.sync.SyncIntegrationExchange.getServerName(SyncIntegrationExchange.java:207)
<p><b>exception</b>
<pre>org.springframework.web.util.NestedServletException: Request processing failed; nested exception is java.lang.NullPointerException

Work around / Resolution:

The error is caused by a missing ServerNames entry in custom_sysparams. Entering the name of the CRM web server resolves the issue.