search cancel

AwE-5018 Number format error on the awcomm port

book

Article ID: 215684

calendar_today

Updated On:

Products

CA Automic Applications Manager (AM)

Issue/Introduction

Applications Manager may fail to start due to the following error message, seen in the RmiServer.log

ErrorMsg: AwE-5018 Number format error
Details: awcomm_port=2137     
java.lang.NumberFormatException: For input string: "2137     "
 at java.lang.NumberFormatException.forInputString(Unknown Source)
 at java.lang.Integer.parseInt(Unknown Source)
 at java.lang.Integer.parseInt(Unknown Source)
 at com.appworx.agent.AwEnvOptions.F(AwEnvOptions.java:213)
 at com.appworx.server.data.AxRmiServer.setupMasters(AxRmiServer.java:2749)
 at com.appworx.server.data.AxRmiServer.main(AxRmiServer.java:895)

Notice the error message's input string value of the awcomm port contains what looks like empty spaces

Environment

Component : APPLICATIONS MANAGER

Cause

The awcomm port parameter in the awenv.ini contains spaces after the port number

Resolution

Edit the awenv.ini file and remove empty spaces after the awcomm port number value