Showing posts with label APPS DBA. Show all posts
Showing posts with label APPS DBA. Show all posts

Thursday, 2 April 2015

Oracle apps R12 : Login Page is blank

Issue:

While launching URL getting the login page as Blank.

Solution:
As per reference of oracle metalink:1491845.1

++ Compile the jsp's manually using the below command,Login to the apps server and execute below

$perl $FND_TOP/patch/115/bin/ojspCompile.pl --compile --flush -p 2

++ Check whether all the jsp's are getting compiled successfully

++ Restart the application services and 

++ Clear the browser cache

SYSADMIN Error Login failed. Please verify your login information or contact the system administrator.


Error:
Login failed. Please verify your login information or contact the system administrator.   


Solution:

Check the guest user name is correct and then sysadmin password.


SQL> select fnd_web_sec.validate_login('GUEST','ORACLE') from dual;

FND_WEB_SEC.VALIDATE_LOGIN('GUEST','ORACLE')
--------------------------------------------------------------------------------
Y


==> this should return Y,If its N.then there is some issue with password.

Once the above is succesfull. 
Check for system whom you are login.

SQL> select fnd_web_sec.validate_login('SYSADMIN','PASSWORD_') from dual;

In my case it return N,So there is some corruption in the password or some change.So i changed the password using FNDCPASS

$ FNDCPASS apps/<appspawd> 0 Y system/manager USER SYSADMIN <Passwd>

Thursday, 26 March 2015

Concurrent: OPP Response Timeout to a higher value-Request Completed with Warning

While submitting Request of the xml report job. We are getting status as completed with Warning.
Then when we check the “View log” of the request.We are getting below error.
ERROR
"Beginning post-processing of request 4179194 on node AUOHSRIGS13 at 26-MAR-2015 12:34:14.
Post-processing of request 4179194 failed at 26-MAR-2015 12:34:14 with the error message:
The Output Post-processor is running but has not picked up this request.
No further attempts will be made to post-process this request, and the request will be marked with Warning status.
Setting the profile option Concurrent: OPP Response Timeout to a higher value may be necessary."


Solution:
Check the profile value of “Concurrent: OPP Response Timeout” is set to 300
And check Concurrent> Manager > Administer
Output Post Processor Actual and Target are equal. If not restart the manager
then resubmit the XML report Request.

Wednesday, 25 March 2015

Manual cloning of appsTier and db tier with out Rapid cloning adcfgclone.pl

Manual cloning of Oracle apps server with our Rapid cloning method.

Major steps:
Step-1 Create Init File in DB node.
Step-2 Create controfile after starting db in nomount and open the db in resetlogs.
Step-3 Create  xml file using adbldxml.pl in DB Tier
Step-4  Run Auto config in DB tier
Step-5 In Apps Tier run the cloning step using adcfgclone.pl appsTier

Details steps:
++Step:1

++ Create Init File in DB node: /u01/dev/db/tech_st/11.2.0.3/dbs/initDEV.ora

####################################################################
++Step:2

++Create controlfile after starting db in nomount

SQL> STARTUP NOMOUNT
CREATE CONTROLFILE SET DATABASE "DEV" RESETLOGS  NOARCHIVELOG
    .....
    .....
LOGFILE
  GROUP 1 (
    '/u01/dev/db/apps_st/data/log01a.dbf',
    '/u01/dev/db/apps_st/data/log01b.dbf'
 ....
 ....
DATAFILE
  '/u01/dev/db/apps_st/data/system01.dbf',
  '/u01/dev/db/apps_st/data/system02.dbf',
  '/u01/dev/db/apps_st/data/system03.dbf',
  .....
  .....
  '/u01/dev/db/apps_st/data/a_txn_ind05.dbf',
  '/u01/dev/db/apps_st/data/a_ref02.dbf'
CHARACTER SET WE8ISO8859P1
;

++ Open in resetlogs
SQL> alter database open resetlogs;

++ Add temp files:
ALTER TABLESPACE TEMP1 ADD TEMPFILE '/u01/dev/db/apps_st/data/temp01.dbf'
     SIZE 2000M REUSE AUTOEXTEND OFF;
ALTER TABLESPACE TEMP2 ADD TEMPFILE '/u01/dev/db/apps_st/data/temp02.dbf'
     SIZE 2000M REUSE AUTOEXTEND OFF;
alter system switch logfile;
/
++ Clean the fnd tables.
EXEC FND_CONC_CLONE.SETUP_CLEAN;

####################################################################
++Step-3:
Create xml file using adbldxml.pl in DB Tier

[oradev@host_db_01 bin]$ perl adbldxml.pl
Starting context file generation for db tier..
Using JVM from /u01/dev/db/tech_st/11.2.0.3/appsutil/jre/bin/java to execute java programs..
APPS Password: 
The log file for this adbldxml session is located at:
/u01/dev/db/tech_st/11.2.0.3/appsutil/log/adbldxml_03240939.log
Please answer the Questions below
Enter Hostname of Database server: host_db_01
Enter Port of Database server: 1521
Enter SID of Database server: DEV
Enter Hostname of Database server[host_db_01]:
Enter Port of Database server[1521]:
Enter SID of Database server[DEV]:
Enter the value for Display Variable: host_db_01:0.0
The context file has been created at:
/u01/dev/db/tech_st/11.2.0.3/appsutil/DEV_host_db_01.xml
[oradev@host_db_01 bin]$
####################################################################
++ Step-4:

++ Run Auto config in DB tier

[oradev@host_db_01 bin]$ ./adconfig.sh contextfile=/u01/dev/db/tech_st/11.2.0.3/appsutil/DEV_host_db_01.xml
Enter the APPS user password:
The log file for this session is located at: /u01/dev/db/tech_st/11.2.0.3/appsutil/log/DEV_host_db_01/03240944/adconfig.log
AutoConfig is configuring the Database environment...
AutoConfig will consider the custom templates if present.
        Using ORACLE_HOME location : /u01/dev/db/tech_st/11.2.0.3
        Classpath                   : :/u01/dev/db/tech_st/11.2.0.3/jdbc/lib/ojdbc6.jar:/u01/dev/db/tech_st/11.2.0.3/appsutil/java/xmlparserv2.jar:/u01/dev/db/tech_st/11.2.0.3/appsutil/java:/u01/dev/db/tech_st/11.2.0.3/jlib/netcfg.jar
        Using Context file          : /u01/dev/db/tech_st/11.2.0.3/appsutil/DEV_host_db_01.xml
Context Value Management will now update the Context file
        Updating Context file...COMPLETED
        Attempting upload of Context file and templates to database...COMPLETED
Updating rdbms version in Context file to db112
Updating rdbms type in Context file to 64 bits
Configuring templates from ORACLE_HOME ...

AutoConfig completed successfully.
[oradev@host_db_01 bin]$

####################################################################
++ Step-5:

++ In Apps Tier run the cloning step using adcfgclone.pl

[appldev@host_app_01 bin]$ pwd
/u01/dev/apps/apps_st/comn/clone/bin
[appldev@host_app_01 bin]$ perl adcfgclone.pl appsTier
.....
.....
....
Running:
Log file located at /u01/dev/apps/apps_st/comn/clone/bin/CloneContext_0324102651.log
Provide the values required for creation of the new APPL_TOP Context file.
Target System Hostname (virtual or normal) [host_app_01] :
Target System Database SID : DEV
Target System Database Server Node [host_app_01] : host_db_01
Target System Database Domain Name [abc.local] : dev.host.local
Target System Base Directory : /u01/dev
Target System Tools ORACLE_HOME Directory [/u01/dev/apps/tech_st/10.1.2] :
Target System Web ORACLE_HOME Directory [/u01/dev/apps/tech_st/10.1.3] :
Target System APPL_TOP Directory [/u01/dev/apps/apps_st/appl] :
Target System COMMON_TOP Directory [/u01/dev/apps/apps_st/comn] :
Target System Instance Home Directory [/u01/dev/inst] :
Target System Root Service [enabled] :
Target System Web Entry Point Services [enabled] :
Target System Web Application Services [enabled] :
Target System Batch Processing Services [enabled] :
Target System Other Services [disabled] :
Do you want to preserve the Display [za-ohcsa-uat-01:0] (y/n)  : y
Do you want the the target system to have the same port values as the source system (y/n) [y] ? : y
.....
.....
Log file located at /u01/dev/apps/apps_st/comn/clone/bin/CloneContext_0324102651.log
Check Clone Context logfile /u01/dev/apps/apps_st/comn/clone/bin/CloneContext_0324102651.log for details.
....
....
APPS Password : Log file located at /u01/dev/inst/apps/DEV_host_app_01/admin/log/ApplyAppsTier_03241028.log
  \     88% completed
Completed Apply...
Tue Mar 24 10:36:04 2015
....
....
Do you want to startup the Application Services for DEV? (y/n) [y] : y
Starting application Services for DEV:
Running:
/u01/dev/inst/apps/DEV_host_app_01/admin/scripts/adstrtal.sh -nopromptmsg
....
...
[appldev@host_app_01 bin]$

RC-50004 AC-00005 No write permissions for creating the Context file /appsutil/temp.xml - perl adcfgclone.pl dbTier

During cloning of adcfgclone.pl dbTier error with "AC-00005 No write permissions for creating the Context file  /appsutil/temp.xml " and its not prompting for RDBMS ORACLE_HOME.

Error:
[oradev@DB_Host-01-dev-01 bin]$ perl adcfgclone.pl dbTier
......
......
Log file located at /u01/dev/db/tech_st/11.2.0.3/appsutil/clone/bin/CloneContext_0324083908.log
Provide the values required for creation of the new Database Context file.
Target System Hostname (virtual or normal) [DB_Host-01-dev-01] :
Target Instance is RAC (y/n) [n] :
Target System Database SID : HCDEV
Target System Base Directory : /u01/dev
Target System utl_file_dir Directory List : /tmp
Number of DATA_TOP's on the Target System [1] :
Target System DATA_TOP Directory 1 [/u01/uat/db/apps_st/data] : /u01/dev/db/apps_st/data
Do you want to preserve the Display [DB_Host-01:1] (y/n) ? : n
Target System Display [za-ohcsd-dev-01:0.0] :

Do you want the the target system to have the same port values as the source system (y/n) [y] ? :
Complete port information available at /u01/dev/db/tech_st/11.2.0.3/appsutil/clone/bin/out/HCDEV_DB_Host-01/portpool.lst
RC-50004: Error occurred in CloneContext:
AC-00005: No write permissions for creating the Context file - /appsutil/temp.xml
Raised by oracle.apps.ad.context.AppsContex
Check Clone Context logfile /u01/dev/db/tech_st/11.2.0.3/appsutil/clone/bin/CloneContext_0324083908.log for details.

ERROR: Context creation not completed successfully.
For additional details review the file /tmp/adcfgclone_26594.err if present.

[oradev@DB_Host-01-dev-01 bin]$

Solution:
This is due to missing pre-requistie patch for rapid clone patch from Oracle note(Cloning Oracle Applications Release 12 with Rapid Clone - 406982.1)

Option-1:
Apply all the Rapit clone patches and do the clone

Option-2:
Do manual cloning as below.

Step-1 Create Init File in DB node.
Step-2 Create controfile after starting db in nomount
Step-3 Create  xml file using adbldxml.pl in DB Tier
Step-4 Run Auto config in DB tier
Step-5 In Apps Tier run the cloning step using adcfgclone.pl appsTier

Details step follow below link.
http://oracletechdba.blogspot.com/2015/03/manual-cloning-of-appstier-and-db-tier.html

Tuesday, 24 March 2015

RC-50014: Fatal: Execution of AutoConfig was failed - java.sql.SQLException: Could not get connection to the database


During cloning adcfgclone.pl appsTier, I get below error in the logfile.

ERROR:
AutoConfig is exiting with status 1

RC-50014: Fatal: Execution of AutoConfig was failed
Raised by oracle.apps.ad.clone.ApplyApplTop
ERROR: AutoConfig completed with errors. Check logfile at /u01/dev/inst/apps/DEV_za-ohcsa-dev-01/admin/log/ApplyAppsTier_03241003.log for details.
ApplyApplTop Completed Successfully.
# Checking the status of AutoConfig run of ApplyApplTop
Warning : AutoConfig has completed with  errors .
Please review the AutoConfig section in the logfile. If required, you can re-run AutoConfig from command line  after fixing the problem
getConnectionUsingAppsJDBCConnector() -->
    APPS_JDBC_URL=''
    Trying to get connection using SID based connect descriptor
getConnection() -->
    sDbHost    : za-ohcsd-dev-01
    sDbDomain  : abc.local
    sDbPort    : 1521
    sDbSid     : DEV
    sDbUser    : APPS
    Trying to connect using SID...
getConnectionUsingSID() -->
    JDBC URL: jdbc:oracle:thin:@za-ohcsd-dev-01.host.local:1521:DEV
    Exception occurred: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
    Trying to connect using SID as ServiceName
getConnectionUsingServiceName() -->
    JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=za-ohcsd-dev-01.hot.local)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=DEV)))
    Exception occurred: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
    Trying to connect using SID as ServiceName.DomainName
getConnectionUsingServiceName() -->
    JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=za-ohcsd-host-01.abc.local)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=DEV.abc.local)
))
    Exception occurred: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
    Connection could not be obtained; returning null
-------------------ADX Database Utility Finished---------------
Exception occurred while preseeding variables in the context file: java.sql.SQLException: Could not get connection to the database
StackTrace:
java.sql.SQLException: Could not get connection to the database
        at oracle.apps.ad.tools.configuration.CVMHelper.processNewContextFile(CVMHelper.java:875)
        at oracle.apps.ad.context.CtxValueMgt.preSeed2Ctx(CtxValueMgt.java:1825)
        at oracle.apps.ad.context.CtxValueMgt.processCtxFile(CtxValueMgt.java:1620)
        at oracle.apps.ad.clone.ApplyApplTop.runCVM(ApplyApplTop.java:510)
        at oracle.apps.ad.clone.ApplyApplTop.runAutoConfig(ApplyApplTop.java:552)
        at oracle.apps.ad.clone.ApplyApplTop.doConf(ApplyApplTop.java:339)
        at oracle.apps.ad.clone.ApplyApplTop.doApply(ApplyApplTop.java:382)
        at oracle.apps.ad.clone.ApplyApplTop.<init>(ApplyApplTop.java:267)
        at oracle.apps.ad.clone.ApplyAppsTier.<init>(ApplyAppsTier.java:105)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)

Solution:

In Apps server check for the tns entry,I look domain name entry was wrong during 
echo $TNS_ADMIN
cd $TNS_ADMIN

check for tns entry for DB in apps node.I looks domain name is entered wrongly so during execute of "adcfgclone.pl appTier" enter proper domain name.

==> Error ==> Target System Database Domain Name [abc.local] :
Change the entry to
Target System Database Domain Name [host1.local] : dev.host1.local

Action Plan:


Step1: Login as apps user and run fnd clean.
SQL>EXEC FND_CONC_CLONE.SETUP_CLEAN;

Step2:Re run "adcfgclone.pl appsTier" from apps node with proper domain name during prompt of the perl script.
As example:
Target System Database Domain Name [host1.local] : dev.host1.local

Monday, 23 March 2015

adpreclone.pl - java.io.FileNotFoundException: /appsutil/clone/jlib/oui/jlib/Libraries.old

Error:

During staging of DB tier getting below error.

copying /u01/uat/db/tech_st/11.2.0.3/appsutil/clone//jlib/oui//jlib/Libraries.old
StackTrace:
java.io.FileNotFoundException: /u01/uat/db/tech_st/11.2.0.3/appsutil/clone/jlib/oui/jlib/Libraries.old (Is a directory)
        at java.io.FileInputStream.open(Native Method)
        at java.io.FileInputStream.<init>(FileInputStream.java:106)
        at oracle.apps.ad.util.FileCopy.copy(FileCopy.java:86)
        at oracle.apps.ad.util.FileCopy.copy(FileCopy.java:118)
        at oracle.apps.ad.clone.util.CreateCloningStage.getOUI(CreateCloningStage.java:446)
        at oracle.apps.ad.clone.util.CreateCloningStage.createJlib(CreateCloningStage.java:278)
        at oracle.apps.ad.clone.util.CreateCloningStage.createBaseArea(CreateCloningStage.java:193)
        at oracle.apps.ad.clone.util.CreateCloningStage.<init>(CreateCloningStage.java:143)
        at oracle.apps.ad.clone.util.CreateCloningStage.<init>(CreateCloningStage.java:108)
        at oracle.apps.ad.clone.util.CreateCloningStage.<init>(CreateCloningStage.java:93)
        at oracle.apps.ad.clone.StageDBTechStack.doStage(StageDBTechStack.java:280)
        at oracle.apps.ad.clone.StageDBTechStack.<init>(StageDBTechStack.java:267)
        at oracle.apps.ad.clone.StageDBTier.<init>(StageDBTier.java:151)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:501)
        at oracle.apps.ad.clone.util.CloneProcessor.run(CloneProcessor.java:67)
        at java.lang.Thread.run(Thread.java:637)


Solution:
cd $ORACLE_HOME/oui/jlib
rm Libraries.old
rm jlib

Then rerun 

perl adpreclone.pl dbTier

Thursday, 26 February 2015

adhoc approver in HRMS Errors- oracle.apps.ame.dynamicapprovals.server.ApprovalsAMImpl.addApprover

Error:
When we add Adhoc approver in the Oracle HRMS system getting below error.

Detail 0
java.lang.NullPointerException
        at oracle.apps.ame.dynamicapprovals.server.ApprovalsAMImpl.addApprover(ApprovalsAMImpl.java:1088)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:190)
        at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:133)
        at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(OAApplicationModuleImpl.java:797)
        at oracle.apps.ame.dynamicapprovals.webui.ApprovalsCO.processFormRequest(ApprovalsCO.java:101)
        at oracle.apps.fnd.framework.webui.AWebBeanHelper.processFormRequest(OAWebBeanHelper.java:819)
        at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:385)


Solution:
Check all approvers in the approval chain and no one terminated and with end date

Ref: 
Adding Adhoc Approver to Offer Approvals Produces NullPointerException Error (Doc ID 459730.1)

Wednesday, 14 January 2015

Unable to connect to the mail account. Check the host, user name and password - oracle.apps.fnd.cp.gsc.SvcComponentException WorkFlow mail server stoped

Work flow mail server was errored with below and no work flow mails are getting to the users.
 
Error:
Navigate to Home > System administrator > workflow > Click on service Components > Workflow Notification Mailer

We have below error with workflow notification Mailer.

Could not handle the control event -> oracle.apps.fnd.cp.gsc.SvcComponentContainerException:
Could not start component; performing rollback -> oracle.apps.fnd.cp.gsc.SvcComponentException: Validation failed for the following parameters -> {ACCOUNT=Unable to connect to the mail account. Check the host, user name and password.}. Parameters were -> {RESET_NLS=N, FROM=Self Service Workflow Mailer, INBOUND_MAX_RET_EMAIL_SIZE=100, INBOUND_SSL_ENABLED=N, CANCELED=WFMAIL:CANCELED, OUTBOUND_CONNECTION_TIMEOUT=120, SEND_UNSOLICITED_WARNING=Y, CLOSED=WFMAIL:CLOSED, NODENAME=WFMAIL, OUTBOUND_SERVER=10.100.200.52, SUMMARY=WFMAIL:SUMMARY, EMAIL_PARSER=oracle.apps.fnd.wf.mailer.TemplatedEmailParser, INBOUND_MAX_IGNORE_SIZE=1000, ALTERNATE_EMAIL_PARSER=oracle.apps.fnd.wf.mailer.DirectEmailParser, INBOUND_FETCH_SIZE=100, ATTACH_STYLESHEET=Y, OUTBOUND_SSL_ENABLED=N, MAILER_SSL_TRUSTSTORE=NONE, INBOUND_MAX_LOOKUP_CACHE_SIZE=100, PROCESSOR_OUT_THREAD_COUNT=1, OUTBOUND_PASSWORD=_$@4#96^^8!099089$!$@#40$88$$0@00$9#4$04`89%0%@%9$#@0$9%9#8$^*#0}B0}|88A&, REPLYTO=SVC_SService@bancabc.com, TEST_ADDRESS=NONE, INBOUND_PROTOCOL=IMAP, ATTACH_IMAGES=Y, PROCESS=PROCESS, SUMHTML=WFMAIL:SUMHTML, DIRECT_RESPONSE=Y, MESSAGE_FORMATTER=oracle.apps.fnd.wf.mailer.NotificationFormatter, INBOUND_SERVER=10.100.200.52, DEBUG_MAIL_SESSION=N, AUTOCLOSE_FYI=Y, INBOUND_UNSOLICITED_THRESHOLD=2, MAX_INVALID_ADDR_LIST_SIZE=100, ALLOW_FORWARDED_RESPONSE=Y, COMPONENT_LOG_LEVEL=5, HTMLAGENT=http://za-ohcsa-prd-01.abc.local:8000/, PROCESSOR_IN_THREAD_COUNT=1, PROCESSOR_ERROR_LOOP_SLEEP=60, PROCESSOR_MAX_ERROR_COUNT=10, FRAMEWORK_APP=1, OPEN_MAIL_DIRECT=WFMAIL:OPEN_MAIL_DIRECT, INBOUND_PASSWORD=_!!948##4088@999#8#!99!@@80$!0$8$!099@!$`$!#%A9B%$B*08%AB+^9%@}0!#9**@&+!, PROCESSOR_DEFER_EVTDATA_READ=Y, OPEN_MORE_INFO=WFMAIL:OPEN_MORE_INFO, ACCOUNT=ABC\SVC_SService, OUTBOUND_USER=ABC\SVC_SService, DISCARD=DISCARD, PROCESSOR_READ_TIMEOUT_CLOSE=Y, HTML_DELIMITER=DEFAULT, ENABLE_STYLESHEET=N, MORE_INFO_ANSWERED=WFMAIL:MORE


Solution: 
when try to login to web mail using the WFMail account,I am getting "The user name or password you entered isn't correct. Try entering it again." 

So i asked windown team to check the username and password of WF then they reset the same.After that workflow component started with out any error
 
 

Thursday, 8 January 2015

oracle.apps.fnd.framework.OAException: oracle.jbo.NoDefException: JBO-25002: Definition of type View Definition not found

ERROR:

Exception Details.
oracle.apps.fnd.framework.OAException: oracle.jbo.NoDefException:
JBO-25002: Definition xxcust.oracle.apps.per.selfservice.objectives.server.XXPerObjPerfRatingsVO of type View Definition not found at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1247) at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(OAPageErrorHandler.java:1435) at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2675) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1940) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:543) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:431) at _OA._jspService(_OA.java:212) at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370) at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259) at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51) at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193) at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284) at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198) at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:395) at _OA._jspService(_OA.java:221) at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370) at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453) at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313) at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199) at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303) at
java.lang.Thread.run(Thread.java:619) ## Detail 0 ## oracle.apps.fnd.framework.OAException: oracle.jbo.NoDefException: JBO-25002: Definition xxcust.oracle.apps.per.selfservice.objectives.server.XXPerObjPerfRatingsVO of type View Definition not found at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:912) at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:886) at oracle.apps.fnd.framework.OAException.wrapperInvocationTargetException(OAException.java:1009) at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:211) at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:133) at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(OAApplicationModuleImpl.java:797) at oracle.apps.per.selfservice.objectives.webui.ObjectivesCO.processRequest(ObjectivesCO.java:78) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:600) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252) at oracle.apps.fnd.framework.webui.beans.layout.OAHeaderBean.processRequest(OAHeaderBean.java:391) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:968) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:935) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:659) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252) at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processRequest(OAStackLayoutBean.java:350) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:968) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:935) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:659) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252) at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1183) at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:968) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:935) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:659) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252) at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:968) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:935) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:659) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252) at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353) at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2620) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1940) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:543) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:431) at _OA._jspService(_OA.java:212) at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370) at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259) at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51) at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193) at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284) at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198) at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:395) at _OA._jspService(_OA.java:221) at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370) at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453) at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313) at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199) at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303) at java.lang.Thread.run(Thread.java:619) oracle.apps.fnd.framework.OAException: oracle.jbo.NoDefException: JBO-25002: Definition xxcust.oracle.apps.per.selfservice.objectives.server.XXPerObjPerfRatingsVO of type View Definition not found at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:912) at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:886) at oracle.apps.fnd.framework.OAException.wrapperInvocationTargetException(OAException.java:1009) at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:211) at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:133) at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(OAApplicationModuleImpl.java:797) at oracle.apps.per.selfservice.objectives.webui.ObjectivesCO.processRequest(ObjectivesCO.java:78) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:600) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252) at oracle.apps.fnd.framework.webui.beans.layout.OAHeaderBean.processRequest(OAHeaderBean.java:391) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:968) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:935) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:659) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252) at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processRequest(OAStackLayoutBean.java:350) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:968) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:935) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:659) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252) at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1183) at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:968) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:935) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:659) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252) at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:968) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:935) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:659) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252) at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353) at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2620) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1940) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:543) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:431) at _OA._jspService(_OA.java:212) at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370) at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259) at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51) at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193) at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284) at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198) at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:395) at _OA._jspService(_OA.java:221) at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370) at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453) at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313) at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199) at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303) at java.lang.Thread.run(Thread.java:619)



Check:
++ The permission of $JAVA_TOP/<custom top name>
++ Directiory structure.

Solution:

++  The permission of $JAVA_TOP/<custom top name>

ls -ltr  /u01/uat/apps/apps_st/comn/java/classes/xxcust/oracle/apps/per

drwxrwxrwx 3 appluat oinstall 4096 Dec  7 11:52 wpm
drwxr-xr-x 3 test   oinstall 4096 Jan  8 08:48 selfservice

chown -R appluat:oinstall /u01/uat/apps/apps_st/comn/java/classes/xxcust

Now it changed as per installation user.

ls -ltr /u01/uat/apps/apps_st/comn/java/classes/xxcust/oracle/apps/per
drwxrwxrwx 3 appluat oinstall 4096 Dec  7 11:52 wpm
drwxrwxrwx 3 appluat oinstall 4096 Jan  8 08:48 selfservice

++ Directiory structure.

/u01/uat/apps/apps_st/comn/java/classes/xxcust/oracle/apps/per/selfservice/objective/server

change to objectives as per custom development

/u01/uat/apps/apps_st/comn/java/classes/xxcust/oracle/apps/per/selfservice/objectives/server

Oracle Apps 11i and R12 Apps Password

11G Apps password:
================

QUESTION:
========

What all files need to be changed after changing the Apps Password
Answer-1:
========

1. $ORACLE_HOME/listener/cfg/wdbsvr.app file.

$IAS_ORACLE_HOME\Apache\modplsql\cfg\wdbsvr.app file

2. Workflow Notification Mailer - $FND_TOP/resource/wfmail.cfg

3. The concurrrent manager start script.

4. $OA_HTML/bin/appsweb.cfg

5. $AD_TOP/admin/template/CGIcmd.dat

6. invoke Autoconfig to implement the above changes.

Answer:2
=========

After changing the Apps password using FNDCPASS....Just change the apps password in CONTEXT FILE and then run Autoconfig....It will change the Apps password in All the COnfiguration Files...no need to chang it manually in Configuration files....

wdbsvr.app ( $IAS_ORACLE_HOME/Apache/modplsql/cfg/wdbsvr.app)

Use FNDCPASS to change the apps password
change in the location wdbsvr.app ($IAS_ORACLE_HOME/Apache/modplsql/conf)
Then bounce the CM and also change in any custome location like
startup and shut down script

Error:
======

I am facing problems to start middle-tier processes by using the script adstrtal.sh located in $COMMON_TOP/admin/scipts/<CONTEXT_NAME>

Some services are started but lots of failed to start giving the error
ERROR : Timed out: Interrupted Exception

oracle@machine1 PROD_machine1]$./adstrtal.sh apps/apps

Solution:
==========

Try to increase the tick ATTRIBUTE in the parameter file for dispatchersthis is core dba scenario n i guess for apps also it is the same

ex:DISPACTHERS=(PRO=TCP)(TICK=20)(SESSION=50)


Question:
=========

How to check the number of session/concurent user connected to Apps instance.pls answer ?
Answer?
========

1.FND_LOGINS and u can see in OAM for forms sessions.
2.select * from fnd_user
where user_id in (select user_id from icx_sessions where last_connect > sysdate -1/24)

That will show, the users who are connected from last One Hour

(1) For Details Explanation go through this Meta Link Document 295206.1

(2) For Relationship between FND_LOGINS and ICX_SESSIONS go through this Metalink Document 358823.1

Question:
==========

To know about the system module information?
Ans:
=====

Run adutconf.sql

R12:
====

To know the password in R12

SQL>  select ENCRYPTED_FOUNDATION_PASSWORD from apps.fnd_user where USER_NAME='GUEST';

ENCRYPTED_FOUNDATION_PASSWORD
--------------------------------------------------------------------------------
7E0F593AB3A582A9333805E6712A1C15B0A54922665998306D080885A24CE20F

SQL> create FUNCTION apps.decrypt_get_pwd(in_chr_key IN VARCHAR2,in_chr_encrypted_pin IN VARCHAR2)
RETURN VARCHAR2 AS LANGUAGE JAVA NAME 'oracle.apps.fnd.security.WebSessionManagerProc.decrypt(java.lang.String,java.lang.String) return java.lang.String';
/  2    3

Function created.

SQL> SELECT apps.decrypt_get_pwd('GUEST/ORACLE','7E0F593AB3A582A9333805E6712A1C15B0A54922665998306D080885A24CE20F') from dual;

APPS.DECRYPT_GET_PWD('GUEST/ORACLE','7E0F593AB3A582A9333805E6712A1C15B0A54922665
--------------------------------------------------------------------------------
APPS



Wednesday, 7 January 2015

oracle apps concurrent managers interview question and common information's

Question:Error:
========

After submitting the concurrent program, i am getting the status as inactive and no manager and when i clicked on diagnostics button its showing a message like

This request will not be processed because there are currently no managers running that can process it.

This is an error condition. There are one or more managers defined that can process this request that should be running at this time, but do not appear to be running.

Contact your system administrator and/or check the manager log files for errors.

Solution:
=========

to resolve that, just u simple startup concurrent manager by executing the ./adcmctl.sh script


Question:
=========

want to create a new “MANAGER”
Ans:
====

sysadmin guide for that

http://download-uk.oracle.com/docs/cd/B25516_11/current/html/docset.html
To figure out the issue.

1) Check your CRM is showing any jobs in conflicts.

2) Check for locks.

3)280295.1 REQUESTS.sql Script for Parent/Child Request IDs and Trace File IDs
ANALYZEPENDING.SQL - Analyze all Pending Requests Doc ID: Note:134033.1


Question :
===========


problem is My technical consultant has submitted two concurrent requests. But it is long time running. the status is running. There is nothing to find in the log file. Where can i know what is exact problem

Solution
========

are the concurrent requests are custom or default concurrent programs....did you check the concurrent managers status.....

(a) check the concurrent managers status
(b) check the concurrent manager logfiles

if the concurrent requests are custom...i mean....if it is the report based...check the report query and tune the query wether custom tables are having indexes or not.......check the schema statistics of apps schema

2:
Try enabling trace on the particular concurrent request,may be that should help to diagnose the problem?

Question:
=========

What is environment variable APPLCSF in Apps environment?
Ans:

==
If environment variable APPLCSF is set then u can
get the logfiles of concurrent managers under $APPLCSF/$APPLLOG.
If APPLCSF is not set, Request Log files will go to

$<MODULE>_TOP/$APPLLOG

and output files will go to

$<MODULE>_TOP/$APPLOUT

Here <MODULE_TOP> is GL_TOP, AP_TOP, AR_TOP etc etc.

QUESTION:
=========

How and why to configure PCP(Parallel Concurrent Processing)?
Answer:
========

PCP is nothing but a load balancing methodology for concurrent processing server. To load balance on concurrent processing server, this is required. In a multinode architecture, it is being used.

Check the following metalink notes

How to Set Up Parallel Concurrent Processing (PCP) in Apps 11i?
Doc ID: Note:388495.1

Oracle E-Business Suite Release 11i with 9i RAC: Installation and Configuration using AutoConfig
Doc ID: Note:279956.1

Question:
=========

CM is not working after cloning?
Answer
======

1.Bounce CM
2.check FND_NODES correctlly updated for concurent manager
3.if is there custom tops ..if so means...add those to any env file..after that set env
then Bounce the concurrnet managers..

Question:
=========

Concurrent manager "Inactive, No Manager"
1. We are facing this problem even when no other job is running
2. We dont face this problem on daily basis- it can happen sometimes thrice in a day and sometimes once in a month.
3. This program generally runs atleast 10 times in a day.
4. Configuration of the concurrent manager is (this is not standard manager):
No. of processes is: 8, Cache Size: 10, Sleep time: 10

Answer:
=========

sol_1
====
This problem seems to be inactive ICM.
When ICM is not up u will get error inactive-no manager.
Just check with manager and make it up.
ps -ef|grep LIBR
if it shows the manager is down then start the CM using script adcmctl.sh.

And if the manager is up but it is showing the inactive-nomanager then check for the log file and do the needful.

As my idea y dont u try with cmclean.sql.(not supported by oracle),Check in UAT before trying in prod.
1.Bring down CM.
2.run cmclean.sql
3.Bring up CM.

Sol_2:
======
Most importantly, see try reassigning the request to a different manager instead of the Standard Manager (maybe a custom one which only it belongs to) and see if you get the same behavior. Also check to see there are no unnecessary incompatibilities listed for the Program under the Program definitions.

sol_3:
========
I'd like to add that we checked the work schedule which is set to standard (24X7) and specialised rules against the standard Concurrent manager in the define manager screen. In adition we recreated the Conc mgr views, also created our own manager which gave the same message Phase Inactive No Manager.

Sol_4:
=======
What is the value of your GSM Enabled profile setting?

We had it set at Y but since changed it to N. We have also changed the appldcp context value to NO. Nothing seems to make any difference

Sol_5:
=======
after cloning you are getting inactive manager

go to applmgr user

$TNS_ADMIN / path

change the tns file as

edit

(SID=FNDSM) to (SID=FNDSM_VIS)

Sol_6:
=====
check the disc space of this instance, and increase

QUESTION:
=========

What are the differences between the functionality of purging concurrent request, FNDCPPUR and CMCLEAN.
Answer:
=======

FNDCPPUR is executable name of Purge Concurrent Request and/or Manager Data Program.

When you run this request, it will delete all the requests from Tables and log, req and manager log files from OS leve.

cmclean.sql is used to clean the concurrent manager tables, when there is any problem with managers starting up..

for more check the following note

CMCLEAN.SQL - Non Destructive Script to Clean Concurrent Manager Tables
Doc ID: Note:134007.1

Question:
=======

If ICM stop the othar manager ST which are already
started will continue but the new manager will not start
At the same time confict resolution manager will pickup all the request
How to know the ICM is down

Answer:
========

FNDSM is ICMs agent which will be doing the job for ICM(starting stoppin managers etc..). if that goes down everything else related to concurrent processing shuts off.
So you could grep for this FNDSM process continously at OS level to check ICMs status using a script

LOCKING:
========

Check V$session and V$locked_object. You can formulate a query by joining these two views to get the required info..Do a describe on them and try to create a query.
>How to resolve locking
using the two views mentioned above you can find out which session is blockin which sessions.If the culprit session is INACTIVE, then you may kill it using alter system kill session command. That would release the blockage

Question:
=========

what is PMON cyle,QUEUE size and sleep time:
ANS:

===
While the basic ICM definition should not be changed, you can if required modify the sleep time (number of seconds the ICM waits between checking for new concurrent requests), PMON (process monitor) cycle time (number of sleep cycles the ICM waits between checking for failed workers), and queue size (duration between checks for number of active workers, measured in PMON cycles). If Parallel Concurrent Processing (described below) is being used, you can also set some options for this.

what does these failed "workers" refer to?? What are these workers?

A/These workers are nothing but the Operating System processes associated with the concurrent managers.

Question:
==========


Reasons when concurrent manager fail?
In concurrent manager -> administer
Actual /target values different? Wat do you mean by it?

Answer:
=========

Reasons when concurrent manager fail?

There can be N number of reason for CM failure , check CM log file for exact message and cause
Few of them are --
Database listener down,
wrong password while starting CM,
corruption in FND_NODES ...

In concurrent manager -> administer Actual /target values different?
Wat do you mean by it?

Actual is actual number of manager running at that time and target is the number of Manager should be running at that particular time.

Qestion:
========

How to check the CM is up?

Answer:
========

ps -ef|grep FNDLIBR

Question:
========

which concurrent manager will run, which concurrent programs?

ANS_!:
========

Basically there are four types of Conc Mgrs

1 Internal Concurrent Manager
2 Conflict resoluction manager
3 Standard Manager
4 Transactional Managers

ICM - monitors other managers
SM picks up all the requests which or not there in it's exclusion list
Each transaction manager can process only the programs contained in its program library.

In the Concurrent Program Definition there is a column called REQUEST_TYPE by which we can assign the program to a particular manager.

You can use include and exclude options for the managers depending upon the your requirement if you want the program to be run by only one user.

You can navigate to Administer Concurrent Managers from System Adminsrator reqponsiblity, select maanger and view it's requests to see what all requests it is running.

Document which gives you more details is "System Administrator’s Guide"
Ans_2
=====
you can know this by navigate to concurrent>>manager>>define and there just query for that manager what you search for. There , the manager has been defined that it will run which requests or programs.

ANS_3:
========
From concurrent manager define and administrator screen we can find out what are all the concurrent programs that manager is running.
We can find out currently running request and which manager queue this request is running from the script $FND_TOP/sql/afrqrun.sql.
But my question is, I want general script or query to find from back end,
Which request (completed, errored, schedule, running etc) goes to which manager?
ANS_4:
=======
Use this query. Provide short name as concurrent_program_name.

SELECT A.INCLUDE_FLAG, A.QUEUE_APPLICATION_ID, C.USER_CONCURRENT_QUEUE_NAME,a
B.CONCURRENT_PROGRAM_NAME
FROM APPLSYS.FND_CONCURRENT_QUEUE_CONTENT A, APPLSYS.FND_CONCURRENT_PROGRAMS B, APPS.FND_CONCURRENT_QUEUES_VL C
WHERE type_id = b.concurrent_program_id and b.concurrent_program_name = '&SHORT_NAME' and c.concurrent_queue_id = a.concurrent_queue_id
/

Output will show you Which program is excluded from standard manager and included in other manager.

Question:
=========

What to do when Concurrent request is queing up and not being completed.

Did u started the concurrent manager...

ANSWER:
=========

A/Start the conc manger .. $COMMON_TOP/admin/scripts/adcmctl.sh start apps/apps
But still it not complited

B/Are there any errors in the Standard Manager log?

$APPLCSF/log/<Context Name>/FNDSM9999.mgr


Question
==========

What cmclean.sql will do?
Answer:
=========

cmclean.sql is non destructive script to clean CM tables. To run this script, CM has to be down since it does some updates on the tables. The script resets the flags of the requests to 'COMPLETED' and clean the CM tables so allowing the concurrent managers to come up. You need to run this script whenever you have an issue with the CM startup.

EXEC FND_CONC_CLONE.SETUP_CLEAN;commit ==> to clean fnd_tables

SQL> select NODE_NAME,SERVER_ADDRESS from fnd_nodes;


DESCRIPTION
Concurrent managers cleanup script.
To be called by rapidinstall ONLY.
- Delete all site specific information (nodes, services, printers, etc).
- Delete requests that are in Completed and Running states.
- Delete/reset all concurrent manager state information.
- Cancel all Pending Oracle Reports based requests.


Question:
========

What is CONCSUB
Ans:
=====

CONCSUB is a utility run at the operating system level to submit a concurrent program to the concurrent manager.

For more check the metalink note...Using The CONCSUB Utility
Doc ID: Note:9611.1

Question:
=========

How to purge concurrent request espcially those who has .req and .log extension name on OS side, is it safe to purge concurrent request?

Answer:
========

A/To avoid running out of space on your disk drives, you should periodically
delete Oracle Applications log files, output files and purge these tables
with the FNDCPPUR program (Purge Concurrent Request and/or Manager Data).

The FNDCPUR purge program maintains the number of log and output files the operating system retains, and manage tables that store information about concurrent requests and concurrent manager processes.

You can run the program FNDCPPUR once and automatically resubmit the program for your specific time intervals.

Depending on the usage you might have a different strategy for purging the concurrent requests log/out files eg.

- every 30 days for normal usage
- every two weeks (14 days) for heavy usage
- if you are using the AGE mode, set the Mode Value to 7 or higher to retain the most recent days of concurrent request data, log files, and report output files.

WARNING : When you purge concurrent request information, you lose audit details which are used by the Signon Audit Concurrent Requests report.

If your business requires to see the requests run back in time then you need to keep archive on disk or tape.

B/The log and out files go to a common location for all modules.

The concurrent manager first looks for the environment variable
$APPLCSF. If this is set, it creates a path using two other
environment variables: $APPLLOG and $APPLOUT
It places log files in $APPLCSF/$APPLLOG, output files go in
$APPLCSF/$APPLOUT

So for example, if you have this environment set:
$APPLCSF = /u01/appl/common
$APPLLOG = log
$APPLOUT = out

The concurrent manager will place log files in /u01/appl/common/log,
and output files in /u01/appl/common/out
Note that $APPLCSF must be a full, absolute path, and the other two
are directory names.

If $APPLCSF is not set, it places the files under the product top of
the application associated with the request. For example, a PO report
would go under $PO_TOP/$APPLLOG and $PO_TOP/$APPLOUT
Logfiles go to: /u01/appl/po/9.0/log
Output files to: /u01/appl/po/9.0/out
All these directories must exist and have the correct permissions.

Note that all concurrent requests produce a log file, but not necessarily
an output file.
Concurrent manager logfiles follow the same convention, and will be
found in the $APPLLOG directory.

Use the find command to move files which are more than N days old to another directory and zip them up or archive to tape. You can also use utilities like TSM (Trivoli Storage Manager) for backing up the filesystem.

eg. find $APPLCSF/$APPLLOG -type f -mtime +45|xargs -i mv -f {} /tmp/45more_log

Question:
=========

15 custom CM's , in which one is down . so what is the way to troubleshoot it to bring it up.

Answer:
=====

you can go with anyone:

1. 1st check the log file of the cm. if your error message is not enough to find out the problem, then change DIAG_PARAM ="" to DIAG_PARAM ="Y" in adcmctl.sh.

2.you can use cmclean.sql and then check the status of that cm.

3. check the values of target and actual column for that cm in frontend.

Question:
===========

CM is down Status Inactive and No Manager?
Ans:
===

1Check in icm log file to see issue

$APPLCSF/$APPLLOG/<SID>_<timestamp>.log Check in icm log file to see issue

$APPLCSF/$APPLLOG/<SID>_<timestamp>.log

Ans_2:
======
This is way too big of a question to be answered in one post but in general:

1. Ensure you have enough Standard Manager processes to handle all of the requests. The default number is 3, this can be increased in the Manager Definitions (Workshift).

2. Ensure that the number of rows in FND_CONCURRENT_PROCESSES and FND_CONCURRENT_REQUESTS don't exceed 50K or there will be performance issues.

3. Ensure that you don't have any unnecessary manager processes running in the manager queues.

4. Set a low priority if possible on the jobs which generally run the longest. If you are consistently getting slow performance on jobs, check to see if they also execute slowly from the SQL PLUS. If they do, the issue is with the code, not the managers.

DBA_EXTENTS or DBA_OBJECTS Table..there you can get the SIZE of the Objects

Question:
=========

submitted a request and it completed with the status as completed normal
But not able to see log file?
Answer:
========

A, RRA profile agaent & apps listener adalnctl.sh
B, whatever you have operating system , you need to restart the listener again even if it's working status and if the users are connected to the Apps. then you have to restart the Apatche first then the listener of the application 8.0.6.

Question:
========

DB tier and Concurrent Manager on one node
Apps Tier(Forms, Apache) on another node.
How to move the Concurrent Manager to a new node

Ans:
====

Theoretically, you'll need to add a node to the Apps Tier using the Rapid Clone addnode.pl

This should give you an overall idea.You'll need to tweak this to your requirement.

So, 1) you run preclone on DB node, CM node, Web/Forms node
2) Deregister existing CM node
3) Disable security option, run autoconfig on DB node, restart listener
4) Copy files to the new node
5) Run post clone on DB tier
6) Run post clone on Web/Forms Tier
7) Run post clone on new node to configure for CM node
8 ) Run addclone.pl on Apps tier.


How do I deregister an application tier from the Net Services Topology Data Model?
Answer:
To deregister the current application tier from the Net Services Topology Data Model, invoke the following command:
perl <AD_TOP>/bin/adgentns.pl appspass=<APPSpwd> contextfile=<CONTEXT> -removeserver

Refer Note: Note:218089.1 Autoconfig FAQ


Regarding step ( 8 ) : This would need to be run from Forms/Web node I believe. Not familiar with it's prompts, but it should be straightforward as we have the NEW CM node already ready by the time we execute this. Please ensure that once this is run, the entries in the context file on this node reflect your new node. I would check entries in the following section in context XML
<oa_admin_server>
<oa_cp_server>
For addnode.pl refer to note: Note:230672.1 Cloning Oracle Applications Release 11i

After everything is done, I would also check FND tables:
FND_NODES
FND_APP_SERVERS

The entries here should match with what we needed to start with.
1) Entry for DB node
2) Entry for Forms/Web Node
3) Entry for *NEW* CM node
4) No entries for *OLD* CM node

I hope you are doing this on test first? Let me know how it goes.

Question:
========

Want to configur PCP?
Ans:
===

241370.1 Concurrent Manager Setup and Configuration Requirements in an 11i RAC Environment

312731.1 Configuring Oracle Applications Release 11i with
10g Release1 Real Application Clusters and Automatic Storage Management
Section 3.11 Configuring Parallel Concurrent Processing

Question:
=========

Why only for Concurrent Manager, we specify apps/apps password & not for other?

Ans:
======

Concurrent Manager is used for processing requests..it means...for example...I want to run one report based on Current Month GL Balance...So we have to run one report to show balance...this balance will be stored in the Database tables..right.....

Concurrent Manager runs this request by connecting to the database using apps user password.....

Got it..hope it is clear.....'    
Question:
========

which situations we need to bounce the concurrent manager ? and application services ?

Ans:
====

doc id: 105133.1(given in teachme oracle-Metalink Notes Section).

When you modify the Printer Driver you have to restart the Manager which runs the request which is attached to that Printer Driver, however,if you do not know which manager then you have to restart the Internal manager because the printer driver can be used by multiple managers and multiple requests. If only a concurrent program definition is modified, running a verify on the Internal Manager will pick up the changes without the need for bouncing the manager.

QUESTION:
==========

I have defined a new manager and submitted request in it.
But the job is always running and it never stops.
ANS:
====
issue initially the process specified for the new ASAP manager is below 10.

But as per the thumb rule for that specified application and the manager
the process should be more than 20.Thumb rule for the manager which we created was

thumbrule= 4 + (2 * profile value).
According to the above thumbrule the intial pocess of 8 was increased to 25 then the manager runs normally.

q/a
Below is the relevant content from adcmctl.sh:

printf "Shutting down concurrent managers for $TWO_TASK ...\n" >> $LOGFILE
$FND_TOP/bin/CONCSUB "$unpw" SYSADMIN $WAIT_PARAM 'System Administrator' SYSADMIN CONCURRENT FND SHUTDOWN
exit_code=$?

QUESTION
==========
CM is not shuting down.
Ans?
===
As u defined that CM is hanged due to some pending request,
the one option that i think would be feasible is to make cancel that request from backend
keeping status_code='E' and phase_code='C' ,
So , once the request got completed the CM will automatically come down with no problem
run Cmclean.sql and start the Cm

precisley knowing your FNDLIBR process you can try this in command line:

ps -aex|grep FNDLIBR|grep ORCL

The above command will list out FNDLIBR process related to instance ORCL only.

Question :
=======

CM is up but  Oracle Applications Manager. it shows down?

Ans:
======

- Dashborad collection manager is down
- GSM might be disabled
- Monitoring/SErvice Update in OAM might be diabled

References:

Basic information about Concurrent Managers (Doc ID 69336.1)
Concurrent Processing - Product Information Center (PIC) (Doc ID 1304305.1)

Note:134007.1 CMCLEAN.SQL
Note:388495.1 Parallel Concurrent Processing (PCP) in Apps 11i?
Note:279956.1 Oracle E-Business Suite Release 11i with 9i RAC: Installation and Configuration using AutoConfig
Note:9611.1  CONCSUB Utility
Note:241370.1 Concurrent Manager Setup and Configuration Requirements in an 11i RAC Environment
Note:312731.1 Configuring Oracle Applications Release 11i with 10g Release1 Real Application Clusters and Automatic Storage Management Section 3.11 Configuring Parallel Concurrent Processing
Note:105133.1 when to bounce Cm
Note:392246.1 Requests Stuck with Inactive No Manager
Note:2181143
Note:233428.1 merge the APPL_TOP on the DB tier with the APPL_TOP on the apps tier
280295.1 REQUESTS.sql Script for Parent/Child Request IDs
Note:134033.1 Analyze all Pending Requests
Note 189708.1 DBA to configure two files i.e. uiprint.txt & default.ppd
Note 91151.1 Concurrent Managers Rel. 10.7 Tuning and Installation Issues

NOTE:74717.1 - TROUBLESHOOTING CONCURRENT MANAGER STARTUP PROBLEMS - Applications 11.0
NOTE:97798.1 - ORA-904 starting Concurrent Managers
NOTE:1057802.1 - Concurrent Processing - Best Practices for Performance for Concurrent Managers in E-Business Suite
NOTE:200360.1 - 11i : Oracle Application Object Library Concurrent Manager Setup Test
NOTE:168071.1 - ICMLOG.sql - Script for Retrieving Only the Internal Manager Logfile
NOTE:171855.1 - Concurrent Processing - CCM.sql Diagnostic Script to Diagnose Common Concurrent Manager Issues
NOTE:179661.1 - E-Business Suite Diagnostics 11i Test Catalog
NOTE:185036.1 - Unable to Startup or Shutdown the Concurrent Managers in 11.5.5 by Using the Syntax adcmctl.sh apps/<password> Start or Stop
NOTE:1059201.6 - Status Pending With 'Inactive No Manager' for Concurrent Requests
NOTE:113135.1 - Conflict Resolution Manager FNDCRM Does Not Start; No Error Message
NOTE:123607.1 - CONCSUB SYSADMIN 'System Administrator' Gives Invalid Responsibility Error
NOTE:1304305.1 - Concurrent Processing - Product Information Center (PIC)
NOTE:2055375.6 - Concurrent Managers and PMON Method

NOTE:2120154.6 - Uable to Start the CCM after Installation - ICM Core Dumps with Status 139
NOTE:213021.1 - Concurrent Processing (CP) / APPS Reporting Scripts
NOTE:230121.1 - Routine AFPEIM Encountered an Error While Starting Concurrent Manager on Cloned Instance
NOTE:421245.1 - E-Business Suite Diagnostics References for R12

Tips:
===

To trace CM request:

select v.request_id,
s.sid,
s.serial#,
s.event,
p.spid
from apps.fnd_conc_requests_form_v v,
v$process p,
v$session s
where v.request_id = ‘5029302'
and v.oracle_process_id = p.spid(+)
and p.addr = s.paddr(+)
/

Form the session ID find the PID

SQL> col sid for 999999
SQL> col serial# for 999999
SQL> col username for a20
SQL> col osuser for a20
SQL> select s.sid,s.serial#,s.username,s.osuser
from v$session s,v$process p
where s.paddr=p.addr;

Set the trace as below what is happening/executing we can comes to know

SQL> -- set the OS PID
SQL> oradebug setospid 864                             
Windows thread id: 864, image: ORACLE.EXE
SQL> -- or set the Oracle pid
SQL> oradebug setorapid 13
Windows thread id: 864, image: ORACLE.EXE
SQL> -- set the trace file size to unlimitd
SQL> oradebug unlimit
Statement processed.
SQL> -- now turn on trace for SCOTT
SQL> oradebug event 10046 trace name context forever, level 12
Statement processed.
SQL> -- run some queries in another session and then turn trace off
SQL> oradebug event 10046 trace name context off
Statement processed.

Find the trace in UDUMP

http://www.petefinnigan.com/ramblings/how_to_set_trace.htm==> to set trace using oradebug

453527.1
===================================================================

Query to find the Request id complete date

select request_id,
to_char(REQUESTED_START_DATE, 'mm/dd HH24:MI:ss') req_dt,
to_char(actual_START_DATE, 'mm/dd HH24:MI:ss')    start_dt,
phase_code,
status_code,
to_char(ACTUAL_COMPLETION_DATE , 'mm/dd HH24:MI:ss')    end_dt
from FND_CONCURRENT_REQUESTS
where (REQUESTED_START_DATE
     between to_date('06/18 05:04:59','mm/dd HH24:MI:ss')
     and to_date('06/18 05:10:00','mm/dd HH24:MI:ss'))

order by REQUESTED_START_DATE
/