Restart Custom App Process(XX***) with CLI

classic Classic list List threaded Threaded
13 messages Options
Reply | Threaded
Open this post in threaded view
|

Restart Custom App Process(XX***) with CLI

Ahmet
Hi,

I control a concurrent process wiht script in crontab.(every 5 minutes)

If it sees errors in the file oracle.apps.xdo, it generates an alarm by mail. After  I restart XX*** concurrent process with EBS GUI(Administrato Concurrent Manager).

But I want it to restart automatically if an error occurred in the control file. How can ı do it. İs it possible?

Thanks

Best Regards
Reply | Threaded
Open this post in threaded view
|

Re: Restart Custom App Process(XX***) with CLI

ErmanArslansOracleBlog
Administrator
Hi Ahmet,

If you are using EBS 12.2 or 12.1, then you can do it using the CPADMIN utility.

Read here -> https://blogs.oracle.com/ebstech/new-cpadmin-utility-for-managing-concurrent-processing-now-available

A new CPADMIN command line utility for E-Business Suite 12.2.6 consolidates various utilities for concurrent processing into a single menu-based utility. This ADADMIN-style utility can be used for multiple tasks, including:

View Concurrent Manager status
Clean CP tables
Set Concurrent Manager diagnostics
Start, stop, or verify an individual Concurrent Manager
Rebuild Concurrent Manager views
Move request files
Analyze requests
Configure request log/out file directory locations

Complete details for running the new CPADMIN utility are published here:

Concurrent Processing Command-Line Utility (EBS 12.2 Setup Guide)
Reply | Threaded
Open this post in threaded view
|

Re: Restart Custom App Process(XX***) with CLI

Ahmet
Thanks, I'll review what you say.
Reply | Threaded
Open this post in threaded view
|

Re: Restart Custom App Process(XX***) with CLI

ErmanArslansOracleBlog
Administrator
In reply to this post by ErmanArslansOracleBlog
If you are using EBS 11i, then CPADMIN is not available.
However; you can write your own script to start/stop individual concurrent managers.
All you have to do is to use the CONCSUB utility.

It seems CPADMIN is using the CONCSUB utility too..
However; you need to do some test and researches for using this CONCSUB utility for your specific purpose.
Reply | Threaded
Open this post in threaded view
|

Re: Restart Custom App Process(XX***) with CLI

Ahmet
EBS release 12.1
Reply | Threaded
Open this post in threaded view
|

Re: Restart Custom App Process(XX***) with CLI

ErmanArslansOracleBlog
Administrator
Then you can use CPADMIN.
If your RUP level >= RUP 2, then you can use it directly.
Reply | Threaded
Open this post in threaded view
|

Re: Restart Custom App Process(XX***) with CLI

Ahmet
In reply to this post by Ahmet
My EBS 12.1.2 but I don't see "cpadmin.sh" below $FND_TOP/bin

don't support 12.1.2 for CPADMIN Utiliy

if dont support will I review CONCSUB utility ?

Thanks
Reply | Threaded
Open this post in threaded view
|

Re: Restart Custom App Process(XX***) with CLI

ErmanArslansOracleBlog
Administrator
it is available in EBS 12.1.3 with RUP 2.
If your version is EBS 12.1.2, then then CPADMIN is not available.
However; you can write your own script to start/stop individual concurrent managers.
All you have to do is to use the CONCSUB utility.

It seems CPADMIN is using the CONCSUB utility too..
However; you need to do some test and researches for using this CONCSUB utility for your specific purpose.
Reply | Threaded
Open this post in threaded view
|

Re: Restart Custom App Process(XX***) with CLI

Ahmet
CONCSUB applsys/pwd 'Responsibility application shortname'
 'Responsibility name' 'Username' [WAIT={Y|N|n}] CONCURRENT
 'Program application shortname'  PROGRAM

Would this reference to the solution?

https://docs.oracle.com/cd/A60725_05/html/comnls/us/fnd/mancon01.htm#IM_OS
Reply | Threaded
Open this post in threaded view
|

Re: Restart Custom App Process(XX***) with CLI

ErmanArslansOracleBlog
Administrator
This is at least something, but it is not the thing that you are looking for.
This is for controlling the Internal Concurrent Manager.
But, you want to stop/start your custom concurrent manager through command line ..
You need to do more research.
Reply | Threaded
Open this post in threaded view
|

Re: Restart Custom App Process(XX***) with CLI

Ahmet
Yes

"But, you want to stop/start your custom concurrent manager through command line ..
You need to do more research."

Thanks
Reply | Threaded
Open this post in threaded view
|

Re: Restart Custom App Process(XX***) with CLI

Ahmet
In reply to this post by ErmanArslansOracleBlog
Hi,

do I need to analyze FNDLIBR for a solution?

best regards
Reply | Threaded
Open this post in threaded view
|

Re: Restart Custom App Process(XX***) with CLI

ErmanArslansOracleBlog
Administrator
You need to analyze the APIs for controlling the concurrent managers.
You need to start with CONCSUB and CPADMIN.