Oracle® Application Server Integration InterConnect Adapter for FTP Installation and User's Guide
10g Release 2 (10.1.2) B14073-02 |
|
Previous |
Next |
This chapter describes how to install and configure the FTP adapter. It contains the following topics:
The FTP adapter must be installed in an existing Oracle home Middle Tier for OracleAS Integration InterConnect 10g Release 2 (10.1.2).
This section contains the following topics:
Refer to the following guides before installing the FTP adapter:
Oracle Application Server Installation Guidefor information about Oracle Universal Installer startup.
Oracle Application Server Integration InterConnect Installation Guide for information about software, hardware, and system requirements for OracleAS Integration InterConnect.
Note: OracleAS Integration InterConnect Hub is installable through the OracleAS Integration InterConnect Hub installation type. You must install the OracleAS Integration InterConnect Hub before proceeding with the FTP adapter installation. |
To install the FTP adapter:
In the Available Product Components page of the OracleAS Integration InterConnect installation, select OracleAS Integration InterConnect Adapter for FTP 10.1.2.0.2 and click Next.
The Set Oracle Wallet Password page is displayed. Enter and confirm the password, which will be used to manage the OracleAS Integration InterConnect installation. Click Next.
Go to step 3 if installing the FTP adapter in an OracleAS Middle Tier Oracle home that does not have an InterConnect component already installed. Ensure that the OracleAS Integration InterConnect hub has been installed.
Go to step 4 if installing the FTP adapter in an OracleAS Middle Tier Oracle home that has an existing InterConnect component. Ensure that it is a home directory to an OracleAS Integration InterConnect component.
Note: All passwords are stored in Oracle Wallet. Refer to AppendixA, "How do I secure my passwords?" in Appendix A, "Frequently Asked Questions" for more details on how to modify and retrieve the password by using Oracle Wallet. |
The Specify Hub Database Connection page is displayed. Enter information in the following fields:
Host Name: The host name of the computer where the hub database is installed.
Port Number: The TNS listener port for the hub database.
Database SID: The System Identifier (SID) for the hub database.
Password: The password for the hub database user.
Click Next. The Specify FTP adapter Name page is displayed.
Enter the application to be defined. Blank spaces are not permitted. The default value is myFTPApp
.
Note: You can change the application name in iStudio after installation. In such case, you need to specify the password corresponding to new application name in Oracle Wallet.For more informtion, refer to the following sections in Appendix A, "Frequently Asked Questions": |
Click Next. The Specify FTP adapter Usage page is displayed.
Select one of the following options and go to the step specified.
If You Select... | Then Click Next and Go to Step... |
---|---|
Configure for both sending and receiving messages | 8
|
Configure for sending messages ONLY | 8
|
Configure for receiving messages ONLY | 10
|
Note: You can change the values for these selections later by editing the parameter settings in theadapter.ini file.
|
Enter the following information in the Configure Sending Endpoint Information page:
Username: The user name for the FTP server.
Password: The user password for the FTP server.
FTP Mode: The mode of access used to send information to the specified URL. Select either binary or ASCII.
URL: The URL to be used for sending information. Enter one of the following:
For sending to an FTP server: ftp://host name/path
For sending to a local file system: file://localhost/path
Note: If the sender endpoint is a local file system, then the user name, password, and file type are not required. |
Click Next. The installation page that is displayed next is based on the selection you made in Step 7.
Enter the following information in the Configure Receiving Endpoint Information page:
Username: The user name account of the FTP server from which the Oracle Application Server Integration InterConnect Hub receives messages.
Password: The password for the user name account.
FTP Mode: The mode of access used to receive information from the specified URL. Select either binary or ASCII.
URL: The FTP URL to be used for receiving information. Enter one of the following:
For sending to an FTP server: ftp://host name/path
For sending to a local file system: file://localhost/path
Note: If the sender endpoint is a local file system, then the user name, password, and file type are not required. |
Click Next. The Summary page is displayed.
Click Install to install the FTP adapter. The following table lists the platform and the directory in which the FTP adapter will be installed.:
Platform | Directory |
---|---|
UNIX | ORACLE_HOME /integration/interconnect/adapters/ Application
|
Windows | ORACLE_HOME \integration\interconnect\adapters\ Application
|
You defined the value of Application
in Step 5.
Click Exit on the End of Installation page to exit the FTP adapter installation.
The FTP adapter installation creates the adapter.ini
file that consists of configuration parameters read by the FTP adapter at startup. These configuration parameter settings are suitable for most FTP application environments. To customize the adapter.ini
file parameter settings for the FTP application, refer to the following sections:
Payload data is the data sent between applications. To change the payload data type from the default of XML to the Data Definition Description Language (D3L), edit the following parameters in the adapter.ini
file.
Set the ota.type
parameter to the payload type D3L.
ota.type=D3L
Copy the D3L XML files associated with the FTP application to the directory in which the adapter.ini
file is located.
Set the ota.d3ls
parameter to specify the D3L files associated with the FTP application.
ota.d3ls=person1.xml,person2.xml
To customize the sending endpoints (destinations) for messages, edit the following parameters in the adapter.ini
file.
Edit the ota.send.endpoint
parameter, or leave it blank if it acts only as a receiver. For example:
For a remote file system. ota.send.endpoint
=ftp://foo.com/test
For a local file system. ota.send.endpoint=file://localhost/test
If the endpoint is a local file system, then leave the following parameters blank:
file.sender.file_type
file.sender.password
file.sender.proxy_host
file.sender.proxy_port
Set the file.sender.file_type
parameter to the file type used in FTP. For example:
file.sender.file_type=BINARY
Update the file.sender.user
and file.sender.password
parameters with the information of the FTP account that serves as the sending endpoint.
If a proxy host is needed, then enter the values for the file.sender.proxy_host
and file.sender.proxy_port
parameters.
Set the file.sender.staging_dir
parameter. This parameter prevents partial files from being picked up by external applications.
Set the file.sender.file_name_rule
parameter. This parameter controls how the adapter generates the file name.
If you need to modify the contents of an outgoing message before it is sent by the transport layer, then you can customize it by implementing the FileSenderCustomizer
interface. You need to set the file.sender.customize_class
parameter to the name of the customizing class.
To customize the receiving FTP or file endpoints for messages, edit the following parameters in the adapter.ini
file.
Edit the ota.receive.endpoint
parameter, or leave it blank if the adapter acts only as a sender. For example:
For a remote file system: ota.receive.endpoint=ftp://foo.com/test
For a local file system: ota.receive.endpoint=ftp://localhost/test
If the endpoint is a local file system, then leave the following parameter blank:
file.receiver.file_type
file.receiver.password
file.receiver.proxy_host
file.receiver.proxy_port
Warning: Do not set the ota.receive.endpoint parameter to a personal file directory because the files in that directory will be consumed and deleted by the FTP adapter after processing. |
Set the file.receiver.file_type
parameter to the file type used in FTP. For example:
file.receiver.file_type=BINARY
Update the file.receiver.user
and file.receiver.password
parameters with the information of the FTP account that serves as the receiving endpoint.
If a proxy host is needed, then enter the required values for the file.receiver.proxy_host
and file.receiver.proxy_port
parameters.
Set the file.exception.exception_dir
parameter to a local file system directory that stores files. For example:
file.receiver.exception_dir=/tmp/error
Set the file.receiver.polling_interval
parameter to the time interval in milliseconds to poll the FTP server or local file system. For example:
file.receiver.polling_interval=2000
Set the file.receiver.max_msgs_retrieved
parameter to the maximum number of messages to retrieve in polling a session. For example:
file.receiver.max_msgs_retrieved=10
If you need to modify the contents of an incoming message before it is processed by the bridge, such as to remove an extra line in a file, then you customize it by implementing the FileSenderCustomizer
interface. You need to set the file.receiver.customize_class
parameter to the name of the customizing class.
To install multiple instances of the FTP adapter in same Oracle home, use the copyAdapter
script located in the ORACLE_HOME
/integration/interconnect/bin
directory.
Usage: copyAdapter
app1 app2
For example, you have one instance of FTP adapter with name myFTPApp
installed on a computer. To install another instance of the FTP adapter with name myFTPApp1
in the same Oracle home, use the following command:
copyAdapter myFTPApp myFTPApp1
The copyAdapter
script is copied to the following bin
directory only during Hub installation:
UNIX: ORACLE_HOME/integration/interconnect/bin
Windows: ORACLE_HOME\integration\interconnect\bin
If you need to use this script to create multiple adapters on a spoke computer, then copy the script to the bin
directory on the spoke computer, and edit the script to reflect the new Oracle home.
After running the copyAdapter
script, If you want to manage or monitor the newly installed adapter through Oracle Enterprise Manager 10g Application Server Control Console, then you need to modify the opmn.xml
file by adding information about the new instance. For example, you have created a new instance of the FTP adapter myFTPApp1
by using the copyAdapter
script. To manage the myFTPApp1
adapter through Enterprise Manager, perform the following:
Navigate to the MiddleTier
\bin
directory and run the following command to stop the Enterprise Manager:
emctl stop iasconsole
Next, specify the information about this new instance in the opmn.xml
file located in the ORACLEMIDDLETIER_HOME
/opmn/conf
directory as follows:
<process-type id="myFTPApp1" module-id="adapter" working-dir="$ORACLE_ HOME/integration/interconnect/adapters/myFTPApp1" status="enabled"> <start timeout="600" retry="2"/> <stop timeout="120"/> <port id="icadapter_dmsport_range" range="15701-15800"/> <process-set id="myFTPApp1" restart-on-death="true" numprocs="1"> <module-data> <category id="start-parameters"> <data id="java-parameters" value="-Xms8M"/> <data id="class-name" value="oracle.oai.agent.service.AgentService"/> </category> <category id="stop-parameters"> <data id="java-parameters" value="-mx64m"/> <data id="class-name" value="oracle.oai.agent.proxy.ShutdownAgent"/> <data id="application-parameters" value="persistence/Agent.ior"/> </category> </module-data> </process-set> </process-type>
The opmn.xml
file would appear like this:
<process-type id="myFTPApp" module-id="adapter" working-dir="$ORACLE _HOME/integration/interconnect/adapters/myFTPApp" status="enabled"> <start timeout="600" retry="2"/> <stop timeout="120"/> <port id="icadapter_dmsport_range" range="15701-15800"/> <process-set id="myFTPApp" restart-on-death="true" numprocs="1"> <module-data> <category id="start-parameters"> <data id="java-parameters" value="-Xms8M"/> <data id="class-name" value="oracle.oai.agent.service.AgentService"/> </category> <category id="stop-parameters"> <data id="java-parameters" value="-mx64m"/> <data id="class-name" value="oracle.oai.agent.proxy.ShutdownAgent"/> <data id="application-parameters" value="persistence/Agent.ior"/> </category> </module-data> </process-set> </process-type> <process-type id="myFTPApp1" module-id="adapter" working-dir="$ORACLE _HOME/integration/interconnect/adapters/myFTPApp1" status="enabled"> <start timeout="600" retry="2"/> <stop timeout="120"/> <port id="icadapter_dmsport_range" range="15701-15800"/> <process-set id="myFTPApp1" restart-on-death="true" numprocs="1"> <module-data> <category id="start-parameters"> <data id="java-parameters" value="-Xms8M"/> <data id="class-name" value="oracle.oai.agent.service.AgentService"/> </category> <category id="stop-parameters"> <data id="java-parameters" value="-mx64m"/> <data id="class-name" value="oracle.oai.agent.proxy.ShutdownAgent"/> <data id="application-parameters" value="persistence/Agent.ior"/> </category> </module-data> </process-set> </process-type>
Save the opmn.xml
file.
Navigate to the MiddleTier
\opmn\bin
directory and run the following command to reload the OPMN:
opmnctl reload
You can start the myFTPApp1
adapter by using the following command
opmnctl startproc ias-component="InterConnect" process-type="myFTPApp1"
Navigate to the MiddleTier
\bin
directory and run the following command to start the Enterprise Manager:
emctl start iasconsole
Login to the Oracle Enterprise Manager 10g Application Server Control Console to view and manage the newly installed or copied adapter. For information about how to use Oracle Enterprise Manager 10g Application Server Control Console , refer to the Oracle Application Server Integration InterConnect User's Guide
Note: While installing multiple adapters in the same computer, the copyadapter script does not create entries for the new adapter's password in the Oracle Wallet. You need to manually create a password for this new adapter using the Oracle Wallet Manager. To store the password in Oracle Wallet, use the following format:ApplicationName/password The number of entries is dependent on the type of adapter. For example, Database Adapter needs two entries whereas AQ Adapter needs only one entry. For more information about how to manage your passwords in Oracle Wallet, refer to AppendixA, "How do I secure my passwords?"in Appendix A, "Frequently Asked Questions" |
You can configure the FTP adapter after installation. The following tables describe the location and details of the configuration files.
Table 2-1 describes the location where the adapter is installed.
Table 2-1 FTP Adapter Directory
Platform | Directory |
---|---|
UNIX |
|
Windows |
|
Table 2-2 describes the executable files of the FTP adapter.
Table 2-2 FTP Executable Files
File | Description |
---|---|
Does not use parameters; starts the adapter. |
|
|
Does not use parameters; starts the adapter. |
|
Does not use parameters; stops the adapter. |
|
Does not use parameters; stops the adapter. |
Table 2-3 describes the FTP adapter configuration files.
Table 2-3 FTP Configuration Files
File | Description |
---|---|
|
Consists of all the initialization parameters that the adapter reads at startup. |
|
Consists of all the initialization parameters that the adapter reads at startup. |
Table 2-4 describes the directories used by the FTP adapter.
Table 2-4 FTP Directories
Directory | Description |
---|---|
The adapter activity is logged in subdirectories of the |
|
The messages are made available in this directory. Do not edit this directory or its files. |
Adapters do not have integration logic. The FTP adapter has a generic transformation engine that uses metadata from the repository as run-time instructions to perform transformations. The application parameter defines the capabilities of an adapter, such as the messages to be published and subscribed, and the transformations to be performed. The application parameter allows the adapter to retrieve only the relevant metadata from the repository. The application parameter must match the corresponding application name that will be defined in iStudio under the Applications folder.
If you use prepackaged metadata, then import it into the repository and start iStudio to find the corresponding application under the Applications folder. You can use this as the application name for the adapter you are installing.
The following .ini
files are used to configure the FTP adapter:
The FTP adapter connects to the hub database using parameters in the hub.ini
file located in the hub
directory. Table 2-5 gives a description and an example for each parameter.
Table 2-5 hub.ini Parameters
Parameter | Description | Example |
---|---|---|
|
The name of the computer hosting the hub database. There is no default value. The value is set during installation. |
|
|
The SID of the hub database. There is no default value. The value is set during installation. |
|
|
The TNS listener port number for the hub database instance. There is no default value. The value is set during installation. |
|
|
The name of the hub database schema (or user name). The default value is |
|
|
The name of the repository that communicates with the adapter. The default value is |
|
Oracle Real Application Clusters hub.ini Parameters
When a hub is installed on an Oracle Real Application Clusters database, the parameters listed in Table 2-6 represent information about additional nodes used for connection and configuration. These parameters are in addition to the default parameters for the primary node. In Table 2-6, x
represents the node number which can range from 2 to the total number of nodes in cluster. For example, if the cluster setup contains 4 nodes, then x
can be a value between 2 and 4.
Table 2-6 Oracle Real Application Clusters hub.ini Parameters
Parameter | Description | Example |
---|---|---|
|
The host where the Real Application Clusters database is installed. |
|
|
The instance on the respective node. |
|
|
The number of nodes in a cluster. |
|
|
The port where the TNS listener is listening. |
|
The agent component of the FTP adapter reads the adapter.ini
file at run time to access FTP adapter parameter configuration information. Table 2-7 gives a description and an example for each parameter.
Table 2-7 adapter.ini Parameters
Parameter | Description | Example |
---|---|---|
|
Specifies the port through which the adapter can be accessed through firewalls. Possible value: A valid port number Default value: None |
|
|
Specifies whether to delete the cached metadata during startup. If any agent caching method is enabled, then metadata from the repository is cached locally on the file system. Set the parameter to Possible values: Default value: Note: After changing metadata or DVM tables for the adapter in iStudio, you must delete the cache to guarantee access to new metadata or table information. |
|
|
Specifies the Domain Value Mapping (DVM) table caching algorithm. Possible values:
Default value: |
|
|
Specifies the amount of logging necessary. Possible values:
Default value: 1 |
|
|
Specifies the lookup table caching algorithm. Possible values:
Default value: |
|
|
Specifies the maximum number of application object metadata to cache. Possible value: An integer greater than or equal to Default value: |
|
|
Specifies the maximum number of common object metadata to cache. Possible value: An integer greater than or equal to Default value: |
|
|
Specifies the maximum number of DVM tables to cache. Possible value: An integer greater than or equal to Default value: |
|
|
Specifies the maximum number of lookup tables to cache. Possible value: Any integer greater than or equal to Default value: |
|
|
Specifies the maximum number of message metadata (publish/subscribe and invoke/implement) to cache. Possible value: An integer greater than or equal to Default value: |
|
|
Specifies the maximum size to which internal OracleAS Integration InterConnect message queues can grow. Possible value: An integer greater than or equal to Default value: |
|
|
Specifies conditions for message selection when the adapter registers its subscription with the hub. Possible value: A valid Oracle Advanced Queue message selector string (such as Default value: None |
|
|
Specifies the metadata caching algorithm. Possible values:
Default value: |
|
|
Specifies how often to run the persistence cleaner thread in milliseconds. Possible value: An integer greater than or equal to Default value: |
|
|
Specifies the maximum size of internal OracleAS Integration InterConnect persistence queues. Possible value: An integer greater than or equal to Default value: |
|
|
Specifies how often the persistence thread retries when it fails to send an OracleAS Integration InterConnect message. Possible value: An integer greater than or equal to Default value: |
|
|
Specifies whether to set the pipeline for messages from the hub to the bridge. If you set the pipeline to Possible value: Default value: |
|
|
Specifies whether to set the pipeline for messages from the bridge to the hub. If you set the pipeline to Possible value: Default value: |
|
|
Specifies the application instance to which the reply must be sent. This parameter is used if multiple adapter instances exist for the given application and given partition. Possible value: A string built using the application name ( Default value: None |
If |
|
Specifies the subscriber name used when multiple adapter instances are used for the given application and given partition. This parameter is optional if only one instance is running. Possible value: The application name ( Default value: None |
If |
|
Specifies the subscriber name used when this adapter registers its subscription. Possible value: A valid Oracle Advanced Queue subscriber name Default value: None |
|
|
Specifies if the throughput measurement is enabled. Set this parameter to Default value: |
|
|
Specifies if message tracking is enabled. Set this parameter to Default value: |
|
|
Specifies whether to use a custom DTD for the common view message when handing it to the hub. By default, adapters use a specific OracleAS Integration InterConnect DTD for all messages sent to the hub. Set this parameter to Default value: None |
|
|
Specifies the name of the application to which this adapter connects. This must match the name specified in iStudio while creating metadata. Possible value: An alphanumeric string Default value: None |
|
|
Specifies the character encoding for published messages. The adapter uses this parameter to generate encoding information for the encoding tag of transformed OracleAS Integration InterConnect messages. OracleAS Integration InterConnect represents messages internally as XML documents. Possible value: A valid character encoding Default value: When there is no existing encoding in the subscribed message, this parameter will be used to explicitly specify the encoding of the published message. This parameter will be ignored when the encoding already exists in the subscribed message. |
|
|
Specify the base URL for loading external enitites and DTDs. This specifies to the XML parser to resolve the external entities in the instance document using the given URL.Possible value: A URLDefault value: The URL of the current user directory |
|
|
Specifies the instance number to which this adapter corresponds. Specify a value only if you have multiple adapter instances for the given application with the given partition. Possible value: An integer greater than or equal to Default value: None |
|
|
Specifies the ISO country code. The codes are defined by ISO-3166. Possible value: A valid code. A full list of the codes is available at Default value: Note: This parameter specifies date format and is applicable only for the date format. |
|
|
Specifies the format for a date field expressed as a string. Possible value: A valid date format pattern as shown in Table 2-8 for the definitions of the format characters. Default value: |
Date format pattern
Multiple date formats can be specified as
|
|
Specifies the ISO language code. The codes are defined by ISO-639. Possible value: A valid code. A full list of these codes is available at Default value: Note: This parameter specifies date format and is applicable only for the date format. |
|
|
Specifies the partition this adapter handles as specified in iStudio. Possible value: An alphanumeric string Default value: None |
|
|
Specifies the entry class for the Windows service. Possible value: Default value: None |
|
|
Specifies the class path used by the adapter JVM. If a custom adapter is developed and the adapter is to pick up any additional jar files, then add the files to the existing set of jar files. Possible value: A valid Default value: None This parameter is for only Microsoft Windows. |
|
|
Specifies the Dynamic Link Library (DLL) that the adapter JVM should use. Possible value: A valid Default value: This parameter is only for Microsoft Windows. |
|
|
Specifies the JDK version that the adapter JVM should use. Possible value: A valid JDK version number Default value: 1.4 This parameter is only for Microsoft Windows. |
|
|
Specifies the maximum heap size for the adapter JVM. Possible value: A valid JVM heap size Default value: This parameter is only for Microsoft Windows. |
|
|
Specifies the maximum size to which the JVM stack can grow. Possible value: A valid JVM maximum stack size Default value: Default value for the JVM This parameter is only for Microsoft Windows. |
|
|
Specifies the maximum size to which the JVM native stack can grow. Possible value: A valid JVM maximum native stack size Default value: Default value for the JVM This parameter is only for Microsoft Windows. |
|
|
Specifies the minimum heap size for the adapter JVM. Possible value: A valid JVM heap size Default value: This parameter is only for Microsoft Windows. |
|
|
Specifies the number of Possible value: The number of Default value: None This parameter is only for Microsoft Windows. |
|
|
Specifies the environment variable Possible value: The valid Default value: None This parameter is only for Microsoft Windows. |
|
|
Specifies any additional arguments to the JVM. For example, to retrieve line numbers in any stack traces, set Possible value: A valid JVM arguments Default value: None This parameter is only for Microsoft Windows. |
|
Table 2-8 shows the reserved characters used to specify the value of the nls_date_format
parameter. Use these characters to define date formats.
Table 2-8 Reserved Characters for the nls_date_format Parameter
Letter | Description | Example |
---|---|---|
G |
Era designator |
|
y |
Year |
|
M |
Month in year |
|
w |
Week in year |
|
W |
Week in month |
|
D |
Day in year |
|
d |
Day in month |
|
F |
Day of week in month |
|
E |
Day in week |
|
a |
a.m./p.m. marker |
|
H |
Hour in day (0-23) |
|
k |
Hour in day (1-24) |
|
K |
Hour in a.m./p.m. (0-11) |
|
h |
Hour in a.m./p.m. (1-12) |
|
m |
Minute in hour |
|
s |
Second in minute |
|
S |
Millisecond |
|
FTP Adapter-Specific Parameters
Table 2-9 lists the parameters specific to the FTP adapter. With the exception of the bridge_class
parameter, all parameters can be edited after installation.
Table 2-9 FTP Adapter-Specific Parameters
Parameter | Description | Example |
---|---|---|
Specifies the entry class for the FTP adapter. A value must be specified and cannot be modified later. Possible value: Default value: None |
|
|
Defines the maximum number of messages to be retrieved in each session. Default value: |
|
|
Defines the time interval to poll the message source, in milliseconds. Default value: 60000 |
|
|
Specifies the name of the computer that servers as the proxy server for the inbound FTP server. Possible value: A correct host name Default value: None |
|
|
Specifies whether the inbound directory has read-only or read-write privileges. When the value of this parameter is Possible value: Default value: |
|
|
Specifies whether files should be retrieved in the same order in which they were created. If the value of Possible value: Default value: |
|
|
Specifies how the FTP adapter should retrieve the last-modified time from the files. Possible value: where
Default value: |
|
|
Specifies the string format of the dates returned from the specified source where source is the value specified in the Note: If there is more than one format, then all formats should be specified. Possible value:
Default value: The Sun Solaris masks |
Sun Solaris FTP:
where
WAR-FTP:
|
|
Specifies the time offset to correct the time returned by the FTP server. Possible value: A valid time offset in milliseconds Default value: 0 |
|
|
Specifies the duration in milliseconds for which a file should remain in the inbound directory before it is retrieved. This ensures that only completely written files are retrieved. Possible value: A valid duration in miliseconds Default value: |
|
|
Specifies the FTP user name for the inbound FTP server. Possible value: A valid FTP user name Default value: None |
|
|
Specifies the class name for customization used by the file sender. Default value: |
|
|
Specifies the rule for generating file names used by the file sender. Default value: |
|
|
Specifies the name of the computer that serves as the proxy server for the outbound FTP server. Possible value: A correct host name Default value: None |
|
|
Specifies the port number of the proxy server for the outbound FTP server. Possible value: A valid port number Default value: None |
|
|
Specifies the staging directory name for the file sender. Default value: None |
|
|
Indicates the file types. Possible value: ASCII or binary Default value: binary |
|
|
Specifies the FTP user name for the outbound FTP server. Possible value: A valid FTP user name Default value: None |
|
|
Specifies the list of data definition description language (D3L) XML files used by the bridge. Each business event handled by the bridge must have its own D3L XML file. Whenever a new D3L XML file is imported in iStudio for use by an application using the FTP adapter, the parameter must be updated and the FTP adapter restarted. Default value: None |
|
|
Defines the FTP receiving endpoint URL. The URL is written as follows: Possible value: Default value: None On Windows platforms, if you have a file system endpoint, then you can use the drive letter and directory name as part of the endpoint URL. |
On Windows:
|
|
Defines the FTP sending endpoint URL. The URL is written as follows: Possible value: Default value: None Note: Do not set the |
|
|
|
Specifies the format in which you want to define the time stamp. If you don't want to define the Possible value: The format options are identical to Default value: None |
|
|
Specifies the country code. If Possible value: A valid ISO country code as mentioned in Default value: None |
|
|
Specifies the language code. If Possible value: A valid ISO language code as mentioned in Default value: None |
|
|
Defines the type of payload this adapter handles. Possible values: Default value: None |
|
|
Specifies a URL which represents either an FTP directory or a file location. An FTP URL can be specified for the exception directory only if the receiving endpoint is also an FTP URL and the host name in the URL is the same. When a processing exception occurs, the host name, user name, and password of the receiving endpoint will be used to log on to the FTP server to store the messages that are not processed successfully. Ensure that this directory exists on the FTP server (or the local file system if file URL is used) and is writable by the FTP adapter process. Possible value: A URL which represents either an FTP directory or a file location Default value: None |
or
|
|
Specifies the port number of the proxy server for the inbound FTP server. Possible value: A valid port number Default value: None |
|
|
Specifies the class name for customization used by the file receiver. Default value: |
|
To uninstall the FTP adapter, perform the following:
Navigate to the MiddleTier
\opmn\bin
directory.
Run the following command to check the adapter status.
opmnctl status
If the FTP adapter instance that you want to remove is running, stop it by using the the following command:
opmnctl stopproc ias-component="InterConnect" process-type="myFTPAPP"
where myFTPAPP
is the name of the adapter instance.
Navigate to the MiddleTier
\bin
directory and run the following command to stop the Enterprise Manager:
emctl stop iasconsole
Carefully, remove the adapter process-type entry from the opmn.xml
file located in the MiddleTier
\opmn\conf
directory. For example, to remove an FTP adapter instance myFTPApp1
, delete the following information specific to the adapter instance:
<process-type id="myFTPApp1" module-id="adapter" working-dir="$ORACLE_ HOME/integration/interconnect/adapters/myFTPApp1" status="enabled"> <start timeout="600" retry="2"/> <stop timeout="120"/> <port id="icadapter_dmsport_range" range="15701-15800"/> <process-set id="myFTPApp1" restart-on-death="true" numprocs="1"> <module-data> <category id="start-parameters"> <data id="java-parameters" value="-Xms8M"/> <data id="class-name" value="oracle.oai.agent.service.AgentService"/> </category> <category id="stop-parameters"> <data id="java-parameters" value="-mx64m"/> <data id="class-name" value="oracle.oai.agent.proxy.ShutdownAgent"/> <data id="application-parameters" value="persistence/Agent.ior"/> </category> </module-data> </process-set> </process-type>
Save the opmn.xml
file.
Navigate to the MiddleTier
\opmn\bin
directory and run the following command to reload the OPMN:
opmnctl reload
Navigate to the ORACLE_HOME
\integration\interconnect\adapters
directory and delete the folder that was created for the removed adapter instance.
Navigate to the MiddleTier
\bin
directory and run the following command to start the Enterprise Manager:
emctl start iasconsole