Reference > Utilities


EventFileGeneration utility

This standalone Java application is run on the command line using a shell or batch script. It provides an alternative means to obtain the transformed Common Business Event XML file, suitable for external systems if you choose to disable automatic transmission.



Utility command

The EventFileGeneration utility has the following file name:


Parameter values

username

An optional parameter, which specifies the user name of the WebSphere Commerce site administrator used to log into the system. The default is 'wcsadmin'.

password

The password of the administrator username.

hostname

The hostname of the WebSphere Commerce Server to send the request.

port

An optional parameter, which specifies the port of the administrative console on the hostname. Default is 8002.

filename

An optional parameter, which specifies the full path and name of the file to be saved. Existing files with the same name will be overwritten. The default file name is "eventLog_timestamp.xml", saved to the current directory.

maxEvents

An optional parameter, which specifies the maximum number of events to process. If this parameter is unspecified, all unprocessed events in the system will be processed.

storeId

An optional parameter, which specifies the store for which to process events. By default, the utility processes all unprocessed events for all stores. Note that the store must also be enabled in the WebSphere Commerce configuration file. When multiple stores are enabled and processed, the utility still generates one file, but the events are grouped by store.


Example

The following example command generates an XML file containing the logged Sales Center events, in a format that is readily consumable by Coremetrics.


Related tasks

Generate an event file

Configure Sales Center events

Start the event processor scheduled job


+

Search Tips   |   Advanced Search