on 11-14-2018 10:21 PM
Hi Team,
We are using attached code(Module bean) in fetching the mails/attachments from mail box and we see mail adapter getting hung frequently with below error and on simple restart of communication channel mails will be polled without any issues
"at java.net.SocketInputStream.socketRead0(Ljava/io/FileDescriptor;[BIII)I(Native Method)"
SAP suggested to have Connection timeout setting in the code to fix this issue as this issue is due to custom module bean and I request you to check the code and share your thoughts/suggestions to implement timeout code to fix this issue.
Code:
Hi Vishali,
You are doing like below in your ModuleCode:
You should take reference of below blog (please note, below blog-example is to store attachments in to sap-ecc directory)
And w.r.t. your requirement, you should be doing below:
Thanks & Regards,
Dilip
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your quick help Dilip, will try to customize the same and get back to you
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.