Using WebLogic Integration - Business Connect
The following topics are provided about document send and archive schedules.
WebLogic Integration - Business Connect has two types of schedules: send and archive. Send schedules set the intervals when documents are sent to your trading partners. The archive schedule sets the interval when Tracker runtime database records are moved to the archive database. Also, if you have elected document archiving, the archive schedule triggers the movement of documents from the WebLogic Integration - Business Connect backup directory to the archive directory.
The following topics describe schedules in more detail.
A send schedule enables you to control when WebLogic Integration - Business Connect sends outbound documents to your trading partners. Send schedules do not apply to inbound documents, which are processed as soon as they are received.
Note: A send schedule in WebLogic Integration - Business Connect might duplicate the functionality of your translator. If you decide to use your translator for send scheduling, ensure that the default WebLogic Integration - Business Connect send schedule is set to every 15 seconds. If you do this, you do not need to set up any other send schedules.
The send schedule is named Default Send and is accessed by selecting Tools
You can change the default send schedule or make it inactive, but you cannot delete it. On the Partner Profile window Preferences tab, you can choose whether to apply the default send schedule or immediately send documents to partners.
Selecting Immediate Send on the Partner Profile window Preferences tab bypasses schedules in favor of sending documents to a partner right after they have been packaged.
The following describes the steps and order in which a schedule works for sending documents.
There is a single archive schedule. You access the schedule by selecting Tools
Archiving involves moving Tracker runtime database records to a historical repository called the archive database. You also can archive the actual documents you have sent or received from partners by choosing the backup and archive options on the Company Profile window Preferences tab. See Company Profile Preferences Tab.
Only completed runtime records are moved during archiving. A completed record is one for which an inbound document has been received and an acknowledgment has been sent or for which an outbound document has been sent and an acknowledgment has been received. Completed records are moved from the runtime tables to the corresponding archive tables. Rejected traffic records are not archived. You must reprocess rejected records or manually delete rejected records in Tracker.
By default the archive schedule is set weekly at 12 a.m. Saturday, which means Tracker runtime database records will be moved to the archive database every Saturday at midnight. At the same time, the documents WebLogic Integration - Business Connect has processed are moved from the application's backup directory to the archive directory, if you have elected document archiving. If you have more than a thousand transactions a day, inbound and outbound, we recommend that you change the schedule to perform archiving once a day.
The Server application must be running for Tracker archiving to occur. If the Server is not running at the scheduled archiving time, archiving will not occur and the runtime and archive databases will not change. If the Server is re-started after the scheduled archiving time, archiving will not take place retroactively. Rather, database records will be archived at the next scheduled time, presuming the Server is running.
There are two ways to turn off archiving: Make the archive schedule inactive or open the schedule and delete the archiving times.
WebLogic Integration - Business Connect writes output of Server application activity to a file called server.log located in the WebLogic Integration - Business Connect logs directory. When you use the View Server Log utility, you see the contents of this file as it is being written by WebLogic Integration - Business Connect.
The current output of Server application activity is continuously written to a server.log file. When the archive schedule triggers, WebLogic Integration - Business Connect closes the current server.log
file, renames it using the current date and time, and begins writing output to a new server.log
file. Closed server.log
files are named according to the date and time archiving occurred in the following format: server.log.mm-dd-yyyy-hh-mm-AM
(or PM
).
Use this procedure to control when WebLogic Integration - Business Connect sends outbound documents to your trading partners using the send schedule. The send schedule does not apply to inbound documents, which are processed as soon as they are received.
The send schedule is initially set at a sending interval of 15 seconds. For most users this send interval is adequate.
Figure 9-1 Configure Send Schedule Window
The following describes the fields on the Schedule - Every Day window. For procedure see the preceding Steps.
Set the interval for WebLogic Integration - Business Connect to send documents. Type the interval in hours, minutes and seconds in the corresponding fields. The maximum interval is 99 hours, 59 minutes, and 59 seconds. This field is required.
Allowing a value greater than 24 hours enables you to use intervals that do not match the even-day intervals of the other schedules. For example, you can schedule documents to be sent every 32 hours.
Active as of—indicates you want WebLogic Integration - Business Connect to use this schedule. WebLogic Integration - Business Connect provides this date, which is the date you make this schedule active. A new schedule is active by default.
Inactive—indicates you do not want WebLogic Integration - Business Connect to use this schedule.
Use this procedure to change or inactivate the archive schedule for Tracker database records. This schedule also archives trading documents, if you have elected document archiving in your company profile. For more information about this schedule, see Archive Schedule.
Figure 9-2 Configure Archive Schedule Window