VMware Workspace ONE Community
Amr_86
Contributor
Contributor
Jump to solution

horizon workspace internal database eroor

hello everyone , after successfully deploying Horizon Workspace on my data center , using the web browser i connected to the Configurator-va to continue the process . i managed to deploy the license and setting the password thats when i went to the next step which is choosing either to use the internal database or an external one , that's where i faced to problems :

the first is after choosing the internal database this error appears

com.vmware.horizon.configurator.exception.VMException: Error getting/setting directory config on Connector. at com.vmware.horizon.configurator.exception.VMException.CONNECTOR_DIRECTORY_CONFIG(VMException.java:114) at com.vmware.horizon.configurator.vm.remote.impl.ConnectorRemoteImpl.getDirectoryConfig(ConnectorRemoteImpl.java:147) at com.vmware.horizon.configurator.vm.service.ConnectorService.getDirectoryConfig(ConnectorService.java:102) at com.vmware.horizon.configurator.vm.DirectoryConfigurator.getDirectoryConfig(DirectoryConfigurator.java:81) at com.vmware.horizon.configurator.controller.ConfiguratorDirectoryController.doGetWDirectory(ConfiguratorDirectoryController.java:59) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:212) at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:126) at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:96) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:617) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:578) at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:80) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:900) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:827) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882) at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:778) at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) 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.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:311) at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:116) at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323) at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323) at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:101) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323) at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323) at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:54) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323) at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:45) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323) at com.vmware.horizon.configurator.ConfiguratorRequestFilter.doFilter(ConfiguratorRequestFilter.java:65) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323) at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:182) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323) at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:105) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323) at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323) at com.vmware.horizon.configurator.WizardRedirectionFilter.doFilter(WizardRedirectionFilter.java:87) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323) at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:173) at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346) at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 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.valves.AccessLogValve.invoke(AccessLogValve.java:615) 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$SocketProcessor.run(JIoEndpoint.java:409) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.Exception: Connector returned failure: Invalid suite token. at com.vmware.horizon.configurator.vm.remote.impl.ConnectorRemoteImpl.handleJacksonException(ConnectorRemoteImpl.java:556) at com.vmware.horizon.configurator.vm.remote.impl.ConnectorRemoteImpl.getConnectorResponse(ConnectorRemoteImpl.java:808) at com.vmware.horizon.configurator.vm.remote.impl.ConnectorRemoteImpl.getDirectoryConfig(ConnectorRemoteImpl.java:142) ... 67 more

the second problem is that when i try to choose the external database the fields are locked and i cant write anything to it !!

any ideas whats going on !!

0 Kudos
1 Solution

Accepted Solutions
Amr_86
Contributor
Contributor
Jump to solution

i have solved all the problems as follows :

the problem regarding the internal database was solved by entering the gateway-va IP in the gateway field when creating the IP pool .

the problem regarding the Time Drift was solved by adjusting the clock in each ESXi Host and i made on of the hosts as a NTP server to the other Hosts "not recommended"

thank you all for ur help

View solution in original post

0 Kudos
8 Replies
sravuri
VMware Employee
VMware Employee
Jump to solution

From the description it looks like the database configuration did go through, but we had problems getting the next screen information (AD directory) from connector-va.

Can you please send us the logs from following virtual machines?

service-va: /opt/vmware/horizon/horizoninstance/logs/horizon.log

connector-va: /opt/vmware/c2/c2instance/logs/connector.log

configurator-va: /opt/vmware/horizon/configuratorinstance/configurator.log

0 Kudos
Amr_86
Contributor
Contributor
Jump to solution

i have attached the logs files needed , thank you

0 Kudos
sravuri
VMware Employee
VMware Employee
Jump to solution

Hi,

We did some analysis. it looks like problem with initial installation (may be some network issues?). Can you reinstall the vApp and see if it helps? Else, we can get on a call to see what is happening.

Here is the analysis:

Connector logs don't have anything in details.

Configurator logs show first org was created properly. Configurator did obtain a suite token from AppManager. However, the response that was returned by Connector was unparseable.

AppManager logs are notable - database connection errors, unknown gateway host exceptions, ... it seems the initial installation was not clean.

Unknown host exception for gateway could be the cause, the Connector may not be able to reach AppManager.

Configurator -------

Jul 10 2013 13:06:09.024 INFO [tomcat-http--19] com.vmware.horizon.configurator.vm.remote.impl.AppManagerRemoteImpl - Setting app admin username/password for user: admin
Jul 10 2013 13:06:09.025 INFO [tomcat-http--19] com.vmware.horizon.configurator.vm.remote.impl.AppManagerRemoteImpl - Using appManager base url: https://gateway-va.workspace.com:443/SAAS/API/1.0
Jul 10 2013 13:06:09.025 INFO [tomcat-http--19] com.vmware.horizon.configurator.vm.remote.impl.AppManagerRemoteImpl - Checking service is running at https://gateway-va.workspace.com:443/SAAS
Jul 10 2013 13:06:09.049 WARN [tomcat-http--6] org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/cfg/wizard/horizon/images/loader-bar.gif] in DispatcherServlet with name 'appServlet'
Jul 10 2013 13:06:14.223 INFO [tomcat-http--19] com.vmware.horizon.configurator.vm.remote.impl.AppManagerRemoteImpl - Connection check from service returned: HTTP/1.1 200 OK
Jul 10 2013 13:06:14.223 INFO [tomcat-http--19] com.vmware.horizon.configurator.vm.remote.impl.AppManagerRemoteImpl - Creating first org with admin user/password...
Jul 10 2013 13:06:15.982 INFO [tomcat-http--19] com.vmware.horizon.configurator.vm.remote.impl.AppManagerRemoteImpl - Got activation token.
Jul 10 2013 13:06:15.982 INFO [tomcat-http--19] com.vmware.horizon.configurator.vm.remote.impl.AppManagerRemoteImpl - Using activation token to get client id/secret for configurator...
Jul 10 2013 13:06:16.040 INFO [tomcat-http--19] com.vmware.horizon.configurator.vm.remote.impl.AppManagerRemoteImpl - Got client id/secret.
Jul 10 2013 13:06:16.041 INFO [tomcat-http--19] com.vmware.horizon.configurator.vm.remote.impl.AppManagerRemoteImpl - Validate/renew suite token.
Jul 10 2013 13:06:16.041 INFO [tomcat-http--19] com.vmware.horizon.configurator.vm.remote.impl.AppManagerRemoteImpl - Validating suite token.
Jul 10 2013 13:06:16.041 INFO [tomcat-http--19] com.vmware.horizon.configurator.vm.remote.impl.AppManagerRemoteImpl - Using appManager base url: https://gateway-va.workspace.com:443/SAAS/API/1.0
Jul 10 2013 13:06:16.042 INFO [tomcat-http--19] com.vmware.horizon.configurator.vm.remote.impl.AppManagerRemoteImpl - Getting/renewing oauth access token and suite token.
Jul 10 2013 13:06:16.042 INFO [tomcat-http--19] com.vmware.horizon.configurator.vm.remote.impl.AppManagerRemoteImpl - Using appManager base url: https://gateway-va.workspace.com:443/SAAS/API/1.0
Jul 10 2013 13:06:16.042 INFO [tomcat-http--19] com.vmware.horizon.configurator.vm.remote.impl.AppManagerRemoteImpl - Using client id/secret to get access token...
Jul 10 2013 13:06:16.135 INFO [tomcat-http--19] com.vmware.horizon.configurator.vm.remote.impl.AppManagerRemoteImpl - Got oauth access token. Using oauth access token to get a new suite token...
Jul 10 2013 13:06:16.252 INFO [tomcat-http--19] com.vmware.horizon.configurator.vm.remote.impl.AppManagerRemoteImpl - Got suite token.
Jul 10 2013 13:06:16.397 INFO [tomcat-http--19] com.vmware.horizon.configurator.vm.remote.impl.AppManagerRemoteImpl - Getting connector activation code.
Jul 10 2013 13:06:16.398 INFO [tomcat-http--19] com.vmware.horizon.configurator.vm.remote.impl.AppManagerRemoteImpl - Using appManager base url: https://gateway-va.workspace.com:443/SAAS/API/1.0
Jul 10 2013 13:06:16.398 INFO [tomcat-http--19] com.vmware.horizon.configurator.vm.remote.impl.AppManagerRemoteImpl - Validate/renew suite token.
Jul 10 2013 13:06:16.398 INFO [tomcat-http--19] com.vmware.horizon.configurator.vm.remote.impl.AppManagerRemoteImpl - Validating suite token.
Jul 10 2013 13:06:16.398 INFO [tomcat-http--19] com.vmware.horizon.configurator.vm.remote.impl.AppManagerRemoteImpl - Using appManager base url: https://gateway-va.workspace.com:443/SAAS/API/1.0
Jul 10 2013 13:06:16.398 INFO [tomcat-http--19] com.vmware.horizon.configurator.vm.remote.impl.AppManagerRemoteImpl - Checking if current suite token is valid...
Jul 10 2013 13:06:16.460 INFO [tomcat-http--19] com.vmware.horizon.configurator.vm.remote.impl.AppManagerRemoteImpl - Suite token still valid.
Jul 10 2013 13:06:16.461 INFO [tomcat-http--19] com.vmware.horizon.configurator.vm.remote.impl.AppManagerRemoteImpl - Getting/renewing oauth access token and suite token.
Jul 10 2013 13:06:16.461 INFO [tomcat-http--19] com.vmware.horizon.configurator.vm.remote.impl.AppManagerRemoteImpl - Using appManager base url: https://gateway-va.workspace.com:443/SAAS/API/1.0
Jul 10 2013 13:06:16.461 INFO [tomcat-http--19] com.vmware.horizon.configurator.vm.remote.impl.AppManagerRemoteImpl - Using client id/secret to get access token...
Jul 10 2013 13:06:16.518 INFO [tomcat-http--19] com.vmware.horizon.configurator.vm.remote.impl.AppManagerRemoteImpl - Got oauth access token. Using oauth access token to get a new suite token...
Jul 10 2013 13:06:16.586 INFO [tomcat-http--19] com.vmware.horizon.configurator.vm.remote.impl.AppManagerRemoteImpl - Got suite token.
Jul 10 2013 13:06:17.078 INFO [tomcat-http--19] com.vmware.horizon.configurator.vm.remote.impl.ConnectorRemoteImpl - Setting connector activation code.
Jul 10 2013 13:06:17.102 INFO [tomcat-http--19] com.vmware.horizon.configurator.vm.remote.impl.ConnectorRemoteImpl - Using connector base url: https://connector-va.workspace.com:8443/hc/API/1.0/REST/activate/
Jul 10 2013 13:06:30.553 INFO [tomcat-http--19] com.vmware.horizon.configurator.vm.remote.impl.AppManagerRemoteImpl - Getting OAuth2 ServiceClient activation code for 'OctopusVM__OAuth2Client'
Jul 10 2013 13:06:30.554 INFO [tomcat-http--19] com.vmware.horizon.configurator.vm.remote.impl.AppManagerRemoteImpl - Using appManager base url: https://gateway-va.workspace.com:443/SAAS/API/1.0
Jul 10 2013 13:06:30.554 INFO [tomcat-http--19] com.vmware.horizon.configurator.vm.remote.impl.AppManagerRemoteImpl - Validate/renew suite token.
Jul 10 2013 13:06:30.554 INFO [tomcat-http--19] com.vmware.horizon.configurator.vm.remote.impl.AppManagerRemoteImpl - Validating suite token.
Jul 10 2013 13:06:30.554 INFO [tomcat-http--19] com.vmware.horizon.configurator.vm.remote.impl.AppManagerRemoteImpl - Using appManager base url: https://gateway-va.workspace.com:443/SAAS/API/1.0
Jul 10 2013 13:06:30.554 INFO [tomcat-http--19] com.vmware.horizon.configurator.vm.remote.impl.AppManagerRemoteImpl - Checking if current suite token is valid...
Jul 10 2013 13:06:30.606 INFO [tomcat-http--19] com.vmware.horizon.configurator.vm.remote.impl.AppManagerRemoteImpl - Suite token still valid.
Jul 10 2013 13:06:30.607 INFO [tomcat-http--19] com.vmware.horizon.configurator.vm.remote.impl.AppManagerRemoteImpl - Getting/renewing oauth access token and suite token.
Jul 10 2013 13:06:30.607 INFO [tomcat-http--19] com.vmware.horizon.configurator.vm.remote.impl.AppManagerRemoteImpl - Using appManager base url: https://gateway-va.workspace.com:443/SAAS/API/1.0
Jul 10 2013 13:06:30.607 INFO [tomcat-http--19] com.vmware.horizon.configurator.vm.remote.impl.AppManagerRemoteImpl - Using client id/secret to get access token...
Jul 10 2013 13:06:30.660 INFO [tomcat-http--19] com.vmware.horizon.configurator.vm.remote.impl.AppManagerRemoteImpl - Got oauth access token. Using oauth access token to get a new suite token...
Jul 10 2013 13:06:30.724 INFO [tomcat-http--19] com.vmware.horizon.configurator.vm.remote.impl.AppManagerRemoteImpl - Got suite token.
Jul 10 2013 13:06:30.877 INFO [tomcat-http--19] com.vmware.horizon.configurator.vm.remote.impl.AppManagerRemoteImpl - Got OAuth2 ServiceClient Activation Token for 'OctopusVM__OAuth2Client'
Jul 10 2013 13:06:30.877 INFO [tomcat-http--19] com.vmware.horizon.configurator.vm.remote.impl.AppManagerRemoteImpl - Using appManager base url: https://gateway-va.workspace.com:443/SAAS/API/1.0
Jul 10 2013 13:06:30.877 INFO [tomcat-http--19] com.vmware.horizon.configurator.vm.remote.impl.AppManagerRemoteImpl - Using activation token to get client id/secret
Jul 10 2013 13:06:30.892 INFO [tomcat-http--19] com.vmware.horizon.configurator.vm.remote.impl.AppManagerRemoteImpl - Got client id/secret.
Jul 10 2013 13:06:30.920 INFO [tomcat-http--19] com.vmware.horizon.configurator.vm.remote.impl.OctopusRemoteImpl - Running command sudo /opt/zimbra/libexec/config-hzn-client-id-secret %s %s
Jul 10 2013 13:06:30.941 DEBUG [tomcat-http--19] com.vmware.horizon.configurator.vm.remote.impl.OctopusRemoteImpl - Running ssh command on VM data-va.workspace.com.
Jul 10 2013 13:06:33.650 INFO [tomcat-http--19] com.vmware.horizon.configurator.vm.remote.impl.OctopusRemoteImpl - ssh command output is: /opt/zimbra/bin/zmprov -l socc OctopusVM__OAuth2Client zCarTSEiE69om1sG2sxiTy6WjoED6wgi

Jul 10 2013 13:06:34.106 INFO [tomcat-http--19] com.vmware.horizon.configurator.vm.remote.impl.AppManagerRemoteImpl - Validate/renew suite token.
Jul 10 2013 13:06:34.106 INFO [tomcat-http--19] com.vmware.horizon.configurator.vm.remote.impl.AppManagerRemoteImpl - Validating suite token.
Jul 10 2013 13:06:34.106 INFO [tomcat-http--19] com.vmware.horizon.configurator.vm.remote.impl.AppManagerRemoteImpl - Using appManager base url: https://gateway-va.workspace.com:443/SAAS/API/1.0
Jul 10 2013 13:06:34.106 INFO [tomcat-http--19] com.vmware.horizon.configurator.vm.remote.impl.AppManagerRemoteImpl - Checking if current suite token is valid...
Jul 10 2013 13:06:34.154 INFO [tomcat-http--19] com.vmware.horizon.configurator.vm.remote.impl.AppManagerRemoteImpl - Suite token still valid.
Jul 10 2013 13:06:34.155 INFO [tomcat-http--19] com.vmware.horizon.configurator.vm.remote.impl.AppManagerRemoteImpl - Getting/renewing oauth access token and suite token.
Jul 10 2013 13:06:34.155 INFO [tomcat-http--19] com.vmware.horizon.configurator.vm.remote.impl.AppManagerRemoteImpl - Using appManager base url: https://gateway-va.workspace.com:443/SAAS/API/1.0
Jul 10 2013 13:06:34.155 INFO [tomcat-http--19] com.vmware.horizon.configurator.vm.remote.impl.AppManagerRemoteImpl - Using client id/secret to get access token...
Jul 10 2013 13:06:34.209 INFO [tomcat-http--19] com.vmware.horizon.configurator.vm.remote.impl.AppManagerRemoteImpl - Got oauth access token. Using oauth access token to get a new suite token...
Jul 10 2013 13:06:34.270 INFO [tomcat-http--19] com.vmware.horizon.configurator.vm.remote.impl.AppManagerRemoteImpl - Got suite token.
Jul 10 2013 13:06:34.270 INFO [tomcat-http--19] com.vmware.horizon.configurator.vm.remote.impl.ConnectorRemoteImpl - Getting directory configuration from connector.
Jul 10 2013 13:06:34.291 INFO [tomcat-http--19] com.vmware.horizon.configurator.vm.remote.impl.ConnectorRemoteImpl - Using connector base url: https://connector-va.workspace.com:8443/hc/API/1.0/REST/directory/
Jul 10 2013 13:06:34.378 DEBUG [tomcat-http--19] com.vmware.horizon.configurator.vm.remote.impl.ConnectorRemoteImpl - Jackson json parse failure
org.codehaus.jackson.map.exc.UnrecognizedPropertyException: Unrecognized field "isSuccess" (Class com.vmware.horizon.configurator.appbeans.DirectoryConfig), not marked as ignorable
at [Source: java.io.StringReader@47ad4d5; line: 2, column: 22] (through reference chain: com.vmware.horizon.configurator.appbeans.DirectoryConfig["isSuccess"])
at org.codehaus.jackson.map.exc.UnrecognizedPropertyException.from(UnrecognizedPropertyException.java:53) ~[jackson-mapper-asl-1.6.4.jar:1.6.4]

Connector -------

2013-07-10 15:54:59,283 INFO : com.vmware.horizon.connector.mvc.ControllerInterceptor - /hc/API/1.0/REST/directory/, used/total/max(MB):50,490,2666
2013-07-10 15:54:59,447 INFO : com.vmware.horizon.connector.mvc.C2Controller - Invalid suite token.
2013-07-10 15:55:10,102 INFO : com.vmware.horizon.connector.mvc.ControllerInterceptor - /hc/API/1.0/REST/directory/, used/total/max(MB):57,490,2666
2013-07-10 15:55:10,156 INFO : com.vmware.horizon.connector.mvc.C2Controller - Invalid suite token.

AppManager ------

Managed Threads: 10
Active Threads: 10
Active Tasks:
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@59a1da00 (com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#1)
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@10ef63f9 (com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#9)
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@548c791e (com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#3)
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@5263cbef (com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#5)
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@15e1e22b (com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2)
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@20c78046 (com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#6)
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@9b6847a (com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#7)
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@2db36a91 (com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0)
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@5e196d07 (com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#8)
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@574516d4 (com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#4)
Pending Tasks:
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@78dde50e
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@2fe93820
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@7863d572
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@62526d1d
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@1179bd59
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@4f7e2705

......

Pool thread stack traces:
Thread[com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#1,5,main]
java.lang.Thread.sleep(Native Method)
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1805)
com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)
Thread[com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#9,5,main]
java.lang.Thread.sleep(Native Method)
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1805)
com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)
Thread[com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#3,5,main]
java.lang.Thread.sleep(Native Method)
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1805)
com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)
Thread[com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#5,5,main]
java.lang.Thread.sleep(Native Method)

.....

org.springframework.web.client.ResourceAccessException: I/O error: gateway-va.workspace.com; nested exception is java.net.UnknownHostException: gateway-va.workspace.com
at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:453)
at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:401)
at org.springframework.web.client.RestTemplate.getForObject(RestTemplate.java:199)
at com.vmware.horizon.datastore.helpers.AuditHelper$AuditQueueWorker.isAnalyticsServerReady(AuditHelper.java:1269)
at com.vmware.horizon.datastore.helpers.AuditHelper$AuditQueueWorker.run(AuditHelper.java:1217)
at java.lang.Thread.run(Unknown Source)
Caused by: java.net.UnknownHostException: gateway-va.workspace.com
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(Unknown Source)
at com.sun.net.ssl.internal.ssl.BaseSSLSocketImpl.connect(Unknown Source)
at sun.net.NetworkClient.doConnect(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)

........

Amr_86
Contributor
Contributor
Jump to solution

thank you for your help , i will redeploy the vApp again...

i have a question that may clear things up here ... when i create the IP pool before deploying the vApp . the gateway field in the IP pool should that be the IP of the gateway-va or the any gateway i want !!

another question , while deploying the vApp i noticed this in the Configurator machine "the screenshot is attached"

0 Kudos
Amr_86
Contributor
Contributor
Jump to solution

when i set the IP pool i made the gateway ip is the gateway-va ip and that solved the first error ..

after i completely configured the configurator-va VM through the web browser it redirected me to the gateway-va machine GUI , and there i have faced two problem as attached

0 Kudos
sravuri
VMware Employee
VMware Employee
Jump to solution

It looks like you the times on each of the VAs is different, which will cause issues.

Please make sure you have configured a NTP server for all ESX hosts and restart the vApp.

Amr_86
Contributor
Contributor
Jump to solution

I did make an NTP server and i made all the Hosts Sync from it , but i still notice a time drift in all the hosts !!  and the same two errors "attached before" appear again !!

0 Kudos
Amr_86
Contributor
Contributor
Jump to solution

i have solved all the problems as follows :

the problem regarding the internal database was solved by entering the gateway-va IP in the gateway field when creating the IP pool .

the problem regarding the Time Drift was solved by adjusting the clock in each ESXi Host and i made on of the hosts as a NTP server to the other Hosts "not recommended"

thank you all for ur help

0 Kudos