如何處理不能正常開啟 workflow mailer service 問題

tolywang發表於2012-03-22
Unable to Start Workflow Mailer Service (Doc ID 856229.1)  2011-12-28 11:44:41|  
Applies to:
Oracle Workflow Cartridge - Version: 11.5.10.0 to 12.0.6 - Release: 11.5 to 12
Information in this document applies to any platform.
Symptoms
When trying to start the Workflow Notification Mailer, the following error occurs:
 
Error:
The service container is not running.
Additional information:
1) Workflow Mailer Service is down (Actual: 0, Target: 1), and when trying to start it, it remains down.
2) Workflow Agent Listener Service is up and all the corresponding listeners (workflow deferred agent listener, workflow java deferred agent
listener...) are up and running.
3) Debug service log (DebugSvcXXXXXX.txt) shows the following error:
 
[Unloading class sun.reflect.GeneratedSerializationConstructorAccessor80]
376700K->376655K(380160K), 0.6887140 secs]
Exception in thread "Cache Stats Writer" java.lang.OutOfMemoryError: Java heap
space
Cause
The memory allocated to mailer service is 384 MB which is too low.
This value can be seen in FNDSM log. When ICM diag is enabled, FNDSM log shows the command used to start mailer service:
AQCART: /u01/TEST/12.0.4/inst/apps/TEST_fin/admin/scripts/java.sh -server
-Xmx384m -XX:NewRatio=2 -XX:+UseSerialGC -Doracle.apps.fnd.common.Pool.leak.
mode=stderr:off -verbose:gc -Ddbcfile=/u01/TEST/12.0.
4/inst/apps/TEST_fin/appl/fnd/12.0.0/secure/TEST.dbc -Dcpid=649255 -Dlogfi
le=/u01/TEST/12.0.4/inst/apps/TEST_fin/logs/appl/conc/log/FNDCPGSC649255.t
xt ...

-Xmx384m entry refers to the memory allocated to workflow mailer service.
Solution
Increase the memory allocated to mailer service by following the steps from Document 444939.1 How do you Change the Maximum Memory Size taken by
Workflow Service Container?
In a first step, set it to 512 MB and retest.
 
-------------------------------------------------------------
Solution

1. Modify parameter APPSJREOPT in $APPL_TOP/admin/adovars.env on the Concurrent Manager node to change the maximum memory size of the Workflow Services JVMs.

 For example, to limit the size to 512 MB, replace:

APPSJREOPT=""
export APPSJREOPT

with:
APPSJREOPT="-Xmx512m"
export APPSJREOPT
 
2. Bounce the Concurrent Managers to allow the change to take effect.

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/35489/viewspace-719222/,如需轉載,請註明出處,否則將追究法律責任。

相關文章