AAI Export Utility error: Could not register a EJB receiver for connection to aaiwin:8080 java.nio.channels.UnresolvedAddressException
search cancel

AAI Export Utility error: Could not register a EJB receiver for connection to aaiwin:8080 java.nio.channels.UnresolvedAddressException

book

Article ID: 247818

calendar_today

Updated On:

Products

Automation Analytics & Intelligence

Issue/Introduction

Error below occurred when trying to run the Export utility in AAI

WARN  [client.remoting.ConfigBasedEJBClientContextSelector] Could not register a EJB receiver for connection to ServerName:8080
java.nio.channels.UnresolvedAddressException
 at sun.nio.ch.Net.checkAddress(Net.java:101)
 at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:622)
 at org.xnio.nio.WorkerThread.openTcpStreamConnection(WorkerThread.java:264)
 at org.xnio.XnioIoThread.openStreamConnection(XnioIoThread.java:237)
 at org.xnio.XnioWorker.openStreamConnection(XnioWorker.java:342)
 at org.xnio.http.HttpUpgrade$HttpUpgradeState.doUpgrade(HttpUpgrade.java:247)
 at org.xnio.http.HttpUpgrade$HttpUpgradeState.access$100(HttpUpgrade.java:165)
 at org.xnio.http.HttpUpgrade.performUpgrade(HttpUpgrade.java:112)
 at org.jboss.remoting3.remote.HttpUpgradeConnectionProvider.createConnection(HttpUpgradeConnectionProvider.java:115)
 at org.jboss.remoting3.remote.RemoteConnectionProvider.connect(RemoteConnectionProvider.java:215)
 at org.jboss.remoting3.EndpointImpl.doConnect(EndpointImpl.java:326)
 at org.jboss.remoting3.EndpointImpl.connect(EndpointImpl.java:416)
 at org.jboss.ejb.client.remoting.EndpointPool$PooledEndpoint.connect(EndpointPool.java:192)
 at org.jboss.ejb.client.remoting.NetworkUtil.connect(NetworkUtil.java:153)
 at org.jboss.ejb.client.remoting.NetworkUtil.connect(NetworkUtil.java:133)
 at org.jboss.ejb.client.remoting.ConnectionPool.getConnection(ConnectionPool.java:78)

Environment

Release : 6.4.2-5

 

Resolution

The error indicates a problem resolving the hostname used in the -s option of the script.

Try using the IP address if the hostname is not resolving, or correct the DNS issue so that the host name can be resolved.