Document Protocols selfservice XML files.

B2B Command-Line Tools 19-17 Example 19–30 Un-scheduling the scheduled event ant -f ant-b2b-util.xml b2bschedule -Dmode=unschedule -Dschedulename=Maintenance Example 19–31 Extend an existing schedule Create a schedule for a particular time frame for all the channels for a remote tp by entering the following: ant -f ant-b2b-util.xml b2bschedule -Dtp=GlobalChips-Dfromdate=31082010 10:47 AM -Dtodate=31082010 10:57 AM -Dschedulename=Load -Dchannelname=GlobalChips_File_Endpoint Extend the schedule by creating another schedule with the same name, with the start time as the end time of the previously created schedule 31082010 10:57 AM, and the end time to which you want to extend the schedule to, and then pass the parameter -Dextend=true: ant -f ant-b2b-util.xml b2bschedule -Dtp=GlobalChips-Dfromdate=31082010 10:57 AM -Dtodate=31082010 11:57 AM -Dschedulename=Load -Dchannelname=GlobalChips_File_Endpoint -Dextend=true

19.14 Managing the Keystore

Certificate expiry must be identified and notified to the Administrator as it affects the message flow with security. Oracle B2B exposes Public APIAnt commands to check the certificate for expiry. You can use b2bmanagekeystore to define a schedule and encapsulate these APIs for proper alert mechanism. ant -f f ant-b2b-util.xml b2bmanagekeystore [-Dmode=list | -Dalias=cert_name | -Ddays=num_of_days] Example 19–32 Get a list of certificate aliases ant -f ant-b2b-util.xml b2bmanagekeystore -Dmode=list Example 19–33 Get the status of a certificate ant -f ant-b2b-util.xml b2bmanagekeystore -Dalias=MarketInc_Cert Note: As a pre-requisite, it is required to configure the Java key store in Oracle B2B. Table 19–15 Options for b2bmanagekeystore utility Option Description Domain Required mode List all the certificate alias in the keystore and its expiry dates list No alias Certificate status and its expiry date of the provided alias No days List all the certificates which will expire within the days specified integer No 19-18 Oracle Fusion Middleware Users Guide for Oracle B2B Example 19–34 Get a list of certificates expiring at a future date ant -f ant-b2b-util.xml b2bmanagekeystore -Ddays=15

19.15 Errors During Import

If you get the following broken pipe error, use Oracle WebLogic Server Administration Console to increase Maximum Message Size to 200000000. [java] Exception in thread main java.lang.Exception: java.rmi.UnmarshalException: Broken pipe; nested exception is: [java] java.net.SocketException: Broken pipe [java] at oracle.tip.b2b.utility.B2BCommandLineUtility.upgradeRepositoryB2BCommandLineUtility.java:548 [java] at oracle.tip.b2b.utility.B2BCommandLineUtility.mainB2BCommandLineUtility.java:601 [java] Caused by: java.rmi.UnmarshalException: Broken pipe; nested exception is: [java] java.net.SocketException: Broken pipe