In this section: How to: |
The EnterpriseOne Event Listener is installed as part of the basic installation. The adapter is automatically installed in the appropriate directory. If application server is not installed on the same computer as the J.D. Edwards application server, you must configure the EnterpriseOne Event Listener. For more information, see the J.D. Edwards Interoperability Guide.
The EnterpriseOne Event Listener is invoked by J.D. Edwards for specific business functions as configured in the EnterpriseOne environment.
The EnterpriseOne Event listener includes the following components:
The file extension you use depends on your operating system, for example, for Windows, the exit is iwoevent.dll.
The EnterpriseOne Event listener exit is the function that passes the key fields for a record in the EnterpriseOne outbound transaction tables to an application server. The EnterpriseOne Event listener is deployed under the J.D. Edwards EnterpriseOne Server. The Java class for the EnterpriseOne Event listener is called IWOEvent (the file extension depends on the operating system) and is case-sensitive.
This section describes how to configure the J.D. Edwards EnterpriseOne Enterprise Server for Events.
\\JDEdwards\E812\DDP\Outbound
The following is a sample iwoevent.cfg file that is provided as an example:
common.trace=onalias.iwserv14=172.30.162.48:1236, trace=ontrans.JDESOOUT=iwserv14
Currently, the J.D. Edwards EnterpriseOne supports 100 entries (alias names) in the configuration file.
\\JDEdwards\E812\DDP\Outbound
D:\jdk1.3
%JAVA_HOME%\bin; %JAVA_HOME%\jre\bin; %JAVA_HOME%\jre\bin\classic;
D:\JDEdwards\E812\DDP\Outbound
After EnterpriseOne invokes the EnterpriseOne 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 application server. If the application server is unavailable or an exception occurs, the EnterpriseOne Event listener saves the event information in a file under the folder that is created on the corresponding alias names in the outbound folder.
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
The EnterpriseOne Event listener requires connection information 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 EnterpriseOne 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 includes the following distinct sections:
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={ipaddressordnsname}:port, trace=on
where:
Is the IP address or DNS name for the server containing the iWay Application System Adapter for J.D. Edwards EnterpriseOne (required).
Is the TCP port waiting for the TCP request.
Sets tracing on for the particular alias.
The trans section of the configuration file contains transaction information required to route EnterpriseOne transactions to specified servers.
Note: If a particular EnterpriseOne 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
where:
Is the JDE-defined name for the outbound transaction.
Is the list of aliases to which the transactions are sent.
common.trace=on
where:
Sets tracing on.
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
iWay Software |