Jdeveloper 10g ojvm changing defaultCenturyStart

I have an application that runs fine using the java 1.4.1_05 jvm (hotspot or server) but when I run it using the 10g ojvm, after I execute the first prepartes statement, all my java.util.date objects go really strange.
Here is the code I am using to trace the problem.
protected static SimpleDateFormat s_dateFormat = new SimpleDateFormat("MM-dd-yyyy HH:mm:ss.SSS ");
Date newDate = Calendar.getInstance().getTime();
String preDateTime = s_dateFormat.toPattern() + " | " +
s_dateFormat.get2DigitYearStart() + " | " +
s_dateFormat.format(newDate) + " " + newDate.toString() +
" " + s_dateFormat.toLocalizedPattern();
The output looks like
MM-dd-yyyy HH:mm:ss.SSS | Mon Dec 03 16:35:23 EST 1923 | 12-03-2003 16:35:31.531 Wed Dec 03 16:35:31 EST 2003 MM-dd-yyyy HH:mm:ss.SSS
but then when I execute my first prepared statement, the same method starts outputing
MM-dd-yyyy HH:mm:ss.SSS | Wed Dec 02 21:16:41 EST 230747998 | 11-05-232044683 05:59:13.030 Mon Nov 05 05:59:13 EST 232044683 MM-dd-yyyy HH:mm:ss.SSS
MM-dd-yyyy HH:mm:ss.SSS | Wed Dec 02 21:16:41 EST 230747998 | 08-18-232078099 16:34:27.231 Tue Aug 18 16:34:27 EDT 232078099 MM-dd-yyyy HH:mm:ss.SSS
MM-dd-yyyy HH:mm:ss.SSS | Wed Dec 02 21:16:41 EST 230747998 | 05-10-232078243 17:38:51.807 Wed May 10 17:38:51 EDT 232078243 MM-dd-yyyy HH:mm:ss.SSS
so the s_dateFormat.get2DigitYearStart() is now 230747998?
If I tell 10g to use any other jvm, the times are ok.
Does the ojvm try to syncronize the database time and the system time or something weird like that?
Looks like a bug to me, wasn't sure where to post that.

Actually let me refine my answer. With the examples I tried it doesn't reproduce. If you could post a complete example that fails for you, I can give that a try as well.
Thanks again,
Herbert.

Similar Messages

  • Oracle JDeveloper 10g (10.1.2) has been certified ?

    In this Oracle JDeveloper 10g (10.1.2) have many bug fix.
    Is Oracle JHeadstart 10g Release 9.0.5.1 has been certified with the Oracle JDeveloper 10g (10.1.2) ?

    To summarize the position of JHeadstart for ADF (JHeadstart 10.1):
    Almost a year ago, we already announced the JHeadstart for ADF release, explaining how you can ensure that the migration will go as smooth as possible. See the forum thread at its Jheadstart like ADF? .
    This information was also included in the JHeadstart Frequently Asked Questions (see questions 15 and 15a) at http://www.oracle.com/technology/consulting/9iservices/jhs_faq_ext905.htm .
    Quote from the JHeadstart FAQ:
    If you already use JHeadstart we recommend you to upgrade to the new version of JHeadstart (9.0.5.1) do the following to make the migration from this JHeadstart release to the JHeadstart-ADF release as smooth as possible:
    [ul][li]
    * generate as much as possible of your application using the JAG. The metadata structure will stay the same, but the generator output will be fairly different.
    [li][li]
    * put all your business logic in BC4J app modules or ViewObjects. Do not put a lot of code in handler business methods, but have the handler business methods delegate to the corrsponding AM or VO. The reason for this is that the handlers will go away in ADF, ADF allows you to drag and drop your (client exported) AM/VO methods directly onto your page or Struts action.
    [li][ul]
    If you have not used JHeadstart before you can either start using ADF or JHeadstart and make the switch to ADF when JHeadstart-ADF release comes out like described above. In all circumstances it is a good choice to familiarize yourself with ADF. Good knowledge of this framework is required when you use the JHeadstart-ADF release.
    JHeadstart is the only tool that offers you migration of your existing application structure and data operations to the ADF Model (Data Controls and Data Bindings).
    Furthermore, the new JHeadstart 10.1.0 release (compatible with JDeveloper 10.1.2.0.0) will be able to generate more features than the previous release JHeadstart 9.0.5, which means that you will need less post-generation changes.
    kind regards,
    Sandra Muller
    JHeadstart Team
    Oracle Consulting

  • MYSQL error in JDeveloper 10g using ADF Swing

    I am trying to update data in mysql database. But the following error appears in JDeveloper 10g using ADF Swing
    Mysql library is mysql-connector-java-3.1.12
    What is the problem ? INSERT and SELECT queries do not give errors. But UPDATE has problem.
    Thank you in advance.
    Sony Kalkan
    (oracle.jbo.DMLException) JBO-26041: Failed to post data to database during "Update": SQL Statement "UPDATE banner Banner SET imptotal=? WHERE bid=?".
    ----- LEVEL 1: DETAIL 0 -----
    (java.sql.SQLException) You have an error in your SQL syntax near 'Banner SET imptotal=22 WHERE bid=1' at line 1

    After i put a jtable,navigator on the form using appmoduledatacontrol on the top-right side of the jdeveloper, i run the form. Everything goes ok listing rows of data. But the error appears when i change the value of a field on the table and updating it using navigator.
    Thank you very much.

  • Jdeveloper 10g 10.1.3.3 jdk 1.5.0_22 - shows empty main frame

    Hi,
    Jdeveloper 10g 10.1.3.3 (OAF) with jdk 1.5.0_22 shows empty main frame
    without any controls. But if I click on that frame in chaotic order the header text of main frame
    is changing. It seems like controls are exists, but not visible.
    If I use jdk 1.6 JDeveloper gives the next message
    The version of JDeveloper is certified on JDK 1.5.0. You are attempting to run on JDK 1.6.0. JDeveloper may not run correctly on this version of JDK.
    What is going wrong?
    Edited by: 881912 on Aug 26, 2011 9:31 PM

    As you are using OAF you better ask this in the {forum:id=210} forum
    Timo

  • JDeveloper 10g Form design view error

    Hello,
    I have a strange problem in JDeveloper 10g (10.1.3.50, Windows7 64bit)
    Some forms I can't see in View window, and therefore I can't select and edit properties in Property inspector, also in UI complete structure is missing.
    http://i.stack.imgur.com/PAQQh.jpg
    Besides that form is working OK.
    This one is OK.
    http://i.stack.imgur.com/XVI0i.jpg
    How can I resolve this without the need for re-creation of forms?
    Regards,
    Nenad

    Problem was resolved with this changes.
    I don't know yet what caused this form to be erroneously created.
    //JScrollPane scPane = new JScrollPane(dataPanel); //This was surplus
    //topPanel.add(scPane, BorderLayout.CENTER); //This was surplus
    topPanel.add(dataPanel, BorderLayout.CENTER); //This was missing

  • Any solutions from oracle  to improve Performance in Oracle Jdeveloper 10g

    Hi ,
    We are developing ADF Applications in Oracle Jdeveloper 10g , 4 developers are working . now every one M/c Ram upgraded to 4 GB
    Still my developers are getting Performance issue , Like Java Heap memory Reached . when we saw in Task Manager Memeusage reached 450,000K
    then Jdeveloper dies and hang there . we have to do this at least 4 to 5 times everyday . thats where it taking a lots of time to
    modify a single small changes .
    What our deveoper are doing they trying to commit frequently after making a important changes in application . but sometimes developer are also
    forget in between . So wee need a solution for this if Oracle fixes this issue .
    Thanks
    KP

    Hi,
    We never had that issue with 10g (but happens in 11g), what is the project's size? I assume very big, else your environment must have something fishy, 10g is really fast and lightweight.
    Regards,
    ~ Simon

  • Can't  download JDeveloper 10g.

    When I try download Jdeveloper 10g I have this error:
    Sorry, this page was not found. (ErrorDocument 404) [Back to Previous Page]
    This web site is an ever-changing collection of information on Oracle products and technology, and we've either removed or relocated the document you requested. Please find your document using one of these resources below:

    Actually, I encountered this problem. Just be patient to wait around five to ten minutes. You should be able to re-down it. I think the problem is caused by the number of connection limitations for the download server.
    The firefox browser is not in the support list, please refer to the link below. http://www.oracle.com/technology/contact/htdocs/faq.html#soft

  • OAF tutorial for Jdeveloper 10g is showing 9i version options

    Hi,
    I have been finding so hard to cope up with the OAF tutorial with Jdeveloper 10g. It does not include the options in the screenshots which are in 10g. I think they haven't updated it for this version and they are from 9i. It is very hard to find the same option in 10g version for example, i am not able to find out "Business Component Package wizard" in 10g. Please help me in finding out the right tutorial for 10g version.
    Thanks,

    Yes, the tutorials for 10G Jdev are not the updated ones and menus to work with are a bit changed now.
    We have discussed this earlier also. Check on the old threads and you will find the correct navigation for BC4J components. Right now I don't have a r12 based jdev on my system and don't remember the exact navigation.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • UML Modeling in JDeveloper 10g

    Hi,
    I'm looking the UML Modeling facilities in JDeveloper 10g, and I would be interested in know the people's experience with UML in JDev 10g. How are changes in design phase propagated to other diagrams and classes (ADF UML diagrams and classes, Java diagrams and classes, Database Model, etc)? There is anybody here with experience with this JDev facilities?
    Thanks in advanced.

    Repost

  • Fail to use ODM in Jdeveloper 10g

    I can build model using Jdeveloper 9301,but fail when using Jdeveloper 10g.
    The error message show:
    java.lang.NoSuchMethodError: oracle.jdeveloper.library.JLibraryList[] oracle.jdeveloper.library.JLibraryManager.getAllLibraryLists()
         at oracle.dmt.dm4j.addin.DM4JAddIn.findLib(DM4JAddIn.java:716)
         at oracle.dmt.dm4j.addin.DM4JAddIn.addDM4JLibsToProject(DM4JAddIn.java:753)
         at oracle.dmt.dm4j.addin.ClassificationModelBuildAddIn.invoke(ClassificationModelBuildAddIn.java:444)
         at oracle.ide.WizardManager.invokeWizard(WizardManager.java:495)
         at oracle.ide.WizardManager$1.run(WizardManager.java:549)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:449)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
    The required jar files have been copied into %JDEV_ORACLE_HOME%\lib\ext.
    What should I do?

    Hi,
    JDeveloper 10g changed the AddIn api that DM4J uses, consequently it will fail.
    DM4J 9.0.4 Beta(release 2) is certified for JDeveloper 9.0.3.3. It will also work in JDeveloper 9.0.4.
    The ODM Client 10g will be the proper client to use in association with JDeveloper 10g. We will announce when the 10g client will be available.
    Thanks, Mark

  • How to create a "pjc" using jdeveloper 10g

    Hi guys
    I am trying to make my first pjc (pluggable java component) using jdeveloper (default installation with Oracle developer 10g). I was following the [Jdeveloper 9 documentation||http://www.oracle.com/technetwork/developer-tools/forms/index-087743.html] from OTN and got stuck once after creating the PJC1.java
    According to the documentation, the property inspector should allow me to change various properties for the newly created .java file and let me add new events with the events tab. In my case, once after I select the java item from UI, the property inspector doesn't show anything. No tabs for properties or events :O
    If somebody could point me towards Oracle documentation for Jdeveloper 10g, it would grateful.
    regards,
    raj
    Edited by: rthampi on Apr 27, 2013 8:50 PM

    CraigB wrote:
    Oracle jDeveloper 10.1.2.1.0 was the last version the inclued the Forms PJC Wizards. All versions after this didn't include them. You can actually develop a PJC using any IDE, but I have found using the PJC Wizard to be extreamly helpful. Java is not my strongest skill and I don't do a lot of Java PJC development so I keep this version installed for when I need to work on PJCs.
    Craig...Thank you Craig. We are with Oracle ERP R12 from 2009 June and almost all our legacy applications were either made a part of the ERP suite, or hosted with Weblogic server 10.3.6. As leading the development team, my biggest challenge is making the custom applications migrated to 11g forms/Reports "behave" exactly like the ERP suite.
    We wanted to design a parameter screen for the reports, almost like with ERP Suite, where the parameter columns are dynamically created during runtime and the biggest challenge was to limit the MAXIMUM LENGTH for those columns, thus started our venture to find an appropriate solution. After spending almost 20 years in the field of software development, I just didn't want to copy a jar file from the web and get over with it. Instead I wanted to understand what the codes do.
    Anyway, Francois was kind enough to provide the .java with his pjc blog and I created a new pjc based on this .java code :) and my objective was satisfied. If Oracle really wants to "kill" the forms/reports, I think they just should do that, instead of removing few highly sought components with so called "Newer versions"
    Ridiculously the documentation library for JDeveloper 10.1.0 is empty, even though it is listed with Oracle documentation library.
    Cheers guys
    raj

  • Rename a project in JDeveloper 10g?

    I have discovered an urgent required need to re-name a local JDeveloper 10g project.
    I doubt it's as simple as just renaming the top jws file, due to underlying elements that take their names from the parent project.
    I've seached the JDev documentation and have not found a reference that would help me to rename my project without instantly breaking the entire project.
    Do any of you know how I should approach this renaming need?

    Hi,
    seletc the project and choose File/rename from the menu. Thic changes the project.jpr file name. All directory namings remain
    Frank

  • Checkout folder with CVS JDeveloper 10g

    Hi
    Is there way to checkout only folder with CVS JDeveloper 10g? I have module on CVS server, but let say it consist of two folders, src/ which contains myPackages//*.java
    and config/, which contains my ear application exploded structure. And my question is, is there a way that every programmer create project himself, only locally, and checkout from CVS only *.java files(so only subdirectories of my src folder in module main directory), with assumption of later controlling them from JDeveloper?
    I mean, it's not a good idea to have application and project files in cvs, right?
    mn

    Hi,
    Was the project imported to CVS at the same time as the package structure?
    Do the project source paths match the filesystem? For example, does the java source path match the root of the java source? Jdev normally puts files in a flat structure if the files are not in the right file system folder for their java package.
    If changing the project path does not fix this can you tell me what technologies your using, such as BC4J, struts, Tag libs, etc.. Then I can try and reproduce this here.
    Many thanks,
    Geoff
    JDev SCM Team
    -------------

  • JBoss 4.0.0RC1/3.2.3 - JDeveloper 10g - ADF UIX

    While I realize that JDeveloper has only been tested (to one degree or another) with JBoss 3.2.X, I decided to try and publish to JBoss 4.X after failing with 3.2.X. (The results are the same for either server version).
    I have a simple master-detail page off of which I have a create action on the detail section. The primary key is a DBSequence number that goes against a table with an insert trigger defined and a sequence for that field.
    The create action opens an input form for creating a new record. In the emdedded OC4J, everything works just fine. Depsite following the developer's review paper on deploying to both standalone OC4J and JBoss, it fails completely. Errors are different, but I thought I would start with JBoss since this equates to our development environment:
    When the create button is selected to initiate the action, the input form comes up but in the place where I would expect to see a temporary sequence value in the primary key field, the value is blank and the Execute button on this form does not activate. In addition, JBoss error log (both JBoss 3.2.3 and JBoss 4.0.0RC1 (and DR4)) displays the following (just showing a fragment):
    2004-07-28 10:37:34,315 ERROR [org.jboss.web.localhost.Engine] StandardContext[paros]null
    java.lang.ClassCastException
         at oracle.jbo.uicli.uix.PrimitiveTypes.getArray(PrimitiveTypes.java:122)
         at oracle.jbo.uicli.uix.JUCtrlAdaptValueBindingRef._adapt(JUCtrlAdaptValueBindingRef.java:106)
         at oracle.jbo.uicli.uix.JUCtrlAdaptValueBindingRef._adapt(JUCtrlAdaptValueBindingRef.java:96)
         at oracle.jbo.uicli.uix.JUCtrlAdaptValueBindingRef.access$4000071(JUCtrlAdaptValueBindingRef.java:40)
         at oracle.jbo.uicli.uix.JUCtrlAdaptValueBindingRef$CompositeModel.get(JUCtrlAdaptValueBindingRef.java:219)
         at org.apache.commons.el.ArraySuffix.evaluate(ArraySuffix.java:218)
         at org.apache.commons.el.ComplexValue.evaluate(ComplexValue.java:145)
         at org.apache.commons.el.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:263)
         at org.apache.commons.el.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:190)
         at oracle.jsp.el.OracleExpressionEvaluator.evaluate(Unknown Source)
         at oracle.jsp.el.OracleExpression.evaluate(Unknown Source)
         at oracle.cabo.ui.expl.ELBoundValue._evaluate(Unknown Source)
         at oracle.cabo.ui.expl.ELBoundValue.getValue(Unknown Source)
         at oracle.cabo.ui.collection.DataObjectListNodeList.getDataObjectList(Unknown Source)
         at oracle.cabo.ui.collection.DataObjectListNodeList.size(Unknown Source)
         at oracle.cabo.ui.BaseUINode.getIndexedChildCount(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.getVisibleIndexedChildCount(Unknown Source)
         at oracle.cabo.ui.laf.base.xhtml.ColumnRenderer._startRowMode(Unknown Source)
         at oracle.cabo.ui.laf.base.xhtml.ColumnRenderer.render(Unknown Source)
         at oracle.cabo.ui.BaseUINode.render(Unknown Source)
         at oracle.cabo.ui.BaseUINode.render(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
         at oracle.cabo.ui.laf.base.xhtml.ColumnGroupRenderer._renderVisibleIndexedChildren(Unknown Source)
         at oracle.cabo.ui.laf.base.xhtml.ColumnGroupRenderer.render(Unknown Source)
         at oracle.cabo.ui.BaseUINode.render(Unknown Source)
         at oracle.cabo.ui.BaseUINode.render(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    Has anyone been at all successful using ADF-UIX from JDeveloper 10g and JBoss of any version? (Note I have followed the steps to install ADF Runtime, setvars, etc).
    Thanks
    Ray

    Yes. I have no problem with jdeveloper10g and jboss-3.2.3.
    Niether on my note with both linux, win, nor on production server with linux.
    Carefully look where do you install ADF Runtime (server defualt), and what server do you start (default is all). Simply change startup server to default or, copy jboss-3.2.3/server/default/deploy/bc4j.ear to jboss-3.2.3/server/all/deploy/

  • JDeveloper 10g production, status JHeadstart?

    Dear all,
    As is mentioned on the JDeveloper site, 10g is finally in production (version 9.0.5.1, build 1605).
    Does this have impact on the JHeadstart release?
    Is the latest JHeadstart release already working with this version?
    Thanks in advance,
    Ralph Deguelle

    Ralph and others,
    At this moment JHeadstart 10g (9.0.4.5) is not yet certified against the JDeveloper 10g (9.0.5.1) production release. Of course we plan to certify as soon as possible. Our target release date for this certification is the 29th of April. The version number for this JHeadstart 10g release will be the same as for JDeveloper: 9.5.0.1. We will publish this release on the supplement option folder for the license holders and on OTN for people that want to evaluate JHeadstart. For a list of planned new features see below.
    In addition to this release we have planned another release JHeadstart 10g 10.0.1 (version number may change) that will support Oracle ADF. In this release JHeadstart will fully allign with ADF and we plan to include lots of new features that will enable you to generate more quickly and more advanced layout styles. For a list of planned features see below. Planned release date for 10.0.1 is end of June. Supplement Option holders will be able to acquire this release through the supplement option.
    NEW FEATURES JHEADSTART 10g 9.0.5.1
    The JHeadstart 10g (9.5.0.1) release will include the following new features:
    - description on how to use Toplink in combination with JHeadstart
    - improvements in the Toplink deployment code so no post generation is necessary
    - Generation of regions in JSP's
    - Link from the Application Structure Editor to the BC4J property editor to more easily record meta data on the different levels
    - Link from the Application Structure Editor to the JHeadstart Application Generator to quickly generate your application without having to leave the editor
    - Added poplist to properties region and domain in the bc4j property editor to prevent typing errors.
    - Bug fixes, a complete list will be made available in the readme of
    NEW FEATURES PLANNED FOR JHEADSTART 10g (10.0.1)
    Below you can find a list of the features that we plan to include in the 10.0.1 release. This list is not complete yet. We plan to publish a viewlet in the coming weeks
    - complete allignment with Oracle ADF
    - automatic generation of Application Structure File based on the ADF Business Components.
    - quick search
    - advanced search and option to publish result in same page
    - all master-detail layout combinations
    - unlimited nesting of groups
    - actions items (custom buttons and links)
    - more refined mechanism to preserve post generation modification
    - flexible JSP template mechanism that provides you full control of the generated look and feel including the layout
    - large number of smaller enhancements
    Ton van Kooten
    JHeadstart Team
    Oracle

Maybe you are looking for