Hello.

We are attemting a fresh installation of zenworks 11.2, trying cot connect to an external MSSQL Dtabase.

Systems are:

Zenworks Server : Windows 2008R2 SP1
Database server : Windows 2008R2 SP1
SQL server : Microsoft SQL server 2008R2

I used the Zenworks setup.exe -c to create the database initially, and all seems fine.

Then use setup.exe to install Zen11.2 and connect to the database.

At the end of the installatation, these these errors :


Status: ERROR
Additional Notes: ERROR - ConfigureAction failed!: com.novell.zenworks.datamodel.exceptions.InternalD ataModelException: com.novell.zenworks.datamodel.exceptions.Connectio nException: org.hibernate.exception.GenericJDBCException: Cannot open connection
at com.novell.zenworks.datamodel.temp.ZoneCreator.cre ateZone(ZoneCreator.java:143)
at com.novell.zenworks.datamodel.utils.hibernate.Zone Creator.doWork(ZoneCreator.java:180)
at com.novell.zenworks.datamodel.utils.hibernate.Zone Creator.main(ZoneCreator.java:508)
Caused by: com.novell.zenworks.datamodel.exceptions.Connectio nException: org.hibernate.exception.GenericJDBCException: Cannot open connection
at com.novell.zenworks.datamodel.database.AbstractDat abaseTypeHelper.throwStandardDataModelException(Ab stractDatabaseTypeHelper.java:437)
at com.novell.zenworks.datamodel.session.hibernate.Ab stractHibernateSessionImpl.handleException(Abstrac tHibernateSessionImpl.java:177)
at com.novell.zenworks.datamodel.session.hibernate.Hi bernateAbstractSession.createDefaultFolders(Hibern ateAbstractSession.java:658)
at com.novell.zenworks.datamodel.session.hibernate.Hi bernateAbstractSession._postPasswordValidationInit ialize(HibernateAbstractSession.java:437)
at com.novell.zenworks.datamodel.session.hibernate.Hi bernateAdministratorSession._postPasswordValidatio nInitialize(HibernateAdministratorSession.java:161 )
at com.novell.zenworks.datamodel.session.hibernate.Hi bernateAbstractSession.loginAsSystem(HibernateAbst ractSession.java:409)
at com.novell.zenworks.datamodel.services.DirectServi ceStoreImpl.loginAsSystem(DirectServiceStoreImpl.j ava:224)
at com.novell.zenworks.datamodel.temp.ZoneCreator.get ServiceStore(ZoneCreator.java:189)
at com.novell.zenworks.datamodel.temp.ZoneCreator.cre ateZone(ZoneCreator.java:97)
... 2 more
Caused by: org.hibernate.exception.GenericJDBCException: Cannot open connection
at org.hibernate.exception.SQLStateConverter.handledN onSpecificException(SQLStateConverter.java:103)
at org.hibernate.exception.SQLStateConverter.convert( SQLStateConverter.java:91)
at org.hibernate.exception.JDBCExceptionHelper.conver t(JDBCExceptionHelper.java:43)
at org.hibernate.exception.JDBCExceptionHelper.conver t(JDBCExceptionHelper.java:29)
at org.hibernate.jdbc.ConnectionManager.openConnectio n(ConnectionManager.java:420)
at org.hibernate.jdbc.ConnectionManager.getConnection (ConnectionManager.java:144)
at org.hibernate.jdbc.JDBCContext.connection(JDBCCont ext.java:118)
at org.hibernate.transaction.JDBCTransaction.begin(JD BCTransaction.java:57)
at org.hibernate.impl.SessionImpl.beginTransaction(Se ssionImpl.java:1294)
at com.novell.zenworks.datamodel.session.hibernate.Hi bernateSessionImpl.newTransaction(HibernateSession Impl.java:30)
at com.novell.zenworks.datamodel.session.hibernate.Ab stractHibernateSessionImpl.beginTransaction(Abstra ctHibernateSessionImpl.java:84)
at com.novell.zenworks.datamodel.session.hibernate.Hi bernateAbstractSession.createDefaultFolders(Hibern ateAbstractSession.java:621)
... 8 more
Caused by: java.sql.SQLException: Connections could not be acquired from the underlying database!
at com.mchange.v2.sql.SqlUtils.toSQLException(SqlUtil s.java:106)
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool. checkoutPooledConnection(C3P0PooledConnectionPool. java:615)
at com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSou rce.getConnection(AbstractPoolBackedDataSource.jav a:128)
at org.hibernate.connection.C3P0ConnectionProvider.ge tConnection(C3P0ConnectionProvider.java:35)
at org.hibernate.jdbc.ConnectionManager.openConnectio n(ConnectionManager.java:417)
... 15 more
Caused by: com.mchange.v2.resourcepool.CannotAcquireResourceE xception: A ResourcePool could not acquire a resource from its primary factory or source.
at com.mchange.v2.resourcepool.BasicResourcePool.awai tAvailable(BasicResourcePool.java:1406)
at com.mchange.v2.resourcepool.BasicResourcePool.prel imCheckoutResource(BasicResourcePool.java:594)
at com.mchange.v2.resourcepool.BasicResourcePool.chec koutResource(BasicResourcePool.java:514)
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool. checkoutAndMarkConnectionInUse(C3P0PooledConnectio nPool.java:681)
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool. checkoutPooledConnection(C3P0PooledConnectionPool. java:608)
... 18 more


Custom Action: com.novell.zenworks.install.customcode.configure.C onfigZoneCreateAction
Status: FATAL ERROR
Additional Notes: FATAL ERROR - class com.novell.zenworks.install.customcode.configure.C onfigZoneCreateAction FatalInstallException: ConfigureAction failed!: com.novell.zenworks.datamodel.exceptions.InternalD ataModelException: com.novell.zenworks.datamodel.exceptions.Connectio nException: org.hibernate.exception.GenericJDBCException: Cannot open connection
at com.novell.zenworks.datamodel.temp.ZoneCreator.cre ateZone(ZoneCreator.java:143)
at com.novell.zenworks.datamodel.utils.hibernate.Zone Creator.doWork(ZoneCreator.java:180)
at com.novell.zenworks.datamodel.utils.hibernate.Zone Creator.main(ZoneCreator.java:508)
Caused by: com.novell.zenworks.datamodel.exceptions.Connectio nException: org.hibernate.exception.GenericJDBCException: Cannot open connection
at com.novell.zenworks.datamodel.database.AbstractDat abaseTypeHelper.throwStandardDataModelException(Ab stractDatabaseTypeHelper.java:437)
at com.novell.zenworks.datamodel.session.hibernate.Ab stractHibernateSessionImpl.handleException(Abstrac tHibernateSessionImpl.java:177)
at com.novell.zenworks.datamodel.session.hibernate.Hi bernateAbstractSession.createDefaultFolders(Hibern ateAbstractSession.java:658)
at com.novell.zenworks.datamodel.session.hibernate.Hi bernateAbstractSession._postPasswordValidationInit ialize(HibernateAbstractSession.java:437)
at com.novell.zenworks.datamodel.session.hibernate.Hi bernateAdministratorSession._postPasswordValidatio nInitialize(HibernateAdministratorSession.java:161 )
at com.novell.zenworks.datamodel.session.hibernate.Hi bernateAbstractSession.loginAsSystem(HibernateAbst ractSession.java:409)
at com.novell.zenworks.datamodel.services.DirectServi ceStoreImpl.loginAsSystem(DirectServiceStoreImpl.j ava:224)
at com.novell.zenworks.datamodel.temp.ZoneCreator.get ServiceStore(ZoneCreator.java:189)
at com.novell.zenworks.datamodel.temp.ZoneCreator.cre ateZone(ZoneCreator.java:97)
... 2 more
Caused by: org.hibernate.exception.GenericJDBCException: Cannot open connection
at org.hibernate.exception.SQLStateConverter.handledN onSpecificException(SQLStateConverter.java:103)
at org.hibernate.exception.SQLStateConverter.convert( SQLStateConverter.java:91)
at org.hibernate.exception.JDBCExceptionHelper.conver t(JDBCExceptionHelper.java:43)
at org.hibernate.exception.JDBCExceptionHelper.conver t(JDBCExceptionHelper.java:29)
at org.hibernate.jdbc.ConnectionManager.openConnectio n(ConnectionManager.java:420)
at org.hibernate.jdbc.ConnectionManager.getConnection (ConnectionManager.java:144)
at org.hibernate.jdbc.JDBCContext.connection(JDBCCont ext.java:118)
at org.hibernate.transaction.JDBCTransaction.begin(JD BCTransaction.java:57)
at org.hibernate.impl.SessionImpl.beginTransaction(Se ssionImpl.java:1294)
at com.novell.zenworks.datamodel.session.hibernate.Hi bernateSessionImpl.newTransaction(HibernateSession Impl.java:30)
at com.novell.zenworks.datamodel.session.hibernate.Ab stractHibernateSessionImpl.beginTransaction(Abstra ctHibernateSessionImpl.java:84)
at com.novell.zenworks.datamodel.session.hibernate.Hi bernateAbstractSession.createDefaultFolders(Hibern ateAbstractSession.java:621)
... 8 more
Caused by: java.sql.SQLException: Connections could not be acquired from the underlying database!
at com.mchange.v2.sql.SqlUtils.toSQLException(SqlUtil s.java:106)
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool. checkoutPooledConnection(C3P0PooledConnectionPool. java:615)
at com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSou rce.getConnection(AbstractPoolBackedDataSource.jav a:128)
at org.hibernate.connection.C3P0ConnectionProvider.ge tConnection(C3P0ConnectionProvider.java:35)
at org.hibernate.jdbc.ConnectionManager.openConnectio n(ConnectionManager.java:417)
... 15 more
Caused by: com.mchange.v2.resourcepool.CannotAcquireResourceE xception: A ResourcePool could not acquire a resource from its primary factory or source.
at com.mchange.v2.resourcepool.BasicResourcePool.awai tAvailable(BasicResourcePool.java:1406)
at com.mchange.v2.resourcepool.BasicResourcePool.prel imCheckoutResource(BasicResourcePool.java:594)
at com.mchange.v2.resourcepool.BasicResourcePool.chec koutResource(BasicResourcePool.java:514)
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool. checkoutAndMarkConnectionInUse(C3P0PooledConnectio nPool.java:681)
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool. checkoutPooledConnection(C3P0PooledConnectionPool. java:608)
... 18 more

Very keen to get help with this!

Don