Skip to main content
ExLibris
  • Subscribe by RSS
  • Ex Libris Knowledge Center

    ARC 4.0: Wrong time zone when executing ARC-schedules

    • Article Type: General
    • Product: Aleph
    • Product Version: 4

    Problem Symptoms:
    Since migrating to ARC 4.0 all our schedules are executed 7 hours too late.
    We suspect Cognos is configured to use the wrong time zone (e.g. GMT-6 instead of GMT+1). Setting the time zone in the User Preferences has no effect.

    According the the IBM Cognos documentation, one should be able to change to time zone using the Cognos configuration interface. However, when we try to open this interface with

    /exlibris/crn/arc4_1/c10/bin64$ ./cogconfig.sh

    we get the following error message:

    Using /exlibris/crn/arc4_1/product/local/java/bin/java
    17/11/2014,11:35:27,Err,java.lang.ExceptionInInitializerError, com.cognos.crconfig.CRConfigFrame.<init>(CRConfigFrame.java:112)com.cognos.crconfig.CRConfigFrame.<clinit>(CRConfigFrame.java:2924)
    17/11/2014,11:35:27,Err,java.awt.HeadlessException:
    No X11 DISPLAY variable was set, but this program performed an operation which requires it., com.cognos.crconfig.CRConfigFrame.<init>(CRConfigFrame.java:112)com.cognos.crconfig.CRConfigFrame.<clinit>(CRConfigFrame.java:2924)

    Can you help us accessing the Configuration interface? Or is there another way to change the time zone?

    Cause:
    xWindows not installed on the server

    Resolution:
    There are 2 ways to correct the Time zone in the ARC configuration.

    1. using ./cogconfig.sh
    This is only possible if you have a browser / xWindows installed on your machine.

    2. modify file cogstartup.xml manually.

    a. Stop the ARC services
    csh -f $arce_root/arc_shutdown

    b. backup the current configuration file
    cp -p cogstartup.xml cogstartup_20141117.xml

    c. change the time zone to 'Western European time' (WET) in ./c10/configuration/cogstartup.xml

    Example
    <!-- serverTimeZoneID: Specifies the time zone used by Content Manager. -->
    <!-- Use this property to identify the time zone used by Content Manager. Time zones are
    used as the time reference in schedules and other system times. -->
    <crn:parameter name="serverTimeZoneID">
    <crn:value xsi:type="cfg:timeZone">Asia/Jerusalem</crn:value>
    </crn:parameter>

    change to

    <!-- serverTimeZoneID: Specifies the time zone used by Content Manager. -->
    <!-- Use this property to identify the time zone used by Content Manager. Time zones are
    used as the time reference in schedules and other system times. -->
    <crn:parameter name="serverTimeZoneID">
    <crn:value xsi:type="cfg:timeZone">WET</crn:value>
    </crn:parameter>

    d. Restart ARC
    csh -f $arce_root/arc_startup

    Additional Information

    The valid entries for the timezone (and other drop down values) can be found in file
    /exlibris/crn/arc4_1/c10/configuration/i18n_res.xml

    examples:


                    <timezone>America/Phoenix</timezone>
                     <timezone>Asia/Jerusalem</timezone>
                     <timezone>Europe/Berlin</timezone>
                     <timezone>Europe/Paris</timezone>
                     <timezone>UTC</timezone>
                    <timezone>VST</timezone>
                    <timezone>WET</timezone>
                    




     

    Category: Reports (ARC) - ARC

    Subject: Scheduling - ARC


    • Article last edited: 11/17/2014