Highlighted
Regular Contributor.. Regular Contributor..
Regular Contributor..
647 views

Does ALM client need to be installed on PC Server

Does the ALM client need to be installed on the PC server in order to add the PC server in Lab Mgmt?  I can access the ALM URL from the PC server but it can't download the client since the URL is not part of Trusted Sites.  I can't add it to Trusted Sites manually since it's greyed out and controlled by Group Policy.  I get the error below when trying to add the PC server in Lab Mgmt and I'm wondering if this is the cause.  All ports are open since the ALM server and PC server are in the same subnet and there's no firewall between them.

"javax.xml.ws.WebServiceException: Could not send Message"

0 Likes
7 Replies
Highlighted
Acclaimed Contributor.
Acclaimed Contributor.

Re: Does ALM client need to be installed on PC Server

Hi,

You do not need to download ALM client to PC Server. PC and ALM servers communicates over REST.
Are you able to reach to the IIS Server running on PC Server from the ALM Server machine?

It seems like ALM Server fails to reach PC Server in order to add it.
Can you run PC Server Configurator again? Does it finish successfully?
Can you share the ALM server log file?

I suggest opening a support ticket. It should be relatively quick to solve.

Regards,
Shlomi

0 Likes
Highlighted
Regular Contributor.. Regular Contributor..
Regular Contributor..

Re: Does ALM client need to be installed on PC Server

I have a support ticket open, but support hasn't been able to resolve the issue.  I found the stack trace details for the error in the ALM server logs below.  Not sure why it times out.

 

com.hp.alm.platform.exception.SetValueException

Messages:
handleCreateAction; Failed to create object of type: LAB_SERVERS; javax.xml.ws.WebServiceException: Could not send Message.; Could not send Message.;

Stack Trace:
java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:150)
at java.net.SocketInputStream.read(SocketInputStream.java:121)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)
at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:703)
at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:647)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1534)
wrapped in java.net.SocketTimeoutException: SocketTimeoutException invoking http://znwapcdq05064v.amer.zurich.corp/PCS/LabService.svc: Read timed out
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:408)
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.mapException(HTTPConduit.java:1454)
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1439)
at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56)
at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:650)
at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:263)
at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:531)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:462)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:365)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:318)
at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:95)
at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:134)
wrapped in javax.xml.ws.WebServiceException: Could not send Message.
at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:145)
at com.sun.proxy.$Proxy133.setServer(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at com.mercury.td.pcextension.comm.PCRetriableProxy$1.invoke(PCRetriableProxy.java:109)
at com.sun.proxy.$Proxy135.setServer(Unknown Source)
wrapped in com.hp.alm.platform.exception.CTdException: javax.xml.ws.WebServiceException: Could not send Message.
at com.mercury.td.pcextension.servers.ServerLogic.throwCorrectError(ServerLogic.java:396)
at com.mercury.td.pcextension.servers.ServerLogic.configureServer(ServerLogic.java:368)
at com.mercury.td.pcextension.servers.ServerLogic.configureServer(ServerLogic.java:668)
at com.mercury.td.pcextension.servers.ServerLogic.assertLegalCreate(ServerLogic.java:128)
at com.hp.alm.platform.entity.logic.AbstractSimpleKeyLogic.createObject(AbstractSimpleKeyLogic.java:869)
wrapped in com.hp.alm.platform.exception.CTdException: Failed to create object of type: LAB_SERVERS
at com.hp.alm.platform.entity.logic.AbstractSimpleKeyLogic.createObject(AbstractSimpleKeyLogic.java:969)
at com.hp.alm.platform.entity.logic.AbstractSimpleKeyLogic.handleCreateAction(AbstractSimpleKeyLogic.java:596)
wrapped in com.hp.alm.platform.exception.SetValueException: handleCreateAction
at com.hp.alm.platform.entity.logic.AbstractSimpleKeyLogic.handleCreateAction(AbstractSimpleKeyLogic.java:612)
at com.hp.alm.platform.entity.logic.AbstractSimpleKeyLogic.postObject(AbstractSimpleKeyLogic.java:680)
at com.hp.alm.platform.entity.requests.PostSimpleKeyEntity.execute(PostSimpleKeyEntity.java:40)
at com.hp.alm.platform.web.RequestsDispatcher.execute(RequestsDispatcher.java:81)
at com.hp.alm.platform.server.web.CAbsServlet.executeFunction(CAbsServlet.java:595)
at com.hp.alm.platform.server.web.CAbsServlet.processRequest(CAbsServlet.java:585)
at com.hp.alm.platform.server.web.CTdServlet.processRequest(CTdServlet.java:177)
at com.hp.alm.platform.server.web.CAbsServlet.doPost(CAbsServlet.java:438)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:738)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1651)
at com.hp.alm.platform.util.gzipfilter.GZIPFilter.doFilter(GZIPFilter.java:25)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1631)
at com.hp.alm.platform.web.XSSProtectionFilter.doFilter(XSSProtectionFilter.java:27)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1622)
at com.mercury.optane.core.state.ServerStatusFilter.doFilter(ServerStatusFilter.java:37)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1622)
at org.hp.qc.web.restapi.authentication.LwssoRedirectFilter.doFilter(LwssoRedirectFilter.java:26)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1622)
at com.hp.alm.platform.web.NoSniffFilter.doFilter(NoSniffFilter.java:20)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1622)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:106)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1622)
at com.hp.alm.platform.web.HTTPMethodsFilter.doFilter(HTTPMethodsFilter.java:52)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1622)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:549)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:568)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:221)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1111)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:478)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:183)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1045)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:199)
at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:109)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
at org.eclipse.jetty.rewrite.handler.RewriteHandler.handle(RewriteHandler.java:309)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
at org.eclipse.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:159)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
at org.eclipse.jetty.server.Server.handle(Server.java:462)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:279)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:232)
at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:534)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:607)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:536)
at java.lang.Thread.run(Thread.java:745)

0 Likes
Highlighted
Honored Contributor.
Honored Contributor.

Re: Does ALM client need to be installed on PC Server

Hi,

Please open a browser on ALM server with the url: http://znwapcdq05064v.amer.zurich.corp/PCS/LabService.svc
and check if you view WSDL information or get and error.
If you get and error it might be that the outgoing port for PC server is closed on the ALM server.
In addition you can open browser on the PC server with the same URL and see if you get the WSDL information. 
Please update on the finding so that I can advise further.

Regards,
Eyal

0 Likes
Highlighted
Regular Contributor.. Regular Contributor..
Regular Contributor..

Re: Does ALM client need to be installed on PC Server

I accessed that URL on both the ALM server and PC server.  I do not get an error.  Attached are the results that I see on both serversALM - PC server result.png

0 Likes
Highlighted
Honored Contributor.
Honored Contributor.

Re: Does ALM client need to be installed on PC Server

 

Looks like the connection is working.

What do you mean by "support hasn't been able to resolve the issue"? 
Does the ticket was closed?

According to the description you have provided so far it sounds like an environmental issue that needs to be chcked by support to collect the right information in order to assist.

Regards,
Eyal

0 Likes
Highlighted
Regular Contributor.. Regular Contributor..
Regular Contributor..

Re: Does ALM client need to be installed on PC Server

A support ticket (SD02219891) is still open with MicroFocus and has been open since June 20th.  Support says it's a communication or network latency issue between the servers.  Our network support team says it's an issue with the application because it's a java exception error and there is no communication issue between the servers.  When using Wireshark we can see the connection being made between the servers, but it times out and no one can tell me why.

0 Likes
Highlighted
Acclaimed Contributor.
Acclaimed Contributor.

Re: Does ALM client need to be installed on PC Server

Hi Nick,

I saw your case is still with the support team. In case they do not succeed resolving it they will elevate it to R&D. Rest assured you will get a solution.

Regards,
Shlomi

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.