Timezone incorrect in java 1.4

In java 1.4 JVM does not use the local time zone from operation system.
I tried to change the registry key: HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/TimeZoneInformation
But it was not helped.
I cannot use java 1.6 or use -duser.timezone parameter.
since this problem ocurrs in a lot of differant sites.
Need help.
Thanks

815372 wrote:
I know there is a known bug about this issue but I don't know the solution.Sure you know the solution. You even know two solutions:
I cannot use java 1.6 or use -duser.timezone parameter.
since this problem ocurrs in a lot of differant sites.But apparently the "different sites" issue means that any solution you come up with must not involve doing something at each one of those sites. Is that a correct statement of your requirements? Because if it is, I can't imagine what kind of solution would be acceptable to you.
Let's say, for example, that you found out how to run the patch program which was used to update the timezone table so that you didn't have to install new versions of Java 1.4 every time the timezones table. And let's say that solved your problem. You would still have to go to every site and do that. And, apparently, you don't want to go to every site and do any modifications. So, given that magic doesn't exist, I think you're out of luck unless you revise your expectations.

Similar Messages

  • Timezone Settings for Java Stand alone system

    Hi,
    I want to know the timezone settings that have been set for any Java stand alone system.
    Can anyone help me how to check the timezone settings at Java Stack?
    Incase if I want to change the timezone,which property do I need to change?
    Thank You.
    Regards,
    Sudheer.
    Moderator message - Moved to a less wrong forum
    Edited by: Rob Burbank on Jun 17, 2009 9:05 AM

    You can check it in at the end of System information page in Index.html page.

  • How to link OS timezone name with java zi

    Hi all,
    I need to add some timezone definition in some (HP-UX) server to define DST rules for Iraq.
    The zone information already exists in java with "Asia/Baghdad" timezone name.
    How does java link the OS timezone found in tztab (e.g. MET-1METDST) with its ZoneInfo id file (e.g. "Europe/Paris")
    This is what I'm looking for to link my tztab with zi files.
    thanks
    antonio.

    Download and set up Shareway IP, and use Ethernet to transfer files.
    (24219)

  • Timezone Mapping Solaris - Java

    i have the following problem, for which i'm looking for
    ideas/suggestions/comments.
    i'm writing a Java client app which runs on Solaris or NT. the
    server to the client also can run either on Solaris or NT and the
    whole thing of course in a mixed mode (Client = Solaris,Server =
    NT, and viceversa).
    one of the parameters i get is the current time and timezone of
    the server. my client app is supposed to work with these, ie when
    showing date and time info, it is supposed to be based on the
    server date and time(zone).
    i know how to use Date/Calendar/TimeZone et al but i can't figure
    how to map the timezone info i get from Solaris and NT into the
    Java timezone.
    has anybody out there done this/experience/knows somebody who
    does/where to look at/...
    any info appreciated,
    thomas

    Hi
    I have not tried it, but you may try the getDefault() of the getTimeZone()
    methods in Java to get the TimeZone object. I dont think you need to
    worry about the underlying Operating system.
    Let me know if it helps.
    -Manish

  • PI Timestamp incorrect in java stack

    Dear All,
    In the java stack-> runtime workbench  (Communication Channel Monitoring) the logs time stamp shows 1 hour back…..
    Whereas the same message log timestamp when checked in the abap stack shows the correct time.
    All the default java logs which are shown in NWA(Monitoring -> Logs and traces) are also having a correct time stamp.
    Below is the enviorment.
    OS: Win 2003 x64
    SAP PI 7.0 64 bit (SP12)
    MSSQL 2005 64bit (build 9.0.3228)
    JDK 1.4.2_17-x64
    Please help asap.
    Thanks in advance.

    Hi
    We have faced similar problem. We have applied note 919538 and resolved the same problem. We did following steps
    1. Download the TZ_2008_V06.zip attachment locally
    2. Execute program TZCUSTIM in SE30
    3. Enter the path of the .dat file from the SAP note. This process should be done in every client.
    4. Verify the new entry for the USA DST rule in transaction SPRO for Time Zones
    5. A system restart is must
    I am not sure if there is any other problem with the timestamps.
    Thanks
    Sai
    Edited by: Sai Krishna on May 2, 2008 4:33 PM

  • TimeZone exception in java webdynpro

    Hi All,
    Can anybody help me to resolve below exception:
    com.sap.i18n.SAPTimeZoneInfo.SAPTimeZoneException
    i am getting above exception in PI nwa while trying to load current time/timezone in webdynpro input field.
    Thanks in advance!!!
    Regards,
    gaurav

    If your PI is 7.31 please look through SAP Note 1604058 - error message CreateSAPTimeZone + failed. Reason: {1}
    If its PI 7.1 I am waiting for SAP to reply me for solution.
    Regards,
    Yogesh

  • Bug In Java 5 Date/Calendar Timezone Implementation (possibly 6 also)

    Hey All,
    Really been scratching my head over a date issue I've observed for a while now in relation to TimeZone handling in java.
    It first manifested itself as strange behaviour in my Default TimeZone "Europe/Dublin" (ie. GMT with DST)
    e.g:
    System.setProperty("user.timezone", "Europe/Dublin");
    Date epoch=new Date(0);
    System.out.println("Epoch:"+epoch);
    yields:
    Epoch:Thu Jan 01 01:00:00 GMT 1970
    1AM (BUG???????)
    If I set the TZone above to GMT it outputs correctly as
    Epoch:Thu Jan 01 00:00:00 GMT 1970
    As there is no offset from GMT I can only think that DST is being handled incorrectly around the epoch. (even though it is not in DST on Jan 1st)
    So I wrote the following test using calendars to test my theory.
              System.setProperty("user.timezone", "UTC");
              Calendar test=Calendar.getInstance(); //will use the user.timezone
              Calendar test2=Calendar.getInstance(TimeZone.getTimeZone("Europe/Dublin"));
              for (int year=1965;(year<=1975);year++){
                   test.clear();test2.clear();
                   test.set(year, 0, 1, 0, 0, 0);
                   test2.set(year, 0, 1, 0, 0, 0);
                   System.out.println("UTC:"+ test.getTime()+ " --- EU/Dub:"+test2.getTime());
    Which yields the following interestingly inconsistent output (BUG?????)
    UTC:Fri Jan 01 00:00:00 UTC 1965 --- EU/Dub:Fri Jan 01 00:00:00 UTC 1965
    UTC:Sat Jan 01 00:00:00 UTC 1966 --- EU/Dub:Sat Jan 01 00:00:00 UTC 1966
    UTC:Sun Jan 01 00:00:00 UTC 1967 --- EU/Dub:Sun Jan 01 00:00:00 UTC 1967
    UTC:Mon Jan 01 00:00:00 UTC 1968 --- EU/Dub:Mon Jan 01 00:00:00 UTC 1968
    UTC:Wed Jan 01 00:00:00 UTC 1969 --- EU/Dub:Tue Dec 31 23:00:00 UTC 1968
    UTC:Thu Jan 01 00:00:00 UTC 1970 --- EU/Dub:Wed Dec 31 23:00:00 UTC 1969
    UTC:Fri Jan 01 00:00:00 UTC 1971 --- EU/Dub:Thu Dec 31 23:00:00 UTC 1970
    UTC:Sat Jan 01 00:00:00 UTC 1972 --- EU/Dub:Sat Jan 01 00:00:00 UTC 1972
    UTC:Mon Jan 01 00:00:00 UTC 1973 --- EU/Dub:Mon Jan 01 00:00:00 UTC 1973
    UTC:Tue Jan 01 00:00:00 UTC 1974 --- EU/Dub:Tue Jan 01 00:00:00 UTC 1974
    UTC:Wed Jan 01 00:00:00 UTC 1975 --- EU/Dub:Wed Jan 01 00:00:00 UTC 1975
    Strange - ehh? 1969->1971 all have issues with the Jan 1st date!!!!
    In fact theres issues for every day that DST is not in operation on these years... (BUG????)
    I'm part of a project that will be handling data from all Timezones and as such we have chosen
    to use UTC as our server time. We are now quite concerned what other bugs/strange behaviours
    lurk beneath the surface of the java implementation.
    Note we have tested various JDK's and they seem to be consistently inconsistent!
    If anyone can confrim this bug/issue or shed any light it would be most appreciated,
    G.

    miniman wrote:
    As there is no offset from GMT I can only think that DST is being handled incorrectly around the epoch. (even though it is not in DST on Jan 1st)Well, in the UK, DST was in effect on 1970 Jan 01. I wouldn't be surprised to find that the same applied in Ireland.

  • Change timezone in Java-only system

    Does anyone know how to change the timezone on a Java-only system?
    I have already added the setting "-Duser.timezone=America/Dallas" on the configtool, but when I look at the logs in NWA, it still looks like it is reporting on GMT timezone.
    Thanks!

    try note  Note 834520
    Cheers,
    -Sunil

  • Changing Java Stack TimeZone

    Hello Basis,
    We are running NWCE 7.11 on AIX/DB2 platform.  I'm looking to change the Java stack time zone on our CE portal.  It's currently set to CET but I would like to change it to PST.
    I've checked out OS date and it's correct.  It's in PST.
    I know of transaction STZAD on the BW server.  How do you set the timezone for the Java stack CE server?
    There's mentioning of -Duser.timezone = on the forum but I'm still not clear as to where I should add this parameter using the configuration tool?
    Would appreciate any guidance...  Thanks for your response in advance.

    Hi,
    SAP EP doesn't have its own timezone considering it can be accessed from multiple geographical regions and timezones.
    It uses the timezone of the host machine where it is installed.
    By setting Duser.timezone parameter you can change the user timezone. The following thread might be helpful.
    http://forums.sdn.sap.com/thread.jspa?threadID=806527
    You should also check if the portal is connecting to an ABAP system and therefore displays a different timezone.
    Regards,
    Varun

  • DST is not picked up by Java 5 on Solaris (1.4.2 and 5 on Windows are fine)

    Solaris 9:
    Java 5 ignores daylight savings time and displays time incorrectly. Java 1.4.2 installed on the same Solaris machine displays time zone and time correctly (taking into account DST). Does anybody know what should be tweaked so JRE 1.5 gets DST settings from OS?
    Thank you,
    Dima.
    import java.util.Date;
    import java.util.TimeZone;
    public class testtime {
      public static void main (String argv[] ) {
        System.out.println ("Time: " + new Date()  + " Time zone: " + TimeZone.getDefault()) ;
    }bash-2.05$ echo $TZ
    bash-2.05$
    bash-2.05$ date
    Thu Sep 15 16:36:37 GMT 2005
    bash-2.05$ /disk2/ic/iccommon/jre/bin/java -version
    java version "1.5.0_04"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_04-b05)
    Java HotSpot(TM) Client VM (build 1.5.0_04-b05, mixed mode)
    bash-2.05$ /disk2/ic/iccommon/jre/bin/java -cp . testtime
    Time: Thu Sep 15 15:37:47 GMT-05:00 2005 Time zone: sun.util.calendar.ZoneInfo[id="GMT-05:00",offset=-18000000,dstSavings=0,useDaylight=false,transitions=0,lastRule=null]
    Java 1.4.2 recognizes daylight savings time correctly:
    bash-2.05$
    bash-2.05$ /disk1/3PTYSW/java1_4_2_03/bin/java -version
    java version "1.4.2_03"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_03-b02)
    Java HotSpot(TM) Client VM (build 1.4.2_03-b02, mixed mode)
    bash-2.05$ /disk1/3PTYSW/java1_4_2_03/bin/java -cp . testtime
    Time: Thu Sep 15 16:39:20 EDT 2005 Time zone: sun.util.calendar.ZoneInfo[id="US/Eastern",offset=-18000000,[b]dstSavings=3600000,useDaylight=true,transitions=235,lastRule=java.util.SimpleTimeZone[id=US/Eastern,offset=-18000000,dstSavings=3600000,useDaylight=true,startYear=0,startMode=3,startMonth=3,startDay=1,startDayOfWeek=1,startTime=7200000,startTimeMode=0,endMode=2,endMonth=9,endDay=-1,endDayOfWeek=1,endTime=7200000,endTimeMode=0]]
    bash-2.05$

    Well, they wouldn't rewrite their 1.4 documents at all actually.
    This is just Sun improving their product's documentation. Defining a serialVersionUID has always been a good idea, as all versions of the Serialization Specification show.

  • Java.io.IOException when running 1099

    We recently installed the updates for the 1099 forms and when we run it now we get the following message in the OPP:
    11/30/10 4:38:28 PM] [main] Starting GSF service with concurrent process id = 76279.
    [11/30/10 4:38:28 PM] [main] Initialization Parameters: oracle.apps.fnd.cp.opp.OPPServiceThread:2:0:max_threads=5
    [11/30/10 4:38:28 PM] [Thread-20] Service thread starting up.
    [11/30/10 4:38:28 PM] [Thread-21] Service thread starting up.
    [12/1/10 11:32:42 AM] [OPPServiceThread0] Post-processing request 13697194.
    [12/1/10 11:32:42 AM] [76279:RT13697194] Executing post-processing actions for request 13697194.
    [12/1/10 11:32:43 AM] [76279:RT13697194] Starting XML Publisher post-processing action.
    [12/1/10 11:32:43 AM] [76279:RT13697194]
    Template code: APXT7F99PXML
    Template app: SQLAP
    Language: en
    Territory: 00
    Output type: PDF
    [120110_113243836][][EXCEPTION] [DEBUG] ------- Preferences defined PreferenceStore -------
    [120110_113243836][][EXCEPTION] [DEBUG] ------- Environment variables stored in EnvironmentStore -------
    [120110_113243836][][EXCEPTION] [DEBUG] [FND_JDBC_IDLE_THRESHOLD.LOW]:[-1]
    [120110_113243836][][EXCEPTION] [DEBUG] [SECURITY_GROUP_ID]:[0]
    [120110_113243836][][EXCEPTION] [DEBUG] [FND_JDBC_BUFFER_DECAY_INTERVAL]:[300]
    [120110_113243836][][EXCEPTION] [DEBUG] [NLS_CHARACTERSET]:[WE8ISO8859P1]
    [120110_113243836][][EXCEPTION] [DEBUG] [RESP_APPL_ID]:[-1]
    [120110_113243836][][EXCEPTION] [DEBUG] [NLS_LANGUAGE]:[AMERICAN]
    [120110_113243836][][EXCEPTION] [DEBUG] [FND_JDBC_BUFFER_MIN]:[1]
    [120110_113243836][][EXCEPTION] [DEBUG] [FND_JDBC_BUFFER_MAX]:[2]
    [120110_113243836][][EXCEPTION] [DEBUG] [NLS_NUMERIC_CHARACTERS]:[.,]
    [120110_113243836][][EXCEPTION] [DEBUG] [APPS_JDBC_URL]:[jdbc:oracle:thin:@(DESCRIPTION=(LOAD_BALANCE=YES)(FAILOVER=YES)(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=dev64db.garlandisd.net)(PORT=1526)))(CONNECT_DATA=(SID=DEV64)))]
    [120110_113243836][][EXCEPTION] [DEBUG] [RESP_ID]:[-1]
    [120110_113243836][][EXCEPTION] [DEBUG] [FND_MAX_JDBC_CONNECTIONS]:[300]
    [120110_113243836][][EXCEPTION] [DEBUG] [FND_JDBC_USABLE_CHECK]:[false]
    [120110_113243836][][EXCEPTION] [DEBUG] [USER_ID]:[-1]
    [120110_113243836][][EXCEPTION] [DEBUG] [NLS_TERRITORY]:[AMERICA]
    [120110_113243836][][EXCEPTION] [DEBUG] [FND_JDBC_PLSQL_RESET]:[false]
    [120110_113243836][][EXCEPTION] [DEBUG] [FND_JDBC_CONTEXT_CHECK]:[true]
    [120110_113243836][][EXCEPTION] [DEBUG] [NLS_DATE_FORMAT]:[DD-MON-RR]
    [120110_113243836][][EXCEPTION] [DEBUG] [FND_JDBC_BUFFER_DECAY_SIZE]:[5]
    [120110_113243836][][EXCEPTION] [DEBUG] [FND_JDBC_IDLE_THRESHOLD.HIGH]:[-1]
    [120110_113243836][][EXCEPTION] [DEBUG] [NLS_SORT]:[BINARY]
    [120110_113243836][][EXCEPTION] [DEBUG] [NLS_DATE_LANGUAGE]:[AMERICAN]
    [120110_113243836][][EXCEPTION] [DEBUG] [LOGIN_ID]:[-1]
    [120110_113243836][][EXCEPTION] [DEBUG] ------- Properties stored in Java System Properties -------
    [120110_113243836][][EXCEPTION] [DEBUG] [APPLTMP]:[E:\Dev64Apps\oracle\dev64comn\temp]
    [120110_113243836][][EXCEPTION] [DEBUG] [java.runtime.name]:[Java(TM) SE Runtime Environment]
    [120110_113243836][][EXCEPTION] [DEBUG] [sun.boot.library.path]:[C:\jdk1617\java\jdk1.6.0_17\jre\bin]
    [120110_113243836][][EXCEPTION] [DEBUG] [java.vm.version]:[14.3-b01]
    [120110_113243836][][EXCEPTION] [DEBUG] [OVERRIDE_DBC]:[true]
    [120110_113243836][][EXCEPTION] [DEBUG] [dbcfile]:[E:\Dev64Apps\oracle\dev64appl\fnd\11.5.0\secure\DEV64_web1vm\dev64.dbc]
    [120110_113243836][][EXCEPTION] [DEBUG] [java.vm.vendor]:[Sun Microsystems Inc.]
    [120110_113243836][][EXCEPTION] [DEBUG] [java.vendor.url]:[http://java.sun.com/]
    [120110_113243836][][EXCEPTION] [DEBUG] [path.separator]:[;]
    [120110_113243836][][EXCEPTION] [DEBUG] [APPLCSF]:[E:\Dev64Apps\oracle\dev64comn\admin]
    [120110_113243836][][EXCEPTION] [DEBUG] [java.vm.name]:[Java HotSpot(TM) Client VM]
    [120110_113243836][][EXCEPTION] [DEBUG] [file.encoding.pkg]:[sun.io]
    [120110_113243836][][EXCEPTION] [DEBUG] [sun.java.launcher]:[SUN_STANDARD]
    [120110_113243836][][EXCEPTION] [DEBUG] [user.country]:[US]
    [120110_113243836][][EXCEPTION] [DEBUG] [sun.os.patch.level]:[Service Pack 2]
    [120110_113243836][][EXCEPTION] [DEBUG] [java.vm.specification.name]:[Java Virtual Machine Specification]
    [120110_113243836][][EXCEPTION] [DEBUG] [user.dir]:[E:\Dev64Apps\oracle\dev64comn\admin\log\DEV64_web1vm]
    [120110_113243836][][EXCEPTION] [DEBUG] [java.runtime.version]:[1.6.0_17-b04]
    [120110_113243836][][EXCEPTION] [DEBUG] [java.awt.graphicsenv]:[sun.awt.Win32GraphicsEnvironment]
    [120110_113243836][][EXCEPTION] [DEBUG] [java.endorsed.dirs]:[C:\jdk1617\java\jdk1.6.0_17\jre\lib\endorsed]
    [120110_113243836][][EXCEPTION] [DEBUG] [os.arch]:[x86]
    [120110_113243836][][EXCEPTION] [DEBUG] [JTFDBCFILE]:[E:\Dev64Apps\oracle\dev64appl\fnd\11.5.0\secure\DEV64_web1vm\dev64.dbc]
    [120110_113243836][][EXCEPTION] [DEBUG] [java.io.tmpdir]:[C:\WINDOWS\TEMP\]
    [120110_113243836][][EXCEPTION] [DEBUG] [line.separator]:[
    [120110_113243836][][EXCEPTION] [DEBUG] [java.vm.specification.vendor]:[Sun Microsystems Inc.]
    [120110_113243836][][EXCEPTION] [DEBUG] [user.variant]:[]
    [120110_113243836][][EXCEPTION] [DEBUG] [os.name]:[Windows 2003]
    [120110_113243836][][EXCEPTION] [DEBUG] [FND_JDBC_BUFFER_MIN]:[1]
    [120110_113243836][][EXCEPTION] [DEBUG] [cpid]:[76279]
    [120110_113243836][][EXCEPTION] [DEBUG] [sun.jnu.encoding]:[Cp1252]
    [120110_113243836][][EXCEPTION] [DEBUG] [java.library.path]:[C:\jdk1617\java\jdk1.6.0_17\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;E:\Dev64Apps\oracle\dev64ora\iAS\bin;E:\Dev64Apps\oracle\dev64ora\8.0.6\bin;E:\Dev64Apps\oracle\dev64appl\fnd\11.5.0\bin;E:\Dev64Apps\oracle\dev64appl\au\11.5.0\bin;C:\jdk1617\java\jdk1.6.0_17\bin;E:\Dev64Apps\oracle\dev64ora\8.0.6\bin;C:\MKS\bin;C:\MKS\bin\X11;C:\MKS\mksnt;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem]
    [120110_113243836][][EXCEPTION] [DEBUG] [java.specification.name]:[Java Platform API Specification]
    [120110_113243836][][EXCEPTION] [DEBUG] [java.class.version]:[50.0]
    [120110_113243836][][EXCEPTION] [DEBUG] [sun.management.compiler]:[HotSpot Client Compiler]
    [120110_113243836][][EXCEPTION] [DEBUG] [os.version]:[5.2]
    [120110_113243836][][EXCEPTION] [DEBUG] [LONG_RUNNING_JVM]:[true]
    [120110_113243836][][EXCEPTION] [DEBUG] [user.home]:[C:\Documents and Settings\Default User]
    [120110_113243836][][EXCEPTION] [DEBUG] [user.timezone]:[America/Chicago]
    [120110_113243836][][EXCEPTION] [DEBUG] [java.awt.printerjob]:[sun.awt.windows.WPrinterJob]
    [120110_113243836][][EXCEPTION] [DEBUG] [file.encoding]:[Cp1252]
    [120110_113243836][][EXCEPTION] [DEBUG] [java.specification.version]:[1.6]
    [120110_113243836][][EXCEPTION] [DEBUG] [CACHEMODE]:[DISTRIBUTED]
    [120110_113243836][][EXCEPTION] [DEBUG] [java.class.path]:[C:\jdk1617\java\jdk1.6.0_17\lib\dt.jar;C:\jdk1617\java\jdk1.6.0_17\lib\tools.jar;C:\jdk1617\java\jdk1.6.0_17\jre\lib\rt.jar;C:\jdk1617\java\jdk1.6.0_17\jre\lib\charsets.jar;E:\Dev64Apps\oracle\dev64comn\java\appsborg2.zip;E:\Dev64Apps\oracle\dev64comn\java\apps.zip;E:\Dev64Apps\oracle\dev64ora\8.0.6\forms60\java;E:\Dev64Apps\oracle\dev64comn\java]
    [120110_113243836][][EXCEPTION] [DEBUG] [user.name]:[SYSTEM]
    [120110_113243836][][EXCEPTION] [DEBUG] [DBCFILE]:[E:\Dev64Apps\oracle\dev64appl\fnd\11.5.0\secure\DEV64_web1vm\dev64.dbc]
    [120110_113243836][][EXCEPTION] [DEBUG] [java.vm.specification.version]:[1.0]
    [120110_113243836][][EXCEPTION] [DEBUG] [java.home]:[C:\jdk1617\java\jdk1.6.0_17\jre]
    [120110_113243836][][EXCEPTION] [DEBUG] [sun.arch.data.model]:[32]
    [120110_113243836][][EXCEPTION] [DEBUG] [user.language]:[en]
    [120110_113243836][][EXCEPTION] [DEBUG] [java.specification.vendor]:[Sun Microsystems Inc.]
    [120110_113243836][][EXCEPTION] [DEBUG] [awt.toolkit]:[sun.awt.windows.WToolkit]
    [120110_113243836][][EXCEPTION] [DEBUG] [java.vm.info]:[mixed mode, sharing]
    [120110_113243836][][EXCEPTION] [DEBUG] [logfile]:[E:\Dev64Apps\oracle\dev64comn\admin\log\DEV64_web1vm\FNDOPP76279.txt]
    [120110_113243836][][EXCEPTION] [DEBUG] [java.version]:[1.6.0_17]
    [120110_113243836][][EXCEPTION] [DEBUG] [java.ext.dirs]:[C:\jdk1617\java\jdk1.6.0_17\jre\lib\ext;C:\WINDOWS\Sun\Java\lib\ext]
    [120110_113243836][][EXCEPTION] [DEBUG] [sun.boot.class.path]:[C:\jdk1617\java\jdk1.6.0_17\jre\lib\resources.jar;C:\jdk1617\java\jdk1.6.0_17\jre\lib\rt.jar;C:\jdk1617\java\jdk1.6.0_17\jre\lib\sunrsasign.jar;C:\jdk1617\java\jdk1.6.0_17\jre\lib\jsse.jar;C:\jdk1617\java\jdk1.6.0_17\jre\lib\jce.jar;C:\jdk1617\java\jdk1.6.0_17\jre\lib\charsets.jar;C:\jdk1617\java\jdk1.6.0_17\jre\classes]
    [120110_113243836][][EXCEPTION] [DEBUG] [java.vendor]:[Sun Microsystems Inc.]
    [120110_113243836][][EXCEPTION] [DEBUG] [FND_JDBC_BUFFER_MAX]:[2]
    [120110_113243836][][EXCEPTION] [DEBUG] [file.separator]:[\]
    [120110_113243836][][EXCEPTION] [DEBUG] [java.vendor.url.bug]:[http://java.sun.com/cgi-bin/bugreport.cgi]
    [120110_113243836][][EXCEPTION] [DEBUG] [sun.io.unicode.encoding]:[UnicodeLittle]
    [120110_113243836][][EXCEPTION] [DEBUG] [sun.cpu.endian]:[little]
    [120110_113243836][][EXCEPTION] [DEBUG] [APPLOUT]:[out\DEV64_web1vm]
    [120110_113243836][][EXCEPTION] [DEBUG] [sun.desktop]:[windows]
    [120110_113243836][][EXCEPTION] [DEBUG] [sun.cpu.isalist]:[pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86]
    java.io.IOException: The filename, directory name, or volume label syntax is incorrect
         at java.io.WinNTFileSystem.canonicalize0(Native Method)
         at java.io.Win32FileSystem.canonicalize(Win32FileSystem.java:396)
         at java.io.File.getCanonicalPath(File.java:559)
         at oracle.apps.xdo.oa.util.FontCacheManager.getFontFilePath(FontCacheManager.java:152)
         at oracle.apps.xdo.oa.util.FontHelper.createFontProperties(FontHelper.java:432)
         at oracle.apps.xdo.oa.util.ConfigHelper.getFontProperties(ConfigHelper.java:166)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5807)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3458)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3547)
         at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:290)
         at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:157)
    [12/1/10 11:32:44 AM] [UNEXPECTED] [76279:RT13697194] java.io.IOException: The filename, directory name, or volume label syntax is incorrect
         at java.io.WinNTFileSystem.canonicalize0(Native Method)
         at java.io.Win32FileSystem.canonicalize(Win32FileSystem.java:396)
         at java.io.File.getCanonicalPath(File.java:559)
         at oracle.apps.xdo.oa.util.FontCacheManager.getFontFilePath(FontCacheManager.java:152)
         at oracle.apps.xdo.oa.util.FontHelper.createFontProperties(FontHelper.java:432)
         at oracle.apps.xdo.oa.util.ConfigHelper.getFontProperties(ConfigHelper.java:166)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5807)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3458)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3547)
         at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:290)
         at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:157)
    [12/1/10 11:32:44 AM] [76279:RT13697194] Completed post-processing actions for request 13697194.
    I'm not sure what directory or volume this would be referring to?
    thanks in advance for any help!
    Rob

    We recently installed the updates for the 1099 forms and when we run it now we get the following message in the OPP:
    11/30/10 4:38:28 PM] [main] Starting GSF service with concurrent process id = 76279.
    [11/30/10 4:38:28 PM] [main] Initialization Parameters: oracle.apps.fnd.cp.opp.OPPServiceThread:2:0:max_threads=5
    [11/30/10 4:38:28 PM] [Thread-20] Service thread starting up.
    [11/30/10 4:38:28 PM] [Thread-21] Service thread starting up.
    [12/1/10 11:32:42 AM] [OPPServiceThread0] Post-processing request 13697194.
    [12/1/10 11:32:42 AM] [76279:RT13697194] Executing post-processing actions for request 13697194.
    [12/1/10 11:32:43 AM] [76279:RT13697194] Starting XML Publisher post-processing action.
    [12/1/10 11:32:43 AM] [76279:RT13697194]
    Template code: APXT7F99PXML
    Template app: SQLAP
    Language: en
    Territory: 00
    Output type: PDF
    [120110_113243836][][EXCEPTION] [DEBUG] ------- Preferences defined PreferenceStore -------
    [120110_113243836][][EXCEPTION] [DEBUG] ------- Environment variables stored in EnvironmentStore -------
    [120110_113243836][][EXCEPTION] [DEBUG] [FND_JDBC_IDLE_THRESHOLD.LOW]:[-1]
    [120110_113243836][][EXCEPTION] [DEBUG] [SECURITY_GROUP_ID]:[0]
    [120110_113243836][][EXCEPTION] [DEBUG] [FND_JDBC_BUFFER_DECAY_INTERVAL]:[300]
    [120110_113243836][][EXCEPTION] [DEBUG] [NLS_CHARACTERSET]:[WE8ISO8859P1]
    [120110_113243836][][EXCEPTION] [DEBUG] [RESP_APPL_ID]:[-1]
    [120110_113243836][][EXCEPTION] [DEBUG] [NLS_LANGUAGE]:[AMERICAN]
    [120110_113243836][][EXCEPTION] [DEBUG] [FND_JDBC_BUFFER_MIN]:[1]
    [120110_113243836][][EXCEPTION] [DEBUG] [FND_JDBC_BUFFER_MAX]:[2]
    [120110_113243836][][EXCEPTION] [DEBUG] [NLS_NUMERIC_CHARACTERS]:[.,]
    [120110_113243836][][EXCEPTION] [DEBUG] [APPS_JDBC_URL]:[jdbc:oracle:thin:@(DESCRIPTION=(LOAD_BALANCE=YES)(FAILOVER=YES)(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=dev64db.garlandisd.net)(PORT=1526)))(CONNECT_DATA=(SID=DEV64)))]
    [120110_113243836][][EXCEPTION] [DEBUG] [RESP_ID]:[-1]
    [120110_113243836][][EXCEPTION] [DEBUG] [FND_MAX_JDBC_CONNECTIONS]:[300]
    [120110_113243836][][EXCEPTION] [DEBUG] [FND_JDBC_USABLE_CHECK]:[false]
    [120110_113243836][][EXCEPTION] [DEBUG] [USER_ID]:[-1]
    [120110_113243836][][EXCEPTION] [DEBUG] [NLS_TERRITORY]:[AMERICA]
    [120110_113243836][][EXCEPTION] [DEBUG] [FND_JDBC_PLSQL_RESET]:[false]
    [120110_113243836][][EXCEPTION] [DEBUG] [FND_JDBC_CONTEXT_CHECK]:[true]
    [120110_113243836][][EXCEPTION] [DEBUG] [NLS_DATE_FORMAT]:[DD-MON-RR]
    [120110_113243836][][EXCEPTION] [DEBUG] [FND_JDBC_BUFFER_DECAY_SIZE]:[5]
    [120110_113243836][][EXCEPTION] [DEBUG] [FND_JDBC_IDLE_THRESHOLD.HIGH]:[-1]
    [120110_113243836][][EXCEPTION] [DEBUG] [NLS_SORT]:[BINARY]
    [120110_113243836][][EXCEPTION] [DEBUG] [NLS_DATE_LANGUAGE]:[AMERICAN]
    [120110_113243836][][EXCEPTION] [DEBUG] [LOGIN_ID]:[-1]
    [120110_113243836][][EXCEPTION] [DEBUG] ------- Properties stored in Java System Properties -------
    [120110_113243836][][EXCEPTION] [DEBUG] [APPLTMP]:[E:\Dev64Apps\oracle\dev64comn\temp]
    [120110_113243836][][EXCEPTION] [DEBUG] [java.runtime.name]:[Java(TM) SE Runtime Environment]
    [120110_113243836][][EXCEPTION] [DEBUG] [sun.boot.library.path]:[C:\jdk1617\java\jdk1.6.0_17\jre\bin]
    [120110_113243836][][EXCEPTION] [DEBUG] [java.vm.version]:[14.3-b01]
    [120110_113243836][][EXCEPTION] [DEBUG] [OVERRIDE_DBC]:[true]
    [120110_113243836][][EXCEPTION] [DEBUG] [dbcfile]:[E:\Dev64Apps\oracle\dev64appl\fnd\11.5.0\secure\DEV64_web1vm\dev64.dbc]
    [120110_113243836][][EXCEPTION] [DEBUG] [java.vm.vendor]:[Sun Microsystems Inc.]
    [120110_113243836][][EXCEPTION] [DEBUG] [java.vendor.url]:[http://java.sun.com/]
    [120110_113243836][][EXCEPTION] [DEBUG] [path.separator]:[;]
    [120110_113243836][][EXCEPTION] [DEBUG] [APPLCSF]:[E:\Dev64Apps\oracle\dev64comn\admin]
    [120110_113243836][][EXCEPTION] [DEBUG] [java.vm.name]:[Java HotSpot(TM) Client VM]
    [120110_113243836][][EXCEPTION] [DEBUG] [file.encoding.pkg]:[sun.io]
    [120110_113243836][][EXCEPTION] [DEBUG] [sun.java.launcher]:[SUN_STANDARD]
    [120110_113243836][][EXCEPTION] [DEBUG] [user.country]:[US]
    [120110_113243836][][EXCEPTION] [DEBUG] [sun.os.patch.level]:[Service Pack 2]
    [120110_113243836][][EXCEPTION] [DEBUG] [java.vm.specification.name]:[Java Virtual Machine Specification]
    [120110_113243836][][EXCEPTION] [DEBUG] [user.dir]:[E:\Dev64Apps\oracle\dev64comn\admin\log\DEV64_web1vm]
    [120110_113243836][][EXCEPTION] [DEBUG] [java.runtime.version]:[1.6.0_17-b04]
    [120110_113243836][][EXCEPTION] [DEBUG] [java.awt.graphicsenv]:[sun.awt.Win32GraphicsEnvironment]
    [120110_113243836][][EXCEPTION] [DEBUG] [java.endorsed.dirs]:[C:\jdk1617\java\jdk1.6.0_17\jre\lib\endorsed]
    [120110_113243836][][EXCEPTION] [DEBUG] [os.arch]:[x86]
    [120110_113243836][][EXCEPTION] [DEBUG] [JTFDBCFILE]:[E:\Dev64Apps\oracle\dev64appl\fnd\11.5.0\secure\DEV64_web1vm\dev64.dbc]
    [120110_113243836][][EXCEPTION] [DEBUG] [java.io.tmpdir]:[C:\WINDOWS\TEMP\]
    [120110_113243836][][EXCEPTION] [DEBUG] [line.separator]:[
    [120110_113243836][][EXCEPTION] [DEBUG] [java.vm.specification.vendor]:[Sun Microsystems Inc.]
    [120110_113243836][][EXCEPTION] [DEBUG] [user.variant]:[]
    [120110_113243836][][EXCEPTION] [DEBUG] [os.name]:[Windows 2003]
    [120110_113243836][][EXCEPTION] [DEBUG] [FND_JDBC_BUFFER_MIN]:[1]
    [120110_113243836][][EXCEPTION] [DEBUG] [cpid]:[76279]
    [120110_113243836][][EXCEPTION] [DEBUG] [sun.jnu.encoding]:[Cp1252]
    [120110_113243836][][EXCEPTION] [DEBUG] [java.library.path]:[C:\jdk1617\java\jdk1.6.0_17\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;E:\Dev64Apps\oracle\dev64ora\iAS\bin;E:\Dev64Apps\oracle\dev64ora\8.0.6\bin;E:\Dev64Apps\oracle\dev64appl\fnd\11.5.0\bin;E:\Dev64Apps\oracle\dev64appl\au\11.5.0\bin;C:\jdk1617\java\jdk1.6.0_17\bin;E:\Dev64Apps\oracle\dev64ora\8.0.6\bin;C:\MKS\bin;C:\MKS\bin\X11;C:\MKS\mksnt;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem]
    [120110_113243836][][EXCEPTION] [DEBUG] [java.specification.name]:[Java Platform API Specification]
    [120110_113243836][][EXCEPTION] [DEBUG] [java.class.version]:[50.0]
    [120110_113243836][][EXCEPTION] [DEBUG] [sun.management.compiler]:[HotSpot Client Compiler]
    [120110_113243836][][EXCEPTION] [DEBUG] [os.version]:[5.2]
    [120110_113243836][][EXCEPTION] [DEBUG] [LONG_RUNNING_JVM]:[true]
    [120110_113243836][][EXCEPTION] [DEBUG] [user.home]:[C:\Documents and Settings\Default User]
    [120110_113243836][][EXCEPTION] [DEBUG] [user.timezone]:[America/Chicago]
    [120110_113243836][][EXCEPTION] [DEBUG] [java.awt.printerjob]:[sun.awt.windows.WPrinterJob]
    [120110_113243836][][EXCEPTION] [DEBUG] [file.encoding]:[Cp1252]
    [120110_113243836][][EXCEPTION] [DEBUG] [java.specification.version]:[1.6]
    [120110_113243836][][EXCEPTION] [DEBUG] [CACHEMODE]:[DISTRIBUTED]
    [120110_113243836][][EXCEPTION] [DEBUG] [java.class.path]:[C:\jdk1617\java\jdk1.6.0_17\lib\dt.jar;C:\jdk1617\java\jdk1.6.0_17\lib\tools.jar;C:\jdk1617\java\jdk1.6.0_17\jre\lib\rt.jar;C:\jdk1617\java\jdk1.6.0_17\jre\lib\charsets.jar;E:\Dev64Apps\oracle\dev64comn\java\appsborg2.zip;E:\Dev64Apps\oracle\dev64comn\java\apps.zip;E:\Dev64Apps\oracle\dev64ora\8.0.6\forms60\java;E:\Dev64Apps\oracle\dev64comn\java]
    [120110_113243836][][EXCEPTION] [DEBUG] [user.name]:[SYSTEM]
    [120110_113243836][][EXCEPTION] [DEBUG] [DBCFILE]:[E:\Dev64Apps\oracle\dev64appl\fnd\11.5.0\secure\DEV64_web1vm\dev64.dbc]
    [120110_113243836][][EXCEPTION] [DEBUG] [java.vm.specification.version]:[1.0]
    [120110_113243836][][EXCEPTION] [DEBUG] [java.home]:[C:\jdk1617\java\jdk1.6.0_17\jre]
    [120110_113243836][][EXCEPTION] [DEBUG] [sun.arch.data.model]:[32]
    [120110_113243836][][EXCEPTION] [DEBUG] [user.language]:[en]
    [120110_113243836][][EXCEPTION] [DEBUG] [java.specification.vendor]:[Sun Microsystems Inc.]
    [120110_113243836][][EXCEPTION] [DEBUG] [awt.toolkit]:[sun.awt.windows.WToolkit]
    [120110_113243836][][EXCEPTION] [DEBUG] [java.vm.info]:[mixed mode, sharing]
    [120110_113243836][][EXCEPTION] [DEBUG] [logfile]:[E:\Dev64Apps\oracle\dev64comn\admin\log\DEV64_web1vm\FNDOPP76279.txt]
    [120110_113243836][][EXCEPTION] [DEBUG] [java.version]:[1.6.0_17]
    [120110_113243836][][EXCEPTION] [DEBUG] [java.ext.dirs]:[C:\jdk1617\java\jdk1.6.0_17\jre\lib\ext;C:\WINDOWS\Sun\Java\lib\ext]
    [120110_113243836][][EXCEPTION] [DEBUG] [sun.boot.class.path]:[C:\jdk1617\java\jdk1.6.0_17\jre\lib\resources.jar;C:\jdk1617\java\jdk1.6.0_17\jre\lib\rt.jar;C:\jdk1617\java\jdk1.6.0_17\jre\lib\sunrsasign.jar;C:\jdk1617\java\jdk1.6.0_17\jre\lib\jsse.jar;C:\jdk1617\java\jdk1.6.0_17\jre\lib\jce.jar;C:\jdk1617\java\jdk1.6.0_17\jre\lib\charsets.jar;C:\jdk1617\java\jdk1.6.0_17\jre\classes]
    [120110_113243836][][EXCEPTION] [DEBUG] [java.vendor]:[Sun Microsystems Inc.]
    [120110_113243836][][EXCEPTION] [DEBUG] [FND_JDBC_BUFFER_MAX]:[2]
    [120110_113243836][][EXCEPTION] [DEBUG] [file.separator]:[\]
    [120110_113243836][][EXCEPTION] [DEBUG] [java.vendor.url.bug]:[http://java.sun.com/cgi-bin/bugreport.cgi]
    [120110_113243836][][EXCEPTION] [DEBUG] [sun.io.unicode.encoding]:[UnicodeLittle]
    [120110_113243836][][EXCEPTION] [DEBUG] [sun.cpu.endian]:[little]
    [120110_113243836][][EXCEPTION] [DEBUG] [APPLOUT]:[out\DEV64_web1vm]
    [120110_113243836][][EXCEPTION] [DEBUG] [sun.desktop]:[windows]
    [120110_113243836][][EXCEPTION] [DEBUG] [sun.cpu.isalist]:[pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86]
    java.io.IOException: The filename, directory name, or volume label syntax is incorrect
         at java.io.WinNTFileSystem.canonicalize0(Native Method)
         at java.io.Win32FileSystem.canonicalize(Win32FileSystem.java:396)
         at java.io.File.getCanonicalPath(File.java:559)
         at oracle.apps.xdo.oa.util.FontCacheManager.getFontFilePath(FontCacheManager.java:152)
         at oracle.apps.xdo.oa.util.FontHelper.createFontProperties(FontHelper.java:432)
         at oracle.apps.xdo.oa.util.ConfigHelper.getFontProperties(ConfigHelper.java:166)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5807)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3458)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3547)
         at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:290)
         at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:157)
    [12/1/10 11:32:44 AM] [UNEXPECTED] [76279:RT13697194] java.io.IOException: The filename, directory name, or volume label syntax is incorrect
         at java.io.WinNTFileSystem.canonicalize0(Native Method)
         at java.io.Win32FileSystem.canonicalize(Win32FileSystem.java:396)
         at java.io.File.getCanonicalPath(File.java:559)
         at oracle.apps.xdo.oa.util.FontCacheManager.getFontFilePath(FontCacheManager.java:152)
         at oracle.apps.xdo.oa.util.FontHelper.createFontProperties(FontHelper.java:432)
         at oracle.apps.xdo.oa.util.ConfigHelper.getFontProperties(ConfigHelper.java:166)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5807)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3458)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3547)
         at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:290)
         at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:157)
    [12/1/10 11:32:44 AM] [76279:RT13697194] Completed post-processing actions for request 13697194.
    I'm not sure what directory or volume this would be referring to?
    thanks in advance for any help!
    Rob

  • Change a timestamp in one timezone to another with the DayLight Saving

    Hi Guys!
    I need to change a timestamp in one timezone to another timezone with the Daylight saving time(DST).
    I can easily convert a given timestamp to a different location timezone by the use of TimeZone class in java, but found myself unable to modify it relative to the
    Daylight saving time(DST).
    I Just want to know that the companies, that are having the International clients then, how they handle these kind of things where they need to track down the user
    activity in that client(End-User) side timezone, with that Daylight Saving Time.
    I am very new to this Daylight saving time concept so if anybody knows about it anything, then plz help me out.

    venus_goyal wrote:
    Hi Guys!
    I need to change a timestamp in one timezone to another timezone with the Daylight saving time(DST).
    I can easily convert a given timestamp to a different location timezone by the use of TimeZone class in java, but found myself unable to modify it relative to the
    Daylight saving time(DST).No you don't. All Java timestamps are stored as a "epoch time" i.e. number of millisecondsseconds since 1/1/1970 GMT.
    Conversion to and from local dates and times is done when converting between stored Date objects and String values from input or for display.
    This happens in DateFormat or Calendar, and DST information is included in the Locale information passed to either class.

  • Jre 1.4.2_12 + java excel api problem.

    I got problem when i write a program to read chinese excel sheet with jre 1.4.2_12, chinese will encoding incorrect in java, but when I change jre version to jre 1.4.2_10 or jre 1.5.0 update 7 , everything s ok . any solution?
    p.s. jexcelapi 2.5.8

    I got problem when i write a program to read chinese
    excel sheet with jre 1.4.2_12, chinese will encoding
    incorrect in java, but when I change jre version to
    jre 1.4.2_10 or jre 1.5.0 update 7 , everything s ok
    . any solution?
    p.s. jexcelapi 2.5.8Hi Vencent,
    I am also seeing encoding problems with 1.4.2_12 and havent been able to find a solution. Did you find a solution to your problem? If so I'd appreciate it if you could post it.
    Thanks,
    Declan.

  • Load java issue

    I have the following code segment from asktom.com it can compile if I run it as a sql script but when I compile and pack the code as in Eclipse and load it into the db via sqldeveloper I get the following error
    java.sql.SQLException: ORA-29509: incorrectly formed Java binary class definition
    any help will really be appreciate.
    CREATE OR REPLACE AND COMPILE
    JAVA SOURCE NAMED "demo_passing_pkg"
    AS
    import java.io.*;
    import java.sql.*;
    import java.math.*;
    import oracle.sql.*;
    import oracle.jdbc.driver.*;
    public class demo_passing_pkg extends Object{
    public static void pass( java.lang.String p_in,
                             java.lang.String[] p_out ){
         * the simplest of datatypes -- the String.  If you remember
         * the C version with 6 formal parameters, null indicators,
         * strlen's, strcpy's and so on -- this is trivial in
         * comparision
        if ( p_in != null ){
        System.out.println
            ( "The first parameter is " + p_in.toString() );
            p_out[0] = p_in.toUpperCase();
            System.out.println
            ( "Set out parameter to " + p_out[0].toString() );
    private static void show_array_info( oracle.sql.ARRAY p_in )
    throws SQLException{
        System.out.println( "Array is of type      " +
                             p_in.getSQLTypeName() );
        System.out.println( "Array is of type code " +
                             p_in.getBaseType() );
        System.out.println( "Array is of length    " +
                             p_in.length() );
    public static void
    pass_str_array( oracle.sql.ARRAY p_in, oracle.sql.ARRAY[] p_out )
    throws java.sql.SQLException,IOException{
        show_array_info( p_in );
        String[] values = (String[])p_in.getArray();
        for( int i = 0; i < p_in.length(); i++ )
            System.out.println( "p_in["+i+"] = " + values[i] );
        Connection conn = new OracleDriver().defaultConnection();
        ArrayDescriptor descriptor =
           ArrayDescriptor.createDescriptor( p_in.getSQLTypeName(), conn );
        p_out[0] = new ARRAY( descriptor, conn, values );
    public static String return_string(){
        return "Hello World";

    if I do this in comand line it works. somehow my eclipse setting is not set to the oracle JVM setting of 1.5 ..
    javac -source 1.5 -target 1.5 artst2\demo_passing_pkg.java

  • Setting TimeZone to GMT -12.00

    Hi,
    I set the TimeZone on my system to GMT -12.00 and the Date/Time is Dec 14 7:53 AM.
    When i try to get the Date in my java application using
    = new java.util.Date()
    or
    =Calendar.getInstance().getTime()
    Date/Time it shows is Dec 15 7:53 AM. It has added a Day to the actual date on my system. Is this way java does it or is there any other way to get the exact date/time.
    Thanks,
    Veera

    I feel Calendar.getTime() has bug but Sun claims it's a feature.
    Use something like this:
        SimpleDateFormat sdt
         = new SimpleDateFormat("yyyy.MM.dd G 'at' HH:mm:ss z", Locale.US);
        sdt.setTimeZone(TimeZone.getTimeZone("US/Central"));
        String now = sdt.format(new Date());
        System.out.println(now);Sun has something to say ...
    >
    Date.toString() uses the default time zone (i.e., TimeZone.getDefault() value) to format the date. Change its default time zone or use SimpleDateFormat and its setTimeZone() to specify the time zone to be used for formatting.
    bug_id=4368909
    Calendar.getTime() returns a Date instance which supports only the default TimeZone. Please use DateFormat to specify a TimeZone for displaying a date/time value with the (non-default) TimeZone. (See java.text.DateFormat.setTimeZone documentation)
    bug_id=5038920

Maybe you are looking for

  • HR Master Data conversion-SAP Best Practices

    Hello there, We would like to use the SAP Best Practices for HR Master Data conversion.  Now we want leverage the SAP Best practices to convert the Master data.  Could any one explain in detail how to do the same. How to install the Best Practices on

  • Dependent table not found

    I have just installed XE 2.1 and cannot find the dependent table. How do I find the correct version of the database? Edited by: user10192822 on Aug 20, 2010 3:40 PM

  • Error Code 0x80072efd - Unable to resolve

    I'm on an HP Stream 7 tablet running Windows 8.1 full. The problem is whenever I try to run an app (that came preinstalled, like "Mail" or "Store") and "Switch this PC to microsoft account" for the first time, the error message "unable to connect to

  • I have install the Developer Studio ,what's the next ?

    I install the Developer Studio on my computer. I need a remote server. how build a remote server? How can i set in the developer studio>windows>Preferences-->SAP J2EE Engine and how to set in the SAP application server?(ECC6). and how set the develop

  • CS4 very slow to open documents + slow in general

    Ever since our design studio upgraded to InDesign CS4, some of our machines are now VERY slow to open documents (it takes documents approx. 7–13 times longer to open). Also, just using InDesign seems much slower than CS3 (like dragging things, typing