Vous êtes sur la page 1sur 8

Where do concurrent request logfiles and output files go?

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 aredirectory names. If $APPLCSF is not set, it places the files under the product top of the application associated with the request. So 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


Of course, 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.

What are the logfile and output file naming conventions? Logfiles: l<request id>.req Output files: If $APPCPNAM is not set: <username>.<request id>
If $APPCPNAM = REQID: If $APPCPNAM = USER: o<request id>.out <username>.out

Where: <request id> = The request id of the concurrent request And: <username> = The id of the user that submitted the request How do I check if Multi-org is installed?
SELECT multi_org_flag FROM fnd_product_groups;

How do I find out what the currently installed release of Applications is?
SELECT release_name FROM fnd_product_groups

How do I find the name of a form? GUI: Use Help->About Oracle Applications
Scroll down to find the form name

Character: Use \Help->Version How do I lookup ORA errors? (and TNS errors) Use: oerr ora XXXX or: oerr tns XXXX
where XXXX is the error number (This also supports a number of other error types. Use the 3-letter error prefix in place of 'ora') How do I generate a message file (usaeng.msb)?

Use: FNDMDCMF applsys/pwd 0 Y APP usaeng where: applsys/pwd is the APPLSYS user and password and APP is the short name of the application (like
PO or INV)

How do I submit a concurrent request from PL/SQL?


Use FND_REQUEST.SUBMIT_REQUEST Example: req_id := FND_REQUEST.SUBMIT_REQUEST('FND', 'FNDSCARU'); Note that this can only be called from a concurrent program. See the Coding Standards for parameter details

How do I cancel a running concurrent request?


Navigate to the Concurrent Request Summary form Select a request In character, do a Quickpick on the Status column You can select Cancel or Hold In GUI, use the Cancel or Hold buttons The Sysadmin responsibility can cancel or hold any running request

Why can't I find adrelink on my NT APPL_TOP?


This is a trick question right? There is no adrelink, we supply executables pre-built. There is no need to relink as on UNIX. There is also no adunload.

Why can't I use character mode on NT?


You're just full of trick questions today Applications for NT does not include character mode forms.

Why does Help->Tools->Examine ask for a password?

The profile option Utilities:Diagnostics is set to NO This profile option controls whether users can use the Examine utility. The password should be the APPS password.

How do I set the name of the site that shows up under Help->About Oracle Applications?
Set the profile option 'Site Name'

How do I open a form in query-only mode?


Navigate to the Form Functions form (Application->Function) Query the particular form and add the parameter QUERY_ONLY=YES Not all forms will accept this parameter however.

How do I find the version of an installed product? (such as Reports, SQL*Net etc.)
One of the easiest ways is to run the product if you can. Running Reports designer will give you the Reports version, running SQL*Plus will give you its version etc. Another easy way is to launch the Oracle Installer and look in the installed products on the right side. It will list all the products installed with their versions. Another way is to look at the .rgs file. This file is located in ORACLE_HOME/orainst On UNIX, it will be called unix.rgs. On the PC, it will be called Windows.rgs. This file will list all the products installed and their versions. Note though that this file is not always correct. For example, patching Reports from 2.5.5.4 to 2.5.5.8 will not show up in this file as the new version. Running Reports Designer is the best way of getting the correct version.Also, on UNIX there is an executable called 'inspdver'. It is located in $ORACLE_HOME/orainst. Running it will produce a display of all the installed products. It just pulls the information from unix.rgs, so it may show the wrong information as well.

I just ran AutoInstall successfully, but I don't have character mode! (on UNIX)
You probably picked 'Server' when asked what type of installation to do. This choice installs everything except the character mode forms and executables. The choice you wanted to pick was 'Standalone'. You can recreate character mode by unloading the forms directories, regenerating the forms, and relinking aiap.

I changed a profile option, but it doesn't seem to take effect?


Profile option values are cached, so you need to log out and back in in order to have the new value take effect. Switching responsibilities will usually do it too.

How do I generate one single form? (As opposed to using adadmin to generate them all) Character mode forms: Use adfrmgen Usage: adfrmgen filelist=<name of filelist file> Or: adfrmgen product="product shortname(s)"
[filepath="dir-path/filename"]

For example :

adfrmgen filelist=filelist.txt adfrmgen product="gl" filepath="forms/GLXSSMTY.inp" (one file) adfrmgen product="gl" filepath="forms" (entire directory) adfrmgen product="gl" (entire product) adfrmgen product="fnd gl" (multiple products) adfrmgen product="fnd gl" filepath="forms" (entire directories from multiple products)

GUI forms: use f45gen Usage: f45gen module=<source file> userid=<Apps account/password>output_file=<destination file>
module_type=form batch=yes compile_all=special

Example:
f45gen module=/u16/appl/nca/au/1.0/forms/US/FNDCPMCP.fmb O/APPS output_file=/u16/appl/nca/fnd/7.5/forms/US/FNDCPMCP.fmx module_type=form batch=yes compile_all=special Note that in Release 11, adadmin will allow you to compile specific forms

userid=APPS_APPDEM

What do I do if I am missing an executable from my APPL_TOP?


Binary executables are created with adrelink. For example, if addmimp is missing use: adrelink force=y ranlib=y "ad addmimp"

In Release 11, where do I apply all of these new patch drivers?


(i.e. where do I apply the c driver, the d driver and the g driver?) The 'c' driver is the copy driver. It copies files and relinks executables, similar to the old patch.drv. The 'd' driver is the database driver. It runs scripts against the database like the old db driver. The 'g' driver is new to release 11. It is the generate driver. It generates forms, reports, and message files. In a multiple-tier environment, you should apply the copy driver to all tiers, the database driver to the administration tier, and the generate driver to the forms and concurrent processing tier.(Some of these may be the same tier) Adpatch will ask questions about what kind of APPL_TOP it is in, so it will know what portions of the driver to run.

Concurrent Manager Check/set the PMON method?


To check the PMON method:

1) cd $FND_TOP/sql sqlplus apps/apps @afimchk.sql This will tell whether the internal manager is running, what the PMON method is, and where the log file is, To set the PMON method: 1) first shut the concurrent managers down 2) cd $FND_TOP/sql 3) sqlplus apps/apps @afimpmon.sql LOCK (or RDBMS)

Enable/disable the Conflict Resolution Manager?


Use the system profile option 'Concurrent: Use ICM' Setting this to No (which is the default) allows the CRM to be started Setting it to Yes causes the CRM to be shutdown and the Internal manager will take over the conflict resolution duties. If the CRM will not start (it is started automatically by the ICM), check this profile option.

Clean out the Concurrent Manager tables?


First, be sure to shutdown the managers As the APPLSYS user: DELETE from fnd_concurrent_processes; UPDATE fnd_concurrent_queues SET running_processes=0, max_processes=0; DELETE from fnd_concurrent_requests WHERE status_code='T'; If you do not need the information in fnd_concurrent_requests and it is getting very large, you can truncate this table as well. This also works to shutdown the concurrent managers after killing the OS processes.

Tell concurrent manager processes apart?


Use: pf -ef | grep FNDLIBR This will produce output like: vd11 13703 13660 0 May 11?

0:01 FNDLIBR FND Concurrent_Processor 0:05

MANAGE OLOGIN="APPS/94A491A1000000000000000000 n1070161 24936 24927 0 Apr 29? FNDLIBR FND Concurrent_Processor MANAGE OLOGIN="APPS_APPDEMO/94C4B1C10000000000 n1070161 24938 24927 0 Apr 29? FNDLIBR FND Concurrent_Processor MANAGE OLOGIN="APPS_APPDEMO/94C4B1C10000000000 n1070161 24927 24922 0 Apr 29? FNDLIBR FND CPMGR FNDCPMBR sysmgr ="" sleep=60 pmon=20 diag=N logfile=/u16/app

0:06

2:03

The last process, #24927, shows 'FNDLIBR FND CPMGR' This one is the Internal concurrent manager Notice that it gives some of the parameters it was started with. The other processes showing 'Concurrent_Processor' are Standard manager processes Notice that the Internal manager process is the parent process of the Standard managers. (processes 24936 and 24938) Other managers will have the name of the executable, like ARLIBR or INVLIBR: $ ps -ef | grep ARLIBR vd11 13683 13660 0 May 11? 0:20 ARLIBR APPS/82A2A4940000000000000000000 000000000000000000000000000000000 AR ART The Conflict Resolution manager will look like: $ ps -ef | grep FNDCRM n1070161 24941 24927 0 Apr 29? 1:17 FNDCRM APPS_APPDEMO/84BFBEB900000 0000000000000000000000000000000000000000000000

I hit the Restart button to start the Standard manager but it still didn't start?
Telling a manager to restart just sets the status to Restart. The ICM will start it the next process monitor session or the next time the ICM starts. Use Activate to start a manager immediately. Also, when a manager is deactivated manually, the ICM will not restart it. You will need to set it to Restart, or activate it manually.

Why does the "to start" date of my concurrent request default to 24 hours in the past?
The short story: If you get patch 387798, then this behavior can be turned on and off using the profile "Concurrent: Multiple Time Zones". The long story: This behavior is a temporary fix until we can build time zone support into the product in a future release. If the profile "Concurrent: Request Start Time" is set, then we default the "to start" date of a request to that value. Otherwise we assume that the user wants the request to start as soon as possible. Problems occur when the user is in a time zone that is ahead of the time zone in which the concurrent managers are running. Say a user submits the request in a field office in the Eastern time zone at 9:00, so we default the requested start date to 9:00. But now the concurrent managers are at HQ in California, so user's request will run at 9:00 Pacific time, 12:00 Eastern. In order to default requests to start as soon as possible, we submit them to start 24 hours before their request date. This covers the worst case time zone difference.

Can I submit a report set using CONCSUB?


No, you may not. This is documented in bug 334337.

How do I submit a request with CONCSUB that has a null parameter?

Use '""' as the null parameter. (Single quote, double quote, double quote, single quote)

How can users submit requests with CONCSUB without giving them the APPS password? Try this:
1. As the applmgr user, create a shell script that runs CONCSUB Either hardcode the parameters for the report, or pass them in as parameters to The script. 2. Change the permissions on this script to 700. Now no one can read this script and get the password. 3. Create another script that calls the first script. Pass parameters along if you need to. 4. Change the permissions on this script to 6755. Now any user can execute and read the second script, which calls the first one. Have the users run this script to submit their requests without knowing the password.

What is the syntax for controlling the concurrent manager using startmgr and concsub in NT?
On NT, the concurrent manager is run as an NT service. You start and stop the managers using the Services control panel. See the Applications Installation manual for NT, Appendix A for details. See pg. 5-9 of this manual for instructions on creating the concurrent manager service.

Java/JDK How do I tell what version of the JDK I am using?


At a command prompt, type: java -version

How do I get a stack dump from the appletviewer?


In the DOS window where appletviewer is running, hit Control and Break

What is the difference between the JDK and JRE?


1. 2. JRE is the Java Runtime Environment JDK is the Java Developers Kit

They both can run Java programs, the JDK is also a full development environment. It contains the Java compiler and other utilities required to create Java programs, The JRE can only run the programs.

What is this CLASSPATH thing anyway?


1. 2. 3. CLASSPATH is an environment variable the Java interpreter uses to search for class files. It is set to a colon separated list of directories, similar to the PATH variable. It it used both to locate the Java system classes, and user-written classes.

4. 5. 6. 7. 8.

In Java 1.0, you always had to set it, or it would not be able to find the system classes. In Java 1.1, the interpreter uses classes.zip and the current directory as a default if CLASSPATH is not set. This means that using the 1.1 JDK on the PC, you do not need to set CLASSPATH. It also means that if you do set it, you must include the defaults, or the system classes will not be found. The JRE uses rt.jar instead of classes.zip, so always include this file in CLASSPATH.

Vous aimerez peut-être aussi