I'm attempting to setup the events database for a fresh 5.2 install, environment details below:
SERVER 1: View Connection server on Server 2008 R2
SERVER 2: SQL Server 2008 R2 on Server 2008 R2
I've followed all the guides, database is using SQL authentication, static port on default 1433. I've also followed the kb article VMware KB: Configuring VMware View Event database fails with the error: An error occurred while attempting to config… and replaced sqljdbc.jar with the updated sqljdbc4.jar.
The generic error it returns from the web gui is:
An error occurred while attempting to configure the database. Double check the database parameters and ensure that the database is not down, restarting, or otherwise unavailable.
A snippet from the VDM log file:
ADAM Error code: 2,128 com.vmware.vdi.admin.ui.ConfigurationManagerBean.updateDatabaseConfiguration(SourceFile:176)
com.vmware.vdi.adamwrapper.exceptions.ADAMServerException: database initialization failed, Could not create database writer statement: Connection reset
Also not sure that it is related but I found the following lines repeated in the catalina log file:
SEVERE: The web application [/admin] created a ThreadLocal with key of type [com.vmware.vdi.admin.be.admindatacache.a] (value [com.vmware.vdi.admin.be.admindatacache.a@561418b]) and a value of type [java.util.Stack] (value [[false]]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Oct 06, 2013 9:46:58 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [/admin] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@175dbe62]) and a value of type [com.vmware.vdi.admin.be.filters.a] (value [com.vmware.vdi.admin.be.filters.a@18cae35e]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Any ideas?