
106 Geac System21 commerce.connect: Implementation on the iSeries Server
Under normal circumstances, the application (for example, VennConn) continues to run in
WebSphere when the admin job QEJBADMIN is stopped. This means that to stop the system
overnight, the easiest way is to end QEJBSBS by using the following command:
ENDSBS SBS(QEJBSBS) OPTION(*IMMED)
This is a standard, tested iSeries command. This has the advantage of ending the Trigger
Handler, AIF controller jobs, and any extra WebSphere instances. Users who want to end the
subsystem more gently, may want to use *CNTRLD end with a time limit. If you do not specify
a time limit, the subsystem will never end, because the Trigger Handler and AIF controller
jobs keep running.
As an alternative for stopping and starting jobs, use XMLConfig as in a WebSphere
configuration. However, keep in mind that this method has not yet been fully tested by Geac.
4.4.3 Starting
To start vendor.connect assuming the VennConn, VSSync, and Receiving applications are
still running, you must follow the steps to start WebSphere using either a default instance or
other instances as explained in the following sections.
Starting WebSphere (default instance)
With a default instance, you simply start QEJBSBS by using the following command:
STRSBS SBSD(QEJB/QEJBSBS)
This starts QEJBADMIN, QEJBMNTR, and the VennConn, VCSync, and Receiving
applications. It requires some time, possibly several minutes, to start.
Starting WebSphere (other instances)
If you need to start more than one instance of WebSphere, you may use the STRWSSVR
command. The following example starts an instance called VC:
CALL PGM(OSLOMD3/STRWSSVR) PARM(VC)
Starting the trigger handler and AIF controller
You may start the trigger handler and AIF controller with the following commands:
CALL PGM(OSLVCD3/TRGRHNDLR)
CALL PGM(OSLVCD3/AIFCNTRLR)
It is possible to run these jobs in Auto Day Start and Auto Day End under Machine Manager in
System21 or in some other automated scheduled way on the iSeries. If you do this, you must
allow sufficient time between starting WebSphere and starting the AIF controller. We
recommend that you wait at least 10 minutes. You can do this by submitting the commands
through a CL program and inserting the Delay Job (DLYJOB) command in between them.
4.4.4 Restoring the vendor.connect IFS objects
If for any reason you need to restore the IFS objects for vendor.connect, use the following
commands. In this example, only the AEF and VendorConnect folders are restored. You may
extend the command to restore other folders.
RST DEV('/qsys.lib/tap01.devd') OBJ(('/AEF')('/VendorConnect'))
This assumes that the system is backed up in a similar way.
Note: You may start other instances while the default instance is still starting.