My Oracle Support Banner

Oracle Traffic Director Admin-Server Errors - "java.io.IOException: Connection refused" and "com.sun.web.admin.exceptions.AgentConnectException: Unable to connect to node host" (Doc ID 1558926.1)

Last updated on MAY 07, 2018

Applies to:

Oracle Traffic Director - Version 11.1.1.6 and later
Information in this document applies to any platform.

Symptoms

1. Admin-server console will show remote nodes status "Unknown".

2. Admin-server errors logs will show below,

[2013-04-28T14:05:04+03:00] [admin-server] [TRACE:1] [] [] [ecid: pSN2T1G1000000000] [rid: 0] [pid: 30988] for host 10.1.2.3 trying to POST /admin/list-instances, service-j2ee reports: Connector created to the url: https://host123:8900/jmxconnector/remotejmx
[2013-04-28T14:05:04+03:00] [admin-server] [TRACE:16] [] [] [ecid: pSN2T1G1000000000] [rid: 0] [pid: 30988] for host 10.1.2.3 trying to POST /admin/list-instances, service-j2ee reports: Connected to: Address = host123:8900
[2013-04-28T14:05:04+03:00] [admin-server] [TRACE:32] [] [] [ecid: pSN2T1G1000000000] [rid: 0] [pid: 30988] for host 10.1.2.3 trying to POST /admin/list-instances, service-j2ee reports:
java.io.IOException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:529)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:564)
at sun.net.NetworkClient.doConnect(NetworkClient.java:161)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:395)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:530)
at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:272)
at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:329)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:172)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:911)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:158)
at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1014)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:230)
at com.sun.enterprise.admin.jmx.remote.comm.ServletConnection.send(ServletConnection.java:151)
at com.sun.enterprise.admin.jmx.remote.comm.MBeanServerMessageConductor.invoke(MBeanServerMessageConductor.java:60)
at com.sun.enterprise.admin.jmx.remote.internal.RemoteMBeanServerConnection.invoke(RemoteMBeanServerConnection.java:408)
at com.sun.web.admin.server.RemoteAgentConnector.checkVersionMatch(RemoteAgentConnector.java:85)
at com.sun.web.admin.server.RemoteAgentConnector.initConnector(RemoteAgentConnector.java:71)
at com.sun.web.admin.server.AgentConnector.init(AgentConnector.java:57)
at com.sun.web.admin.server.AgentConnector.isConnected(AgentConnector.java:91)
at com.sun.web.admin.util.MBeanUtil.invokeOnAgent(MBeanUtil.java:212)
at com.sun.web.admin.util.MBeanUtil.invokeOnAgent(MBeanUtil.java:201)
at com.sun.web.admin.util.MBeanUtil.invokeOnAgent(MBeanUtil.java:178)
at com.sun.web.admin.mbeans.ConfigurationMBean.doActionOnAgent(ConfigurationMBean.java:335)
at com.sun.web.admin.mbeans.ConfigurationMBean.listInstances(ConfigurationMBean.java:423)
at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.web.admin.mbeans.BaseAdminMBean.invoke(BaseAdminMBean.java:49)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
at com.sun.web.admin.rest.MBeanInvoker.invokeMBean(MBeanInvoker.java:228)
at com.sun.web.admin.rest.MBeanInvoker.invoke(MBeanInvoker.java:88)
at com.sun.web.admin.rest.MBeanHandler.doAction(MBeanHandler.java:44)
at com.sun.web.admin.rest.RESTHandler.processRequest(RESTHandler.java:83)
at com.sun.web.admin.rest.RESTHandler.handle(RESTHandler.java:58)
at com.sun.web.admin.rest.RESTServlet.service(RESTServlet.java:107)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:915)
at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:398)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:277)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:255)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:188)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:586)
.....

[2013-04-28T14:05:04+03:00] [admin-server] [WARNING:1] [OTD-63005] [] [ecid: pSN2T1G1000000000] [rid: 0] [pid: 30988] for host 10.1.2.3 trying to POST /admin/list-instances, service-j2ee reports: Unable to connect to node host 'host123'. For details, see the administration server log.
[2013-04-28T14:05:04+03:00] [admin-server] [TRACE:32] [OTD-63005] [] [ecid: pSN2T1G1000000000] [rid: 0] [pid: 30988] for host 10.1.2.3 trying to POST /admin/list-instances, service-j2ee reports: [[
com.sun.web.admin.exceptions.AgentConnectException: Unable to connect to node host 'host123'. For details, see the administration server log.
at com.sun.web.admin.util.MBeanUtil.invokeOnAgent(MBeanUtil.java:213)
at com.sun.web.admin.util.MBeanUtil.invokeOnAgent(MBeanUtil.java:201)
at com.sun.web.admin.util.MBeanUtil.invokeOnAgent(MBeanUtil.java:178)
at com.sun.web.admin.mbeans.ConfigurationMBean.doActionOnAgent(ConfigurationMBean.java:335)
at com.sun.web.admin.mbeans.ConfigurationMBean.listInstances(ConfigurationMBean.java:423)
at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.web.admin.mbeans.BaseAdminMBean.invoke(BaseAdminMBean.java:49)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
at com.sun.web.admin.rest.MBeanInvoker.invokeMBean(MBeanInvoker.java:228)
at com.sun.web.admin.rest.MBeanInvoker.invoke(MBeanInvoker.java:88)
at com.sun.web.admin.rest.MBeanHandler.doAction(MBeanHandler.java:44)
at com.sun.web.admin.rest.RESTHandler.processRequest(RESTHandler.java:83)
at com.sun.web.admin.rest.RESTHandler.handle(RESTHandler.java:58)
at com.sun.web.admin.rest.RESTServlet.service(RESTServlet.java:107)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:915)
at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:398)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:277)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:255)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:188)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:586)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:556)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:187)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:586)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:556)
at com.sun.webserver.connector.nsapi.NSAPIProcessor.service(NSAPIProcessor.java:159)

]]

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.