ArcotAFMWizard fails to create profile - gives error - Some exception occurred while creating arcotafm.properties file
search cancel

ArcotAFMWizard fails to create profile - gives error - Some exception occurred while creating arcotafm.properties file

book

Article ID: 221249

calendar_today

Updated On:

Products

CA Advanced Authentication - Strong Authentication (AuthMinder / WebFort) CA Advanced Authentication CA Advanced Authentication - Risk Authentication (RiskMinder / RiskFort)

Issue/Introduction

When Arcot AFM Wizard is run to create a new profile, the error below is encountered when initiating the save of the created profile.

"some exception occured while creating arcotafm.properties file

The failing screen would look like this

 

Environment

Release : 9.1 (Applicable to all the supported releases)

Component : CA Adapter (formerly known as Authentication Flow Manager (AFM)) (CA Advanced Authentication)

Cause

The new profile related properties file say arcotafm.properties that is to be created or updated in <ARCOT_HOME>/conf/afm cannot be correctly saved in  <ARCOT_HOME>/conf/afm.

Since ArcotAFMWizard processing is accomplished via a JSP file like wizard9.jsp (for example http://localhost8080/ArcotAFMWizard/wizard9.jsp) and the webapplication ArcotAFMWizard is deployed in an application server such as Tomcat, this issue is due to a lack of full permissions for the Tomcat owner process to write to location <ARCOT_HOME/conf/afm.

Resolution

Ensure the Windows Account used to start the Tomcat Apllication server is provided full permissions to Read/Write to <ARCOT_HOME>/conf/afm

Additional Information

When successful one should not see the error and the arcotafm.properties file is created or updated. Also, note that if successful and one viewed the updated arcotafm.properties one would see this entry like such (comma separated profiles that were successfully created.

#===========================================================================
# ConfiguredProfiles lists the names of all the configured AFM profiles.
#---------------------------------------------------------------------------
ConfiguredProfiles=newprofile1,newprofile2