Hylafax and timezones

Hi, I'm having a strange issue with Hylafax related to timezones.
When Hylafax receives a fax, it creates a log file for it: I use a script to read the last modification time of this log file and prepare an aggregate log.
Today I received a fax at 11:17 (my local time, as read on my wrist watch), however Hylafax created this log file:
-rw-r--r-- 1 uucp uucp 491 Aug 11 13:17 c000003492
As you can see, this is two hours in the future: my timezone is Europe/Rome (GMT+1) and we are on DST (another +1).
Also, the corresponding lines in /var/log/messages have a future timestamp, while other lines have the correct timestamp:
Aug 11 13:17:58 localhost FaxGetty[1169]: MODEM +FMFR: "ELSA AG, AACHEN (GERMANY)" +FMDL: "MicroLink 56k Internet"/+FREV: "Version 1.00 / 18.01.1999"
Aug 11 11:25:03 localhost dbus[715]: [system] Activating service name='org.freedesktop.ConsoleKit' (using servicehelper)
Aug 11 11:25:03 localhost dbus[715]: [system] Activating service name='org.freedesktop.PolicyKit1' (using servicehelper)
Aug 11 11:25:04 localhost polkitd[1634]: started daemon version 0.101 using authority implementation `local' version `0.101'
My rc.conf contains:
LOCALE="en_US.UTF-8"
DAEMON_LOCALE="no"
HARDWARECLOCK="UTC"
TIMEZONE="Europe/Rome"
Current time is:
# date
Thu Aug 11 16:01:10 CEST 2011
# date -u
Thu Aug 11 14:01:11 UTC 2011
I'm using ntpd to keep my time in sync.
Do you know how can I solve this, other than manually adjusting the time when I prepare my log?
Thanks

Hi,
I think that you don't need to bother about time zones but the time difference. Forms does get the time it adds to the cookie from the user client, while the Reports Server session, the one that is used for comparison, is created on the server. If your server is in the US and the Forms client shows in Germany, then the time difference is 9 hours (assuming PST for the US). This means that all clients will create a cookie that has a time of 9 hours ahead of what the server has. The server will add the tolerance to his current time and based on this evaluate whether or not the client request is in an allowed tolerance.
You could fix this easily in that you get the time from Forms and pass it to the Java Bean as a String (using set_item_property) instead of having the Java Bean determining it. If Forms and Reports are on the same server or data center (which is the case normally) then you no longer have a problem with the time difference between time zones.
Frank
Btw.: when writing the Bean I was lucky to have a test server located in the US, while my client run here in Europe.

Similar Messages

  • OIM 11gR2 - Self Registration Locale and Timezone

    Hi,
    I would like to prepopulate locale (usr_locale) and timezone (usr_timezone) when a user registers using self registration. I created a PrePopulationAdapter, updated SelfCreateUserDataset.xml in MDS, registered the plugin containing the adapter, restarted OIM, purged cache.. but the adapter is not triggered.
    I did the exact same thing for the Role field (which was already using a prepopulation adapter OOTB and I changed the adapter class) and it worked fine.
    I'm wondering if those fields (usr_locale and usr_timezone) are not prepopulatable from self registration ?
    Is there another way of setting their value automatically (I mean nor the end user, nor the approver filling the field)  ?
    SelfCreateUserDataset.xml :
    <AttributeReference name="Role" attr-ref="Role" type="String" widget="dropdown" length="255" required="true" available-in-bulk="false" lookup-code="Lookup.Users.Role">
    <PrePopulationAdapter name="XnetRolePrepopulateAdapter" classname="fr.xxx.XnetRolePrepopulateAdapter"/>
    </AttributeReference>
    <AttributeReference name="usr_locale" attr-ref="usr_locale" type="String" widget="text" length="80" required="false" available-in-bulk="false">
    <PrePopulationAdapter name="XnetLocalePrepopulateAdapter" classname="fr.xxx.XnetLocalePrepopulateAdapter"/>
    </AttributeReference>
    <AttributeReference name="usr_timezone" attr-ref="usr_timezone" type="String" widget="text" length="100" required="false" available-in-bulk="false" mls="false">
    <PrePopulationAdapter name="XnetTimezonePrepopulateAdapter" classname="fr.xxx.XnetTimezonePrepopulateAdapter"/>
    </AttributeReference>
    Thank you,
    Gaël

    I think you can but that would definitely require a cutom UI using ADF. Following could be the possibility:
    - As the user is not yet logged in, so there would be no way to identify as who the user is (patient or doctor) ?
    - So you may have one field with drop-down type patient/doctor at the top, once the user selects that field, you can show different attributes there after
    - As how to do it, refer to the OIM11G documentation for customizing UI

  • APIs for Country lookup values and Timezone lookup values

    Hi,
    We are developing a J2EE application for remote user management in EP.
    We want to query the lookup values for country and timezone (required when we create user). Are there any APIs that would return these values when called from our J2EE application?
    Also let me know if there are any workarounds?
    Thanks and regards,
    Pratik H. Thakkar

    Hi Guys,
    By using Java API, I got 239 countries on Windows 2K professional. Whereas in EP there are 233 countries. Also the names are not matching for eg: American Samao is missing in my local machine.
    Please help.
    Regards,
    Pratik H. Thakkar

  • Country and timezone info on business card?

    Lately I saw a thread on ALT texts for the flag image on the business card.
    In addition to that I would like to suggest that the country name and timezone are printed next to the flag. Knowing the timezone of other posters may help to steer expectations about response times.

    Actually in an odd way I like looking up flags, it has a little educational value in it. Without SCN I wouldn't be able to tell you off the top of my head that Iceland is a blue flag with a red cross.
    A quick trick for flags is r-click -> properties, get two letter iso code from end of address (use mouse selection to scroll to end), look up in T005 if necessary.
    However I think the timezone is an excellent suggestion! Perhaps also with an offset to one's own timezone?
    Cheers,
    Mike

  • Modify install images: set locale, keymap and timezone

    I'd like to change the default locale, keymap and timezone for my multi architecture Arch install stick.
    As far as I understand, adding 'locale=xyz keymap=xyz timezone=xyz' to the APPEND-line in syslinux config should work, but the image gets mounted as read-only ufs.
    Is there an easy way to do this little modification or do I have to create a complete custom image using archiso?
    Thanks,
    lynix

    Is not possible. If you want to do changes, you need to copy the contents manually and install syslinux as bootloader [#1]
    On that point you can change easily syslinux.cfg
    [#1] https://wiki.archlinux.org/index.php/US … _USB_drive

  • IPod touch keeps changing the date, time, and timezone on its own

    Yesterday I noticed that the iPod was showing the wrong date, so I fixed it. I also checked the computer I was syncing to, but it had the correct date, time, etc. Now when I woke up the iPod today, the time, date, and timezone had all been changed again. Has anybody else had this problem, or know what I need to do to stop it? Thanks!

    When you sync the iPod, you have to sync it with a "new" iTunes window.
    Before you connect the iPod, exit out of iTunes, then reload it, and finally connect your iPod to it.
    I believe there was a software update that fixed this...

  • Problem with date and timezone

    Hello,
    I am encountering a problem with the command new java.util.date() on a hpux 11 machine.
    The "date" from command line returns:
    Tue Oct 26 18:02:02 MEST 2004
    And the date from java returns:
    Tue Oct 26 17:02:02 GMT+01:00 2004
    It is as if the JVM was running on another timezone than the machine. The only change we made is an upgrade from java 1.2.2.04 to 1.2.2.17. Our old java program running since 2000 hasn't changed nor the others environment files.
    Does anyone has an explaination? Javadoc for jav.util.date does not speaks of timezone.
    Thanks in advance,
    Valere

    I have tried, it is the same pb with java 1.4.
    How to set the default timezone for a JVM?
    Concerning the patch, we have several others worksations running well with 1.2.2.04 (except a small display bug that i wanted to correct by upgrading the JVM). To my knowledge, this patch is not installed on any of them.
    Another way to investigate, it seems that the java version installed on the others stations refers to java 3D. What is it? It has a different architecture than standard jre, but java -version seems exactly the same (except the version number itself).
    Mayday, mayday!

  • Problem with CentOS 4.4 and TimeZone

    The oracle is already running in server.
    But when i want start the em console give the following error.
    Timezone mismatch: The agentTZRegion value (Europe/Madrid) in
    /oracle/10g/localhost.localdomain_TIJAVA/sysman/config/emd.properties
    does not match the current environment TZ setting(Europe/Madrid).
    The dbconsole cannot run with this mismatch.
    If Europe/Madrid is the correct timezone, set your timezone environment variable to Europe/Madrid and repeat the 'emctl start dbconsole' operation.
    If Europe/Madrid is not the correct timezone, make sure that the timezone in your environment is correct, and then run the following command in your local Oracle Home: 'emctl resetTZ agent'
    The output of this command will include detailed instructions to follow, to correct the mismatch.
    im /etc/timezone is defined the correct timezone.
    HELP ME!!!!
    Thanks

    Look at this other thread Re: Time Zone Problem in Linux RedHat

  • DateTime and Timezone

    Greetings all. 
        First, of all, I am working in Business Logic 11.5.   I have a txt file sitting on a server (the server is in the Eastern Time Zone and DOES observer Daylight Saving Time) GMT-4 during the summer, GMT-5 during the winter.
    My MII server is in the Easter Time Zone and DOES NOT observe Daylight Saving Time GMT-5 all year round.
    I am using a GetFileList Action block to find out the Date (date node coming back is DateModified).
    <h4>The date coming back shows it's timezone as GMT-5</h4>
    (I'm guessing from the Mii server) when I do a
    datefromxmlformat( GetFileList.FileList{/Rowsets/Rowset/Row/Date},  "MM/dd/yyyy HH:mm:ss z")
    I'd like to subtrack 5 hours - I know dateaddhours(datetime, -5) - and have it return that that the timezone is now GMT-0 - that's the reason to subtract 5 -for Eastern TimeZone
    <h4>ITEM 1-  but can't figure out how to get the Time Zone to change.  </h4>
    <h4>ITEM 2  - The Sample output for the action shows 7 Nodes coming back I only receive 5 of them</h4>
    This is mostly a Curiousity Question not a needed item
    <Row>
      <Name></Name>
      <Date>This is really ModifiedDate</Date>
      <LastWriteDate></LastWriteDate>
      <LastAccessDate></LastAccessDate>
      <Size></Size>
      <ReadOnly></ReadOnly>
      <FullPath></FullPath>
    </Row>
    I only get back  
    <Row>
      <Name></Name>
      <Date>This is really ModifiedDate</Date>
      <Size></Size>
      <ReadOnly></ReadOnly>
      <FullPath></FullPath>
    </Row>
    <h4>Is there anyway to get the remaining 2 nodes?</h4>
    Edited by: Dennis West on Sep 8, 2008 10:33 PM

    Dennis,
    #2 Looks like an 11.5 bug to me (perhaps some carryover from 11.0/.NET to java conversion) - where the reference document shown by the action block in the link editor is different than what actually gets built and returned at runtime by the Runner engine.
    12.0 adds the LastWriteDate back to the output, and design time and runtime match, but LastAccessDate is gone for good.
    Regards,
    Jeremy
    Edited by: Jeremy Good on Sep 8, 2008 8:57 PM

  • More date problems: Missing time and timezones

    I looked over the board for any past advice, but couldn't find anything directly relating to this. Then, it maybe my poor ability to search properly. So, I'll appologise in advance.....
    I'm changing the value of a date, using a class I wrote. When I do so, the date returned seems to be timeless. On top of that, if I try to format it with a timezone 'z', I get the exception:
    Unparseable date: "2/6/2003 9:59:17"
    Here's the code I'm using:
    //My date class snippits.
    public void setValue(String inDate) throws ParseException, Throwable
    TimeZone tz = TimeZone.getTimeZone("GMT"+getTimeZone());
    //Calendar cal = Calendar.getInstance(tz);
    SimpleDateFormat sdf = new SimpleDateFormat("dd/MM/yyyy HH:mm:ss z");
    sdf.setLenient(true);
    sdf.setTimeZone(tz);
    theDate.setTime(sdf.parse(inDate).getTime());
    isNull = false;
    public void setNull()
    theDate = null;
    isNull = true;
    public Timestamp getValue()
    return theDate;
    // Code for when I retreve the value
    Timestamp timestamp = ((theDateClass)theResult).getValue();
    DATE theDate = new DATE(timestamp.toString());
    Any ideas or help is much appreciated.
    Cheers.

    I haven't been trying it out, but it looks to me your
    problem could be due to an inconsistency between the
    two...
    yoou expect two digits for both day and month, but
    provide only one.It parses the date without exception if there's no timezone on the end of the format. That's what's puzzling me.

  • Confused with Calendars and TimeZones

    Hi, I'll explain what I want to do. I have a table with several of what I call a "Time Ranges". Each Time Range has a day (day of week), beginTime and endTime. I also have different clients, each from a different country. Each client has a timezone associated (the format of this timezone is not defined just yet, but it should be something like -3, -4, +1, etc).
    I want to get the current date, and be able to figure out if it is within a certain time range. For example, right now in Argentina is
    11:48 AM GMT-3
    This should match these time ranges:
    11:00~12:00 | -3
    10:00~11:00 | -4
    13:00~14:00 | -1
    And should not match this time range:
    11:00~12:00 | -4
    I'm trying to get the "current time for a certain time zone" with Calendar, and then be able to extract the time from that Calendar and compare it with my beginTime and endTime. I'm not getting anywhere.
    Something like this:
    Calendar cal = Calendar.getInstance(TimeZone.getTimeZone("GMT-08:00"));
    System.out.println(cal.getTime());Is printing GMT-3 time. Please help.

    manugarciac wrote:
    Ok, I did it like this. The TimeRange Class has this method:
    public boolean isActive(String timezone) {
    Calendar cal = Calendar.getInstance(TimeZone.getTimeZone(timezone));
    if (cal.get(Calendar.DAY_OF_WEEK) == this.day) {
    Time time = new Time(cal.get(Calendar.HOUR_OF_DAY), cal.get(Calendar.MINUTE), 0);
    return (beginTime == null || time.after(beginTime)) && (endTime == null || time.before(endTime));
    return false;
    }Timezone should come in this format: "GMT-04:00" and Time is java.sql.Time.
    The only downside is that the Time constructor I used is deprecated. It says I should use the one that uses milliseconds since 1970. That kinda sucks, as I don't really care how much time passed since that time for this time. Any ideas of what I should use?forget java.sql.Time. use Calendar.set(int year, int month, int date, int hourOfDay, int minute) to set beginTime and endTime. use Calendar.compareTo(Calendar anotherCalendar) for the test.
    Edited by: pete_d on Sep 10, 2010 3:09 PM
    Not sure exactly what's going on in your TimeRange class but if the hour, minute, second and time zone in addition to the day of week (it seems that it does) for both begin and end time, then you can use this to create a Calendar instance to compare with the current time or to whatever other Calendar instance you want to check using its year, month day.

  • Support multiple language and timezone

    Hi experts,
    My company is going to use ondemand for asia countries. Each country will be using their local language. In this case, how can we set up the system where
    user A in Japan can see the account in Japanse and record is logged in Japan timezone. The currency is default to Japanese Yen.
    user B in Thailand can see the account in Thai and record is logged in Thailand timezone. The currency is default to Thai baht.
    Thanks.
    Sab,

    Sab,
    When you create their user ID you set their locale defaults, you also need to do all the language translation for their page views, and setup the exchange rates.
    regards
    Alex

  • Golden Gate and Timezone

    Hi all,
    This may sound like one sort of typical question, we are using OGG for active active, between two data centers which are at different timezones, my question here is, can we able to replicat data according to local time zone on Data centers?
    I mean 1st data center should have timestamps of EST even what OGG replicats and on 2nd Data center it should have all records in PST timestamp?
    May be sound like a typical question, does it work that way in OGG, where we can change all the data which is been replicating should convert the timestamp columns to local timezone?
    Or only solution is to maintain all Data centers in one time zone?
    If so we need to change timezone at server level or else Database level will be fine?
    We are using Sun sparc servers and oracle 11.1.0.7 DB version.
    Thank You

    "I may wrong. But as per my thinking there is no dependencies on timestamp. Because already replication takes time if trailfile is big than timestamp changes at that time for sure. At that time you dont need timestamp accuracy. And goldengate is working on trailfile concept. It does not matter on timestamp. Please I can't understand the dependencies of timestamp over goldengate."
    Timestamp is used extensively in GoldenGate. One example, when to start Extract in an A-A system:
    "On the primary system, alter the primary Extract to begin capturing data based on the current timestamp."
    Conflict resolution, using an exceptions table:
    Create an exceptions table the same way that you would create any other table in the
    database. The following are suggested columns to include in an exceptions table.
    ● The primary key value on the exceptions table.
    ● The operation type.
    ● The name of the table for which the conflict occurred.
    ● The primary key value for the row that was being modified. This lets you look up the
    row again to verify data when needed.
    ● An image of the data that was applied to the target row.
    ● The before-image of the source record that was replicated. This is useful for comparing
    the old image against an overwritten image to determine if the conflict-resolution
    routine was correct in its resolution. This is important when resolving quantitative
    values such as those in inventories.
    ● The before-image of the data that was in the record on the target side, which was
    overwritten. This is helpful for notification and for resolving discrepancies that may
    not have been solved by the resolution routines.
    ● The time that the conflict was resolved.
    ● The timestamp of the record that won the conflict, if using timestamp-based resolution.
    ● The timestamp that was in the original target row before it was overwritten, if using
    timestamp-based resolution. Ensuring that this value is newer or older than the
    timestamp of the record that won (depending on your business rule) provides proof that
    the timestamp-based routine was successful.
    As one method for resolving conflicts:
    Methods for resolving conflict
    The following are some methods that are typically used in conflict-resolution routines.
    Different methods can be used in combination so that if one method fails, another method
    is applied. If you need assistance with constructing your routines, contact Oracle Support.
    For more information, go to http://support.oracle.com.
    Timestamp priority
    You can resolve conflicts based on a timestamp, where the record that was modified first
    (or in some cases, last) always takes priority. To use timestamp priority:
    ● Each record must contain a timestamp column that contains the date and time that the
    record was inserted or updated. You can use a database trigger or you can modify the
    application code to place the timestamp in the column.
    ● The timestamps on all databases must be identical, and all servers must be in the same
    time zone.

  • UDF having date and timezone field in OIM 11gR2

    Hi Experts,
    How to create UDF having date and time filed in OIM11gR2?
    Thanks,
    Amit
    Edited by: 955130 on Dec 13, 2012 12:18 AM

    Basically the problem set is, my client wants to enter the term date as date and time, but by default the term date comes with calendar popup that does not support time entry also from user form.
    Yes, it is correct that we can use date as well as string, and the solution proposed is like we add 3 drop down along with the term date,
    first drp down contains hours HH, second MM and third location (For maintaining the office location)
    I want an advise on below things:
    1. Does OIM supports globalisation and localization concept. meaning the date time is maintined as location specific or do i need to save location somewhere and create a lookup field where all the locaitons and there difference of timezones are kept?
    2. Can i have a calendar replaceed by date time calender so that i can get rid of drop downs?
    3. If not, which is the best way of updating my term date with time also, will event handler work here?
    thanks all.

  • Calendar appointment times and timezones in new Bold

    Hi All,
    I'm new to the world of BB and have a question about time zones - I know this is a drama subject for a lot of smart phones, but the Bold has a couple of options I'm not familiar with.
    I have a new Bold running v5.0.0.743 and I have set the date/time settings to;
    Auto adjust time zone - OFF
    Set time - AUTOMATIC
    I set 90% of my appointments in Office 2003 with no option to account for different time zones and to keep my Outlook and BB appointments reading the same, I don't want my BB to adjust timezones, but it would be nice to automatically adjust to local time.
    Could somebody please let me know what my phone will do with these settings if I travel into a new time zone?
    Cheers
    John K

    Hi josefd
    Yes, I can work out how to get round this problem but I very much feel that it is a problem that Nokia should resolve if they want this phone to be used by business travellers. I am not prepared to operate in the way you suggest as I think it is very much open to human error, and also very reliant on the phone networks working properly.
    I think you need to experience this before you discover how annoying it is. Compare it to the old paper diaries. If you had an appointment with a colleague in France next week for 2pm, you would write 2pm in your diary. you would not check what time zone they were in and then write a different time in your diary .Why should I convert times to UK times just because this phone does something so unusual?
    As I said this approach is very prone to human error, and also relies upon the local networks and the phone to update the time correctly as it is particularly annoying if the network in the coutry you visit is unrelaible (or is it the phone?). For instance in Costa Rica the time never changed which made it even more confusing.
    All Nokia need to do is give us an option such as "the time has changed - do you want to change your calendar entries Yes/No". Surely that would be easy enough?

Maybe you are looking for

  • File Ext Openning problem!

    I have searched all over my mac high and low and can not figure out out to make the default file ext. open in the correct program example .doc, .eps, .psd, .pdf, .indd I can only right click and have it open in program if I double click all files ope

  • Wrong Sender Agreement:The Sender agreement does not have channel

    Hi Guys, I am trying RFC to File scenarion where I am triggering a report which is calling a RFC module I have given the destinaztion name correct .When I am executing the report it is failing giving the following error "Wrong Sender Agreement:The Se

  • Large data sets and table partitioning

    I have an Oracle 9i database and I need to store huge volume of data in a table, so I use a composite partitioning. Is there a maximum size for my table to keep performances (if it's possible, I would like to store several Terra (1000 Mega) of data)?

  • Smartforms - Change a text elements character Format

    Hello, I need to modify a Smartform by increasing the font size on some text elements.  When I highlight the text element to change and then click the dropdown for Character Format I can click the format I would like but it never changes. I've also t

  • OBIEE 11g and Weblogic on different Servers - Windows 2008 R2

    Hi Can we install OBIEE 11g(BI Server and Presentation Servers) on one server and weblogic and another server. We have a requirement where we need to differentiate all the components on to its own server for performance reasons. How can we do the con