ITCAM DC doesn't connect to MS HTTP response code: 502.

Technote (troubleshooting)


This document applies only to the following language version(s):

US English

Problem(Abstract)

ITCAM z/OS data collector not connecting to MS: java.io.IOException:
Server returned HTTP response code: 502 for URL.

Symptom

The ITCAM data collector does not connect to the managing server. In the WebSphere servant joblog you will see the following:

java.io.IOException: Server returned HTTP response code: 502 for URL:
xxtp://xxxxxxxxxxxxx:9122/kernel.core.jar
at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnec
tion.java:1179)
at sun.net.www.protocol.jar.URLJarFile.retrieve(URLJarFile.java:177)
at sun.net.www.protocol.jar.URLJarFile.getJarFile(URLJarFile.java:58)
at sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:84)
at
sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:
134)
at
sun.net.www.protocol.jar.JarURLConnection.getJarFile(JarURLConnection.ja
va:101)
at sun.misc.URLClassPath$JarLoader.getJarFile(URLClassPath.java:858)
at sun.misc.URLClassPath$JarLoader.<init>(URLClassPath.java:813)
at sun.misc.URLClassPath$3.rtJarLoader(URLClassPath.java:588)
at sun.misc.URLClassPath$3.run(URLClassPath.java:519)
at
java.security.AccessController.doPrivileged(AccessController.java:246)
at sun.misc.URLClassPath.getLoader(URLClassPath.java:508)
at sun.misc.URLClassPath.getLoader(URLClassPath.java:473)
at sun.misc.URLClassPath.getResource(URLClassPath.java:322)
at java.net.URLClassLoader$ClassFinder.run(URLClassLoader.java:1032)
at
java.security.AccessController.doPrivileged(AccessController.java:279)
at java.net.URLClassLoader.findClass(URLClassLoader.java:491)
at
com.cyanea.kernel.common.HTTPClassLoader.getClass(HTTPClassLoader.java:9
6)
at com.cyanea.kernel.common.JoinAgent.initialize(JoinAgent.java:88)
at
com.cyanea.kernel.common.JoinAgent.checkIfKernelIsUp(JoinAgent.java:157)
at com.cyanea.kernel.common.JoinAgent.join(JoinAgent.java:220)
at com.cyanea.kernel.common.CyaneaService.join(CyaneaService.java:29)
at com.cyanea.probe.ProbeController.start(ProbeController.java:515)
at com.cyanea.probe.ProbeController.run(ProbeController.java:291)
at java.lang.Thread.run(Thread.java:810)


Cause

HTTP response code 502 means "Bad gateway". It is a usual proxy response
when proxy server fail to communicate with the destination using desired
protocol.


Environment

z/OS

Diagnosing the problem

To verify this guess, please define the following system property on DC

side (unless this will impact your topology):

http.nonProxyHosts=xxx.xxx.xxx IP address of MS
To do so,
* go to WebSphere admin console;
* Servers -> <your server> -> Java and Process Management -> Process
Definition -> Java Virtual Machine -> Custom Properties -> New;
* enter http.nonProxyHosts in Name input field;
* enter hostname|IP address of your MS in Value input
field (note vertical line and no spaces);
* press OK;
* save configuration;
* bounce WAS server;
* gather logs.

Where http.nonProxyHosts=your MS hosthame|IP address of your MS.


Resolving the problem

* go to WebSphere admin console;

* Servers -> <your server> -> Java and Process Management -> Process
Definition -> Java Virtual Machine -> Custom Properties -> New;
* enter http.nonProxyHosts in Name input field;
* enter hostname|IP address of your MS in Value input
field (note vertical line and no spaces);
* press OK;
* save configuration;
* bounce WAS server;
* gather logs.

Where http.nonProxyHosts=your MS hosthame|IP address of your MS.

Product Alias/Synonym

ITCAM ITCAMfAD ITCAM4AD

Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

Tivoli Composite Application Manager for Application Diagnostics on z/OS
ITCAM for APPLICATION DIAGNOSTICS on z/OS

Software version:

7.1

Operating system(s):

z/OS

Reference #:

1407184

Modified date:

2014-04-07

Translate my page

Machine Translation

Content navigation