Tanman
Contributor
Contributor

Perf Chart service experienced an internal error

Hi there,

I have a Vcentre installation and found that when I am trying to use the charts on a host I get the error message

Perf Chart service experienced an internal error

Message: Report application initialization is not completed successfully. Retry in 60 seconds.

I went into the stats log and found these:

[2013-09-09 22:13:21,168 pool-48-thread-1  INFO  com.vmware.vim.stats.webui.startup.StatsReportInitializer] Start STATs report initialization.

[2013-09-09 22:13:21,200 pool-48-thread-1  INFO  com.vmware.vim.common.vim.VcDataSourceInitializer] Start VC DataSource configuration.

[2013-09-09 22:13:21,200 Thread-11  ERROR com.vmware.vim.common.lifecycle.InitializerExecutor] Initialization error; attempt 24 will begin in 60 seconds...

java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: com/vmware/vim/common/vdb/VdbConnectionPoolFactory

  at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)

  at java.util.concurrent.FutureTask.get(FutureTask.java:83)

  at com.vmware.vim.common.lifecycle.InitializerExecutor$MonitorCallback.run(Unknown Source)

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

Caused by: java.lang.NoClassDefFoundError: com/vmware/vim/common/vdb/VdbConnectionPoolFactory

  at com.vmware.vim.common.vim.VcDataSourceInitializer.init(Unknown Source)

  at com.vmware.vim.stats.webui.startup.StatsReportInitializer.createInitializers(Unknown Source)

  at com.vmware.vim.stats.webui.startup.StatsReportInitializer.init(Unknown Source)

  at com.vmware.vim.common.lifecycle.InitializerExecutor$MonitorCallback$1.run(Unknown Source)

  at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)

  at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)

  at java.util.concurrent.FutureTask.run(FutureTask.java:138)

  at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)

  at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:206)

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

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

  ... 1 more

[2013-09-09 22:13:21,825 pool-3-thread-2  INFO  com.vmware.vim.common.lifecycle.InitializerExecutor] Destroying com.vmware.vim.stats.webui.startup.StatsReportInitializer...

[2013-09-09 22:13:21,872 pool-3-thread-2  INFO  com.vmware.vim.common.lifecycle.InitializerExecutor] com.vmware.vim.stats.webui.startup.StatsReportInitializer destroyed.

[2013-09-09 22:17:17,480 pool-3-thread-1  INFO  com.vmware.vim.common.lifecycle.InitializerExecutor] Initializing com.vmware.vim.stats.webui.startup.StatsReportInitializer...

[2013-09-09 22:17:17,995 pool-48-thread-1  INFO  com.vmware.vim.stats.webui.startup.StatsReportInitializer] Start STATs report initialization.

[2013-09-09 22:17:18,011 pool-48-thread-1  INFO  com.vmware.vim.common.vim.VcDataSourceInitializer] Start VC DataSource configuration.

[2013-09-09 22:17:18,011 Thread-11  ERROR com.vmware.vim.common.lifecycle.InitializerExecutor] Initialization error; attempt 2 will begin in 60 seconds...

java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: com/vmware/vim/common/vdb/VdbConnectionPoolFactory

  at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)

  at java.util.concurrent.FutureTask.get(FutureTask.java:83)

  at com.vmware.vim.common.lifecycle.InitializerExecutor$MonitorCallback.run(Unknown Source)

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

Caused by: java.lang.NoClassDefFoundError: com/vmware/vim/common/vdb/VdbConnectionPoolFactory

  at com.vmware.vim.common.vim.VcDataSourceInitializer.init(Unknown Source)

  at com.vmware.vim.stats.webui.startup.StatsReportInitializer.createInitializers(Unknown Source)

  at com.vmware.vim.stats.webui.startup.StatsReportInitializer.init(Unknown Source)

  at com.vmware.vim.common.lifecycle.InitializerExecutor$MonitorCallback$1.run(Unknown Source)

  at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)

  at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)

  at java.util.concurrent.FutureTask.run(FutureTask.java:138)

  at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)

  at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:206)

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

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

  ... 1 more

Caused by: java.lang.ClassNotFoundException: com.vmware.vim.common.vdb.VdbConnectionPoolFactory

  at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1701)

  at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1546)

  ... 12 more

[2013-09-09 22:18:18,027 pool-48-thread-1  INFO  com.vmware.vim.stats.webui.startup.StatsReportInitializer] Start STATs report initialization.

[2013-09-09 22:18:18,042 pool-48-thread-1  INFO  com.vmware.vim.common.vim.VcDataSourceInitializer] Start VC DataSource configuration.

[2013-09-09 22:18:18,042 Thread-11  ERROR com.vmware.vim.common.lifecycle.InitializerExecutor] Initialization error; attempt 3 will begin in 60 seconds...

java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: com/vmware/vim/common/vdb/VdbConnectionPoolFactory

  at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)

  at java.util.concurrent.FutureTask.get(FutureTask.java:83)

  at com.vmware.vim.common.lifecycle.InitializerExecutor$MonitorCallback.run(Unknown Source)

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

Caused by: java.lang.NoClassDefFoundError: com/vmware/vim/common/vdb/VdbConnectionPoolFactory

  at com.vmware.vim.common.vim.VcDataSourceInitializer.init(Unknown Source)

  at com.vmware.vim.stats.webui.startup.StatsReportInitializer.createInitializers(Unknown Source)

  at com.vmware.vim.stats.webui.startup.StatsReportInitializer.init(Unknown Source)

  at com.vmware.vim.common.lifecycle.InitializerExecutor$MonitorCallback$1.run(Unknown Source)

  at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)

  at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)

  at java.util.concurrent.FutureTask.run(FutureTask.java:138)

  at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)

  at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:206)

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

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

  ... 1 more

[2013-09-09 22:19:18,058 pool-48-thread-1  INFO  com.vmware.vim.stats.webui.startup.StatsReportInitializer] Start STATs report initialization.

[2013-09-09 22:19:18,058 pool-48-thread-1  INFO  com.vmware.vim.common.vim.VcDataSourceInitializer] Start VC DataSource configuration.

[2013-09-09 22:19:18,058 Thread-11  ERROR com.vmware.vim.common.lifecycle.InitializerExecutor] Initialization error; attempt 4 will begin in 60 seconds...

java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: com/vmware/vim/common/vdb/VdbConnectionPoolFactory

  at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)

  at java.util.concurrent.FutureTask.get(FutureTask.java:83)

  at com.vmware.vim.common.lifecycle.InitializerExecutor$MonitorCallback.run(Unknown Source)

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

Caused by: java.lang.NoClassDefFoundError: com/vmware/vim/common/vdb/VdbConnectionPoolFactory

  at com.vmware.vim.common.vim.VcDataSourceInitializer.init(Unknown Source)

  at com.vmware.vim.stats.webui.startup.StatsReportInitializer.createInitializers(Unknown Source)

  at com.vmware.vim.stats.webui.startup.StatsReportInitializer.init(Unknown Source)

  at com.vmware.vim.common.lifecycle.InitializerExecutor$MonitorCallback$1.run(Unknown Source)

  at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)

  at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)

I couldn't make any sense of what that means even after googling it. Would anyone would be able to help on this? Any help most appreciated.


Many thanks,

Wei-Yen Tan

Tags (1)
0 Kudos
2 Replies
djciaro
Expert
Expert

Hi Wei-Yen,

Your error seems to match one that is documented in the VMware KB:

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=203030...

Resolution To resolve this issue:

1.Remove or comment out the stale entries in the vcdb.properties file.

For example, if the stale entries are similar to:

For Windows, just deduce the JDBC URL and user/password from the data source information in the VC registry

usevcdb=true

url=jdbc:sqlserver://SERVER\\INSTANCE

dbtype=mssql

driver=com.microsoft.sqlserver.jdbc.SQLServerDriver

Comment these entries by adding a hash (#) sign before them similar to:

# For Windows, just deduce the JDBC URL and user/password from the

# data source information in the VC registry

usevcdb=true

#url=jdbc:sqlserver://SERVER\\INSTANCE

#dbtype=mssql

#driver=com.microsoft.sqlserver.jdbc.SQLServerDriver

Note: By default, the vcdb.properties file is located at:

◦Windows Server 2008 – C:\ProgramData\VMware\VMware VirtualCenter\

◦Windows Server 2003 – C:\%ALLUSERSPROFILE%\Application Data\VMware\VMware VirtualCenter\

2.Restart the VirtualCenter Management Webservices. For more information, see Stopping, starting, or restarting vCenter services (1003895).

Regards

Ciarán

If you found this information useful, please consider awarding points for "Correct" or "Helpful". Thanks!
0 Kudos
Tanman
Contributor
Contributor

Hello,

Thank you for replying to me.

Unfortunately I still get that error after following what you said.

I am focusing on this bit of text to try and resolve my issue:

Initialization error; attempt 10 will begin in 60 seconds...

java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: com/vmware/vim/common/vdb/VdbConnectionPoolFactory

Does that look familiar?

Many thanks for the help.

Kind regards,

Wei-Yen

0 Kudos