20-04-23 07:09 AM
I'm having trouble terminating a Mainframe application that has two parallel sessions running. When I terminate the first session, it also closes the second session also, but when I try to terminate the second session, I receive an error message that says "Failed to connect to IPC Port". Could someone assist me in resolving this issue?
First Session I'm terminating using Navigate stage by passing Session name in element.
While termination to Second Session I'm getting this error.
This is how my application modular setup -
20-04-23 07:24 AM
Hello Arpit Alne,
Give a try similar to how you manually close the application.
Below link will redirect to the similar question, hope that helps.
https://community.blueprism.com/communities/community-home/digestviewer/viewthread?GroupId=145&MID=2285&CommunityKey=3743dbaa-6766-4a4d-b7ed-9a98b6b1dd01
Although below document point to BP version 7 you can select the version by selecting the option on top left.
https://bpdocs.blueprism.com/bp-7-0/en-us/troubleshooting-mainframe.html
20-04-23 08:02 AM
No It won't work. If I Close the mainframe appliction by send key strokes. So if I wants to launch mainframe session second time it throws error - Application already launch, because the main frame object still remain in Attach stage. I hope you get this. I want to close the Mainframe session from object level and as well as detach application.
------------------------------
arpit alne
------------------------------
20-04-23 08:33 AM
Hi arpit alne
Did you get chance to look into the below Kt documents it looks like terminate function may not work for some of the main frame applications.
I would suggest go through those docs
https://support.blueprism.com/en/support/solutions/articles/7000077549
https://support.blueprism.com/en/support/solutions/articles/7000078406-bpe-error-failed-to-write-to-an-ipc-port-the-pipe-is-being-closed-when-using-mainframe-micro-focus
20-04-23 09:15 AM
Hi
"How to resolve this issue:
We advise that you review the relevant Process/Object(s) and ensure the application/session is in the correct state when any of these actions are performed."
Yes the sessions are in current state, I'm continuesly performing the actions on it, its now ideal anymore.
------------------------------
arpit alne
------------------------------
20-04-23 10:54 AM
Hi arpit,
May be its because you are using the same session identifier for both the sessions at the object level.
Best,
Satish Gunturi
Senior Consultant
20-04-23 11:12 AM
Can you tell which type of appliction you are selecting in application modular?
------------------------------
arpit alne
------------------------------