Wednesday, 13 August 2014

Oracle apps Work Flow mailer inbound response error - Expected string "folders defined" not found in output


++ We I trying to setup Work Flow mailer inbound response process,
By edit Applications System:UAT > Workflow > Service Components > Component Details >
Getting


"Unable to connect to the mail account. Check the host, user name and password"

++ When I run "ATGSuppJavaMailerSetup12.sh"
Or
/u01/uat/inst/apps/UAT_za-ohcsa-uat-01/admin/scripts/java.sh -classpath $AF_CLASSPATH -Dprotocol=imap
-Dserver=<Mail server IP> -Dport=143 -Daccount=svc_self_service-uat -Dpassword=XXXXXX1'
-Ddbcfile=/u01/uat/inst/apps/UAT_za-ohcsa-uat-01/appl/fnd/12.0.0/secure/UAT.dbc -Dconnect_timeout=120 -Dfolder=PROCESS oracle.apps.fnd.wf.mailer.Mailer
MLRTST : oracle.apps.fnd.cp.gsc.Logger.Logger(String, int) : Logging to System.out until necessary parameters are retrieved for Logger to be properly started.

I am getting below error

1:Thread[main,5,main]:10.103.10.42:50264:1407165390861:0:ERROR:[MLR
TST
: oracle.apps.fnd.wf.mailer.IMAPUtils.storeTest(WorkflowContext, Logger,
Properties)]:Test did not complete successfully ->
javax.mail.AuthenticationFailedException: Command received in Invalid state.
Stack Trace
javax.mail.AuthenticationFailedException: Command received in Invalid state.
at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:330)
at javax.mail.Service.connect(Service.java:255)
at javax.mail.Service.connect(Service.java:134)
at javax.mail.Service.connect(Service.java:86)
at oracle.apps.fnd.wf.mailer.IMAPUtils.storeTest(IMAPUtils.java:482)
at oracle.apps.fnd.wf.mailer.Mailer.main(Mailer.java:1997)
WARNING - Expected string "folders defined" not found in output
ACTION - Review ATGSuppJavaMailerSetup12_8165_folderlist.txt to see if folders
are listed.
Diag:
Testing mail server from Application server.
[appluat@ZA-OHCSA-UAT-01 ~]$ telnet 10.100.200.52 143
Trying 10.100.200.52...
Connected to 10.100.200.52.
Escape character is '^]'.
* OK The Microsoft Exchange IMAP4 service is ready.
1 login mailserverusername Password
1 OK LOGIN completed.

++ And logined in mail server we don’t have folder called PROCESS and DISCARD.
Solution:
Login to the Mailserver in outlook and create the folder PROCESS and DISCARD

No comments: