-h | Shows command usage. |
--h | Shows extended help. |
-g | Generates configuration from the template and exits immediately. The configuration file name may be specified explicitly or implicitly as described under Mutually Exclusive Arguments below. |
-t arg | Template to use. Examples: wka for Well-Known-Addresses; mc for Multicast; ss for Single Server. This is optional. The default is determined from be.prefs, be.properties or be.default.properties, in that order. |
-b arg | Configures batch code specific properties files. Maintains job.<arg>.properties files. |
-e arg | Configures general submitter mode properties files. Supports THIN and LOCAL execution mode. Maintains submitbatch.<arg>.properties files. |
-l arg | Configures threadpool label specific properties files. Maintains threadpoolworker.<arg>.properties files. |
-c | Configures the cluster configuration. Shortcut name for tangosol-coherence-override.xml |
-s | Configures the base submitter configuration. Shortcut name for submitbatch.properties. |
-w | Configures the base threadpoolworker configuration. Shortcut name for threadpoolworker.properties. |
file | The properties file to edit. This must be a valid batch properties or Coherence XML configuration override file. May be used instead of the shortcut forms above and must be the last argument if specified. |
-A | Generates ALL the base configuration files and exit. Combines -c, -w and -s option. Option -A must be the only option if specified. |
blank | Generates javadocs and update SPLWeb EAR file. |
-h | Shows usage. |
-n | Generates javadocs but skip EAR update. |
blank | Configures basic configuration options. |
-a | Configures advanced configuration options. |
-c | Calculates variables only through silent mode. This refreshes ENVIRON.INI from individual changes. |
-g | Configures all configuration options (basic and advanced). |
-h | Shows usage. |
-i | Configures Installation options (used for initial installation) |
blank | Performs complete extraction in default location $SPLEBASE/tools/dbstandalone. |
-h | Shows usage. |
-l <location> | Outputs jar file to the location <location>. If you do not specify a location then it will default to the blank action. |
-h | Shows usage. |
-v version | Version identifier for custom build. This is the build number that is used for CMVERSION.TXT. This parameter is required. |
-t target | Directory location for files to be housed. applyCM will be run against this location in future steps. This parameter is required. |
blank | Process Templates, Build WAR/EAR files and Deploy to JEE Web Application Server in one process. |
-h | Shows the usage. |
-t | Processes templates only. |
-w | Builds WAR/EAR files only. |
-v | Displays the version. |
-s | Imports Key Store from external location (KS_IMPORT_KEYSTORE_FOLDER). |
-k | Generates Key store. |
-f | Forces Task, skipping any warnings (used for silent installs only). |
-f InputFile | Fills path of list of single fixes to install. This can be generated from PatchDeployUtility (see PatchDeployUtility.sh - Create and Deploy Patch Rollups), included in a service pack, included in a fix or manually created. |
-d InputDir | Location of single fixes downloaded from My Oracle Support. These must be unzipped. |
-p product | Product Name for patch file (this is the prefix of the file) (optional). |
-v version | Version number of files (optional). |
-e splenviron | Environment Name to apply fixes to. Defaults to current SPLENVIRON environment variable if not specified. |
-r splebase | Root location of software for environment. Must match value in /etc/cistab (see cistab - Global Configuration Files). Defaults to current SPLEBASE environment variable if not specified. |
-l logile | Name of log file to output. Defaults to install.log if not specified. |
-c | Specifies that active threads should be canceled. Can be used with –f option to cancel only batch processes matching the regular expression provided. Note: Canceled threads are marked with the date, time, userid and IP address of the user who initiated the cancel command. |
-d | Displays the details of the currently active threads. |
-f | If a large number of threads are currently active, a filter can be supplied to only display or cancel threads that match the regex based pattern. For example the threadpool be filtered to show only the BAT1 with the option: -f .*BAT1.* as follows: jmxbatchclient.sh -j service:jmx:rmi:///jndi/rmi://myserver:9999/oracle/ouaf/batchConnector -f .*BAT1.* would yield: Options: -j service:jmx:rmi:///jndi/rmi://myserver:9999/oracle/ouaf/batchConnector -f .*BAT1.* Connecting to service:jmx:rmi:///jndi/rmi://myserver:9999/oracle/ouaf/batchConnector ActiveGridNode threadPools=[MYSERVER:5, LOCAL_THREAD_POOL:b9835d11f15fd71b:681ba91d:1200151a3c8:-8000:0, SCHEDULER_DAEMON_THREAD_POOL:1] BatchThread_ZZQABAT1_1_of_1.31 |
-h | Display the available options and their descriptions. |
-j | JMX URL to perform the action against (Required). This should match the spl.runtime.management.connector.url.default property specified in the threadpoolworker.properties. |
-k | Specifying this option will result in the cancellation of all currently running threads and the stoppage of the threadpoolworker process. Note: Active threads within a canceled threadpoolworker are marked with the date, time, userid and IP address of the user who initiated the kill command. |
-l | By default, all logging information is displayed and logged using log4j2. Supplying this option will result in only select information being displayed to the system output. |
-s | Display the summary of the currently active threads is a listing format. |
-t <wait> | Amount of time, in ms, to wait as expressed in <wait> for active jobs to cancel. |
-z | Display the cache details. Must be used in conjunction with -j option. |
-h | Shows usage for patch. |
-u | Shows usage of command. |
-v | Displays version of patch. |
-x | Database Password for applying patch. |
-b | Location of tools bin directory. |
-p | Additional parameters passed to utility (in accordance with patch documentation). This must be the last parameter on the command line. This is primarily used by the Application Management Pack for Oracle Utilities. |
-f patchfile | The full path and file name to the patchdependency.txt file of the patch to use as a reference point. This parameter is used by the REPORT mode only and is required for that mode. |
-m mode | Mode. Supported values: REPORT, DOWNLOAD or ROLLUP. |
-l missingfile | Full path and file name for output for REPORT mode. This file will contain the list of fixes that have not been downloaded. This parameter is used by the REPORT mode only and is required for that mode. |
-d dir | Full path to location where any missing patches will be downloaded to when using the DOWNLOAD mode. This is also used by the ROLLUP mode as a source directory. |
-r dir | Fills to location where the rollup files will be generated. This is the location used by the installSFGroup (see installSFGroup.sh - Install Software Patches) and ouafDatabasePatch (see ouafDatabasePatch.sh - Install Database Patches)utilities will be executed from. This parameter is by the ROLLUP mode only and is required for that mode. |
-n missingfile | Full patch and file name of the missing patches generated by the REPORT mode. This parameter is used by DOWNLOAD and ROLLUP modes. |
blank | Finds all of the WebLogic servers running on the machine. |
-e envname | Filters the output by environment name. If it is found then output a 1 return code. |
-q | Do not put output on screen. Useful for custom scripting. |
-e <environment> | <environment> is the environment id as installed in the cistab file. |
-c <command> | Runs <command> after running splenviron.sh. Command must be enclosed in double quotes (""). Default is shell (for example: ksh). |
-q | Quiet Mode. Do not show output from command. Any output from the –c command will be shown. |
-h | Shows usage. |
blank | Runs the [threadpoolworker options] in the background (nohup). |
-h | Shows usage. |
-Q | Runs the [threadpoolworker options] in the foreground. |
-b <batch control> | Batch control of the batch process to submit. When submitting a batch process, a batch code is always required. The parameters are defaulted from the batch control. Override parameters can be provided using the -x option. This is the only mandatory parameter for calling this script. |
-r <batch rerun number> | Previous rerun number of the batch that needs re-submission. |
-a | Batch submission user. Defaults to the user used for login. |
-n | Email ID to which notification should be sent on batch completion. |
-l | Language to be used for batch process. |
-s | Desired batch job execution start date time. Defaults to current date time. |
-c | Number of threads to be used for running the batch. Defaults to the value from corresponding batch control. |
-t | Batch thread number that needs re-submission |
-d | Batch business date in YYYY-MM-DD format. Defaults to current date. |
-f | Maximum commit records to override commit interval. Defaults to 1. |
-m | Maximum timeout in minutes, to override program's timeout. |
-p | To trace the start of program for troubleshooting purposes. Defaults to false. |
-e | To trace exit of program for troubleshooting purposes. Defaults to false. |
-q | To trace SQL executions for trouble shooting purposes. |
-o | To trace standard out of background processes for troubleshooting purposes. |
-x | Batch job extra parameters can be set as comma delimted list of parameter & value. Any parameter passed must already be defined on the batch control. Defaults to batch control configuration. |
-u | Login details can be provided in the format UserID:Password. If not provided, environment variables SUBMITREST_USER and SUBMITREST_PWD must be set. • SUBMITREST_USER - username to be used for authentication. • SUBMITREST_PWD - plain text password to be used for authentication |
-i | Complete REST URI for batch job submission. If not provided, either the environment variables WEB_HOST, WEB_SSLPORT/WEB_PORT and WEB_CONTEXT_ROOT must be set (OR) SPLEBASE must be set to get the environment details WEB_WLHOST, WEB_WLSSLPORT/WEB_WLPORT and WEB_CONTEXT_ROOT from ENVIRON.INI. • WEB_HOST - Hostname of the target environment. • WEB_SSLPORT - Port number of the target environment, in cases where SSL is used. • WEB_PORT - Port number of the target environment, in cases where SSL is not used. • WEB_CONTEXT_ROOT - Root context of the target environment. |
-w | Interval time in seconds, to wait between polling of batch job status. Default value is 10 seconds, which is also the minimum value that can be provided. Provide larger values for long running batches to save resource usage. |
-b <batch code> | Batch code of the batch process to submit. When submitting a batch process, a batch code is always required. Either this option or –P may be specified, not both. If this option is specified, submitjob will use the supplied batch code to look for a default properties file for that batch code (for example: VAL-SA.properties or VAL-SA.properties.xml as discussed above) and use those properties if found. |
-c <thread count> | Concurrent number of threads in which to run the process. |
-d <date> | Process / business date. Format is YYYY-MM-DD |
-e < THIN|CLUSTERED> | Execution mode for this submission. If execution mode THIN is selected, the JVM will create a full application context and run the batch process inside the JVM – that is, it will not be submitted to a thread pool for a worker JVM to pick up and run. This is analogous to running the batch process using the existing SPLBATCH.sh utility. THIN mode is for development purposes only. If CLUSTERED is selected, the batch process will be submitted to run in the specified distributed thread pool (option –p). It is also possible to have the submitter JVM be a worker JVM and run the batch process (like THIN mode, but in parallel threads). See option –L. |
-f <record count> | Record commits frequency count. |
-g <four Y|N switches> | Positional tracing switches: • Program entry • Program exit • SQL statements • General program debugging info For example, NNYN will trace all SQL statements. Value of NNNN disables all tracing. |
-h | Shows help information. Displays the available options and their descriptions. The information is not logged. |
-i <RMI port number> | Port number of RMI Registry to start and/or reference. If specified with -R, this number will be used only to substitute applicable URL {port} references. This option will not add any new RMI/JMX properties - it can only be used to override existing ones. See note below. |
-J | Do not start JMX connector. This option disables JMX monitoring for this JVM. As far as submitjob is concerned, options –i, -R and –J are only applicable to batch processes submitted in THIN mode, or CLUSTERED mode to the LOCAL thread pool. For each property prefixed by spl.runtime.management.connector.url that is defined with the default set of properties (for example: in the submitbatch.properties file), the framework will start a JMX Connector for the specified URL. This activates JMX monitoring inside the worker node so that a client JMX console can be used to monitor and manage active threads. If this option is specified, the framework will not start any JMX connectors. |
-l <ENG|FRA|etc.> | Language code. Relevant language pack must be installed. |
-L | Submit this batch to the LOCAL thread pool (this JVM). Only applicable for CLUSTERED mode. If specified, any default thread pool property is ignored. This option and -p are mutually exclusive. By specifying option –L, the batch process is submitted to the LOCAL thread pool that every submitter JVM offers by default. This option is only applicable in a CLUSTERED mode execution (-e). This is like submitting the batch process in THIN mode (that is, a worker JVM is not needed to run the batch process), except thread pool LOCAL can run multiple batch threads concurrently. For example, the following command will run batch process VAL-SA inside this submitter JVM (LOCAL thread pool) in 8 threads concurrently: submitjob.sh –b VAL-SA –c 8 –L –e CLUSTERED |
-n <email address> | Send a notification email when a batch process has ended to <email address>. See Sending Emails at the Conclusion of Batch Processes for more information. |
-p <threadpool name> | Distributed thread pool in which to run the batch process. This option and -L are mutually exclusive. |
-P | Issue console prompts for the standard batch process parameters. When submitting a batch process, a batch code is always required. Either this option or –b may be specified, not both. If –P is specified, the submitter JVM will prompt for the batch code and other run parameters. If a batch-specific properties file exists for the batch code entered at the prompt, it will NOT be used; the only defaults in effect would be the ones specified in submitbatch.properties. |
-Q | Preview of the properties that would be in use for the run without running the application. Specify other options along with this option to show how they would override or substitute the default properties. The information is not logged. |
-R | Do not start a local RMI registry. As far as submitjob is concerned, options –i, -R and –J are only applicable to batch processes submitted in THIN mode, or CLUSTERED mode to the LOCAL thread pool. If property spl.runtime.management.rmi.port is defined as a default property (for example: in the submitbatch.properties file), the batch framework will attempt to start an RMI registry on the given port number. This option can be used to suppress the automatic RMI registry startup. It may be required if an externally started RMI registry is already running. Note that if this option is used, the RMI port number supplied through the –i option is only used for substitution in the JMX Connector URLs. |
-r <run number> | Runs the number of batch process to rerun. |
-s <space name> | Space name for hard partition of workers. Default is MAIN. Used for development only. |
-t <thread number> | Number of individual threads for this submission. Specify 0 to automatically submit all threads. |
-u <user id> | Application user id used for batch process |
-x <name=value,name=value,...> | name=value pairs of INDIVIDUAL soft parameters expected by the batch program. Value portion may be enclosed in quotes. These parameters will be merged with any existing (defaulted) soft parameters. This option and -X are mutually exclusive. |
-X <name=value,name=value,...> | name=value pairs of ALL soft parameters expected by the batch program. Value portion may be enclosed in quotes. These parameters will replace all existing (defaulted) soft parameters. This option and -x are mutually exclusive. |
-z <jvmoptions> | Java options to use for submitter. |
This utility returns two return codes: Zero (0) - The job or thread was successful. Non-Zero - The job or thread was NOT successful. |
-d <Y|N> | Whether the node is acting as a scheduler daemon. Specify N for No and Y for Yes. If you are already using a scheduler daemon in the online system or are not using online submission, then set this to N. Default is N. |
-e < THIN| CLUSTERED> | Execution mode for this threadpool. If CLUSTERED is the threadpool will join the cluster specified in the threadpoolworker.properties file. |
-h | Shows command line help. Lists the available options and their descriptions. It is formatted for a 121-column width display. The information is not logged. |
-i <RMI Port> | Overrides port number for JMX. If specified with -R, this number will be used only to substitute applicable URL {port} references. This option will not add any new RMI/JMX properties - it can only be used to override existing ones. This option specifies the port number to: Use this command when the framework starts an RMI Registry and Substitute in all JMX Connector URL {port} references. |
-J | Do not start JMX monitoring. For each property prefixed by spl.runtime.management.connector.url that is defined with the default set of properties (for example: in the threadpoolworker.properties file), the framework will start a JMX Connector for the specified URL. This activates JMX monitoring inside the worker node so that a client JMX console can be used to monitor and manage active threads. If this option is specified, the framework will not start any JMX connectors. |
-l2 <READ_ONLY|READ_WRITE|OFF> | Enables or disables batch caching. Default: READ_WRITE, OFF and READ_ONLY are reserved for specific processes. The value of OFF is used for selected utilities such as Content Migration Assistant and deployment utilities. |
-p <name=value,name=value,…> | Thread pools offered by this worker node. Consists of one or more name=value pairs, where "name" is the name of the pool and "value" the number of threads offered in the pool. For example, DEFAULT=5,ONLINE=3 |
-Q | Preview of the properties that would be active for this run. Used for testing. Preview of the properties that would be in use for the run without running the application. Specify other options along with this option to show how they would merge with, override or substitute the default properties. The information is not logged. |
-R | Do not start a local RMI registry. If property spl.runtime.management.rmi.port is defined as a default property (for example: in the threadpoolworker.properties file), the batch framework will attempt to start an RMI registry on the given port number. This option can be used to suppress the automatic RMI registry startup. It may be required if an externally started RMI registry is already running. Note: If this option is used, the RMI port number supplied through the –i option is only used for substitution in the JMX Connector URLs. |
-s <space name> | Space name for "hard partition" of workers. Default is MAIN. Reserved for internal use only. |
-sf <file-path> | Generates or appends command to a script. Reserved for system use. |
-s1 <line to add to script> | Adds line to script reference. Reserved for system use. |
-z <jvm options> | Adds or override JVM options for threadpool. |