'RMI communication error executing valet. Nested exception - java.net.ConnectException: Connection refused' Error Occurs When Client is Started For the First Time (Doc ID 1161413.1)

Last updated on AUGUST 17, 2016

Applies to:

Oracle Retail Point-of-Service - Version 13.1.1 and later
Information in this document applies to any platform.
***Checked for relevance on 30-Sep-2014***

Symptoms

The offline database is not getting created when a new Point-Of-Service (POS) client is started for the first time.  It usually takes a restart to get the offline database initialized.  The following exception is seen in the 'orpos.log' on the register:

ERROR 2011-05-25 03:00:00,059 60389159 (QuartzWorkerThread-6:com.extendyourstore.foundation.tour.manager.Manager):
[com.extendyourstore.foundation.tour.manager.Manager.sendValetWithRetry(Manager.java:678)]
Class: com.extendyourstore.foundation.comm.CommException(Revision 3) @892745014: RMI communication error executing valet.
Nested exception--->java.net.ConnectException: Connection refused
WARN 2011-05-25 03:00:00,061 60389161 (QuartzWorkerThread-6:com.extendyourstore.foundation.tour.conduit.Dispatcher):
[com.extendyourstore.foundation.tour.conduit.Dispatcher.lookupGlobal(Dispatcher.java:2028)]
Dispatcher.lookupGlobal: received ConnectException
java.rmi.ConnectException: Connection refused to host: 10.33.10.55; nested exception is:
java.net.ConnectException: Connection refused
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:590)
at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:204)
at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:190)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:109)
at com.extendyourstore.foundation.tour.conduit.Dispatcher_Stub.lookupLocal(Unknown Source)
at com.extendyourstore.foundation.tour.conduit.Dispatcher.lookupGlobal(Dispatcher.java:2008)
at com.extendyourstore.foundation.tour.conduit.Dispatcher.lookup(Dispatcher.java:2091)
at com.extendyourstore.foundation.tour.manager.Manager.findValetReceiver(Manager.java:960)
at com.extendyourstore.foundation.tour.manager.Manager.sendValet(Manager.java:492)
at com.extendyourstore.foundation.tour.manager.Manager.sendValetWithRetry(Manager.java:704)
at com.extendyourstore.foundation.tour.manager.Manager.sendValetWithRetry(Manager.java:633)
at com.extendyourstore.foundation.tour.manager.Manager.sendValetWithRetry(Manager.java:611)
at com.extendyourstore.foundation.manager.iddi.DataSetManager.transportValet(DataSetManager.java:114)
at com.extendyourstore.foundation.manager.iddi.DataSetManager.retrieveDataSet(DataSetManager.java:191)
at com.extendyourstore.foundation.manager.iddi.DataSetManager.retrieveDataSets(DataSetManager.java:302)
at com.extendyourstore.foundation.iddi.ClientDataSetController.executeInternal(ClientDataSetController.java:77)
at org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:90)
at org.quartz.core.JobRunShell.run(JobRunShell.java:178)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:477)
Caused by:
java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:391)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:252)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:239)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:389)
at java.net.Socket.connect(Socket.java:551)
at java.net.Socket.connect(Socket.java:501)
at java.net.Socket.<init>(Socket.java:409)
at java.net.Socket.<init>(Socket.java:223)

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms