Beruflich Dokumente
Kultur Dokumente
Headlines Knowledge Service Request Configuration Support Manager Patches & Updates Forums Certify
Did this article help solve your Would you recommend this document to
Select Select Submit
problem? others?
TIP: Click help for a detailed explanation of this page. Bookmark Go to End
CONCURRENT MANAGER ON NT
========================
Although the references in this note refer to Release 11, this note can also
be used for Release 10.7 and 10.7 NCA on NT.
Creating
========
Documented in 'Release 11 for Windows NT Oracle Applications Install' manual
(Part # A57978)
The Autoinstall process will create the required registry entries automatically
for you, however you need to create the Concurrent Manager service manually,
described on page 4-20 of the install manual.
NOTE - if you use an existing <APPL_CONFIG> name, then the existing registry
entries will lost and replaced with a newly generated version.
You may get an error at this stage either 'Internal error 2140' or 'Not able to
start service....No Logon as Service right' or similar. It is not necessarily
https://metalink.oracle.com/metalink/plsql/f?p=130:14:6756985800772202491::::p14_dat... 24/01/2007
ShowDoc Page 2 of 6
a problem at this stage. Simply check whether the service has been created or
not and if so, try starting it manually.
Problems
--------
No log on as Service Right - check User set-up to ensure they have the NT 'Log
on as a service' right. This can be checked using NT's 'User manager' utility.
Select 'Policies-->User Rights' then select 'Show Advanced User Rights' and then
select 'Log on as a service' right from the drop down list. See you Windows NT
documentation for further details.
Removing
========
If you need to get rid of the Concurrent Manager Service, this is documented on
page A-12 of the install manual
Starting
========
The only official, supported way of starting the Concurrent Manager is to login
to your NT server, go to control panel-->services, select the OracleConcMgr
service and click on start.
My own experience has shown that 'net start' to start the service works equally
well (i.e. - you login to the server then run
'net start OracleConcMgr<APPL_CONFIG>')
Problems
--------
Service starts with no errors, but only the Internal and Conflict managers
https://metalink.oracle.com/metalink/plsql/f?p=130:14:6756985800772202491::::p14_dat... 24/01/2007
ShowDoc Page 3 of 6
start. Check the log files for all managers, including those that have not
started, to see if there are any useful error messages that may indicate the
reason it isnt starting.
Internal Error 2140 - can be almost anything, check the NT Event Viewer for the
actual error generated by the OracleConcMgr service. (Programs-->Administrative
Tools-->Event Viewer) Also check the Manager Log files for any errors.
Invalid login - check the Registry keys SERVICE_SID, ORACLE_SID and LOCAL
(where set) are ALL set to the TNS alias for the database (even if it is a
local database). Try connecting to the database via SQLPLUS using the
username/password from the 'sysmgr' registry key and the TNS alias from
SERVICE_SID.
No log on as Service Right - check User set-up to ensure they have the NT 'Log
on as a service' right. This can be checked using NT's 'User manager' utility.
Select 'Policies-->User Rights' then select 'Show Advanced User Rights' and then
select 'Log on as a service' right from the drop down list. See you Windows NT
documentation for further details.
Stopping
========
The recomended way of stopping Concurrent Manager is:-
1. Stop the concurrent manager (from an Apps point of view).
Either login to Applications and deactivate it, or run CONCSUB command to stop
the concurrent manager. These methods will finish processing the currently
running jobs, then stop the Concurrent Manager. (It wont process any Pending
jobs before shutting down) You can use 'terminate' instead of 'deactivate' from
the Applications screen which will stop the currently running jobs and closedown.
See 'Concsub Usage' section below for example of Concsub command.
In the Release 11 manuals, it states that you can stop the concurrent manager
by going straight to Control Panel-->Services, select the OracleConcMgr service
and click on stop. Although this is correct, and has the same effect as 'deactivate'
described above (in that it will stop the Concurrent Manager correctly) you have
no way of knowing what processes are running or waiting to run. The jobs that are
running at the time of the de-activate will be completed, but no other jobs in
the queue will be processed.
In a similar vein to the above, you can just use the 'net stop' command to stop
the service, however bear in mind the points raised above. To do this, run
'net stop OracleConcMgr<APPL_CONFIG>', however you may get a message saying
unable to stop processes. Use NT Task manager to monitor the Processes
running - you should see the FNDLIBR.exe and other processes gradually stop....
once the 'concmgr.exe' process has disappeared then the Concurrent Managers
have been brought down succesfully. This can take several minutes to complete
and is no quicker than the recommended method. It also uses 'deactivate' rather
than 'terminate' See 'Processes' section below for list of process names.
Another way of stopping the Concurrent Managers should be to manually run the
CS_<SID>.cmd batch file that is located in the %FND_TOP%\bin directory.
This will go through the normal processes to stop the service, however I have
yet to get this method to work succesfully. This is the batch file that is run
when the Concurrent Manager is terminated, so will run a 'deactivate' on the
https://metalink.oracle.com/metalink/plsql/f?p=130:14:6756985800772202491::::p14_dat... 24/01/2007
ShowDoc Page 4 of 6
Concurrent Managers.
You will need to reboot the server before attempting to restart the Concurrent
Manager if you use this method and potentially will need to maunally update dtabase
tables, seek advise from Oracle Support.
HKEY_LOCAL_MACHINE-->Software-->Oracle-->Applications-->11.0.0--><APPL_CONFIG>
HKEY_CURRENT_USER-->Software-->Oracle-->Applications-->11.0.0--><APPL_CONFIG>
sysmgr=apps/apps This is the login name/password that the Conc Mgr will
be using to connect to the RDBMS.
NOTE - you should check this key when logged in as the user that created the
Conc Mgr service originally.
Processes
=========
Processes can be viewed by using the NT program 'taskmgr.exe'
https://metalink.oracle.com/metalink/plsql/f?p=130:14:6756985800772202491::::p14_dat... 24/01/2007
ShowDoc Page 5 of 6
MRCLIB.exe
PALIBR.exe
ARLIBR.exe
CYQLIB.exe
INCTM.exe
OESHTM.exe
RCVOLTM.exe
Concsub usage
=============
The concsub usage for specifying start times are not particularly clear in the
manuals. The following script works OK on NT Release 11 to submit a System
Administrator responsibility report as the SYSADMIN user. Enter the CONCSUB
command line without line breaks (Unfortunality, we cannot display lines with
more than 80 characters.)
set appl_config=<ORACLE_SID>
set local=<TNS_alias>
D:\APPLR11\fnd\11.0.28\bin\CONCSUB.EXE apps/apps SYSADMIN "System
Administrator" SYSADMIN WAIT=N CONCURRENT FND <REPORT_SHORT_NAME>
START="""19-FEB-99 11:00:00"""
Yes, there really are three double quotes either side of the start time.....
this is required as there is a space between the start date and start time,
and concsub also needs the double quotes to be sent to it... If you only specify
a date, then only one set of double quotes is required. (and the job will be
scheduled for a start time of 00:00:00)
Troubleshooting
===============
In addition to the problem solving noted in the sections above, the following
points may give useful information.
General
-------
Always check the NT event viewer for additional related errors, especially the
'Application' section.
Try starting the Conc Mgr with the registry variable Diag=Y as this gives more
detail in the log files.
https://metalink.oracle.com/metalink/plsql/f?p=130:14:6756985800772202491::::p14_dat... 24/01/2007
ShowDoc Page 6 of 6
(a) if you have sqlnet.expire_time set on the RDBMS server, simply shutdown
the Concurrent Manager service, wait for the Expire Time period and try
starting up again.
(b) If Expire Time is not set, either finding the lock and manually removing
it, or bouncing the RDBMS will solve the problem.
References
==========
Note 1011039.102 Adding second concurrent manager service to NT
Note 74717.1 Troubleshooting concurrent manager startup problems
Managers.
Copyright © 2006, Oracle. All rights reserved. Legal Notices and Terms of Use | Privacy Statement
https://metalink.oracle.com/metalink/plsql/f?p=130:14:6756985800772202491::::p14_dat... 24/01/2007