I hope you are doing well,here i am also previously faced same problem.I think you are following the below link
here my add point is:you can configure BAM details in following configuration file also its work same .
in linux %fmw_home%/Oracle_SOA1/bam/config/BAMICommandConfig.xml
in windows Middleware\Oracle_SOA1\bam\config\BAMICommandConfig.xml
here you can set perameters and usernasme and password and you can run the bam icommand from <HOME>\Oracle_SOA1\bam\bin\icommand.bat or icommand.sh
<?xml version="1.0" encoding="UTF-8"?><BAMICommand>
<!-- The number of milliseconds to pause between retry attempts when
retrying a retryable BAM EJB method call which failed due to a retryable
exception. The default is at 10 second intervals.-->
<!-- The number of retries to be attempted when retrying a retryable BAM
EJB method call which failed due to a retryable exception. The default is
180 times (this will retry for 30 minutes with a 10 second interval).-->
<!-- Additional User specified retryable exceptions. This is a comma
separated list of exception class names to be treated as retryable. This
configuration parameter allows the customer to add any new or unexpected
exceptions to the list as it is impossible to predict all the possible
exceptions that may be encountered.-->
for password you can give plain text after run its encrypt.
you need to add/modify bold one parameter according to your configuration.here the beauty is you can access remote BAM server to by providing same details of remote server.
once you can configure you can user and export and import easily.
I am trying to run the following. But are getting errors. Can somebody please help?
[oracle@ndc2soad02 bin]$ ./icommand.bat
./icommand.bat: line 1: @ECHO: command not found
./icommand.bat: line 2: REM: command not found
./icommand.bat: line 3: syntax error near unexpected token `('
./icommand.bat: line 3: `REM Copyright (c) 2006, 2010, Oracle and/or its affiliates. '