Java Calendar problem

Hello

I have problems with the Java Calendar class:

Problem 1:
I try to fix the Java calendar date, but an exception is thrown. The issues dates are 19210501 and 19420403 (YYYYMMDD) to midnight (time of day = 0, minutes = 0, seconds = 0, milliseconds = 0). Setting other dates between 15000101 and 22000101 work OK. Exception is thrown when the calendar calculates new values. Note that this exception is NOT thrown if I don't have hour / minute / second fields!

Problem 2:
I put the Java specific date schedule has and convert that date to timeInMillis. Then I put this timeInMillis for calendar and convert them to date B. For some dates has! = B. problematic dates are 19210501 and 19420403 (YYYYMMDD) to midnight (time of day = 0, minutes = 0, seconds = 0, milliseconds = 0). Setting other dates between 15000101 and 22000101 work OK.

These problems occur if timeZone = "Europe/Helsinki. Problem does not occur if timeZone = "EET" or "GMT".

Example code for this issue is below:
==================
package z_javaexperiments5;

import java.util.Calendar;
import java.util.TimeZone;

public class CalendarProblem {}

Public Shared Sub main (String [] args) {}

Main CalendarProblem = new CalendarProblem();

System.out.println ("RunSetCalendars");

Time zone time zone = TimeZone.getTimeZone ("GMT");
main.runSetCalendars (time zone, L 19420403000000000);
main.runSetCalendars (time zone, L 19210501000000000);
main.runSetCalendars (time zone, L 19210502000000000);

zone = TimeZone.getTimeZone ("EET");
main.runSetCalendars (time zone, L 19420403000000000);
main.runSetCalendars (time zone, L 19210501000000000);
main.runSetCalendars (time zone, L 19210502000000000);

zone = TimeZone.getTimeZone (' Europe/Helsinki');
main.runSetCalendars (time zone, L 19420403000000000);
main.runSetCalendars (time zone, L 19210501000000000);
main.runSetCalendars (time zone, L 19210502000000000);

}

Calendar setCalendar1 (time zone time zone, long dateTimeYYYYMMDDHHMMSSsss) {}
Calendar calendar = Calendar.getInstance (timeZone);
Calendar.Clear ();
System.out.println ("setCalendar1 timeZone =" + calendar.getTimeZone () .getID ());

year int = (int) (dateTimeYYYYMMDDHHMMSSsss / 10000000000000L);
int month = (int) ((dateTimeYYYYMMDDHHMMSSsss % L 10000000000000) / 100000000000 L)-1;
Day = (int) ((dateTimeYYYYMMDDHHMMSSsss % L 100000000000) int / 1000000000);
int h = (int) ((dateTimeYYYYMMDDHHMMSSsss % 1000000000) / 10000000);
int min = (int) ((dateTimeYYYYMMDDHHMMSSsss % 10000000) / 100000);
dry int = (int) ((dateTimeYYYYMMDDHHMMSSsss % 100000) / 1000);
int mSec = (int) (dateTimeYYYYMMDDHHMMSSsss % 1000);
System.out.println (year + "." + (month + 1) + "." + day + "" + hour + ":" + min + ":" + dry + "." + mSec);
Calendar.Set (year, month, day);
Calendar.Set (Calendar.HOUR_OF_DAY, time);
Calendar.Set (Calendar.MINUTE, minutes);
Calendar.Set (Calendar.SECOND, dry);
Calendar.Set (Calendar.MILLISECOND, mSec);
calendar.setLenient (false); Reject invalid values

try {}
Calendar.get (Calendar.SECOND); Recalculate values
} catch (IllegalArgumentException e) {}
throw new RuntimeException ("Invalid argument: cannot convert long dateTimeYYYYMMDDHHMMSSsss, long =" + dateTimeYYYYMMDDHHMMSSsss + "message of Exception =" + e.getMessage ());
}

return calendar;
}

Calendar setCalendar2 (time zone time zone, long dateTimeYYYYMMDDHHMMSSsss) {}
Calendar calendar = Calendar.getInstance (timeZone);
System.out.println ("setCalendar2 timeZone =" + calendar.getTimeZone () .getID ());
Calendar.Clear ();

year int = (int) (dateTimeYYYYMMDDHHMMSSsss / 10000000000000L);
int month = (int) ((dateTimeYYYYMMDDHHMMSSsss % L 10000000000000) / 100000000000 L)-1;
Day = (int) ((dateTimeYYYYMMDDHHMMSSsss % L 100000000000) int / 1000000000);
int h = (int) ((dateTimeYYYYMMDDHHMMSSsss % 1000000000) / 10000000);
int min = (int) ((dateTimeYYYYMMDDHHMMSSsss % 10000000) / 100000);
dry int = (int) ((dateTimeYYYYMMDDHHMMSSsss % 100000) / 1000);
int mSec = (int) (dateTimeYYYYMMDDHHMMSSsss % 1000);
System.out.println ("Initial dateTime =" + year + "." + (month + 1) + "." + day + "" + hour + ":" + min + ":" + dry + "." + mSec "");
Calendar.Set (year, month, day);
If (hour! = 0)
Calendar.Set (Calendar.HOUR_OF_DAY, time);
on the other
Calendar.Clear (Calendar.HOUR_OF_DAY);
If (min! = 0)
Calendar.Set (Calendar.MINUTE, minutes);
on the other
Calendar.Clear (Calendar.MINUTE);
If (s! = 0)
Calendar.Set (Calendar.SECOND, dry);
on the other
Calendar.Clear (Calendar.SECOND);
If (mSec! = 0)
Calendar.Set (Calendar.MILLISECOND, mSec);
on the other
Calendar.Clear (Calendar.MILLISECOND);
calendar.setLenient (false); Reject invalid values

try {}
Calendar.get (Calendar.SECOND); Recalculate values
} catch (IllegalArgumentException e) {}
throw new RuntimeException ("Invalid argument: cannot convert long dateTimeYYYYMMDDHHMMSSsss, long =" + dateTimeYYYYMMDDHHMMSSsss + "message of Exception =" + e.getMessage ());
}

long millis = calendar.getTimeInMillis ();
System.out.println ("Initial dateTime =" + millis);

Calendar = Calendar.getInstance (timeZone);
Calendar.Clear ();

calendar.setTimeInMillis (millis);
an2 int = calendar.get (Calendar.YEAR);
Month2 = calendar.get (Calendar.MONTH) int;
day 2 = int calendar.get (Calendar.DAY_OF_MONTH);
time2 int = calendar.get (Calendar.HOUR_OF_DAY);
min2 int = calendar.get (Calendar.MINUTE);
sec2 int = calendar.get (Calendar.SECOND);
mSec2 int = calendar.get (Calendar.MILLISECOND);
System.out.println ("Final dateTime =" + an2 + '. ' + (Month2 + 1) + "." + day2 + "" + time2 + ":" + min2 + ":" + S2 + "." + mSec2 "');
If ((année! = AN2) |) (month! = Month2) | (day! = day2) | (time! = time2) | (min! = min2) | (s! = S2) | (mSec! = mSec2))
System.out.println ("setCalendar2 failed, dates are not equal");
return calendar;
}

void runSetCalendars (time zone time zone, long dateTimeYYYYMMDDHHMMSSsss) {}
System.out.println ("");
System.out.println ("runSetCalendars dateTimeYYYYMMDDHHMMSSsss =" + dateTimeYYYYMMDDHHMMSSsss);
try {}
setCalendar1 (time zone, dateTimeYYYYMMDDHHMMSSsss);
} catch (RuntimeException e) {}
System.out.println ("failed to setCalendar1, dateTimeYYYYMMDDHHMMSSsss =" + dateTimeYYYYMMDDHHMMSSsss + "Exception ="+ try () ");
}

Calendar calendar = null;
try {}
calendar = setCalendar2 (time zone, dateTimeYYYYMMDDHHMMSSsss);
long timeInMillis = calendar.getTimeInMillis ();
Calendar.Clear ();
calendar.setTimeInMillis (timeInMillis);
} catch (RuntimeException e) {}
System.out.println ("failed to setCalendar2, dateTimeYYYYMMDDHHMMSSsss =" + dateTimeYYYYMMDDHHMMSSsss + "Exception ="+ try () ");

}
}

}
==================

The program output is below:
==================
RunSetCalendars

runSetCalendars dateTimeYYYYMMDDHHMMSSsss = 19420403000000000
setCalendar1 timeZone = GMT
1942.4.3 0:0:0.0
setCalendar2 timeZone = GMT
Initial DateTime = 1942.4.3 0:0:0.0
Final DateTime = 1942.4.3 0:0:0.0

runSetCalendars dateTimeYYYYMMDDHHMMSSsss = 19210501000000000
setCalendar1 timeZone = GMT
1921.5.1 0:0:0.0
setCalendar2 timeZone = GMT
Initial DateTime = 1921.5.1 0:0:0.0
Final DateTime = 1921.5.1 0:0:0.0

runSetCalendars dateTimeYYYYMMDDHHMMSSsss = 19210502000000000
setCalendar1 timeZone = GMT
1921.5.2 0:0:0.0
setCalendar2 timeZone = GMT
Initial DateTime = 1921.5.2 0:0:0.0
Final DateTime = 1921.5.2 0:0:0.0

runSetCalendars dateTimeYYYYMMDDHHMMSSsss = 19420403000000000
time zone = EET setCalendar1 schedule
1942.4.3 0:0:0.0
time zone = EET setCalendar2 schedule
Initial DateTime = 1942.4.3 0:0:0.0
Final DateTime = 1942.4.3 0:0:0.0

runSetCalendars dateTimeYYYYMMDDHHMMSSsss = 19210501000000000
time zone = EET setCalendar1 schedule
1921.5.1 0:0:0.0
time zone = EET setCalendar2 schedule
Initial DateTime = 1921.5.1 0:0:0.0
Final DateTime = 1921.5.1 0:0:0.0

runSetCalendars dateTimeYYYYMMDDHHMMSSsss = 19210502000000000
time zone = EET setCalendar1 schedule
1921.5.2 0:0:0.0
time zone = EET setCalendar2 schedule
Initial DateTime = 1921.5.2 0:0:0.0
Final DateTime = 1921.5.2 0:0:0.0

runSetCalendars dateTimeYYYYMMDDHHMMSSsss = 19420403000000000
setCalendar1 timeZone = Europe/Paris
1942.4.3 0:0:0.0
setCalendar1 failed, dateTimeYYYYMMDDHHMMSSsss = Exception 19420403000000000 = java.lang.RuntimeException: bad argument: cannot convert long dateTimeYYYYMMDDHHMMSSsss, long = Exception 19420403000000000 message = HOUR_OF_DAY
setCalendar2 timeZone = Europe/Paris
Initial DateTime = 1942.4.3 0:0:0.0
Final DateTime = 1942.4.3 1:0:0.0
setCalendar2 failed, dates are not equal

runSetCalendars dateTimeYYYYMMDDHHMMSSsss = 19210501000000000
setCalendar1 timeZone = Europe/Paris
1921.5.1 0:0:0.0
setCalendar1 failed, dateTimeYYYYMMDDHHMMSSsss = Exception 19210501000000000 = java.lang.RuntimeException: bad argument: cannot convert long dateTimeYYYYMMDDHHMMSSsss, long = Exception 19210501000000000 message = MINUTE
setCalendar2 timeZone = Europe/Paris
Initial DateTime = 1921.5.1 0:0:0.0
Final DateTime = 1921.5.1 0:20:8.0
setCalendar2 failed, dates are not equal

runSetCalendars dateTimeYYYYMMDDHHMMSSsss = 19210502000000000
setCalendar1 timeZone = Europe/Paris
1921.5.2 0:0:0.0
setCalendar2 timeZone = Europe/Paris
Initial DateTime = 1921.5.2 0:0:0.0
Final DateTime = 1921.5.2 0:0:0.0
==================

Why the program fails when timeZone = ' Europe/Helsinki '?

Could it be related to changes in time zone that took place at that time?

http://www.timeanddate.com/worldclock/clockchange.html?n=101&year=1921

Tags: Java

Similar Questions

  • Windows sidebar calendar problem, sees nothing except chassis. How can I solve?

    Windows sidebar calendar problem, sees nothing except chassis. How can I solve?

    Hello SEEN H K,

    1. this work was very well at any time before your computer?

    I suggest that you try the methods below to resolve this issue:

    Method 1:

    Open a windows Explorer window and then paste the following text in the address bar:

    %LocalAppData%\microsoft\Windows sidebar

    This will open the Sidebar gadgets folder, where you should see a file named Settings.ini.

    If this is due to recent changes to the computer, I suggest that you do a system restore on your computer.

    a. Click Start, type system restore in the search box and then in the list click on the system restore program.

    b. If you are prompted for an administrator password or a confirmation, type your password or click on continue.

    (c) in the System Restore dialog box, click on choose a different restore point and then click Next.

    d. in the list of restore points, click a restore point created before you started having the problem, and then click Next.

    e. click Finish.

    You can see the following article for reference:

    http://Windows.Microsoft.com/en-us/Windows-Vista/system-restore-frequently-asked-questions

    Thank you
    Irfan H, Engineer Support Microsoft Answers.

  • Lightning don't talk to Google Calendar - problem with cookies?

    Execution of Thunderbird 31.1.0 with Lightning 1.0 and the module supplier of Google. I maintain four different calendars with google (work room, home, other, conf) account. When I woke up today all my calendars worked. They have been set up in lightning as calendars google network, which stressed their respective links to XML.

    All of a sudden this afternoon, without me antics with any of the parameters GCal or lightning, calendars in the sidebar of the lightning stopped to talk with the platform of google calendar. All events always appear in google calendar thin and fine always sync up to my mobile device.

    The problem is: the calendars are just sitting and showing the color of the light "synchronized." When I right click on one and try to activate it manually in lightning, it displays a prompt of password for google account. After entering my google login information, returns the window of dialogue: "Oops!" Your browser appears to have cookies disabled. Make sure that cookies are enabled, or try to open a new browser window. "

    I can assure you that cookies have been enabled in my Chrome browser settings. Double even checked in Firefox, even though it isn't my default browser, they are activated too. There is no need to change the message "cookies disabled". I went up to erase all data of the chrome, by suggestion of the googles and no dice. Even uninstalled Chrome and re-installed and no luck.

    I must be missing something. It shouldn't be so hard to make the switch from cookies and get these programs talk to once again...

    Will be

    You must allow cookies for google.com in Thunderbird.

  • Version of the Java Plugin problem

    It seems that the last Plugin Java for Firefox 10.0 that works is version U29. However, Oracle pushes 31 as the most recent version and «» But it does not work in Firefox 10. Not really a problem except that your Web page that checks plugins for "out-dated-ness" indicates that the U29 version is "obsolete".

    Going through the process of updating the Plugin Java from this point is a particularly nasty process (from Oracle fault, of Mozilla) which does nothing of value. It can even install the next version, which, as I said, does not work.

    You can correct your web page so that it does not indicate the U29 version is outdated?

    Thank you.

    OK, I added that a firewall rule out for the program, "jp2launcher.exe" and now the plugin works again. I had already created outbound permission for Java.exe early on that it was necessary, of course, for the plugin to work.

    Of course, this does mean that it is absolutely the solution.

    I would like to say that this is probably the solution, however.

    If it turns out that this is the solution, it means that jp2launcher.exe needs internet access SOMETIMES but not always.

    PHEW! What a pain in the @# *...

    And, Yes, I realize that my setup of the firewall windows 7 has contributed to this problem. I just wish that when a program attempts to connect and is blocked windows 7 this would report to me with a dialog box, as they claim would happen, so I would like to know. There is, without doubt, a journal entry created to record the event, buried somewhere in the windows event logging system. A lot of good it does me, however!

    Thanks again to all for your comments.

    It just shows that there is no problem I can't solve that I don't have everything to create myself. A bit like the Government, if you know what I mean...

    Charles.

  • Calendar problem-how to do that I get rid of "09:00"?

    This is a minor annoyance, but he has already missed for me-how can I permanently get rid of the notation "09:00" that appears whenever I enter an event in a calendar day? Considering that some of the entries track point before the real, in time real of the appointment of watch, it can be problematic. Why does it appear in the first place? I tried to change the preferences, but nothing works. How can I get rid of him? Is not solve all the problems for me, but to create.

    Please post a scene filmed when this problem occurs.

  • Java update problem

    update of Java while trying to install a java update the followin message problem, cannot start the installer from the java (TM) update the requested operation requires a rise.

    Hi all

    You can see this information on Java user account control.
    http://www.Java.com/en/download/FAQ/UAC.XML

    But to answer some questions, even if logged in with an administrator account, Windows Vista and Windows 7 require a high privilege to install some things. It is the function of (UAC) user account control. Usually you would right click on the .exe for example setup.exe or Setup.msi file. If you're in a command prompt, then right click on cmd.exe and select "Run as administrator.".

    You can temporarily disable UAC and install Java. Re-enable UAC, then see if it helps to get installed it.

    Thank you

    Marilyn
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think

  • Java update problem. I have problems with the update of java on my microsoft vista,

    I had no problems before with the java update, but now, I have tried several times to install java 7 update 21 on my microsoft vista. This is a big problem that I can't use my netbank and other important sites.

    What should do?

    I had no problems before with the java update, but now, I have tried several times to install java 7 update 21 on my microsoft vista. This is a big problem that I can't use my netbank and other important sites.

    What should do?

    ======================================
    Something to try... no guarantee it will work...

    (1) create a System Restore Point.

    Windows Vista - system restore: frequently asked questions
    http://Windows.Microsoft.com/en-us/Windows-Vista/system-restore-frequently-asked-questions

    (2) uninstall all instances of JAVA.

    How to uninstall Java on my Windows computer?
    http://www.Java.com/en/download/uninstall.jsp

    (3) download the full Version of JAVA 7 update 21 on your desktop.

    Here is the link for downloads.

    http://www.Java.com/en/download/manual.jsp
    (remember to read the instructions)

    Select the second choice under Windows (offline)
    This will download the (jre-7u21-windows - i586.exe)
    file on your hard drive and you can install from there.

    (4) on the left, double-click on the downloaded file and if all goes well
    It will install successfully.

    Good luck...

  • Java script problems

    I have a website that just recently, will not allow me to log-in to it. Whenever I try, I get the alert shown in the attachment. I googled activate Java and followed the instructions in the link MS. Java script was enabled already.

    When I try to log-in to this site using Chrome, no problems.

    No idea why I get the Java script error?

    You have a problem. Tried to download an overview of the error, after navigation and selection of the snapshot and clicking on download, nothing happens. If I have up and down arrows I get the alert - cannot display this Page.

    Says that the error is "your browser is not able to view this site as it does not support Java or Java script is not enabled."

    Java script is enabled under Internet, security options, and the site is on my allowed list.

    What is the problem?

    Hello

    Thanks for the reply.

    Please perform the steps suggested in the previous post and reply here with the results.

  • Contacts synchronization to Smartphones blackBerry and calendar - problems with Outlook Connector (and other things).

    Hello world

    I just got my first BlackBerry (storm) and this is my first post on the forums.  I read around a lot and found pieces of this problem but no definitive answer (which I understand).  So, I know it's a delicate subject, but really hope that someone can help you.

    FYI, I use Windows Vista and Outlook 2003 with the connector Outlook synchronize my e-mail, contacts and calendar on my Windows Live Hotmail account.

    I installed the Desktop Manager software V.4.7 and crossed to set up > sync and selected Outlook for Contacts.  The wizard all seems to work OK but then when I press "Finish" I get the error message ' file is does more part of the system data source or the couldnot folder is located.

    I partially understand the idea that my Contacts are not in Outlook, they are in my hotmail/live account.  My question is how can I work around this problem and import my contacts to the BlackBerry?  It will not accept an exported .pst file or can it link directly to hotmail?

    (On the basis of the advice on the forum), I found is you go into Outlook and adjust the settings of your e-mail account to send incoming emails into "Personal folder" instead of "* @hotmail.co.uk ' then he manages to pass the error message, however, I found no data calendar or contact in my outlook personal folders for BlackBerry to synchronize with a time that I did."

    I'll try to do a few requests on a Microsoft forum on the features between Outlook and Hotmail to see if there is an easy way to get my data anywhere in the personal folders so that the BlackBerry it can sync from there.  I'm afraid to lose emails or functionalitly to the Outlook Connector on my PC to subsequently change the default e-mail folder.

    Sorry for the length of the message but thought the more detail the better - thanks in advance for any help you can offer,

    Al.

    Just in case anyone else has this problem, I got a work around (not a solution, but it works).  In Outlook, go to Contacts - export to file and select: separation by comma (Windows). CSV file - save it to your PC.

    Then open a Yahoo mail account (if you have not already one) go to Classic view, Contacts and to the right of the screen, there is an option to import/export.  Select the location of the CSV file you saved on your PC and transfer it on Yahoo.

    You can now go through the DM Assistant and select sync with Yahoo.  It is ideal to add contacts to the phone for the first time.  Don't forget to make sure that everything is up-to-date and complete in Outlook Contacts before export to the CSV file.

    If you want to add contacts to the future, the best way is to add to Outlook first and then go through the process of exporting the CSV file again - this will ensure that all records are the same.  Although if you wanted too, you can also export from BB in Yahoo, then in Outlook as Yahoo also exported contacts to a CSV file.

    Hope that helps someone...

    Al.

  • Director of office of Smartphones blackBerry V. 6.0 and Outlook calendar problems

    I have recently updated my office to the new V 6.0 Manager and have problems with the calendar not updated device to Outlook. I use outlook 2007 and I have a Bold 9650. I don't get any errors and am able to spend in the Organizer data select option synchronize and make adjustments to the way I want the data to be transferred. If I'm going from Outlook to device I have no problem, but if I leave peripheral to Outlook entries do not give in and all future entries there where already on the calendar until I upgraded disappeared. The only problem I have with it is the calendar option.  When I press the sync button, he thinks that for a short period of time is as he transferred the data then nothing. If I can give you more info to help solve this problem please let me know.

    Must say that I am disappointed by the fact that this message was for a while with absolutely no response. Desktop Manager 6 is useless for me. And have already deleted. Will download an older version and I hope it helps.

  • Java Plugin problem with 11.1.2.2.0

    Try to run the form Builder on my 64 bit Windows 7 box.

    When I try to run a, he always uses Firefox and I always get the message "a plugin is required to view this content.

    FF says: I'm up-to-date with the Java 1.7 plugin so I downloaded the 1.8 (Java Deployment Toolkit 8.0.400.26) and I still get the error.

    FF seems to think that each Java plugin is a problem.

    I tried to put IE as my browser by default, but is still starts FF.

    I searched all morning, but I can't seem to find a solid answer on how to get my forms to run on my windows machine.

    This shouldn't be this course. Come on Oracle, you can do better.

    Joe the Jet wrote:

    ...

    Now I have to sort out why it's not find my TNS files!
    ...

    The plague to have several Oracle products installed on a single computer is bring all use the same copy of the TNSNAMES. ORA.  I like to create a folder in the Oracle home (C:\Oracle) home of my tnsnames.ora and I call it TNS_ADMIN.  Then, add a TNS_ADMIN "String value" entry to your Oracle Home registry entry and set the value of "C:\Oracle\TNS_ADMIN" so the Forms Builder will find your tnsnames file.  Then, you need to change the default.env and update the parameter TNS_ADMIN to point to the directory where you have your TNSNAMES.ora location.  The default.env is located in the ORACLE_HOME\Middleware\user_projects\domains\ClassicDomain\config\fmwconfig\servers\AdminServer\applications\formsapp_11.1.2\config directory.

    If you use Oracle Reports, then you will need to edit the reports.bat file - there is a setting TNS_ADMIN there as well.  The reports.bat will be located in your ORACLE_HOME\Middlware\asinst_1\config\reports\bin directory.  This path assumes that you used the name of 'Instance' by default when you configured WLS and FMw.

    Craig...

  • Java class problem

    upload.png

    Version of forms: Forms [32 bit] Version 6.0.8.25.2 (Production)

    the JDK version:

    Java version "1.7.0_51".

    Java (TM) SE Runtime Environment (build 1.7.0_51 - b13)

    The Client Java VM (build 24.51 - b03, mixed mode, sharing)

    Well, I see several things.

    1 forms 6, which has moreover been desupported for many years, is based on Java version 1.2/1.3, so try to use Java 7 with it, will probably cause problems.

    2. as indicated in the error, 'java' is a reserved package name.  So, you might have to rename your package name of 'java' to something like 'myjava.

    For our benefit, can you help me understand why you use 6 shapes and not a newer version as 11.1.2.2?

  • Connection in R12 after Java update problem

    Hi all

    After upgarding Java on the Application Server for the JDK7, I am not able to go beyond the opening screen of application session oracle in R12 using the web browser IE-8, received with error, below, while I am able to work as usual in the browser web Firefox, also established that some of them are able to access the applications , including forms that are of the smillar system configuration than mine, as OS, version of IE.

    ------------------------

    < PRE > Oracle error 1403: java.sql.SQLException: ORA-01403: no data available ORA-06512: line 1 has been detected in FND_SESSION_MANAGEMENT. CHECK_SESSION. Your session is no longer valid. < / PRE >

    Servlet error: an exception occurred. Current application deployment descriptors do not allow for the inclusion in this response. For more details, please see the application log.

    The problem here, I mentioned seems to be the specific system, if that is so I have to make any changes to my system to address this problem? Please suggest.

    Thank you

    Moore

    @Hussein:

    I can login and registration after the implementation of this change.

    Uncheck the option "activate the next generation Java plugin" in the Java Control Panel

    Thank you

  • TimesTen and Eclipse java development problem

    Hi all

    Using of TimesTen with JDBC from Java on Eclipse code, I have a problem: when you run the program in debug mode, everything works fine. Run without debugging or outside Eclipse, generates the following error:

    java.sql.SQLException: [TimesTen] [driver ODBC of TimesTen 7.0.5.0.0] TT0837 [TimesTen]: cannot attach the shared memory segment for the data store, the error 8 - file "db.c", lineno 7891, procedure 'sbDbCreate '.

    Does anyone know the cause of this, or can point me to the newspapers or other resources that I can look into?

    Kind regards
    Shaul Peled
    Nuance Communications Inc.

    Well, it's almost certainly a problem of address space. Unfortunately, 32-bit Windows is the platform more problematic in this perspective. TimesTen data store is a region unique and contiguous memory size approximating a header PermSize + TempSize + LogBuffSize + DS. In your case, it will be about 1098 MB. To 'connect' in this data store, it is necessary to map the data store memory (there is a shared mapping allocated from the Windows swap file) in your process (in this case, the JAVA virtual machine) as a single region. Unfortunately, unlike most o/s, in the windows of the shared libraries (DLLs) have been downloaded at points determined in the address space defined when the DLL is linked. This means that although your process address space of 4 GB (with a little reserved for WIndows and other uses) that space is often highly fragmented with different DLLs (System and application) over the place. This means that it is often difficult to find a region of unique contiguous address space to map a large data store.
    in.

    To verify that this is the problem, you can try to reduce the size of the data store to say PermSize = 128 TempSize = 64 and see if you can connect then. If you can, then you have to experiment by slowly increasing Perm and Temp until you find the maximum size store, you can accommodate. If you use no logging (are you sure that's what you want? You will end up by with a data store single threaded if you do that...) you could reduce LogBuffSize to the smallest allowed value (128 Kb).

    If it turn out to be a problem of space, then you have 3 options:

    1. living with a smaller size of the data store.

    2. try and reorganize the redefinition dll memory card to create a larger contiguous area. Note that ijn in any event, it is unlikely that you can never exceed ~1.5 GB to a data store.

    3. pass TimesTen to Windows 64 - bit, 64-bit and a 64-bit JVM. The only limit on the size of the data store is then available RAM.

    Let me know the results.

    Kind regards

    Chris

  • JAVA DOWNLOAD PROBLEM

    I downloaded the latest version of Java and installed correctly. However when I tried to check the new version it is not found. several application will not work without Java.

    Java is enabled in addons, but the addons system are disabled.

    Uninstall Java then restart even if you are not prompted to operate a registry cleaner, Auslogics has a free and then reinstall Java. Watch out for the box at the end and say yes/OK.

    Create a restore point before starting and copy important files on an external drive.

Maybe you are looking for