// these are required to keep the various indexes up to date
eventListenerList.addBlogEntryListener(new BlogEntryIndexListener());
eventListenerList.addBlogEntryListener(new TagIndexListener());
eventListenerList.addBlogEntryListener(new CategoryIndexListener());
eventListenerList.addBlogEntryListener(new AuthorIndexListener());
eventListenerList.addBlogEntryListener(new SearchIndexListener());
eventListenerList.addBlogEntryListener(new AuditListener());
try {
eventListenerList.addBlogEntryListener(new EmailSubscriptionListener());
} catch (Throwable t) {
final String text = "Error while starting e-mail subscription listener - add mail.jar and activation.jar to the server classpath if you want to enable this listener.";