Database Reference
In-Depth Information
Optionally, you can configure default security credentials used by ICommand so
that it will not prompt you to enter a username and password when executed.
To configure the default username and password, you need to set the
ICom-
mand_Default_User_Name
and
ICommand_Default_Password
proper-
ties in
BAMICommandConfig.xml
. Your ICommand properties should be set
to something like what is shown here:
<ADCServerName>localhost</ADCServerName>
<ADCServerPort>9001</ADCServerPort>
<ICommand_Default_User_Name>user</ICommand_Default_User_Name>
<ICommand_Default_Password>password</ICommand_Default_Password>
Running ICommand
To run ICommand, enter the following command in a terminal or command
prompt. You need to enter the full file name path for the export file, unless the
file is not located in the current directory where ICommand is being run:
•
On Windows:
%MW_HOME%\Oracle_SOA1\bam\bin\icommand.bat
cmd export file <FILE_NAME>
•
On
Unix/Linux:
%MW_HOME/Oracle_SOA1/bam/bin/icommand
cmd
export file <FILE_NAME>
You should now be able to import the same data objects and their contents by
using the ICommand import utility. This time make sure that the
BAMICom-
mandConfig.xml
file has the ADC server host and port values of the server
where data needs to be imported:
•
On Windows:
%MW_HOME%\Oracle_SOA1\bam\bin\icommand.bat
cmd import file <FILE_NAME>
•
On
Unix/Linux:
$MW_HOME/Oracle_SOA1/bam/bin/icommand
cmd
import file <FILE_NAME>