szymonunion
Contributor
Contributor

Problem with VC 4.1 - health service not working - TRIED ALL...

Hello,  I have VC 4.1.0 connected to AD. I got problems with plugins (hardware status, service status and licensing reporting manager), but I solved. When I am trying to access vCenter Service Status I got info that CANNOT ACCESS THE HEALTH SERVICE. I read everything on knowledge base, communities and other sites, but it is still not working. Custom SSL cert is working fine (done with OpenSSL 0.9.8r). I checked logs and I have some strange info:  tomcat/catalina log:  2011-04-13 13:22:01 org.apache.catalina.startup.Catalina start INFO: Server startup in 20162 ms 2011-04-13 13:43:04 org.apache.tomcat.util.http.Parameters processParameters WARNING: Parameters: Invalid chunk '' ignored. 2011-04-13 13:43:07 org.apache.tomcat.util.http.Parameters processParameters WARNING: Parameters: Invalid chunk '' ignored. ------------------------------------------------------------------------------------------------------------------------------ localhost.log:  2011-04-13 13:21:13 org.apache.catalina.core.StandardWrapperValve invoke SEVERE: Allocate exception for servlet QueryServlet java.lang.NullPointerException      at com.vmware.vim.query.impl.XhiveServiceImpl.init(XhiveServiceImpl.java:111)      at sun.reflect.GeneratedMethodAccessor68.invoke(Unknown Source)      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)      at java.lang.reflect.Method.invoke(Method.java:597)      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1412)      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1373)      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1333)      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:471)      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)      at java.security.AccessController.doPrivileged(Native Method)      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)      at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)      at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:220)      at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)      at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)      at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)      at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:269)      at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104)      at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:458)      at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:160)      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:923)      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:833)      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)      at java.security.AccessController.doPrivileged(Native Method)      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)      at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)      at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:220)      at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)      at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)      at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)      at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:881)      at com.vmware.vim.query.servlets.QueryServlet.init(QueryServlet.java:193)      at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1173)      at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:809)      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:129)      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)      at java.lang.Thread.run(Thread.java:619) 2011-04-13 13:21:56 org.apache.catalina.core.ApplicationContext log  ------------------------------------------------------------------------------------------------------------------------------ vws.log   .vim.query.impl.EnginePool] Initialized Query Service engine pool with 20 elements. [2011-04-13 14:37:15,555 Thread-26  INFO  com.vmware.vim.health.impl.ComponentSpec] Retry retrieving health after reinitializing http client for component CFD4DE89-CADA-41FD-881D-7BA30F78C529.visvc [2011-04-13 14:37:15,617 http-8443-6  INFO  com.vmware.vim.query.impl.EnginePool] Initialized Query Service engine pool with 20 elements. [2011-04-13 14:37:15,617 Thread-26  ERROR com.vmware.vim.health.impl.ComponentSpec] Unable to retrieve health for component CFD4DE89-CADA-41FD-881D-7BA30F78C529.visvc [2011-04-13 14:37:15,617 Thread-26  ERROR com.vmware.vim.health.impl.ComponentSpec] Unable to retrieve health for CFD4DE89-CADA-41FD-881D-7BA30F78C529.visvc from https://localhost:8443/vws/Query/Health [2011-04-13 14:37:15,617 Thread-26  ERROR com.vmware.vim.health.impl.ComponentSpec] Unable to retrieve health for CFD4DE89-CADA-41FD-881D-7BA30F78C529.visvc from any of its health URLs [2011-04-13 14:37:46,712 Thread-26  ERROR com.vmware.vim.health.impl.ComponentSpec] Unable to retrieve health for com.vmware.converter from https://localhost/converter/health.xml  ------------------------------------------------------------------------------------------------------------------------------  vim-tomcat-shared.log:  [2011-04-13 13:21:42,131 Thread-2  ERROR com.vmware.vim.xhive.XhiveLifecycleListener] Unable to start xhive:  com.vmware.vim.xhive.exception.InitializationException: com.xhive.error.XhiveException: INVALID_PARAMETER: Too many cache pages for maximum JVM memory      at com.vmware.vim.xhive.InstanceImpl.init(InstanceImpl.java:187)      at com.vmware.vim.xhive.InstanceImpl.(InstanceImpl.java:129)      at com.vmware.vim.xhive.InstanceFactory.getXhiveInstance(InstanceFactory.java:25)      at com.vmware.vim.xhive.InstanceSingleton.initInstance(InstanceSingleton.java:43)      at com.vmware.vim.xhive.XhiveLifecycleListener.lifecycleEvent(XhiveLifecycleListener.java:44)      at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)      at org.apache.catalina.core.StandardServer.start(StandardServer.java:703)      at org.apache.catalina.startup.Catalina.start(Catalina.java:581)      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)      at java.lang.reflect.Method.invoke(Method.java:597)      at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)      at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414) Caused by: com.xhive.error.XhiveException: INVALID_PARAMETER: Too many cache pages for maximum JVM memory      at xh8_1_5.yz.setPageSize(xhive:143)      at xh8_1_5.N.a(xhive:276)      at xh8_1_5.N.as(xhive:320)      at xh8_1_5.N.(xhive:145)      at xh8_1_5.yz.a(xhive:70)      at xh8_1_5.BW.a(xhive:190)      at xh8_1_5.BW.init(xhive:214)      at xh8_1_5.BW.init(xhive:223)      at xh8_1_5.BW.init(xhive:218)      at com.vmware.vim.xhive.InstanceImpl.init(InstanceImpl.java:178) [2011-04-13 13:21:45,084 Thread-2  INFO  com.vmware.vim.common.lifecycle.InitializerExecutor] Initializing com.vmware.vim.stats.webui.startup.StatsReportInitializer... [2011-04-13 13:21:45,694 pool-1-thread-1  INFO  com.vmware.vim.stats.webui.startup.StatsReportInitializer] Start STATs report initialization.  As I mentioned above I checked all posts here and KB (even downloading vws data files for VC 4.1), but it still not working. BTW: licensing reporting manager is saying that cannot access the licensing service...    Regards,  --  Simon

0 Kudos
6 Replies
MauroBonder
Leadership
Leadership

http://kb.vmware.com/kb/1010641

http://kb.vmware.com/kb/1028148

post here a model of server. Maybe you need upgrade bios.

You just reboot a server ?

*Please, don't forget the awarding points for "helpful" and/or "correct" answers. *Por favor, não esqueça de atribuir os pontos se a resposta foi útil ou resolveu o problema.* Thank you/Obrigado
0 Kudos
szymonunion
Contributor
Contributor

Hello,

1st link was not helpful at all.

2nd link I will check at work.

This VC is virtual machine - w2k8 R2.

Regards,

--

Simon

0 Kudos
szymonunion
Contributor
Contributor

Hello,

both links were not helpful. I am attaching actual logs - please look at the attachment.

Maybe it is JAVA problem? I found a lot of things related to JAVA in attached logs. My version is:

C:\Program Files\VMware\Infrastructure\jre\bin>java -version
java version "1.6.0_21"
Java(TM) Platform, Standard Edition for Business (build 1.6.0_21-b07)
Java HotSpot(TM) 64-Bit Server VM (build 17.0-b17, mixed mode)

Regards,

--

Simon

0 Kudos
DyJohnnY
Enthusiast
Enthusiast

If you have custom certificates (not self signed), the PFX file must be protected with the password "testpassword".

This KB details how to do it

http://kb.vmware.com/selfservice/microsites/search.do?cmd=displayKC&docType=kc&externalId=1017577&sl...

kb also says you could just alter the password in some xml file...

That did not work for me.

IonutN ( blog - www.rivnet.ro)
0 Kudos
szymonunion
Contributor
Contributor

DyJohnnY,

thanks, but as I said before my PFX is working OK.

Effects are still the same - cannot connect to the health service. Entries in logs files are the same.

Any other solutions?

Regards,

--

Simon

0 Kudos
szymonunion
Contributor
Contributor

It seems I'll have to create SR Smiley Wink

I'll wait till Monday.

I am waiting for any other help - logs attached.

Thanks in advance!

Regards,

--

Simon

0 Kudos