XFOR: How to Capture and Replay Messages Through the PROFS Connector

ID: Q220833


The information in this article applies to:


SUMMARY

As part of the troubleshooting steps for the Exchange OV/VM (PROFS) Connector, it may be required to capture messages sent from the host to Exchange Server, and subsequently reproduce the same problem locally. This article describes an undocumented feature of the OV/VM Connector included with Microsoft Exchange Server 5.5 Service Pack 2.


MORE INFORMATION

  1. Install Exchange Server 5.5 and apply Service Pack 2.


  2. Install and configure the OV/VM (PROFS) connector from Service Pack 2. Refer to the PROFS Connector documentation for further details if necessary.


  3. Locate the Exchconn.ini file in the Exchsrvr\Connect\Exchconn folder.


  4. Edit the Exchconn.ini file so that the following line is present in the [LME-PROFS] section. In the majority of cases, this parameter will already be present, but commented out.


  5. debug = Yes
  6. Restart the OV/VM (PROFS) Connector for this to take effect. Note that this setting should only be used for troubleshooting purposes. It should be removed as soon as the problem is resolved, otherwise, every message sent from the host to Exchange Server is archived.


  7. Create a secondary PROFS address for a mailbox recipient in Exchange Server that matches the intended recipient of that message, depending on the customer's environment and problem.


  8. Start the Exchange Connectivity Administrator program.


  9. Go to the Process Manager window.


  10. Select, and then stop the following process:


  11. NJE Server or LME-PROFS-NJE
  12. Open a command window and change directory to Exchsrvr\Connect\Exchconn.


  13. Type in the following command to put your modified message back into the mail stream:
    xfmload -nLME-PROFS-VMDIA -pCONTROL-SERVICE -i njeXXXX.dat
    where XXXX represents the sequential ordering of each archived file.


  14. You see the following output:


  15. 
    C:\exchsrvr\CONNECT\exchconn>xfmload -nlme-profs-vmdia -pcontrol-service -i nje0
    000.dat
    17:37:57- 3 00504:lme-profs-vmdia started
     > stdmain(883)
    entering xfmlServEventTimer
    exiting xfmlServEventTimer
    entering xfmlServEventTimer
    exiting xfmlServEventTimer
    max ru size specified in CT record is 1024
    entering xfmlServEventTimer
    nje0000.dat files not found...continuing
    exiting xfmlServEventTimer
    17:38:27- 2 00500:An ABNORMAL SHUTDOWN request has been received
     > stdmain(920)
    17:38:27- 2 01108:Event server-lsnje.f-1.r has been destroyed, but is still registered with the event manager
     > evtsem(335)
    
    C:\exchsrvr\CONNECT\exchconn> 
  16. After the message has been reintroduced into Exchange Server, the NJE Server process needs to be manually restarted.


Additional query words: profs, replay


Keywords          : exc55 
Version           : winnt:5.5
Platform          : winnt 
Issue type        : kbhowto 

Last Reviewed: July 8, 1999