$customHeader
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Background

JEMH can include attachments in outbound notifications, but they must have been created within a specific time window for the current event.  The default value is 30S.  In most cases this doesn't need changing.

(info) Available in 1.3.30.3, 1.3.53+, 1.4.21+

Customize the window

JEMH has an environment variable that can be used to tweak this value (its in milli seconds, so 30S is 30*1000 = 30000; 1h is 60*60*1000 = 3600000).  The usual setenv.sh / setenv.bat needs a new variable defining, e.g. to make the window 1hour, add:

 
-Djemh.attach.window=3600000

The exact place could be anywhere, here is an example changed line:

#
# The following are the required arguments for JIRA.
#
JVM_REQUIRED_ARGS="-Djava.awt.headless=true -Datlassian.standalone=JIRA -Dorg.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER=true -Dmail.mime.decodeparameters=true -Djemh.attach.window=3600000"

  • No labels