Unable To Use Environment Variables In Infranet.properties

(Doc ID 1472319.1)

Last updated on SEPTEMBER 15, 2016

Applies to:

Oracle Communications Billing and Revenue Management - Version 7.4.0.0.0 to 7.5.0.0.0 [Release 7.4.0 to 7.5.0]
Information in this document applies to any platform.
Checked for relevance on 07-Oct-2013.

Goal

 Not able to use environment variables in Infranet.properties

 Extract from eai_js Infranet.properties:

# Infranet.properties file.
# Contains configuration parameters for the PCM Java Server.

# java servers port #
#infranet.server.portNr=11930
infranet.server.portNr=${EAI_EM_PORT_PORT}


Error while starting eai_js:

Exception in thread "main" java.lang.NumberFormatException: For input string: "${EAI_EM_PORT_PORT}"
       at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
       at java.lang.Integer.parseInt(Integer.java:447)
       at java.lang.Integer.parseInt(Integer.java:497)
       at com.portal.js.JSConfig.getServerPortNr(Unknown Source)
       at com.portal.js.JSFrameWork.<init>(Unknown Source)
       at com.portal.js.JSMain.main(Unknown Source) 

  

Solution

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