VMware Cloud Community
szymonunion
Contributor
Contributor

vCenter 5.0 U1 - Service Status error

Hello,

we had the same problem as other users with 4.0 U1 now with vCenter 5.0 U1. Plugins are enabled and in vCenter Service Status I got:

"Cannot access the health service"

I read all KB's about it, but still no success. We did not open SR yet.

Info about situation:

- w2k8R2, paths are fine (no need to change path in server.xml (tomcat) due to these two paths go to the same files.

- CUSTOM certs are fine, tomcat is listening on 8443, plugins are enabled

- localhost.log

SEVERE: Malformed moduleBaseURL:
java.net.MalformedURLException: no protocol:
at java.net.URL.<init>(URL.java:567)
at java.net.URL.<init>(URL.java:464)
at java.net.URL.<init>(URL.java:413)
at com.google.gwt.user.server.rpc.RemoteServiceServlet.doGetSerializationPolicy(RemoteServiceServlet.java:196)
at com.google.gwt.user.server.rpc.RemoteServiceServlet.getSerializationPolicy(RemoteServiceServlet.java:116)
at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader.prepareToRead(ServerSerializationStreamReader.java:303)
at com.google.gwt.user.server.rpc.RPC.decodeRequest(RPC.java:234)
at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:162)
at com.vmware.vim.cimmonitor.gwt.server.GwtCimServiceImplementation.processCall(GwtCimServiceImplementation.java:232)
at com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost(RemoteServiceServlet.java:85)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
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:293)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:662)
2012-03-27 15:50:03 org.apache.catalina.core.ApplicationContext log
INFO: ERROR: The module path requested, null, is not in the same web application as this servlet, /vws.  Your module may not be properly configured or your client and server code maybe out of date.
2012-03-27 15:50:03 org.apache.catalina.core.ApplicationContext log
INFO: WARNING: Failed to get the SerializationPolicy 'FC7E86DEAEFD2AFEA8F62B491DE5C027' for module ''; a legacy, 1.3.3 compatible, serialization policy will be used.  You may experience SerializationExceptions as a result.

- Java is 1.6.0_29, but it was installed by VC installation program

- I downloaded newdata.zip and extracted to c:\Program Files\VMware\Infrastructure\tomcat\webapps\vws\ - there was no data\ catalog before. Files are 'archive' attribute and I am logged in as local administrator (rights)

- Services are running by LocalSystem

- I do not have servlet-api.jar - I checked here and noticed there was the same error when someone deleted JRE. I checked Tomcat configuration utility and all looks OK here...

- I also have lots of org.apache.tomcat.util.http.Parameters processParameters WARNING: Parameters: Invalid chunk '' ignored.

Any solutions?

Regards,

--

Simon

Reply
0 Kudos
4 Replies
szymonunion
Contributor
Contributor

Add-on: please find out some log files.

Regards,

--

Szymon

Reply
0 Kudos
chriswahl
Virtuoso
Virtuoso

I had a similar error, along with a number of others.

Turned out the Webservices service needed to run as an account that had permissions to the vCenter database / vSphere environment (I always remove the local "Administrators" group).

Give it a whirl and see if it helps.

http://wahlnetwork.com/2012/03/20/vcenter-5-upgrade-1-webservices-service-error-with-local-system/

VCDX #104 (DCV, NV) ஃ WahlNetwork.com ஃ @ChrisWahl ஃ Author, Networking for VMware Administrators
Reply
0 Kudos
szymonunion
Contributor
Contributor

Chris,

thanks for info - I will check it tomorrrow. It might be a problem, because my services are running as LocalSystem.

I will provide details after.

Regards,

--

Szymon

Reply
0 Kudos
szymonunion
Contributor
Contributor

Chris,

it didn't help - I mean starting VM services as domain account - the same errors as I attached in my previous post.

Any other solutions? Maybe still problems with SSL, but it seems to be OK, because services are starting and connection via HTTPS is also working fine and even UM is working fine with own key.

Regards,

--

SzYmOn

Reply
0 Kudos