The document goes through some of the errors that can be seen when analysing the catalina.log from SafeConsole, available in the logs folder of the install directory.

Example - Connectivy issue 


SEVERE: Safedownloader: Failed to download index


The SafeConsole server is unable to connect to the Internet to verify that it is running the latest version.

Example - LDAP connectivity issue


WARNING: Exception performing authentication
javax.naming.CommunicationException: [Root exception is]
at com.sun.jndi.ldap.Connection.<init>(Unknown Source)
at com.sun.jndi.ldap.LdapClient.<init>(Unknown Source)
at com.sun.jndi.ldap.LdapClient.getInstance(Unknown Source)
at com.sun.jndi.ldap.LdapCtx.connect(Unknown Source)
at com.sun.jndi.ldap.LdapCtx.<init>(Unknown Source)
at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(Unknown Source)



WARNING: Exception performing authentication
javax.naming.CommunicationException: Connection reset [Root exception is Connection reset]; remaining name 'DC=ccc,DC=xxx,DC=zz'
at com.sun.jndi.ldap.LdapCtx.doSearch(Unknown Source)
at com.sun.jndi.ldap.LdapCtx.searchAux(Unknown Source)
at com.sun.jndi.ldap.LdapCtx.c_search(Unknown Source)
at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_search(Unknown Source)

The SafeConsole server is unable to connect to the Domain Controller to perform an authentication. This may be caused by incorrect entry in the DNS or general connectivity issues.

Example - License is not installed


org.apache.catalina.core.ApplicationContext log
INFO: admin: Initializing license from filesystem
org.apache.catalina.core.ApplicationContext log
INFO: admin: Error reading license: C:\Program Files (x86)\BlockMaster\SafeConsole\license\license.key


The SafeConsole license is not installed. Probably since the user is unable to log in and install the license.

This is how to do a manual license installation in the file system if SafeConsole interface in not operational for some reason.

Example - Possible corrupted installation


WARNING: NoClassDefFoundError: Unable to load builtin provider:


SafeConsole is failing to load a class, in this case the RESTEasy plugin, that is critical for its operation. This will likely cause more errors in the log. Recover the latest working backup or reinstall SafeConsole.

Example - Database erased or corrupted


SEVERE: Begin event threw exception
java.lang.RuntimeException: C:\Program Files (x86)\BlockMaster\SafeConsole\db\create_database.sql


SafeConsole failed to open the database. Recover to a working backup. Ensure that the files C:\Program Files (x86)\BlockMaster\SafeConsole\db\Consoledb.script and C:\Program Files (x86)\BlockMaster\SafeConsole\db\ are present and not zero bytes in size. 

Example - Sophos SafeConsoleReady not included license


org.apache.catalina.core.ApplicationContext log
INFO: admin: Warning: Unknown key: sophos


No license is present for the optional addon Sophos Antivirus. If this has not been purchased the error can be ignored.

Example - Certificate password mismatch failed to decrypt safe contents entry: javax.crypto.BadPaddingException: Given final block not properly padded
at Source)


The password for an existing certificate and the settings in safeconsole.ini does not match. Most often this certificate is the ca.p12 certificate in the /certs folder.

Please try to open the file and enter a password to verify which password that has been used and then check the article "Certificate error when replacing certificate - Bad padding exception in catalina.log"