NetConnectException: Connection refused on port 4130

Technote (troubleshooting)


Problem(Abstract)

Port conflict on DE results in Connection refused error message.

Symptom

" Caused by: org.apache.derby.client.am.DisconnectException:java.net.ConnectException :

Error opening socket to server localhost on port 4130 with message : Connection refused "

Cause

In the case where there are multiple instances of DE on a server and

one of those instances is DE version 1.3.x.x and one is DE version 1.4.x.x.
The latter version can adjust port selection on startup while the former
version cannot. This provides the conditions for port conflict on some
occasions.

Environment

ITNM IP 3.8 and 3.9

Diagnosing the problem

Check the ACUApplication.properties file and the Derby.properties file.

Resolving the problem


Change the port used for the older DE version with the following procedure.
Note: DE uses port 4130 by default.


The following process will allow you to change the port value for DE.

In /home/<username>/.acsi_<username>/ACUApplication.properties file set
acu.urlprefix= jdbc\:derby\://localhost\:<desired portnumber>
(Default : acu.urlprefix=jdbc\:derby\://localhost\:4130)

In Derby.properties file set derby.drda.portNumber=<desired portnumber>
(Default: derby.drda.portNumber=4130)

Example: Steps to change the portValue to 4131
Navigate to <DE common-location>* and open
ACUApplication.properties file.

In /home/tbsm/.acsi_tbsm/ACUApplication.properties file, set
acu.urlprefix=jdbc\:derby\://localhost\:4131

Save and exit.

Go to <DE install-location>*/repos and open Derby.properties file
In Derby.properties file set derby.drda.portNumber=4131
Save and exit.


Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

Tivoli Network Manager IP Edition

Software version:

3.8, 3.9

Operating system(s):

AIX, Linux, Solaris, Windows

Reference #:

1474513

Modified date:

2013-04-01

Translate my page

Machine Translation

Content navigation