Installing and Setting Up the COM Connector for Guaranteed Events
Use these steps to install and set up the COM connector:
Copy these files from the JD Edwards EnterpriseOne server (system\bin32) to a directory on the desired machine. For example, copy the files in c:\program files\JDEdwards to a non-JD Edwards EnterpriseOne client machine.
JDECOMConnector2.exe
JDECOMMN.dll
callobject.dll
comlog.dll
EventManager.dll
OneWorldInterfaceTx.dll
xmlinterop.dll
jdel.dll
jdethread.dll
jdeunicode.dll
ustdio.dll
icuil8n.dll
jdeinterop.ini to c:\(root directory)
checkver.exe
ICUUC.dll
Icu\data\*.*
IXXML4C2_3.dll
EventClass.dll
EventListener.dll
EventHandler.dll
ClientService.dll
Create a new directory Icu\data\ on the machine where the COM server is located.
Copy all of the files from the JD Edwards EnterpriseOne server in folder system\Locale\xml\*.* into Icu\data\. Create a new system variable, ICU_DATA, in the environment variables of the system properties and specify the path to the Icu\data\ as the value.
Use these steps to register the COM Connector:
Run this command:
c:\programfiles\JDEdwards\JDECOMConnector2.exe /RegServer
Go to c:\programfiles\JDEdwards\ Or c:\b9\system\bin32 and run these commands:
regsvr32 EventManager.dll regsvr32 EventClass.dll
Create the JDEinterop.ini file by setting the JD Edwards EnterpriseOne server and port values to the JD Edwards EnterpriseOne application server with which you want the COM server to communicate.
The COM server is now ready.
Use these steps to set up security on the COM server:
From the Start menu, select Run.
Enter Dcomcnfg.exe.
On Distributed COM Configuration Properties, click the Default Security tab.
Click the Edit Default Button in Default Access Permissions group.
The Registry Value Permissions form appears. Some entries might already be present.
On Registry Value Permissions, click Add.
On Add Users and Groups, select the appropriate domain from the List Names From option.
Click Everyone, and then click Add.Type of access should be Allow Access.
Click OK.
No setup is required for default configuration permissions.
Use these steps to set up the identity as an interactive user:
Run DCOMCnfg.
On Distributed COM Configuration Properties, select JDECOMConnector2, and then click Properties.
On JDECOMConnector2Properties, click the Identity tab, and then select the interactive user option.
Click Apply to apply the change.
Note: Every time you register the connector, you must set up the identity as an interactive user. If you copy the JDECOMConnector2.exe using Explorer, Explorer reruns the registration, and you must set up the identity as an interactive user.To use Callbacks (Connection Points) with the COM solution, repeat these steps for setting up the identity as an interactive user on the COM client machine. Most of the shipped examples use Callbacks and require that you open the security on the client machine.
Use these steps to set up DCOM for a client environment:
From a DOS prompt on the DCOM client machine, run jdecomconnector2.exe /RegServer.
At the prompt, enter oleview.exe.
From the menu bar, select oleview.
Click View and select Expert Mode.
In the oleview window under Object Classes, double-click All Objects, and wait for all objects to appear.
Under All Objects, find and click Connector Class.
Click the Implementation tab on the right-side panel, and then click the local server and remove anything that appears in the editing window.
On the Activation tab, select the Launch as Interactive User option.
In Remote Machine Name, enter the COM server machine name.
Repeat steps 5 through 8 for MathNumeric Class.Start the DCOM client application.
Start the DCOM client application.