Skip Headers
Oracle® Application Server Adapter for J.D. Edwards OneWorld User's Guide
10g Release 2 (10.1.2)
Part No. B14059-01
  Go To Documentation Library
Home
Go To Product List
Solution Area
Go To Table Of Contents
Contents
Go To Index
Index

Previous
Previous
Next
Next
 

2 Adapter Configuration Using Oracle Application Explorer

This chapter describes how to use Application Explorer to define a target to connect to a J.D. Edwards OneWorld system, view system objects, and create XML schemas and Web services. This chapter also explains how to configure an event adapter.

This chapter discusses the following topics:

Starting Application Explorer

The server must be started where Application Explorer is deployed.

To start Application Explorer:

  1. Ensure the server is started where Application Explorer is deployed.

  2. On Windows, invoke the iaexplorer script, iaexplorer.exe, found under OracleAS_home\adapters\application\tools or on UNIX invoke the iwae script, iwae.sh, found under OracleAS_home/adapters/application/tools.

OracleAS_home

Is the directory where the Oracle Application Server is installed.

Application Explorer opens. You are ready to define new targets to your Enterprise Information System (EIS).

Configuring Settings for BSE or JCA

Before a repository project can be created, you must configure OracleAS Adapter Business Services Engine (BSE). You need not configure the Connector for JCA because the ra.xml file is configured automatically during installation.

Configuring the OracleAS Adapter Business Services Engine

After the OracleAS Adapter Business Services Engine (BSE) is deployed to Oracle Application Server, you can configure it through the BSE configuration page.

To configure BSE:

  1. Open the following page in your browser:

    http://hostname:port/ibse
    
hostname

Is the hostname of the Oracle Application Server.

port

Is the HTTP port for the Oracle Application Server.

For example,

http://localhost:7777/ibse

Note:

The first time you access this page, it may take time to load.

  1. When prompted, log on.

    When first installed, the user ID and the password are:

    • User name: iway

    • Password: iway

The BSE configuration page opens.

Business Services Engine configuration page.
Description of the illustration bse_config.gif

  1. Ensure the Adapter Lib Directory parameter specifies the path to the lib directory, for example:

    OracleAS_home\adapters\application\lib
    

After you specify the path, adapters in the lib directory are available to BSE.

  1. For security purposes, type a new password in the Admin Password field.


Note:

The Repository URL field specifies where the file system repository is located. To use a database repository, you must enter the repository connection information. For the initial verification, use a file system repository. See "Configuring an Oracle Repository" for information on switching to a database repository.

  1. Click Save.

Configuring BSE System Settings

To configure BSE system settings:

  1. Open the BSE configuration page by entering the following URL:

    http://hostname:port/ibse/IBSEConfig
    
hostname

Is the machine where BSE is installed.

port

Is the port number on which BSE is listening.


Note:

The server to which BSE is deployed must be running.

The BSE configuration page opens.

System settings pane
Description of the illustration system.gif

  1. Configure the system settings according to the information in the following table.

    1. Parameter Description
      Language Specify your required language.
      Adapter Lib Directory Type the full path to the directory where the adapter jar files reside
      Encoding Specify the default encoding from one of the following options:

      UTF-8

      EBCDIC-CP-US

      ISO-88859-1

      Shift JIS

      UNICODE

      Debug Level Specify the debug level from one of the following options:

      None

      Fatal

      Error

      Warning

      Info

      Debug

      Number of Async. Processors Select the number of asynchronous processors.

Figure 2-1 shows the Security pane of the BSE configuration page.

Figure 2-1 BSE Security Pane

Security settings pane
Description of the illustration security.gif

  1. Configure the security settings according to the information in the following table.

Parameter Description
Admin User Provide a BSE administrator ID.
Admin Password Type the password associated with the BSE administrator ID.
Policy Select the check box to enable policy security.

Figure 2-2 shows the Repository pane of the BSE configuration page.

Figure 2-2 BSE Repository Pane

iBSE repository settings
Description of the illustration repository.gif

BSE requires a repository to store transactions and metadata required for the delivery of Web services. For more information, see "Configuring a File System Repository" and "Configuring an Oracle Repository".

  1. Configure the repository settings according to the information in the following table.

Parameter Description
Repository Type Select one of the following repositories from the list:

Oracle

File

Repository URL Type the URL to use when opening a connection to the database.
Repository Driver Provide the driver class to use when opening a connection to the database (optional).
Repository User Type the user ID to use when opening a connection to the database.
Repository Password Type the password associated with the user ID.
Repository Pooling Select the check box to enable pooling.

  1. Click Save.

Configuring a File System Repository

If you do not have access to a database for the repository, you can store repository information in an XML file on your local machine. However, a file system repository is less secure and efficient than a database repository. When BSE is first installed, it is automatically configured to use a file system repository.

The default location for the repository on Windows is:

OracleAS_home\config\base\ibserepo.xml

On other platforms, use the corresponding location.

If you are using a file system repository, you are not required to configure any additional BSE components.

Configuring an Oracle Repository

To configure an Oracle repository:

  1. Contact your database administrator to obtain an Oracle user ID and password to create the BSE repository.

    This user ID should have rights to create and modify tables as well as the ability to create and execute stored procedures.

  1. Open a command prompt and navigate to the setup directory. Its default location on Windows is:

OracleAS_home\iWay55\etc\setup

For other platforms, see the corresponding location.

This directory contains SQL to create the repository tables in the following file:

iwse.ora
  1. Type the following command:

sqlplus userid/password @database @ iwse.ora

Creating a Repository Project

Before you use Application Explorer with the OracleAS Adapter for J.D. Edwards OneWorld, you must create a repository project. You can create two kinds of repository projects, Web services and JCA, depending on the container to which the adapter is deployed. At design time, the repository is used to store metadata created when using Application Explorer to configure adapter connections, browse EIS objects, configure services, and configure listeners to listen for EIS events. The information in the repository is also referenced at runtime.

A default JCA repository is created for the default ManagedConnectinFactory. The name of this project is jca_sample.

For more information, see "Adapter Features".

Creating a Repository Project for BSE

To create a repository project for BSE using Application Explorer, you must first define a new configuration.

Defining a New Configuration for BSE

To define a new configuration for BSE:

  1. Right-click Configurations and select New.

    The New Configuration dialog box opens.

    iBSE Configuration dialog box
    Description of the illustration ibsenewconfig1.gif

  2. Enter a name for the new configuration (for example, SampleConfig) and click OK.

    The New Configuration dialog box opens.

    Description of ibseconfig.gif follows
    Description of the illustration ibseconfig.gif

  3. From the Service Provider list, select BSE.

  4. In the BSE URL field, accept the default URL or replace it with a different URL with the following format:

    http://hostname:port/
    
hostname

Is the machine where your application server resides.

port

Is the port number where the application server is listening.

  1. Click OK.

    A node representing the new configuration appears beneath the root Configurations node.

    SampleConfig node
    Description of the illustration newconfig1a.gif

Creating a Repository Project for JCA

To create a repository project for JCA using Application Explorer, you must first define a new configuration.

Defining a New Configuration for JCA

To define a new configuration for JCA:

  1. Right-click Configurations and select New.

    The New Configuration dialog box opens.

  2. Enter a name for the new configuration (for example, SampleConfig) and click OK.

    JCA Configuration
    Description of the illustration jcaconfig.gif

  3. From the Service Provider list, select JCA.

  4. In the Home field, enter a path to your JCA configuration directory where the repository, schemas, and other information is stored, for example:

    OracleAS_home\adapters\application
    
    
  5. Click OK.

    A node representing the new configuration appears beneath the root Configurations node.

    SampleConfig node
    Description of the illustration newconfig1a.gif

Connecting to a New Configuration

To connect to a new configuration:

  1. Right-click the configuration to which you want to connect, for example, myConfig.

  2. Select Connect.

Nodes appear for Adapters, Events, and Business Services (also known as Web services).

Configuration node expanded.
Description of the illustration confignodes.gif

Use the Adapters folder to create inbound interaction with J.D. Edwards. For example, you use the J.D. Edwards node in the Adapters folder to configure a service that updates J.D. Edwards.Use the Event Adapters folder to configure listeners that listen for events in J.D. Edwards OneWorld. Use the Business Services folder to test Web services created in the Adapters folder. You can also control security settings for the Web services by using the security features of the Business Services folder.

You are now ready to define new targets to J.D. Edwards OneWorld.

Establishing a Connection (Target) for J.D. Edwards OneWorld

Part of the application definition includes adding a target for the adapter. Setting up the target in Application Explorer requires information which is specific to the adapter.

To browse the available Master Business Functions (MBF), you must first define a target to the system you use. After you define the target, it automatically is saved. You must connect to the system every time you start Application Explorer or after you disconnect.

When you launch Application Explorer, the left pane displays (as nodes) the application systems supported by Application Explorer, based on the adapters that are installed.

Defining a Target to J.D. Edwards OneWorld

To connect to an application system for the first time, you must define a new target.

To define a target:

  1. In the left pane, expand the Adapters node.

    The applications systems supported by Application Explorer appear as nodes based on the adapters that are installed.

  2. Right-click the JDEdwards node and select Add Target.

    The Add Target dialog box opens.

    Add Target Dialog Box
    Description of the illustration add_target.gif

    1. In the Name field, type a descriptive name, for example, JDEConnection.

    2. In the Description field, type a description for the target (optional).

    3. From the Target Type list, select JDE One World.

  3. Click OK.

    The JDE One World dialog box appears.

    1. On the Repository tab, type the path to the GenJava repository.

      This is the location of the Java files created by the GenJava program.


      Note:

      Generating agent schemas requires the GenJava repository. For more information on building the J.D. Edwards OneWorld Master Business Function repository, see the J.D. Edwards Interoperability Guide for OneWorld Xe.

    2. Click the Logon tab and type the appropriate information for your target type based on the information in the following table. Fields with an asterisk are required.

    JD Edwards Logon tab
    Description of the illustration logon_tab.gif

    Parameter Description
    User id* A valid user ID for J.D. Edwards OneWorld.
    User password* The password associated with the user ID.
    JDE environment* The J.D. Edwards OneWorld environment, for example, DU7333. For more information about this parameter, see your J.D. Edwards OneWorld documentation or ask your OneWorld system administrator.
    Application XMLInterop or the application name in J.D. Edwards OneWorld. Optional.
    Server IP address* The name of the server on which J.D. Edwards OneWorld is running. This can be the name of the server, for example, JDEOW, or its IP address, for example, 123.45.67.89.
    Server Port* The port number on which the server is listening, for example, 6009.

  4. Click OK.

    After the extraction finishes, the new target, JDEConnection, appears under the JDEdwards node.

    New target created.
    Description of the illustration jdeconnection.gif

    For information on how to create schemas for the adapter, see "Creating an XML Schema".

Connecting to a Defined J.D. Edwards OneWorld Target

To connect to a target:

  1. Expand the Service Adapters node.

  2. Expand the JDEdwards node.

    JDEConnection node
    Description of the illustration jde_jdeconnection1.gif

  3. Click the target name (for example, JDEConnection) under the JDEdwards node.

    The Connection dialog box opens, populated with values you entered for the connection parameters.

  4. Verify your connection parameters. If required, provide the password.

  5. Right-click the target name and select Connect.

    The x icon disappears, indicating that the node is connected.

    JDEConnection node connected.
    Description of the illustration jde_jdeconnection2.gif

Disconnecting from J.D. Edwards OneWorld

To disconnect from a target:

  1. Expand the Adapters node.

  2. Expand the JDEdwards node.

  3. Right-click the target to which you are connected (for example, JDEConnection), and select Disconnect.

    Disconnecting from JDEdwards drops the connection with JDEdwards, but the node remains. The x icon appears, indicating that the node is disconnected, as shown in Figure 2-3.

    Figure 2-3 JDEdwards Node Disconnected

    JDEConnection disconnected.
    Description of the illustration jde_jdeconnection1.gif

Editing a Target

To edit a target:

  1. In the left pane, ensure the target you wish to edit is disconnected.

  2. Right-click the target and select Edit.

    The Edit pane opens on the right.

  3. Modify the target information.

  4. Click OK.

Deleting a Target to J.D. Edwards OneWorld

You can delete a target, rather than just disconnecting and closing it. When you delete the target, the node disappears from the list of Siebel targets in the left pane of the explorer.

  1. Expand the Adapters node.

  2. Expand the JDEdwards node.

  3. Right-click the target to which you are connected (for example, JDEConnection), and select Delete.

    The node disappears from the list of available connections.

Viewing Application System Objects


See Also:

For more information, see the J.D .Edwards Interoperability Guide Release OneWorld XE.

Creating an XML Schema

To execute a Master Business Function (MBF), the adapter must receive a request document through the J.D. Edwards OneWorld ThinNet API. The agent processes the request and sends an XML response document indicating the result. The Application Explorer creates both the XML request schema and the XML response schema.

Creating a Request and a Response Schema

The following procedure explains how to create request and response schemas for a J.D. Edwards OneWorld business function. Application Explorer enables you to create XML schemas for this function.

  1. Connect to a J.D. Edwards OneWorld target as described in "Connecting to a Defined J.D. Edwards OneWorld Target".

  2. Expand the Services node.

  3. Expand the node of the Master Business Function (MBF) for which you want to create the schema.

  4. Expand and then select the node beneath the MBF.

    Figure 2-4shows the tabs that appear on the right.

    Figure 2-4 Services Node Tabs

    Schema details.
    Description of the illustration jde_schema1.gif

  5. Click the parameters tab to view the parameter information, as shown in Figure 2-5.

  6. Click the Request Schema tab to view the request schema information.

    JDE schema request.
    Description of the illustration jde_schemarequest.gif

  7. Click the Response Schema tab to view the response schema information.

    JDE response schema.
    Description of the illustration jde_schemaresponse.gif

Using GenJava to Generate a Schema

To create schemas for the adapter, you must use GenJava wrappers. You create the GenJava wrappers using the OneWorld utility called GenJava. You use the Application Explorer to generate schemas against OneWorld GenJava wrappers. GenJava is supplied as a command line process with several run-time options. For more information on GenJava, see the J.D. Edwards Interoperability Guide for OneWorld Xe.

Creating a Web Service or Business Service

You can generate a Web service (also known as a business service). You can explore the business function repository and generate Web services for the functions you want to use with the adapter. The following procedure uses an example called BusinessUnitExistenceCheck.


Note:

In a J2EE Connector Architecture (JCA) implementation, Web services are not available. When the adapters are deployed to use JCA, the Common Client Interface (CCI) provides integration services.

To create a Web service for a business function:

  1. Expand the JDEdwards node and then, expand the Services node.

  2. Expand the Master Business Function (MBF), B1000012, also called BusinessUnitExistenceCheck.

  3. Right-click the node from which you want to create a business service and select Create Business Service.

    The Create Business Service dialog box opens.

    You can add the business function as a method for a new Web service or as a method for an existing one.

  1. Click Next.

    The license and method dialog box opens.

    1. In the License field, select one or more license codes to assign to the Web service. To select more than one, hold down the Ctrl key and click the licenses.

    2. In the Method Name field, type a descriptive name for the method.

    3. In the Description field, type a brief description of the method.

  2. Click OK.

    Application Explorer switches the view to the Business Services node, and the new Web service appears in the left pane.

Testing a Web Service

After a Web service is created, you can test it to ensure it functions properly. A test tool is provided for testing the Web service.

To test a Web (business) service:

  1. If you are not on the Business Services node of Application Explorer, click the node to access Web services.

  2. If it is not expanded, expand the list of Web services under Business Services.

  3. Expand the Services node.

  4. Select the name of the business service you want to test.

    The business service name appears as a link in the right pane.

  5. In the right pane, click the named business services link.

    The test option appears in the right pane. If you are testing a Web service that requires XML input, an input field appears.

  6. Enter the appropriate input.

  7. Click Invoke.

    Application Explorer displays the results. Figure 2-6 shows the XML for the results.

Configuring an Event Adapter

Events are generated as a result of activity in a database or in an application system. You can use events to trigger an action in your application. For example, an update to a database can reflect an update to customer information. If your application must perform when this happens, your application is a consumer of this event.

After you create a connection to your application system, you can add events using Application Explorer. To create an event, you must create a port and a channel.

A port associates a particular business object exposed by the Adapter with a particular disposition. A disposition is a URL that defines the protocol and location of the event data. The port defines the end point of the event consumption. For example, you can use the MSMQ protocol to route the result of a Purchase Order update in the J.D. Edwards OneWorld system to a queue hosted by your application server. See "Creating an Event Port" for more information.

A channel represents configured connections to particular instances of back-end systems. A channel binds one or more event ports to a particular listener managed by the adapter. See "Creating a Channel Using Application Explorer" for more information.


Note:

Oracle Containers for J2EE (OC4J) currently conforms to JCA 1.0, which does not call for event capabilities. When conforming to JCA 1.0, only service interactions are supported.

Creating an Event Port

The Application Explorer enables you to create event ports from the Adapters node or from the Events node.

Creating an Event Port from the Adapters Node

You can bypass the Events node and create an event port directly from the Adapters node.

To create an event port from the Adapters node:

  1. Select the J.D. Edwards object for which you want to create an event port.

  2. Right-click the node and select Add Port.

    The Add Port dialog box opens.

    1. Type a name for the event port and provide a brief description.

    2. From the list, select the required disposition, for example, File.

    3. Type the disposition url.

  3. Click OK.

See "Creating an Event Port From the Events Node" for information on configuring port dispositions.

Creating an Event Port From the Events Node

The following procedure describes how to create an event port from the Events node for a disposition using Application Explorer. You can switch between a BSE and a JCA deployment by choosing one or the other from the menu in the upper right of Application Explorer.

You also can create an event port directly from the Adapters node. See "Creating an Event Port from the Adapters Node" for more information.

Creating an Event Port for RMI

To create a specific event port for RMI:

  1. Expand the Events node.

  2. Expand the JDEdwards node.

  3. Right-click the Ports node and select Add Port.

    The Add Port dialog box opens.

    1. Type a name for the event port and provide a brief description.

    2. From the Disposition Protocol list, select RMI.

    3. In the URL field, specify a destination file to which the event data is written.

      When pointing Application Explorer to a JCA deployment, provide the full path to the directory.

    4. From the Disposition protocol list, select RMI.

    The following table defines the parameters for the disposition.

    Parameter Description
    location Destination and file name of the document where event data is written, for example,
    ifile://D:\in\x.txt;errorTo=ifile://D:\error
    
    errorTo Predefined port name or another disposition URL to which error logs are sent.

  4. Click OK.

    The port appears under the ports node in the left pane. In the right pane, a table appears that summarizes the information associated with the event port you created.

    You are ready to associate the event port with a channel. For more information, see "Creating a Channel Using Application Explorer" .

Editing an Event Port

To edit an event port using Application Explorer:

  1. Expand the Event Adapters node.

  2. Expand the JDEdwards node.

  3. Right-click the event port you want to edit and select Edit.

    The Edit Port pane opens.

  4. Make the required changes and click OK.

Deleting an Event Port

To delete an event port using Application Explorer:

  1. Expand the Event Adapters node.

  2. Expand the JDEdwards node.

  3. Right-click the event port you want to delete and select Delete.

    A confirmation dialog box opens.

  4. To delete the event port you selected, click OK.

    The event port disappears from the list in the left pane.

Creating a Channel Using Application Explorer

The following procedure describes how to create a channel for your event. All defined event ports must be associated with a channel.

  1. Click the Event Adapters node.

  1. Expand the JDEdwards node.

    The ports and channels nodes appear in the left pane.

  2. Right-click Channels and select Add Channel.

    The Add Channel dialog box opens.

    Add Channel dialog box.
    Description of the illustration jde_addchannel1.gif

    1. Type a name for the channel, for example, NewChannel.

    2. Type a brief description.

    3. From the Disposition Protocol list, select TCP Listener.

    4. Select an event port from the list of available ports. To select more than one, hold down the Ctrl key and click the ports.

    5. Click the double right (>>) arrow button to transfer the port(s) to the list of selected ports.

  1. Click Next.

    The TCP Listener dialog box opens with the Basic tab active.

    1. Enter the parameters that are specific to your J.D. Edwards environment.

    2. Click the preparser tab.

    3. Enter the required parameters.

    The following table lists the parameters with their descriptions. Parameters with an asterisk are required.

    Parameter Description
    Host* Name or URL of the machine where the database resides.
    Port Number* Port on which the Host database is listening.
    Synchronization Type Possible values are:
    RECEIVE_REPLY
    RECEIVE_ACK
    RECEIVE
    
    Is Length Prefix For J.D. Edwards OneWorld events that send data back that is not in XML format. The TCP/IP event application must prefix the data with a 4-byte binary length field when writing the data to the TCP/IP port.
    Is XML For J.D. Edwards OneWorld events that send data back in XML format. No preparser is required.
    Is Keep Alive Maintains continuous communication between the event transaction and the channel.
    User id* A valid user ID for J.D. Edwards OneWorld.
    User password* The password associated with the user ID.
    JDE Environment* The J.D. Edwards OneWorld environment, for example, DU7333. For more information about this parameter, see your J.D. Edwards OneWorld documentation or ask your OneWorld system administrator.
    Application XMLInterop or the application name in J.D. Edwards OneWorld. Optional.
    Server IP address* Name of the server on which J.D. Edwards OneWorld is running. This can be the name of the server, for example, JDEOW, or its IP address, for example, 123.45.67.89.
    Server port* Port number on which the server is listening, for example, 6009.

    For additional parameters, see your J.D. Edwards OneWorld Administrator.

  2. Click OK.

    The channel appears under the channels node in the left pane.

    An X over the icon indicates that the channel is currently disconnected. You must start the channel to activate your event configuration.

  3. Right-click the channel node and select Start.

    The channel becomes active.

    The image shows the activated channel.
    Description of the illustration app_exp_channelactive.gif

    The X that was over the icon in the left pane disappears.

  4. To stop the channel, right-click the connected channel node and select Stop.

    The channel becomes inactive and an X appears over the icon.

Editing a Channel

To edit a channel:

  1. In the left pane, locate the channel you want to edit.

  2. Right-click the channel and select Edit.

    The Edit channels pane opens.

  3. Make the required changes to the channel configuration and click Finish.

Deleting a Channel

To delete a channel:

  1. In the left pane, locate the channel you want to delete.

  2. Right-click the channel and select Delete.

    A confirmation dialog box opens.

  3. To delete the channel you selected, click OK.

    The channel disappears from the list in the left pane.

The OneWorld Event Listener

The Oracle Application Server Adapter for J.D. Edwards OneWorld Event Listener is designed specifically to provide J.D. Edwards approved access to your OneWorld business events. The OneWorld Event Listener refers to a specialized application that runs in conjunction with OneWorld business functions and is called by the OneWorld application system.

The OneWorld application system provides the Event Listener with the information required to retrieve the event information for only the desired events. For information about configuring the OneWorld environment, see the J.D. Edwards Interoperability Guide for OneWorld.

The OneWorld Event Listener is called directly from the OneWorld application and is passed a Z-file record identifier. This identifier then generates a request document that is passed to the server for processing. The server retrieves the event information from the J.D. Edwards OneWorld system and propagates the information for integration with other application systems.

Configuring the OneWorld Event Listener

The OneWorld Event Listener is installed as part of the basic installation. The OneWorld Adapter is automatically installed in the appropriate directory. If the integration server is not installed on the same computer as the J.D. Edwards application server, you must configure the OneWorld Event Listener. For more information, see the J.D. Edwards Interoperability Guide for OneWorld.

The OneWorld Event Listener is invoked by J.D. Edwards for specific business functions as configured in the OneWorld environment.The OneWorld Event listener includes the following components:

  • The listener exit (IWOEvent).

    The file extension you use depends on your operating system, for example, for Windows, the exit is IWOEvent.dll.

  • The listener configuration file (iwoevent.cfg).

  • The outbound agent (XDJdeOutboundAgent).

The OneWorld Event listener exit is the function that passes the key fields for a record in the OneWorld outbound transaction tables to the integration server for processing by the outbound agent. The OneWorld Event listener is deployed under the J.D. Edwards OneWorld Server. The Java class for the OneWorld Event listener is called IWOEvent (the file extension depends on the operating system) and is case-sensitive.

Creating the iwoevent.cfg File

After OneWorld invokes the OneWorld Event listener, the listener accesses the configuration file, called iwoevent.cfg (case-sensitive). Based on the information in the configuration file, the listener sends the event notification to the integration server. If the integration server is unavailable or some exception occurs, the OneWorld Event listener saves the event information in a file called batch.log. After the server becomes available, the listener sends the information. All of the log information is saved in a file called iwoevent.log.

To create the iwoevent.cfg file:

  1. On the J.D. Edwards OneWorld Server, create an iwoevent.cfg file in the defined directory. See "Adding Connection Information"for information about the contents of this file.

  2. Create an environment variable, IWOEVENT_HOME, to point to the directory containing the iwoevent.cfg file.

    • On Windows: Add IWOEVENT_HOME to the system environment variables.

    • On UNIX: Add the following command to your start-up script:

      export IWOEVENT_HOME =/directory_name
      

Adding Connection Information

The OneWorld Event listener requires connection information for the associated adapter to initiate events properly. This information is contained in the iwoevent.cfg file. You must create this file and add the connection information to it.The OneWorld Event listener requires connection information for the associated integration server to function properly. This information is contained in the iwoevent.cfg file.A sample iwoevent.cfg file is installed on the J.D. Edwards server and is in the root path. The iwoevent.cfg file has three distinct sections:

  • Common

  • Alias

  • Trans

The common section of the configuration file contains basic configuration options. Currently, only the trace option is supported.The alias section of the configuration file contains the connection information required to send transactions to specific servers. The alias values to these entries are as follows:

Alias.aliasname={ipaddress|dsn}:port, trace={on|off}
aliasname

Is the symbolic name given to the connection.

ipaddress|dsn

Is the IP address or DSN name for the server containing the Adapter for J.D. Edwards OneWorld (required).

port

Is the port defined for the Adapter for J.D. Edwards OneWorld (required).

trace={on|off}

Sets the tracing to on for the particular alias.

The trans section of the configuration file contains transaction information required to route J.D. Edwards OneWorld transactions to specified servers. If a particular J.D. Edwards OneWorld transaction is not defined to an alias, it is sent to all aliases. The trans values to these entries are as follows:

trans.jdeTransactionName=alias1,alias2,aliasn
jdeTransactionName

Is the JDE-defined name for the outbound transaction.

alias1,alias2,aliasn

Is the list of aliases to which the transactions are sent.

Adding Connection Information to iwoevent.cfg

To add connection information to the iwoevent.cfg file:

  1. Add the server and port entries to the iwoevent.cfg file.

  2. To set the trace option, select on or off.

    common.trace=on|off
    
on

Sets the tracing to on.

off

Sets the tracing to off. Off is the default value.

The following is a sample entry from iwoevent.cfg that supplies connection information:

common.trace=on
alias.edamcs1=172.1.1.1:3694
alias.edamcs1t=172.1.1.1:3694, trace=on
alias.edamcs2=222.2.2.2:1234
trans.JDESOW=edamcs1t,edamcs2
trans.JDEPOOUT=edamcs1