How To Configure OARM Email Actions (Doc ID 989219.1)

Last updated on AUGUST 02, 2013

Applies to:

Oracle Adaptive Access Manager - Version 10.1.4.5 and later
Information in this document applies to any platform.

Symptoms

The code has a hard-coded path.

In EmailActions.class there is a line of code which hard-codes the path to which OARM tries to write email messages. The file is hard-coded to write to "/home/nagsrini/msg.txt" as can be seen in the below code:

message.saveChanges();
message.writeTo(new FileOutputStream("/home/nagsrini/msg.txt"));


This shouldn't be hard-coded, but instead configurable through a property.

Cause

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