RmiServer will not start due to default namespace error with custom SSL Certificate

book

Article ID: 87549

calendar_today

Updated On:

Products

CA Automic Applications Manager (AM)

Issue/Introduction

Error Message :
AES java.lang.IllegalArgumentException: No default namespace, make sure awenv.ini file contains [default] line.

When a custom SSL certificate is used in Applications Manager v9. The RmiServer will not start, and will throw an error message.

The complete error message found in the RmiServer log will be similar to this:
AES java.lang.IllegalArgumentException: No default namespace, make sure awenv.ini file contains [default] line. 
java.lang.IllegalArgumentException: No default namespace, make sure awenv.ini file contains [default] line. 
at com.appworx.agent.AwEnvOptions.A(AwEnvOptions.java:305) 
at com.appworx.agent.AwEnvOptions.F(AwEnvOptions.java:200) 
at com.appworx.shared.code.server.C.A(ServerUtil2.java:206) 
at com.appworx.agent.envvars.EnvVariableResolver.A(EnvVariableResolver.java:122) 
at com.appworx.agent.AwEnvOptions.C(AwEnvOptions.java:150) 
at com.appworx.server.data.AxRmiServer.main(AxRmiServer.java:821) 
ErrorMsg: AwE-9999 Internal error (6/24/15 11:20 AM) 
Details: not initialized 
java.lang.RuntimeException 
at com.appworx.shared.code.server.C.A(ServerUtil2.java:68) 
at com.appworx.shared.code.server.C.B(ServerUtil2.java:162) 
at com.appworx.agent.envvars.EnvVariableResolver.A(EnvVariableResolver.java:123) 
at com.appworx.agent.AwEnvOptions.C(AwEnvOptions.java:150) 
at com.appworx.server.data.AxRmiServer.main(AxRmiServer.java:821)

Cause

Cause type:
Defect
Root Cause: Don't have AwEnvOptions.init() call EnvVariableResolver.init(), call it independently before calling AwEnvOptions.init().

Environment

Release: AAMORS99000-9.0-Automic Applications Manager-Oracle - RMS
Component:

Resolution

This field was added on 30/03/2017. This article has not been updated yet. Refer to the "Description" or "Workaround" sections for solution information.

Fix Status: Released

Fix Version(s):
Applications Manager 9.1.2 - Available

Additional Information

Workaround :
Do not use custom SSL certificate.