My Oracle Support Banner

Unable To Use Environment Variables In Infranet.properties (Doc ID 1472319.1)

Last updated on MAY 20, 2019

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.

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

To view full details, sign in with your My Oracle Support account.

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


In this Document
Goal
Solution

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.