Date problem with IST(+5:30) timezone

Hi,
I'm having problem with Timezone IST, which is GMT + 05:30.
SimpleDateFormat returns incorrect date when timezone on client machine is other than IST.
When Timezone on machine is IST, correct value is returned.
See the below example. All four dates are same ( LKT is also + 05:30).
When timezone on machine is IST, all four dates are displayed same.
For any other timezone, IST date is displayed incorrectly, rest 3 are displayed correctly.
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
public class Test {
    public static void main(String[] args) throws ParseException {
        SimpleDateFormat simpleDateFormat = new SimpleDateFormat("EEE MMM d HH:mm:ss Z yyyy");
        Date date1 = simpleDateFormat.parse("Wed Sep 02 02:17:41 +0530 2009");
        Date date2 = simpleDateFormat.parse("Wed Sep 02 02:17:41 IST 2009");
        Date date3 = simpleDateFormat.parse("Tue Sep 01 13:47:41 PDT 2009");
        Date date4 = simpleDateFormat.parse("Wed Sep 02 02:17:41 LKT 2009");
        System.out.println(date1.toString());
        System.out.println(date2.toString());
        System.out.println(date3.toString());
        System.out.println(date4.toString());
        System.out.println("Date1 equals Date2? " + date1.equals(date2));
        System.out.println("Date1 equals Date3? " + date1.equals(date3));
        System.out.println("Date1 equals Date4? " + date1.equals(date4));
        System.out.println("Date1.getTime() " + date1.getTime());
        System.out.println("Date2.getTime() " + date2.getTime());
        System.out.println("Date3.getTime() " + date3.getTime());
        System.out.println("Date4.getTime() " + date4.getTime());
Output when timezone on client is GMT IST (GMT + 05:30):
Wed Sep 02 02:17:41 IST 2009
Wed Sep 02 02:17:41 IST 2009
Wed Sep 02 02:17:41 IST 2009
Wed Sep 02 02:17:41 IST 2009
Date1 equals Date2? true
Date1 equals Date3? true
Date1 equals Date4? true
Date1.getTime() 1251838061000
Date2.getTime() 1251838061000
Date3.getTime() 1251838061000
Date4.getTime() 1251838061000
Output when timezone on client is GMT (Casablanca):
Tue Sep 01 15:47:41 ACT 2009
Tue Sep 01 19:17:41 ACT 2009
Tue Sep 01 15:47:41 ACT 2009
Tue Sep 01 15:47:41 ACT 2009
Date1 equals Date2? false
Date1 equals Date3? true
Date1 equals Date4? true
Date1.getTime() 1251838061000
Date2.getTime() 1251850661000
Date3.getTime() 1251838061000
Date4.getTime() 1251838061000
Output when timezone on client is PDT ( -0800, -0700 for this date due due Daylight saving):
Tue Sep 01 13:47:41 PDT 2009
Tue Sep 01 17:17:41 PDT 2009
Tue Sep 01 13:47:41 PDT 2009
Tue Sep 01 13:47:41 PDT 2009
Date1 equals Date2? false
Date1 equals Date3? true
Date1 equals Date4? true
Date1.getTime() 1251838061000
Date2.getTime() 1251850661000
Date3.getTime() 1251838061000
Date4.getTime() 1251838061000
IS this a bug in java??
Regards

Your program is in error. PDT and LKT are not valid time zone ids in Java. There may be other problems, also, I didn't check.
I know this program produces valid results, you can try it
import java.text.DateFormat;
import java.util.Date;
import java.util.TimeZone;
public class DateTest
    public static void main(String[] args)
        Date current = new Date();
        DateFormat df =
            DateFormat.getDateTimeInstance(DateFormat.MEDIUM, DateFormat.FULL);
        System.out.println("Default TZ: " + df.format(current));
        df.setTimeZone(TimeZone.getTimeZone("IST"));
        System.out.println(df.format(current));
        df.setTimeZone(TimeZone.getTimeZone("GMT"));
        System.out.println(df.format(current));
        df.setTimeZone(TimeZone.getTimeZone("Etc/GMT-5"));
        System.out.println(df.format(current));
}This program lists all of Java's time zones
import java.util.*;
public class TimezoneList
    public static void main(String[] args)
        int msPerHr = 3600 * 1000;
        String[] ids = TimeZone.getAvailableIDs();
        for (int n = 0; n < ids.length; n++)
            TimeZone tz = TimeZone.getTimeZone(ids[n]);
            System.out.print(
                "TZ: " + ids[n] + "  " + (double) tz.getRawOffset() / msPerHr + "  ");
            System.out.println(
                tz.useDaylightTime() ? "DST=" + (double) tz.getDSTSavings() / msPerHr : "");
}

Similar Messages

  • Problems with the Pacific/Auckland timezone

    I have a problem with the Pacific/Auckland timezone.
    I have a client in New Zealand using Java on a Windows XP computer with the Auckland, Wellington Windows timezone. Around March 30th he had one hour dis-alignment in the Java time and the Windows time, this went on for some days until after the timezone switched Daylight Saving Time (DST) off April 4th.
    I have tested it with the small program below and will have the problem again from September 27th to October 3th (New Zealand turn DST on September 26th). It seams to be a problem only for the Pacific/Auckland timezone as when I use other timezones the problem does not occur. Is this a bug in Java or do I do something wrong?
    Note: I tested using the JRE 1.6.0_20
    import java.util.GregorianCalendar;
    import java.util.Calendar;
    import java.util.TimeZone;
    public class ShowDate {
         public static void main(String args[]) {
              Calendar cal = new GregorianCalendar();
              String str = cal.toString();
              String data[] = str.split(",");
              for (int i=0; i<data.length; i++) {
                   System.out.println(data);

    The problem was not connected to Java but a missing update of the Windows system

  • Having data problems with ios6, seems to be a unique problem?

    My little brother recently bought an iphone 4s and imediately upgraded to ios6. Since the phone has been in use (less than 30 days) the phone company (bell a canadian company) claims he has used up 17 Gigs of data but the iphone counter says he has only used 5 gigs. I realize the counter may not be totally accurate but that big of a difference seems a little crazy. I also have an iphone 4s with the ios 6 and my data usage that my phone counter displays matches what my phone company says almost perfect (a few mb difference). The data amounts come in large chunks on my brothers phone and at very odd times such as: 1456.28 mb at 4:04 am, or 4268.07mb in one session. He does not use his phone for streaming or anything like that, We are aware of what uses large amounts of data and what does not. he uses it for facebook twitter web browing etc.
    When talking to tech support one guy said that we could have a "lemon" phone claiming that a known problem with ios6 can cause the data to somehow get "scrambled" and completely making up data usage numbers to send to the phone company. According to him this makes it an apple problem.
    My main question is has anyone heard of this? If so I am looking for articles talking abut this problem, we are looking at $1000.00 in overage chrges and are preparing for a fight with the phone company.
    The counter has never been reset and I know that I use my iphone 4s much more than my brother (I stream utube and radio stations alllll the time, goole maps etc) and have never once gone over my 6 gb limit. It just seems quite crazy to me that the difference in the iphone data collector (about 5 gb) and what the phone company has (17gb) is so great. To me that is indicating a serious problem. Any input would be greatly appreciated!
    Thanks
    Crystal

    kleptul wrote:
    I have upgraded from a SB Li've! to an SB Li've 24-bit, but I HAVE performed a complete format/clean install of WinXP SP2 to try to correct this problem. WinXP at first recognizes the card as a "Multimedia Audio Controller(the whole yellow "!" found in device manager). Upon installing either the drivers that came with the CD or the updated drivers from the website, the card works fine until I start the system up again, and I'm back at square one, having to install either set of drivers again(and rebooting) to have the card work properly once again. But after shutting down AGAIN... It's like I never installed the drivers in the first place. I'm running in a vicious circle here, like WinXP refuses to acknowledge the drivers permanently. I have formatted and reinstalled WinXP SP2 a total of three times now, to no avail. I'm a computer tech of 2 years and have NEVER seen a problem such as this. Each time the device manager comes up as "drivers for this device has not been installed". And from personal experiences/general knowledge, this does not sound like faulty hardware to me. It's THIS kind of instabilaty that makes me actually MISS dos! Um... help?
    Hi
    Sounds like your system don't recognize the sard (BIOS or OS).
    Does your system recognize the card as a "Creative Li've! 24-bit" or something (is PnP functionality in use?) even it don't work? Is BIOS battery well?
    Have you tried by installing Li've! in another PCI slot?
    Is there some security settings set on XP, and are you installing with full admin rights? Can you find the driver files even when your card is not functioning?
    Also, have you tried install drivers by executing the ctzapxx.exe found on installation package.
    jutapaMessage Edited by jutapa on 0-06-2006 08:53 PM

  • Live Data / Problem with file permissions

    Just trying out an old version of Dreamweaver MX 2004. I am
    using my webhosting service for remote server/testing server
    duties. It is running PHP 4.3.10 and MySQL 3.23.58. I was able to
    set up the database connection and test-retrieve a recordset with
    no problems. In following the tutorial I found that Livedata
    wouldn't work, it just giving me a warning about file permissions
    being wrong. It turns out that when Dreamweaver creates a temporary
    file of the work-in-progress to upload to the remote server the
    file is created on the server with owner=rw, group=rw, world=r
    which explains why it won't run - group has to be set to group=r.
    The file is created on the fly and then immediately deleted by
    Dreamweaver so it is impossible to manually set the permission on
    the server and probably fairly pointless too.
    I tried just saving the file and previewing in the browser
    which again causes it to be uploaded to the remote server. The
    first time this resulted in the browser offering a file download
    box instead of running the page. The reason is - again - that
    Dreamweaver is setting the uploaded file permissions to include
    group=rw. If I manually set the permission for group to group=r it
    runs fine.
    It turns out that Dreamweaver is always setting the file
    permissions on file uploads (checked php and html) to the
    remote/testing server to include group=rw. Once I set it manually
    on the remote/testing server to group=r for a php file everything
    is fine and subsequent uploads of the same file do not change it
    again.
    I checked with the webhosting company and their second-line
    have reported back to me that the default file permission they set
    on uploaded files includes group=r so it must be DW that is causing
    the problem by setting group=rw the first time. I confirmed this by
    using WS-FTP to upload the same file (renamed) to the same target
    directory and the permissions set were owner=rw, group=r, world=r.
    So
    Can anyone please tell me how to change the permissions DW
    sets on files written to a remote server because I have spent
    countless hours on it without success. From looking at other posts
    in this forum it could be that other users are hitting the same
    kind of problem with DW8

    Stop using Live Data with a hosting account. Set up PHP and
    MySQL locally on
    your machine. That is how it's supposed to work. You
    shouldn't test files on
    the fly on a host as you write them. Change your test account
    in DW to use
    the local server. Upload your files to your remote server
    after they are
    fully tested.
    Tom Muck
    http://www.tom-muck.com/
    "nigelssuk" <[email protected]> wrote in
    message
    news:[email protected]...
    > Just trying out an old version of Dreamweaver MX 2004. I
    am using my
    > webhosting
    > service for remote server/testing server duties. It is
    running PHP 4.3.10
    > and
    > MySQL 3.23.58. I was able to set up the database
    connection and
    > test-retrieve a
    > recordset with no problems. In following the tutorial I
    found that
    > Livedata
    > wouldn't work, it just giving me a warning about file
    permissions being
    > wrong.
    > It turns out that when Dreamweaver creates a temporary
    file of the
    > work-in-progress to upload to the remote server the file
    is created on the
    > server with owner=rw, group=rw, world=r which explains
    why it won't run -
    > group
    > has to be set to group=r. The file is created on the fly
    and then
    > immediately
    > deleted by Dreamweaver so it is impossible to manually
    set the permission
    > on
    > the server and probably fairly pointless too.
    >
    > I tried just saving the file and previewing in the
    browser which again
    > causes
    > it to be uploaded to the remote server. The first time
    this resulted in
    > the
    > browser offering a file download box instead of running
    the page. The
    > reason is
    > - again - that Dreamweaver is setting the uploaded file
    permissions to
    > include
    > group=rw. If I manually set the permission for group to
    group=r it runs
    > fine.
    >
    > It turns out that Dreamweaver is always setting the file
    permissions on
    > file
    > uploads (checked php and html) to the remote/testing
    server to include
    > group=rw. Once I set it manually on the remote/testing
    server to group=r
    > for a
    > php file everything is fine and subsequent uploads of
    the same file do not
    > change it again.
    >
    > I checked with the webhosting company and their
    second-line have reported
    > back
    > to me that the default file permission they set on
    uploaded files includes
    > group=r so it must be DW that is causing the problem by
    setting group=rw
    > the
    > first time. I confirmed this by using WS-FTP to upload
    the same file
    > (renamed)
    > to the same target directory and the permissions set
    were owner=rw,
    > group=r,
    > world=r.
    >
    > So
    >
    > Can anyone please tell me how to change the permissions
    DW sets on files
    > written to a remote server because I have spent
    countless hours on it
    > without
    > success. From looking at other posts in this forum it
    could be that other
    > users
    > are hitting the same kind of problem with DW8
    >

  • Binary data problem with web services on JRockit but not Sun JDK

    I have a problem with binary data in SOAP and JRockit
    (jrrt-3.0.0-1.6.0-linux-x64.bin) . I have an set of web services based
    on EJB 3.0 which return images as byte arrays inside a SOAP envelope
    to be consumed by .NET 2 services. The host app server is Oracle
    Application Server 10.3.1 on RHEL Linux update 4, on 64 bit Xeon 5500
    series HP blade hardware.
    While most images are fine most of the time, one particular image
    gives this message when being consumed in the .NET client:
    The '■' character, hexadecimal value 0x1F, cannot be included in a
    name. Line 2, position 380038.
    The MSDN suggests that this is usually caused by non-escaping of reserved XML characters like < but this isn't one of those.
    The SOAP looks ok and for the life of me I can't see why this ought to
    be a problem, especially since the problem doesn't arise running with
    the SUN JDK 1.6_06 64 bit)
    When making the same call from the OAS Enterprise Manager, I can make the same call with no problem (but the data is just rendered as character data in a browser) which maybe suggests some incompatibility with how JRockit is serializing the data ?
    Any ideas, I would be very happy to hear - JRockit gives a 15% or so
    speed boost to the website that these services power so obviously we
    want to use it if possible.
    Edited by: RichLiv on Nov 14, 2008 4:54 AM

    Seems to be the case that using MTOM stops this problem with JRockit. Strange but apparently true (so far).

  • Date problem with 5320!

    I bought a nokia 5320 xm a few days ago and i am really satisfied with it.
    But i have got some problems with the date the always gets in advance within days.
    For eg. i set the date to Friday 13 february 2009, afte 1-2 days, the date changes to Tue 17 feb 09. It always gets 4 days in advance and that's really annoying when setting new alarms.Can someone help me resolve this problem?
    My firmware version is 4.12.
    Should i update to 4.13? Is there a newer version?
     For those who have 5320, from which country is it from? I didn't get from Finland so i took Korea. Is it of good quality?
    Plz reply...

    Do you use the alarm clock and switch the phone off at night?
    If so this is a common bug that has effected many models lately.  The only workaround is to leave the phone switched on at night.
    It may have been fixed in an updated firmware so check here for new firmware: www.nokia.com/softwareupdate
    If no new updates are available then let nokia about the issue by using the "contact us" link near the top of the page.
    The quality of your model is the same as the quality of Finnish models.
    Message Edited by psychomania on 13-Feb-2009 11:07 AM

  • Date problem with Epoch

    Javadoc for Date class has this definition -
    Date(long date)
    Allocates a Date object and initializes it to represent the specified number of milliseconds since the standard base time known as "the epoch", namely January 1, 1970, 00:00:00 GMT.
    When i initialiaze a Date object with a long value of 0 it doesn't give me "the epoch" when i print out the string representation.
    My simple test class is -
    import java.util.*;
    public class DateTest {
    public DateTest() {
    Date d = new Date(0L);
    System.out.println(d.toString());
    public static void main(String args[]) {
    DateTest dt = new DateTest();
    It gives me this output - Wed Dec 31 19:00:00 EST 1969
    Can anyone let me know why there is a difference of 5 hrs between the epoch and the date object?

    Hi gurudasm!
    Let us know if your time zone is GMT-5:00.

  • Date problem with timezones

    Hello
    I have very strange problem, i have two computers
    1.client computer - on this machine timzone is set to AZST
    2.server computer - on this machine timezone is set to GMT+4
    location are set to United States , both machines
    so my swing application calls ejb2 method from client machine to server and passes date which is 31/08/2011(Wed Aug 31 00:00:00 AZST 2011)
    but server logs it as 30/08/2011(Tue Aug 30 23:00:00 GMT+04:00 2011), i pass it by Date object , so my question is would it be better/helpful if i try to pass with long value and construct date on server side? or how is teqnique at this situation?

    The Date essentially IS the long value, it just has some (mostly deprecated) methods which allow you to treat that long value as a Date. So passing a long value doesn't fix the problem.
    What we did when we had that problem was to pass a Date and a Timezone; the Timezone we passed was the default time zone for the client. On the server side we formatted the date using the timezone passed from the client, not using the server's default time zone.

  • App+IIS server role, WCF data problems with Shrepoint Foundation 2013 install on 2012 R2

    Hi
    I am having tremendous trouble installing Sharepoint Foundation on a Windows 2012 R2 domain controller.
    The server has just been added to our domain, promoted and this is the first piece of software I am trying to install. I had run Windows Update after joining it to the domain and before making it a member server before it was promoted.
    I had real problems getting AppFabric to install but that is now done. However when I run the Sharepoint prerequisite installer (As Administrator) a results screen is displayed stating there was a configuration error during the installation of the Application
    Server Role, Web Server (IIS) Role. It also says that the installation of Microsoft WCF Data Services 5 was skipped.
    I manually added the Application Server Role.
    I have manually installed WCF Data Services, which was successful.
    I have used this page
    http://support.microsoft.com/kb/2765260/en-gb to try and get around the Application Server and IIS Roles error. The hotfix quoted on that page is not applicable to this system. I had to run a DISM command to create an image from the OS installation media
    before the Powershell commands would work.
    Next, I rebooted the server and ran the prerequisite installer again as recommended. However, exactly the same problems are reported.
    Can anyone help me with this, please?
    Thanks.
    Prerequisiteinstaller log:
    2014-07-08 15:31:20 - Processor architecture is (9)
    2014-07-08 15:31:20 - Reading the following string value/name...
    2014-07-08 15:31:20 - Common Startup
    2014-07-08 15:31:20 - from the following registry location...
    2014-07-08 15:31:20 - SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
    2014-07-08 15:31:20 - The value is...
    2014-07-08 15:31:20 - C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup
    2014-07-08 15:31:20 - Trying to remove the startup task if there is any.
    2014-07-08 15:31:20 - C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup\SharePointServerPreparationToolStartup_0FF1CE14-0000-0000-0000-000000000000.cmd
    2014-07-08 15:31:20 - Error: Startup task doesn't exist. This is not a continuation after a restart.
    2014-07-08 15:31:20 - Locating the following command line arguments file:
    2014-07-08 15:31:20 - C:\Program Files (x86)\MSECache\SharePoint2010\PrerequisiteInstaller.Arguments.txt
    2014-07-08 15:31:20 - Error: This file does not exist
    2014-07-08 15:31:20 - Details of the current operating system:
    2014-07-08 15:31:20 - Major version number of the operating system:  (6)
    2014-07-08 15:31:20 - Minor version number of the operating system:  (2)
    2014-07-08 15:31:20 - Build number of the operating system:  (0X23F0=9200)
    2014-07-08 15:31:20 - Major version number of the latest Service Pack:  (0)
    2014-07-08 15:31:20 - Minor version number of the latest Service Pack:  (0)
    2014-07-08 15:31:20 - Platform ID of the operating system:  (2)
    2014-07-08 15:31:20 - Product suites available on the operating system:  (0X110=272)
    2014-07-08 15:31:20 - Product type of the operating system: VER_NT_DOMAIN_CONROLLER
    2014-07-08 15:31:20 - Product type:  (7)
    2014-07-08 15:31:20 - OS type:  (0)
    2014-07-08 15:31:20 - Configuring the application's property sheet...
    2014-07-08 15:31:20 - Check whether the following prerequisite is installed:
    2014-07-08 15:31:20 - Windows Management Framework 3.0
    2014-07-08 15:31:20 - Reading the following string value/name...
    2014-07-08 15:31:20 - PowerShellVersion
    2014-07-08 15:31:20 - from the following registry location...
    2014-07-08 15:31:20 - SOFTWARE\Microsoft\PowerShell\3\PowerShellEngine
    2014-07-08 15:31:20 - The value is...
    2014-07-08 15:31:20 - 4.0
    2014-07-08 15:31:20 - A higher version of the prerequisite above is already installed
    2014-07-08 15:31:20 - Check whether the following prerequisite is installed:
    2014-07-08 15:31:20 - Microsoft .NET Framework 4.5
    2014-07-08 15:31:20 - Reading the following DWORD value/name...
    2014-07-08 15:31:20 - Install
    2014-07-08 15:31:20 - from the following registry location...
    2014-07-08 15:31:20 - SOFTWARE\Microsoft\Net Framework Setup\NDP\V4\full
    2014-07-08 15:31:20 - The value is (1)
    2014-07-08 15:31:20 - Reading the following string value/name...
    2014-07-08 15:31:20 - Version
    2014-07-08 15:31:20 - from the following registry location...
    2014-07-08 15:31:20 - SOFTWARE\Microsoft\Net Framework Setup\NDP\V4\full
    2014-07-08 15:31:20 - The value is...
    2014-07-08 15:31:20 - 4.5.51641
    2014-07-08 15:31:20 - A post release .NET 4.5 is installed
    2014-07-08 15:31:20 - Check whether the following prerequisite is installed:
    2014-07-08 15:31:20 - Windows Identity Foundation (KB974405)
    2014-07-08 15:31:20 - Reading the following string value/name...
    2014-07-08 15:31:20 -
    2014-07-08 15:31:20 - from the following registry location...
    2014-07-08 15:31:20 - SOFTWARE\Microsoft\Windows Identity Foundation\Setup\v3.5
    2014-07-08 15:31:20 - The value is...
    2014-07-08 15:31:20 - 6.1.7600.0
    2014-07-08 15:31:20 - The prerequisite above is already installed
    2014-07-08 15:31:20 - Check whether the following prerequisite is installed:
    2014-07-08 15:31:20 - Microsoft Sync Framework Runtime v1.0 SP1 (x64)
    2014-07-08 15:31:20 - Reading version of the following file...
    2014-07-08 15:31:20 - C:\Windows\assembly\GAC_MSIL\Microsoft.Synchronization\1.0.0.0__89845dcd8080cc91\Microsoft.Synchronization.dll
    2014-07-08 15:31:20 - The version is...
    2014-07-08 15:31:20 - 1.0.3010.0
    2014-07-08 15:31:20 - The prerequisite above is already installed
    2014-07-08 15:31:20 - Check whether the following prerequisite is installed:
    2014-07-08 15:31:20 - Microsoft SQL Server 2008 R2 SP1 Native Client
    2014-07-08 15:31:20 - Reading the following string value/name...
    2014-07-08 15:31:20 - Version
    2014-07-08 15:31:20 - from the following registry location...
    2014-07-08 15:31:20 - SOFTWARE\Microsoft\Microsoft SQL Server\SQLNCLI10\CurrentVersion
    2014-07-08 15:31:20 - The value is...
    2014-07-08 15:31:20 - 10.51.2500.0
    2014-07-08 15:31:20 - A higher version of the prerequisite above is already installed
    2014-07-08 15:31:20 - Check whether the following prerequisite is installed:
    2014-07-08 15:31:20 - Windows Server AppFabric
    2014-07-08 15:31:20 - Reading the following string value/name...
    2014-07-08 15:31:20 - ProductVersion
    2014-07-08 15:31:20 - from the following registry location...
    2014-07-08 15:31:20 - SOFTWARE\Microsoft\AppFabric\V1.0
    2014-07-08 15:31:20 - The value is...
    2014-07-08 15:31:20 - 1.1.2106.32
    2014-07-08 15:31:20 - Reading the following string value/name...
    2014-07-08 15:31:20 - ProductVersion
    2014-07-08 15:31:20 - from the following registry location...
    2014-07-08 15:31:20 - SOFTWARE\Microsoft\AppFabric\V1.0
    2014-07-08 15:31:20 - The value is...
    2014-07-08 15:31:20 - 1.1.2106.32
    2014-07-08 15:31:20 - Reading the following string value/name...
    2014-07-08 15:31:20 - ProductVersion
    2014-07-08 15:31:20 - from the following registry location...
    2014-07-08 15:31:20 - SOFTWARE\Microsoft\AppFabric\V1.0
    2014-07-08 15:31:20 - The value is...
    2014-07-08 15:31:20 - 1.1.2106.32
    2014-07-08 15:31:20 - Reading the following DWORD value/name...
    2014-07-08 15:31:20 - DCC
    2014-07-08 15:31:20 - from the following registry location...
    2014-07-08 15:31:20 - SOFTWARE\Microsoft\AppFabric\V1.0\Features
    2014-07-08 15:31:20 - The value is (1)
    2014-07-08 15:31:20 - CacheClient is Installed.
    2014-07-08 15:31:20 - Reading the following DWORD value/name...
    2014-07-08 15:31:20 - DCS
    2014-07-08 15:31:20 - from the following registry location...
    2014-07-08 15:31:20 - SOFTWARE\Microsoft\AppFabric\V1.0\Features
    2014-07-08 15:31:20 - The value is (1)
    2014-07-08 15:31:20 - CacheService is Installed.
    2014-07-08 15:31:20 - Reading the following DWORD value/name...
    2014-07-08 15:31:20 - DCA
    2014-07-08 15:31:20 - from the following registry location...
    2014-07-08 15:31:20 - SOFTWARE\Microsoft\AppFabric\V1.0\Features
    2014-07-08 15:31:20 - The value is (1)
    2014-07-08 15:31:20 - CacheAdmin is Installed.
    2014-07-08 15:31:20 - The prerequisite above is already installed
    2014-07-08 15:31:20 - Check whether the following prerequisite is installed:
    2014-07-08 15:31:20 - Windows Identity Foundation (KB974405)
    2014-07-08 15:31:20 - Reading the following string value/name...
    2014-07-08 15:31:20 -
    2014-07-08 15:31:20 - from the following registry location...
    2014-07-08 15:31:20 - SOFTWARE\Microsoft\Microsoft Identity Extensions\Setup\1.0
    2014-07-08 15:31:20 - The value is...
    2014-07-08 15:31:20 - 2.0.1459.0
    2014-07-08 15:31:20 - A higher version of the prerequisite above is already installed
    2014-07-08 15:31:20 - Check whether the following prerequisite is installed:
    2014-07-08 15:31:20 - Microsoft Information Protection and Control Client
    2014-07-08 15:31:20 - Reading the following string value/name...
    2014-07-08 15:31:20 -
    2014-07-08 15:31:20 - from the following registry location...
    2014-07-08 15:31:20 - SOFTWARE\Microsoft\MSIPC\CurrentVersion
    2014-07-08 15:31:20 - The value is...
    2014-07-08 15:31:20 - 1.0.621.117
    2014-07-08 15:31:20 - A higher version of the prerequisite above is already installed
    2014-07-08 15:31:20 - Check whether the following prerequisite is installed:
    2014-07-08 15:31:20 - Microsoft WCF Data Services 5.0
    2014-07-08 15:31:20 - Reading the following string value/name...
    2014-07-08 15:31:20 - Version
    2014-07-08 15:31:20 - from the following registry location...
    2014-07-08 15:31:20 - SOFTWARE\Wow6432Node\Microsoft\Microsoft WCF Data Services\5.0
    2014-07-08 15:31:20 - Check whether the following prerequisite is installed:
    2014-07-08 15:31:20 - Cumulative Update Package 1 for Microsoft AppFabric 1.1 for Windows Server (KB2671763)
    2014-07-08 15:31:20 - Reading the following DWORD value/name...
    2014-07-08 15:31:20 - IsInstalled
    2014-07-08 15:31:20 - from the following registry location...
    2014-07-08 15:31:20 - SOFTWARE\Wow6432Node\Microsoft\Updates\AppFabric 1.1 for Windows Server\KB2671763
    2014-07-08 15:31:20 - The value is (1)
    2014-07-08 15:31:20 - The prerequisite above is already installed
    2014-07-08 15:31:23 - Beginning download/installation
    2014-07-08 15:31:23 - Created thread for installer
    2014-07-08 15:31:23 - "C:\Windows\system32\ServerManagerCmd.exe" -inputpath "C:\Users\ADMINI~1.HTL\AppData\Local\Temp\2\Pre1B5C.tmp.XML"
    2014-07-08 15:31:23 - Error: Unable to install (2)
    2014-07-08 15:31:23 - Error: [In HRESULT format] (-2147024894)
    2014-07-08 15:31:23 - Last return code (2)
    2014-07-08 15:31:23 - Reading the following DWORD value/name...
    2014-07-08 15:31:23 - Flags
    2014-07-08 15:31:23 - from the following registry location...
    2014-07-08 15:31:23 - SOFTWARE\Microsoft\Updates\UpdateExeVolatile
    2014-07-08 15:31:23 - Reading the following string value/name...
    2014-07-08 15:31:23 - PendingFileRenameOperations
    2014-07-08 15:31:23 - from the following registry location...
    2014-07-08 15:31:23 - SYSTEM\CurrentControlSet\Control\Session Manager
    2014-07-08 15:31:23 - Reading the following registry location...
    2014-07-08 15:31:23 - SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\RebootRequired
    2014-07-08 15:31:23 - Error: The tool was unable to install Application Server Role, Web Server (IIS) Role.
    2014-07-08 15:31:23 - Last return code (2)
    2014-07-08 15:31:23 - Options for further diagnostics: 1. Look up the return code value 2. Download the prerequisite manually and verify size downloaded by the prerequisite installer. 3. Install the prerequisite manually from the given location without any
    command line options.
    2014-07-08 15:31:23 - Cannot retry
    2014-07-08 15:31:23 - Check whether the following prerequisite is installed:
    2014-07-08 15:31:23 - Windows Management Framework 3.0
    2014-07-08 15:31:23 - Reading the following string value/name...
    2014-07-08 15:31:23 - PowerShellVersion
    2014-07-08 15:31:23 - from the following registry location...
    2014-07-08 15:31:23 - SOFTWARE\Microsoft\PowerShell\3\PowerShellEngine
    2014-07-08 15:31:23 - The value is...
    2014-07-08 15:31:23 - 4.0
    2014-07-08 15:31:23 - A higher version of the prerequisite above is already installed
    2014-07-08 15:31:23 - Check whether the following prerequisite is installed:
    2014-07-08 15:31:23 - Microsoft .NET Framework 4.5
    2014-07-08 15:31:23 - Reading the following DWORD value/name...
    2014-07-08 15:31:23 - Install
    2014-07-08 15:31:23 - from the following registry location...
    2014-07-08 15:31:23 - SOFTWARE\Microsoft\Net Framework Setup\NDP\V4\full
    2014-07-08 15:31:23 - The value is (1)
    2014-07-08 15:31:23 - Reading the following string value/name...
    2014-07-08 15:31:23 - Version
    2014-07-08 15:31:23 - from the following registry location...
    2014-07-08 15:31:23 - SOFTWARE\Microsoft\Net Framework Setup\NDP\V4\full
    2014-07-08 15:31:23 - The value is...
    2014-07-08 15:31:23 - 4.5.51641
    2014-07-08 15:31:23 - A post release .NET 4.5 is installed
    2014-07-08 15:31:23 - Check whether the following prerequisite is installed:
    2014-07-08 15:31:23 - Windows Identity Foundation (KB974405)
    2014-07-08 15:31:23 - Reading the following string value/name...
    2014-07-08 15:31:23 -
    2014-07-08 15:31:23 - from the following registry location...
    2014-07-08 15:31:23 - SOFTWARE\Microsoft\Windows Identity Foundation\Setup\v3.5
    2014-07-08 15:31:23 - The value is...
    2014-07-08 15:31:23 - 6.1.7600.0
    2014-07-08 15:31:23 - The prerequisite above is already installed
    2014-07-08 15:31:23 - Check whether the following prerequisite is installed:
    2014-07-08 15:31:23 - Microsoft Sync Framework Runtime v1.0 SP1 (x64)
    2014-07-08 15:31:23 - Reading version of the following file...
    2014-07-08 15:31:23 - C:\Windows\assembly\GAC_MSIL\Microsoft.Synchronization\1.0.0.0__89845dcd8080cc91\Microsoft.Synchronization.dll
    2014-07-08 15:31:23 - The version is...
    2014-07-08 15:31:23 - 1.0.3010.0
    2014-07-08 15:31:23 - The prerequisite above is already installed
    2014-07-08 15:31:23 - Check whether the following prerequisite is installed:
    2014-07-08 15:31:23 - Microsoft SQL Server 2008 R2 SP1 Native Client
    2014-07-08 15:31:23 - Reading the following string value/name...
    2014-07-08 15:31:23 - Version
    2014-07-08 15:31:23 - from the following registry location...
    2014-07-08 15:31:23 - SOFTWARE\Microsoft\Microsoft SQL Server\SQLNCLI10\CurrentVersion
    2014-07-08 15:31:23 - The value is...
    2014-07-08 15:31:23 - 10.51.2500.0
    2014-07-08 15:31:23 - A higher version of the prerequisite above is already installed
    2014-07-08 15:31:23 - Check whether the following prerequisite is installed:
    2014-07-08 15:31:23 - Windows Server AppFabric
    2014-07-08 15:31:23 - Reading the following string value/name...
    2014-07-08 15:31:23 - ProductVersion
    2014-07-08 15:31:23 - from the following registry location...
    2014-07-08 15:31:23 - SOFTWARE\Microsoft\AppFabric\V1.0
    2014-07-08 15:31:23 - The value is...
    2014-07-08 15:31:23 - 1.1.2106.32
    2014-07-08 15:31:23 - Reading the following string value/name...
    2014-07-08 15:31:23 - ProductVersion
    2014-07-08 15:31:23 - from the following registry location...
    2014-07-08 15:31:23 - SOFTWARE\Microsoft\AppFabric\V1.0
    2014-07-08 15:31:23 - The value is...
    2014-07-08 15:31:23 - 1.1.2106.32
    2014-07-08 15:31:23 - Reading the following string value/name...
    2014-07-08 15:31:23 - ProductVersion
    2014-07-08 15:31:23 - from the following registry location...
    2014-07-08 15:31:23 - SOFTWARE\Microsoft\AppFabric\V1.0
    2014-07-08 15:31:23 - The value is...
    2014-07-08 15:31:23 - 1.1.2106.32
    2014-07-08 15:31:23 - Reading the following DWORD value/name...
    2014-07-08 15:31:23 - DCC
    2014-07-08 15:31:23 - from the following registry location...
    2014-07-08 15:31:23 - SOFTWARE\Microsoft\AppFabric\V1.0\Features
    2014-07-08 15:31:23 - The value is (1)
    2014-07-08 15:31:23 - CacheClient is Installed.
    2014-07-08 15:31:23 - Reading the following DWORD value/name...
    2014-07-08 15:31:23 - DCS
    2014-07-08 15:31:23 - from the following registry location...
    2014-07-08 15:31:23 - SOFTWARE\Microsoft\AppFabric\V1.0\Features
    2014-07-08 15:31:23 - The value is (1)
    2014-07-08 15:31:23 - CacheService is Installed.
    2014-07-08 15:31:23 - Reading the following DWORD value/name...
    2014-07-08 15:31:23 - DCA
    2014-07-08 15:31:23 - from the following registry location...
    2014-07-08 15:31:23 - SOFTWARE\Microsoft\AppFabric\V1.0\Features
    2014-07-08 15:31:23 - The value is (1)
    2014-07-08 15:31:23 - CacheAdmin is Installed.
    2014-07-08 15:31:23 - The prerequisite above is already installed
    2014-07-08 15:31:23 - Check whether the following prerequisite is installed:
    2014-07-08 15:31:23 - Windows Identity Foundation (KB974405)
    2014-07-08 15:31:23 - Reading the following string value/name...
    2014-07-08 15:31:23 -
    2014-07-08 15:31:23 - from the following registry location...
    2014-07-08 15:31:23 - SOFTWARE\Microsoft\Microsoft Identity Extensions\Setup\1.0
    2014-07-08 15:31:23 - The value is...
    2014-07-08 15:31:23 - 2.0.1459.0
    2014-07-08 15:31:23 - A higher version of the prerequisite above is already installed
    2014-07-08 15:31:23 - Check whether the following prerequisite is installed:
    2014-07-08 15:31:23 - Microsoft Information Protection and Control Client
    2014-07-08 15:31:23 - Reading the following string value/name...
    2014-07-08 15:31:23 -
    2014-07-08 15:31:23 - from the following registry location...
    2014-07-08 15:31:23 - SOFTWARE\Microsoft\MSIPC\CurrentVersion
    2014-07-08 15:31:23 - The value is...
    2014-07-08 15:31:23 - 1.0.621.117
    2014-07-08 15:31:23 - A higher version of the prerequisite above is already installed
    2014-07-08 15:31:23 - Check whether the following prerequisite is installed:
    2014-07-08 15:31:23 - Microsoft WCF Data Services 5.0
    2014-07-08 15:31:23 - Reading the following string value/name...
    2014-07-08 15:31:23 - Version
    2014-07-08 15:31:23 - from the following registry location...
    2014-07-08 15:31:23 - SOFTWARE\Wow6432Node\Microsoft\Microsoft WCF Data Services\5.0
    2014-07-08 15:31:23 - Check whether the following prerequisite is installed:
    2014-07-08 15:31:23 - Cumulative Update Package 1 for Microsoft AppFabric 1.1 for Windows Server (KB2671763)
    2014-07-08 15:31:23 - Reading the following DWORD value/name...
    2014-07-08 15:31:23 - IsInstalled
    2014-07-08 15:31:23 - from the following registry location...
    2014-07-08 15:31:23 - SOFTWARE\Wow6432Node\Microsoft\Updates\AppFabric 1.1 for Windows Server\KB2671763
    2014-07-08 15:31:23 - The value is (1)
    2014-07-08 15:31:23 - The prerequisite above is already installed
    2014-07-08 15:31:26 - Opening log file
    2014-07-08 15:31:26 - Opened action for user
    2014-07-08 15:31:26 - C:\Users\ADMINI~1.HTL\AppData\Local\Temp\2\prerequisiteinstaller.2014.07.08-15.31.20.log

    SharePoint is not supported to be installed on a Domain Controller (see http://support.microsoft.com/kb/2764086). You'll need to find another server.
    But regardless, with SharePoint 2013, you need SharePoint 2013 with SP1 in order to install on Server 2012 R2.
    http://www.microsoft.com/en-us/download/details.aspx?id=42039
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Custom InfoObject for date, problem with offset

    Hi all,
    I have a BEx reports presenting 0CALWEEK and another IO I created for dates.
    This IO has the same properties as 0CALWEEK (but it was not created as a reference of 0CALWEEK).
    In my report I'd like to use offsets for both IO's.
    It works perfectly for 0CALWEEK, but it doesn't work at all for the other IO. Actually, only the first offset is shown. For all others weeks, I get "#".
    Additionally, I made some calculations based on the week difference (using formula variables). Of course, every time a "#" appears, the calculation cannot be done (otherwise it works like it should).
    Could anybody help me out with this?
    Thanks in advance

    Hi Jagadeesh,
    did I understand you correctly that:
    1) offsets only work with standard characteristics? (this seems really weird to me...)
    2) if I want to use offsets with with Z_* characteristic, I will need ABAP?
    The problem is that I don't know anything about ABAP.
    Do you know any "typical" code to use to resolve this type of problem?
    Where do I have to use this code: in the query, in the IO, in a start routine somewhere?
    Thanks

  • E71 date problem with alarm on working days

    I've a E71 (firmware : 110.07.127)
    I use the alarm function to wake up me during the week. There is no alarm on week-end. I switch of my phone off every night and on the week end when on saturday i switch it on the date is the friday date. The time is the good one.
    It's a problem because this morning my phone alarm does't work and when i turn my phone on the date was the last sadurday one
    Solved!
    Go to Solution.

    Yes, this is a known problem on S60 3rd Edition. Have a look at this thread.
    FreeBird

  • Output Variable - Type: Date - Problem with WSDL in Designer

    Greetings,
    We are seeking some information about the following:
    We have a process in Process Designer that has and output variable of the type: Date. When the process is activated and we connect to a WSDL in LC ES Designer we get both a DATE and CALENDAR in the Data View.
    Hope that is at least somewhat clear. Please respond with any help or questions.
    Thanks,
    Rick Kuhlmann
    Tech-Pro

    This is to distinguish between java.util.Date and java.util.Calendar types. If the date is returned as java.util.Date, it will be in the DATE.date field. If the date is returned as java.util.Calendar, it will be in the DATE.calendar field.
    There are a bunch of xPath dates function in the xPath builder you can use.
    Jasmin

  • Panasonic fax DATE problem with PAP2T

    We have a Panasonic KX-FL613 LaserFax have connected to a PAP2T, and the date (and time) on the fax always changes to an incorrect date (and time), for example on this week to 1 February 2009. Our fax on an analog land line is never fails. Which settings in the PAP2T (or in the Panasonic fax) make this problem? Thank you.

    I would try setting the NTP Server (Network Time Protocol Server) in the PAP2T to pool.ntp.org and also in the PAP2T setting your local Time Zone (relative to GMT)

  • Date problems with iPhoto

    If you edit the date of a photo. and then export it, it seems that this edited date is ignored; the date in the Information panel after re-import is now the creation Date, which is the processing date in the case of a film camera and the System date in the case of a digital camera. Both of these creation dates may be false!
    (this comment reflects my experiences when exporting from iPhoto. 4 and then importing back into iPhoto 5)
    Can anyone shed any light on this annoying fault?

    Hi, LarryHN
    It seems that about half of my over 5k pictures are missing. The current page that I see when I open iPhoto has none of my recent albums. When I click on one of the pictures in an album, it may open up as a regular photo, or it may have the ! mark. Many of the spots where a picture should be is just a thumbnail sized rectangle. What is really funny, is that when I open the time capsule to try and replace the flawed page with an older one with all of the correct pictures, all of the time capsule iPhoto pages are just like the damaged one my computer. What I am doing is opening iPhoto, then clicking on Enter Time Capsule.
    Thanks for any assistance.

  • Globle table  data  problem with pragma autonomous_tranaction

    hi gurus,
    i have  two globle table both having   preserve  row on commit
    g_emp ;
    g_hop_brk ;
    in  procedure
       i m populating   g_emp  then  on this table  doing some manipulation
       loop
    i m calling function  which  have  pragma autonomous_tranaction;
                   this function is
                  is now referring  g_emp ;
                   inserting into  g_hop_brk  ;
               commit ;
    loop end
      now fetching data from  g_hop_brk   ;
    end procedure ;
    with this logic i m not  getting value  when loop runs first time but from 2nd time i m getting value ,
    please tell me why its happening ,
    how to make work
    thanks

    On the second iteration of the loop, the parent transaction has committed after the first iteration, so some data will be visible.
    If you are merely trying to log the value the function is going to return, the function itself should not be an autonomous transaction. A separate procedure should be created to log the return value, that procedure should be an autonomous transaction, and the procedure should be called just before you return, i.e.
    CREATE OR REPLACE PROCEDURE log_something( p_return_val IN NUMBER )
      PRAGMA autonomous_transaction
    IS
    BEGIN
      INSERT INTO log_table ...
      commit;
    END;
    CREATE OR REPLACE FUNCTION your_function( some_parameters )
      RETURN something
    IS
      l_ret_val number;
    BEGIN
      log_something( l_ret_val );
      RETURN l_ret_val;
    END;The procedure never has to query any tables, so the fact that it can't see the parent's uncommitted changes is irrelevent.
    Justin

Maybe you are looking for