cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1303
Views
0
Helpful
4
Replies

fail to open web GUI of the WCS

billytsang
Level 1
Level 1

Hi,

I found that I cannot open the web GUI of the WCS, I tried to restart the WCS service but cannot stop the health monitor, finally, I restart the server to solve the problem.

When I checked the log I foiund that there are some error:

07/06/11 10:57:41.484 ERROR [general] [DataCleanupAndInventoryLock-1] THROW

java.lang.InterruptedException

    at java.lang.Object.wait(Native Method)

    at java.lang.Object.wait(Object.java:485)

    at com.cisco.server.util.ThreadPoolCallbackImpl.waitForAllTasks(Unknown Source)

    at com.cisco.server.polling.PollAuditSwitch.runTask2(Unknown Source)

    at com.cisco.server.polling.PollAuditSwitch.runTask(Unknown Source)

    at com.cisco.common.task.AbstractTask.run(Unknown Source)

    at com.cisco.common.scheduler.ScheduledTask.run(Unknown Source)

    at com.cisco.common.scheduler.ScheduledTaskSequence.run(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)

    at java.lang.Thread.run(Thread.java:619)

07/06/11 10:57:41.500 ERROR [general] [Task Scheduler Worker-2] THROW

com.cisco.server.common.errors.InternalException: [COMMON-1]: COMMON-1

com.cisco.common.persistence.transaction.TransactionException: Cannot open connection

    at com.cisco.server.services.PersistenceService.beginTransaction(Unknown Source)

    at com.cisco.server.services.ConfigurationService.addObject(Unknown Source)

    at com.cisco.server.services.ConfigurationService.addObject(Unknown Source)

    at com.cisco.server.util.task.PersistentTaskLogger.logTaskStart(Unknown Source)

    at com.cisco.common.task.AbstractTask.logTaskStart(Unknown Source)

    at com.cisco.common.task.AbstractTask.run(Unknown Source)

    at com.cisco.common.scheduler.ScheduledTask.run(Unknown Source)

    at com.cisco.common.scheduler.ScheduledTaskSequence.run(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)

    at java.lang.Thread.run(Thread.java:619)

Nested exception is:

org.hibernate.exception.GenericJDBCException: Cannot open connection

    at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:103)

    at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:91)

    at com.cisco.server.persistence.hibernate.dialect.SolidDialect$2.convert(Unknown Source)

    at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)

    at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:29)

    at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:424)

    at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:144)

    at org.hibernate.jdbc.JDBCContext.connection(JDBCContext.java:119)

    at org.hibernate.transaction.JDBCTransaction.begin(JDBCTransaction.java:57)

    at org.hibernate.impl.SessionImpl.beginTransaction(SessionImpl.java:1326)

    at com.cisco.server.services.PersistenceService.beginTransaction(Unknown Source)

    at com.cisco.server.services.ConfigurationService.addObject(Unknown Source)

    at com.cisco.server.services.ConfigurationService.addObject(Unknown Source)

    at com.cisco.server.util.task.PersistentTaskLogger.logTaskStart(Unknown Source)

    at com.cisco.common.task.AbstractTask.logTaskStart(Unknown Source)

    at com.cisco.common.task.AbstractTask.run(Unknown Source)

    at com.cisco.common.scheduler.ScheduledTask.run(Unknown Source)

    at com.cisco.common.scheduler.ScheduledTaskSequence.run(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)

    at java.lang.Thread.run(Thread.java:619)

Caused by: java.sql.SQLException: An SQLException was provoked by the following failure: java.lang.InterruptedException

    at com.mchange.v2.sql.SqlUtils.toSQLException(SqlUtils.java:106)

    at com.mchange.v2.sql.SqlUtils.toSQLException(SqlUtils.java:65)

    at com.mchange.v2.sql.SqlUtils.toSQLException(SqlUtils.java:62)

    at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:531)

    at com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.getConnection(AbstractPoolBackedDataSource.java:128)

    at org.hibernate.connection.C3P0ConnectionProvider.getConnection(C3P0ConnectionProvider.java:56)

    at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:421)

    ... 15 more

Caused by: java.lang.InterruptedException

    at java.lang.Object.wait(Native Method)

    at com.mchange.v2.resourcepool.BasicResourcePool.awaitAvailable(BasicResourcePool.java:1315)

    at com.mchange.v2.resourcepool.BasicResourcePool.prelimCheckoutResource(BasicResourcePool.java:557)

    at com.mchange.v2.resourcepool.BasicResourcePool.checkoutResource(BasicResourcePool.java:477)

    at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:525)

    ... 18 more

07/06/11 10:57:41.515 ERROR [general] [PollSerializationLock-1] THROW

Do you have any idea about this? thanks.

4 Replies 4

Nicolas Darchis
Cisco Employee
Cisco Employee

It would seem that database died ?

So, does it a new bug?

Hard to say based on a one-time occurence. If it happens consistantly you can open a TAC case. If it doesn't happen again ... it stays one of the big mysteries of the universe :-)

Thanks your help

Review Cisco Networking for a $25 gift card