Error with JDK 1.3.1_02

Can anyone help with this somple problem. I have just downloaded JDK 2 1.3.1_02 and run a simple input program with the latest version of JDK Commander.
The following error keeps coming up in regards to Course_io:
Heres the program and beneath is the error that keeps coming up when javac is run.
/*program that reads in grades and then displays the total amount of
pupils with those grades*/
import java.io.*;
class Excercise_4_3
     public static void main(String[]args)
          throws IOException
     int grade_1_count=0, grade_2_count=0,grade;
     System.out.println("Input the Grade or negative number or 0 to termintate");
     grade=Course_io.readInt();
     while(grade>=1)
          if(grade==2)
               grade_2_count=grade_2_count+1;
          else if(grade==1)
               grade_1_count=grade_1_count+1;
          else if(grade>2)
               System.out.println("You can only enter grade 1 or 2");
          else
               grade_1_count=grade_1_count+0;
               grade_2_count=grade_2_count+0;
               System.out.println("Enter a grade or negative number or 0 to terminate");
               grade=Course_io.readInt();
          System.out.println("Number of pupils with grade 1 are "
                         +grade_1_count);
          System.out.println("Number of pupils with grade 2 are "
                         +grade_2_count);
Heres the error when Javac is run:
I think that the problem is that Course_io is not been imported when import java_io*;is commanded.
I have tried executing the JDK commander with different folders from the JDK 2 1.3.1_02 but no luck there.
javac -d . -g "C:\Java Pracs\Excercise_4_3.java"
C:\Java Pracs\Excercise_4_3.java:11: cannot resolve symbol
symbol : variable Course_io
location: class Excercise_4_3
     grade=Course_io.readInt();
^
C:\Java Pracs\Excercise_4_3.java:33: cannot resolve symbol
symbol : variable Course_io
location: class Excercise_4_3
               grade=Course_io.readInt();
^
2 errors
Some help will be really appreciated.
Thanks
G Engelbrecht

1. Is Course_io a class in the same directory as the other source file
2. if yes then is readInt() a static method of the class Course_io. If not then u need to create an instance of Course_io and then call readInt() on it.
3. Could u please post the structure of the other class file.
Plz format u'r src before posting. Makes our lives easier
:-)

Similar Messages

  • Deployment Error with jdk 5 and oc4j_extended_101320.zip

    Hello,
    I get the following error when I try to deploy my application using jdk 5 and oc4j (oc4j_extended_101320.zip) . I am sure no references of jdk1.4 are being used anywhere. I also tried deleting the persistence directory to make sure there are no lock files anywhere , but in vain. I am stuck with this problem and I urgently need a solution to get past this. Any help in this regard is appreciated. Thanks. Here is the stack trace.
    This load was initiated at sim.root:0.0.0 using the Class.forName() method.
    The missing class is not available from any code-source or loader in the system.
    07/12/31 01:19:17 WARNING: DeployerRunnable.run java.lang.InstantiationException: Application: sim is in failed state as initialization failedoracle.oc4j.admin.internal.DeployerException: java.lang.InstantiationException: Application: sim is in failed state as initialization failed
         at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:126)
         at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52)
         at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: java.lang.InstantiationException: Application: sim is in failed state as initialization failed
         at com.evermind.server.Application.setConfig(Application.java:497)
         at com.evermind.server.Application.setConfig(Application.java:340)
         at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1879)
         at oracle.oc4j.admin.internal.ApplicationDeployer.addApplication(ApplicationDeployer.java:512)
         at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:196)
         at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:93)
         ... 4 more
    Caused by: java.lang.InstantiationException: Error initializing ejb-modules: [sim:oracle_sim_closed_ejb:Transfer] - Unable to load ejb-class oracle.retail.sim.closed.transfer.ejb.TransferEjb, see section 23.2 of the EJB 2.1 specificationoracle.classloader.util.AnnotatedClassNotFoundException:
         Missing class: oracle.retail.sim.closed.transfer.ejb.TransferEjb
         Dependent class: com.evermind.server.ejb.deployment.BeanDescriptor
         Loader: oc4j:10.1.3
         Code-Source: /D:/jdk5andOc4j/OC4J/oc4j_extended_101320/j2ee/home/lib/oc4j-internal.jar
         Configuration: <code-source> in META-INF/boot.xml in D:\jdk5andOc4j\OC4J\oc4j_extended_101320\j2ee\home\oc4j.jar

    For internal questions please use the internal mailing lists...
    --olaf                                                                                                                                                                                       

  • Out of memory Error with jdk 1.6

    Hello,
    I have a swing application launched on the client with the help of Java web start. The applications works fine in jre 1.4 and jre 1.5. The heap sizes are :
    initial-heap-size="5m" max-heap-size="24m"
    But when I run this using jre 1.6.0_05-b13, I am getting Out of memory Error, java heap size. And I see the memory usage is growing rapidly which I didn't notice in other jre versions (1.4 and 1.5).
    Does anyone have any idea on this?
    Thanks in advance,
    MR.

    Thanks for your response Peter. During my continuous testing I identified that error happens on jdk 1.5 also. And I have increased the min-heap-size to 24 MB and max-heap-size to 64 MB. But in that case also I noticed the out of memory error. The interesting thing is, the min-heap-size is never increased from 24MB and lot of free memory also.
    Memory: 24,448K Free: 12,714K (52%) ... completed.
    The Outofmemoryerror triggers from the reader thread which does the job of reading the data from the InputStream. One thing is we are continuously pushing more data on the output stream from the other end. Is that any limitation on InputStream which can hold some definite amount of data.
    Please throw some light on this.

  • WLS 5.1 not error with jdk 1.4 ???

    Hi,
    Ive just upgrading the jdk from 1.3 to 1.4 and got alot of errors.
    Im using the Bea Weblogic Server 5.1!
    Just at startup I got a VerifyError.
    And som other exception I got is: java.lang.NoClassDefFoundError: com/sun/java/util/collections/ArrayList
    Is WLS5.1 not compatible with J2SE (ver 1.4) ??
    When I change back to 1.3 everything is going fine.
    Error 1:
    java.lang.VerifyError: class weblogic.iiop.IIOPOutputStream overrides final method

    This is the platform support page and 1.4 is not listed for any Weblogic version...
    http://www.weblogic.com/platforms/index.html
    So if you want 1.4 you'll have to wait for a version that supports it.
    There was a guy that posted a link to a document on how to run 6.x with 1.4 but it's still unsupported so
    it's not recommended.
    --dejan
    John wrote:
    Hi,
    Ive just upgrading the jdk from 1.3 to 1.4 and got alot of errors.
    Im using the Bea Weblogic Server 5.1!
    Just at startup I got a VerifyError.
    And som other exception I got is: java.lang.NoClassDefFoundError: com/sun/java/util/collections/ArrayList
    Is WLS5.1 not compatible with J2SE (ver 1.4) ??
    When I change back to 1.3 everything is going fine.
    Error 1:
    java.lang.VerifyError: class weblogic.iiop.IIOPOutputStream overrides final method

  • Errors with JDK source file

    I'm extremely new to JAVA. I just installed JDK 6 and JRE on Windows XP and typed java ~version at the command prompt and got this error: Exception in thread "main" java.lang.NoClassDefFoundError: ~version caused by: java.lang.ClassNotFoundException: ~version at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    Can anyone please help? I've seen many examples on setting the path, but not sure what is correct.

    java -versionHyphen not tilda.

  • Iwcadmin error with JDK/JRE version

    hi,
    I encountered this problem when executing iwcadmin utility ./iwcadmin -V in SJM on Sun Solaris , an error prompt displays "
    Java runtime at /opt/ca/sharedutils/JRE/1.4.2_09 is below minimum requirement of 1.5.0
    Please make sure the Java runtime at standard location meets the
    minimum requirement, or set JAVA_HOME to point to an installation that does.
    here is the OS and other JDK / JRE path available in the system.
    other jdk5 : /usr/jdk/jdk1.5.0_16/ or jre5 /usr/jdk/jdk1.5.0_16/jre
    uname -srv
    SunOS 5.10 Generic_137137-09
    How can I make it use the jdk5/jre5 or at least temporarily during my user session?

    Not sure which shell you are using but ....
    CSH: set JAVA_HOME=/usr/jdk/jdk1.5.0_16
    KSH or BASH: export JAVA_HOME=/usr/jdk/jdk1.5.0_16
    then just invoke "iwcadmin"

  • Error : XDK 902b,  jdk 1.3.1_02, Tomcat 3.2.3, server can't  find XSQLConfig.xml

    Hi xml-folks :
    I am having a show stopping problem with my IBM NT server 4.0 s-pac 6 env. Error : XDK 902b with jdk 1.3.1_02 and Tomcat 3.2.3, server can't find XSQLConfig.xml file.
    Components : IIS 4.0, Tomcat 3.2.3, JDK 1.3.1_02, XDK 9.0.2b
    - all components were down loaded and installed from apache.org, sun.java and otn this week.
    ERROR : in Internet Explorer
    I type in ...
         Http://geoweb:8080/geoapp/helloworld/helloworld.xsql
    I recieve ...
         Oracle XSQL Servlet Page Processor 9.0.2.0.0(Beta)
         XSQL - 003 : Failed to find 'XSQLConfig.xml' in file server CLASSPATH.
    ( ... seems straight forward to fix, doesn't it.)
    - history IIS works, jakarta is up as a service, it's mapped as an IIS vritual directory, Tomcat serves the demo t-c JSP and Servlets from : Http://geoweb:8080/geoapp, the java env works (java, javac, jar, etc). I've done everything to try to get the CLASSPATH to recognized the XSQLConf file, jar'ed it, renamed it to zip. And of course the file still resides in my XDK home E:\xdk_java_902b\lib, I've tried that in the path too.
    < nt_system_variables >
    CLASSPATH=E:\Tomcat3.2.3
    \lib\XSQLConfig.jar;E:\xdk_java_902b\lib\classes12.zip;E:\xdk_java_902b\lib\classgen.jar;E:\xdk_java_902b\lib\oraclexsql.jar;E:\xdk_java_902b\lib\transx.zip;E:\xdk_java_902b\lib\xmlmesg.jar;E:\xdk_java_902b\lib\xmlparserv2.jar;E:\xdk_java_902b\lib\xschema.jar;E:\xdk_java_902b\lib\xsqlserializers.jar;E:\xdk_java_902b\lib\xsu12.jar;E:\xdk_java_902b\xdk\admin
    COMPUTERNAME=GEOWEB
    ComSpec=C:\WINNT\system32\cmd.exe
    DiskeeperIcon=C:\Program Files\Executive Software\DiskeeperServer\
    HOMEDRIVE=C:
    HOMEPATH=\
    INCLUDE=E:\Program Files\Mts\Include
    JAVA_HOME=e:\jdk1.3.1_02
    LIB=E:\Program Files\Mts\Lib
    LOGONSERVER=\\GEO3
    NUMBER_OF_PROCESSORS=4
    OS=Windows_NT
    Os2LibPath=C:\WINNT\system32\os2\dll;
    Path=E:\jdk1.3.1_02\bin;E:\Perl\bin\;E:\Oracle8i\bin;C:\Program Files\Oracle\jre\1.1.7\bin;C:\PROGRA~1\IBM\UMS\DMI\bin;C:\Program Files\IBM\UMS;C:\WINNT\system32;C:\WINNT;E:\Program Files\Mts;C:\WINNT\System32\WBEM;C:\PROGRA~1\IBM\UMS\Director\Bin;
    PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
    PROCESSOR_ARCHITECTURE=x86
    PROCESSOR_IDENTIFIER=x86 Family 6 Model 10 Stepping 1, GenuineIntel
    PROCESSOR_LEVEL=6
    PROCESSOR_REVISION=0a01
    PROMPT=$P$G
    SystemDrive=C:
    SystemRoot=C:\WINNT
    TEMP=C:\TEMP
    TMP=C:\TEMP
    TOMCAT_HOME=e:\Tomcat3.2.3
    UMS_DRIVE=C:
    UMS_HOME=C:\Program Files\IBM\UMS
    USERDOMAIN=GEO
    USERNAME=GEONETADMIN
    USERPROFILE=C:\WINNT\Profiles\geonetadmin
    WIN32DMIPATH=C:\PROGRA~1\IBM\UMS\DMI
    windir=C:\WINNT
    </ nt_system_variables >
    Anyone have any Ideas ?

    I should have included my wrappers.properties in the original part of the thread. Here it is with the working corrections.
    Once I added : wrapper.class_path=E:\xdk_java_902b\lib\XSQLConfig.jar
    to my wrappers.properties file the XML-003 error went away, i.e. its working ... I can see the XSQLCOnfig.xml file now. I don't think this is the nornal way this should be fixed but literally nothing else I did worked. I tried things like adding a system variable XML_CONF=%XML_HOME%\lib and modified my CLASSPATH to simply poiint to the %TOMCAT_HOME%\lib ( where my XSQLConfig.xml file is located). those did not get this woring ... only by adding the "wrapper.class_path=E:\xdk_java_902b\lib\XSQLConfig.jar
    " to my wrappers.properties file did it work.
    I hope this helps people, but I do believe this is very non-standard (this isn't the way this is supposed to be working). Everything I've read by Oracle OTN, Steve M. etc. and the boards here suggest this isn't supposed to be this hard. But it was for me.
    now I'm dealing with a XML-007 error, but thats very solvable, theres plenty of documentation on why your JDBC connection is failing, worse comes to worse I'll re-install the JDBC-Oracle 8i client software.
    E#
    # $Header: /home/cvs/jakarta-tomcat/src/etc/Attic/wrapper.properties,v 1.2.2.1 2000/10/16 01:59:22 larryi Exp $
    # $Revision: 1.2.2.1 $
    # $Date: 2000/10/16 01:59:22 $
    # jk_service.properties - a bootstrup file for the Tomcat NT service.
    # This file provides jk_nt_service with the needed information to
    # start tomcat at a different process.
    # As a general note, the characters $( and ) are used internally to define
    # macros. Do not use them!!!
    # Whenever you see a set of lines such as:
    # x=value
    # y=$(x)\something
    # the final value for y will be value\something
    # Normaly all you will need to modify is the first two properties, i.e.
    # wrapper.tomcat_home and wrapper.java_home. Most of the configuration
    # is derived from these two.
    # wrapper.tomcat_home should point to the location where you
    # installed tomcat. This is where you have your conf, webapps and lib
    # directories.
    wrapper.tomcat_home=E:\Tomcat3.2.3
    # wrapper.java_home should point to your Java installation. Normally
    # you should have a bin and lib directories beneath it.
    wrapper.java_home=E:\jdk1.3.1_02
    #------ ADVANCED MODE ------------------------------------------------
    # Make sure that you read the how-to before making too many changes.
    # Defining where the service is going to put the standard
    # output of Tomcat. This is where System.out.println and
    # System.err.println goes to.
    wrapper.stdout=$(wrapper.tomcat_home)\logs\jvm.stdout
    wrapper.stderr=$(wrapper.tomcat_home)\logs\jvm.stderr
    # Additions to the path. put here directories where you store DLLs for
    # native methods etc.
    wrapper.ld_path=e:\
    wrapper.ld_path=c:\
    # Defining the classpath. All the rows that belongs to the class_path
    # property are concatenated to create the classpath for Tomcat.
    # If you have additional locations that you would like to add to the
    # claspath you should add a new wrapper.class_path=<location> line.
    wrapper.class_path=$(wrapper.tomcat_home)\classes
    wrapper.class_path=$(wrapper.tomcat_home)\lib\jaxp.jar
    wrapper.class_path=$(wrapper.tomcat_home)\lib\parser.jar
    wrapper.class_path=$(wrapper.tomcat_home)\lib\webserver.jar
    wrapper.class_path=$(wrapper.tomcat_home)\lib\servlet.jar
    wrapper.class_path=$(wrapper.tomcat_home)\lib\jasper.jar
    # Here we add the classes required for the xsql servlet and any
    # other apps.
    wrapper.class_path=E:\xdk_java_902b\lib\XSQLConfig.jar
    wrapper.class_path=E:\xdk_java_902b\lib\classes12.jar
    wrapper.class_path=E:\xdk_java_902b\lib\classgen.jar
    wrapper.class_path=E:\xdk_java_902b\lib\oraclexsql.jar
    wrapper.class_path=E:\xdk_java_902b\lib\xmlmesg.jar
    wrapper.class_path=E:\xdk_java_902b\lib\xmlparserv2.jar
    wrapper.class_path=E:\xdk_java_902b\lib\xschema.jar
    wrapper.class_path=E:\xdk_java_902b\lib\xsqlserializers.jar
    wrapper.class_path=E:\xdk_java_902b\lib\xsu12.jar
    wrapper.class_path=E:\xdk_java_902b\xdk\admin
    # This is where Javac is located in JDK1.3.x
    wrapper.class_path=$(wrapper.java_home)\lib\tools.jar
    # and a tribute to JDK1.1.x
    # wrapper.class_path=$(wrapper.java_home)\lib\classes.zip
    # This is the Java interpreter used for running Tomcat
    wrapper.javabin=$(wrapper.java_home)\bin\java.exe
    # This is Tomcat's startup class (the class that contains Tomcat's
    # starting point.
    wrapper.startup_class=org.apache.tomcat.startup.Tomcat
    # This is the location where tomcat's server.xml configuration file
    # is located.
    wrapper.server_xml=$(wrapper.tomcat_home)\conf\server.xml
    # The NT service uses AJP12/AJP13 to shutdown Tomcat. The
    # wrapper.shutdown_port tells the service the identity of the port that
    # is used by AJP12/AJP13.
    wrapper.shutdown_port=8007
    # Can either be ajp12 or ajp13 depending on your configuration.
    # Default value is ajp12
    wrapper.shutdown_protocol=ajp12
    # This is the command line that is used to start Tomcat. You can add extra
    # parameters to it but you can not remove anything.
    wrapper.cmd_line=$(wrapper.javabin) -classpath $(wrapper.class_path) $(wrapper.startup_class) -config $(wrapper.server_xml) -home $(wrapper.tomcat_home)

  • Error while running Dev60 with jdk 11711o

    Dear OTN Members / Oracle Development Team.
    Have any one tried it. Help required form Oracle Devlopemnt
    Team.
    hi i am using oracle8 OAS 4.0.7, Developer 6.0 production
    with NT 4.0 and service Pack 3
    when i try to run the form through jinitinator or JDK provided
    with the package i get the following error.
    running with jinitator
    Oracle JInitiator version 1.1.7.11
    Using JRE version 1.1.7.11o
    User home directory = E:\WINNT\Profiles\Administrator
    Proxy Configuration: no proxy
    java.io.FileNotFoundException: \forms60\f60all.jar
    at java.io.FileInputStream.<init>(FileInputStream.java:56)
    at sun.net.www.protocol.file.FileURLConnection.connect(Compiled
    Code)
    at
    sun.net.www.protocol.file.FileURLConnection.getInputStream(FileUR
    LConnection.java:162)
    at
    sun.net.www.protocol.http.HttpURLConnection.openConnectionCheckRe
    directs(Compiled Code)
    at
    sun.applet.AppletCache.getInputStream(AppletCache.java:588)
    at
    sun.applet.AppletResourceLoader.loadJar(AppletResourceLoader.java
    171)
    at sun.applet.JinitAppletPanel.loadJarFiles(Compiled
    Code)
    at sun.plugin.AppletViewer.loadJarFiles(Compiled Code)
    at
    sun.applet.JinitAppletPanel.runLoader(JinitAppletPanel.java:500)
    at sun.applet.JinitAppletPanel.run(Compiled Code)
    at java.lang.Thread.run(Thread.java:466)
    and with JDK
    Microsoft (R) VM for Java, 5.0 Release 5.0.0.3165
    ==============================================
    ? help
    c clear
    f run finalizers
    g garbage collect
    m memory usage
    q quit
    t thread list
    ==============================================
    com.ms.security.SecurityExceptionEx[oracle/forms/engine/Main.init
    ]: cannot access file E:\WINNT\Java\.hotjava
    at com/ms/security/permissions/FileIOPermission.check
    at com/ms/security/PolicyEngine.deepCheck
    at com/ms/security/PolicyEngine.checkPermission
    at com/ms/security/StandardSecurityManager.chk
    at com/ms/security/StandardSecurityManager.checkRead
    at java/io/File.exists
    at java/io/File.mkdirs
    at sun/applet/AppletViewer.<clinit>
    at java/lang/ClassLoader.findSystemClass
    at com/ms/vm/loader/URLClassLoader.loadClass
    at java/lang/ClassLoader.loadClassInternal
    at oracle/forms/engine/Main.init
    at com/ms/applet/AppletPanel.securedCall0
    at com/ms/applet/AppletPanel.securedCall
    at com/ms/applet/AppletPanel.processSentEvent
    at com/ms/applet/AppletPanel.processSentEvent
    at com/ms/applet/AppletPanel.run
    at java/lang/Thread.run
    Error getting package information: sun/applet
    com.ms.packagemanager.PackageManagerException: Package not
    ound
    at com/ms/packagemanager/PackageManager.getPackage
    at
    com/ms/security/SecurityClassLoader.getSecurityInfoFromPackage
    at
    com/ms/security/SecurityClassLoader.findPackageManagerClass
    at
    com/ms/security/SecurityClassLoader.findPackageManagerClass
    at com/ms/vm/loader/URLClassLoader.loadClass
    at java/lang/ClassLoader.loadClassInternal
    at oracle/forms/engine/Main.init
    at com/ms/applet/AppletPanel.securedCall0
    at com/ms/applet/AppletPanel.securedCall
    at com/ms/applet/AppletPanel.processSentEvent
    at com/ms/applet/AppletPanel.processSentEvent
    at com/ms/applet/AppletPanel.run
    at java/lang/Thread.run
    java.lang.ClassNotFoundException: sun.applet.AppletViewer
    at com/ms/vm/loader/URLClassLoader.loadClass
    at java/lang/ClassLoader.loadClassInternal
    at oracle/forms/engine/Main.init
    at com/ms/applet/AppletPanel.securedCall0
    at com/ms/applet/AppletPanel.securedCall
    at com/ms/applet/AppletPanel.processSentEvent
    at com/ms/applet/AppletPanel.processSentEvent
    at com/ms/applet/AppletPanel.run
    at java/lang/Thread.run
    what could be the problem have any one encountered this kind of
    problem.
    pls help required.
    mobeen
    null

    Dear OTN Members / Oracle Development Team.
    Have any one tried it. Help required form Oracle Devlopemnt
    Team.
    hi i am using oracle8 OAS 4.0.7, Developer 6.0 production
    with NT 4.0 and service Pack 3
    when i try to run the form through jinitinator or JDK provided
    with the package i get the following error.
    running with jinitator
    Oracle JInitiator version 1.1.7.11
    Using JRE version 1.1.7.11o
    User home directory = E:\WINNT\Profiles\Administrator
    Proxy Configuration: no proxy
    java.io.FileNotFoundException: \forms60\f60all.jar
    at java.io.FileInputStream.<init>(FileInputStream.java:56)
    at sun.net.www.protocol.file.FileURLConnection.connect(Compiled
    Code)
    at
    sun.net.www.protocol.file.FileURLConnection.getInputStream(FileUR
    LConnection.java:162)
    at
    sun.net.www.protocol.http.HttpURLConnection.openConnectionCheckRe
    directs(Compiled Code)
    at
    sun.applet.AppletCache.getInputStream(AppletCache.java:588)
    at
    sun.applet.AppletResourceLoader.loadJar(AppletResourceLoader.java
    171)
    at sun.applet.JinitAppletPanel.loadJarFiles(Compiled
    Code)
    at sun.plugin.AppletViewer.loadJarFiles(Compiled Code)
    at
    sun.applet.JinitAppletPanel.runLoader(JinitAppletPanel.java:500)
    at sun.applet.JinitAppletPanel.run(Compiled Code)
    at java.lang.Thread.run(Thread.java:466)
    and with JDK
    Microsoft (R) VM for Java, 5.0 Release 5.0.0.3165
    ==============================================
    ? help
    c clear
    f run finalizers
    g garbage collect
    m memory usage
    q quit
    t thread list
    ==============================================
    com.ms.security.SecurityExceptionEx[oracle/forms/engine/Main.init
    ]: cannot access file E:\WINNT\Java\.hotjava
    at com/ms/security/permissions/FileIOPermission.check
    at com/ms/security/PolicyEngine.deepCheck
    at com/ms/security/PolicyEngine.checkPermission
    at com/ms/security/StandardSecurityManager.chk
    at com/ms/security/StandardSecurityManager.checkRead
    at java/io/File.exists
    at java/io/File.mkdirs
    at sun/applet/AppletViewer.<clinit>
    at java/lang/ClassLoader.findSystemClass
    at com/ms/vm/loader/URLClassLoader.loadClass
    at java/lang/ClassLoader.loadClassInternal
    at oracle/forms/engine/Main.init
    at com/ms/applet/AppletPanel.securedCall0
    at com/ms/applet/AppletPanel.securedCall
    at com/ms/applet/AppletPanel.processSentEvent
    at com/ms/applet/AppletPanel.processSentEvent
    at com/ms/applet/AppletPanel.run
    at java/lang/Thread.run
    Error getting package information: sun/applet
    com.ms.packagemanager.PackageManagerException: Package not
    ound
    at com/ms/packagemanager/PackageManager.getPackage
    at
    com/ms/security/SecurityClassLoader.getSecurityInfoFromPackage
    at
    com/ms/security/SecurityClassLoader.findPackageManagerClass
    at
    com/ms/security/SecurityClassLoader.findPackageManagerClass
    at com/ms/vm/loader/URLClassLoader.loadClass
    at java/lang/ClassLoader.loadClassInternal
    at oracle/forms/engine/Main.init
    at com/ms/applet/AppletPanel.securedCall0
    at com/ms/applet/AppletPanel.securedCall
    at com/ms/applet/AppletPanel.processSentEvent
    at com/ms/applet/AppletPanel.processSentEvent
    at com/ms/applet/AppletPanel.run
    at java/lang/Thread.run
    java.lang.ClassNotFoundException: sun.applet.AppletViewer
    at com/ms/vm/loader/URLClassLoader.loadClass
    at java/lang/ClassLoader.loadClassInternal
    at oracle/forms/engine/Main.init
    at com/ms/applet/AppletPanel.securedCall0
    at com/ms/applet/AppletPanel.securedCall
    at com/ms/applet/AppletPanel.processSentEvent
    at com/ms/applet/AppletPanel.processSentEvent
    at com/ms/applet/AppletPanel.run
    at java/lang/Thread.run
    what could be the problem have any one encountered this kind of
    problem.
    pls help required.
    mobeen
    null

  • Error connecting to DB with JDK 1.4.2

    Hi,
    I'm trying to connect to a DB with this code:
    Connection con = null; Statement stmt = null; try { con = ds.getConnection(); stmt = con.createStatement(); stmt.execute("select * from table;"); } catch (SQLException e) { logger.error(e); con.close(); }
    but when I execute de oc4j server with a JDK 1.4.2 I get this error:
    java.sql.SQLException: Excepci�n de E/S: The Network Adapter could not establish the connection
    If I execute oc4j server with JDK 1.5.0 I have no problems... obviously I need to execute with JDK 1.5.0... Does anyone know what might be happening?
    Thanks!!

    Well, this specific exception roughly means that the Java code cannot find the database. I.e. the driver is loaded, the URL is semantically correct, but it can't find a database behind the in the URL given IP address / hostname, port number and/or the databasename. On the other side, the database can also be not up and running or not listening, or there is some firewall which blocks the communication.
    That's all what I can say about it. As far now you're the only one who can find and fix the root cause.

  • Login on to WLS with jdk 1.4 doesnot work

    Hi,
    I had ealier posted a question on how to debug ejb's on wls with eclipse and
    was directed to this site "http://www.genuitec.com/products.htm#weblogic_jdk14".
    There I found a document on how to setup WLS into debug and how to setup WLS to
    work with jdk 1.4.
    I followed the instructions but the password I am enetering is revoked. form
    the trace given bellow the NT username taken from the profile is bk608, is it
    the username for which I have to give the password or the ususal WLS management
    password ? Please help.
    Thanks,
    Gavin.
    PS: Here is the trace.....
    C:\bea\wlserver6.0>set PATH=C:\java\j2sdk1.4.0\bin;C:\WINNT\MS\SMS\CORE\BIN;c:\d
    mi\win32\bin;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\MSSQL7\BINN;C:
    \java\jdk1.3.1_02\bin;C:\java\jakarta-ant-1.4.1\bin
    C:\bea\wlserver6.0>set PATH=.\bin;C:\java\j2sdk1.4.0\bin;C:\WINNT\MS\SMS\CORE\BI
    N;c:\dmi\win32\bin;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\MSSQL7\B
    INN;C:\java\jdk1.3.1_02\bin;C:\java\jakarta-ant-1.4.1\bin
    C:\bea\wlserver6.0>set CLASSPATH=.;.\lib\weblogic_sp.jar;.\lib\weblogic.jar
    C:\bea\wlserver6.0>"C:\java\j2sdk1.4.0\bin\java" -hotspot -ms64m -mx64m -classpa
    th .;.\lib\weblogic_sp.jar;.\lib\weblogic.jar -Dweblogic.Domain=mydomain -Dweblo
    gic.Name=myserver "-Dbea.home=C:\bea" "-Djava.security.policy==C:\bea\wlserver6.
    0/lib/weblogic.policy" -Dweblogic.management.password= "-Djava.security.auth.log
    in.config=C:\bea\wlserver6.0/lib/login.conf" weblogic.Server
    [NTLoginModule] succeeded importing info:
    userID = bk608
    domain = HK2OSL
    domainSID = S-1-5-21-161959346-607994573-1935560845
    userSID = S-1-5-21-161959346-607994573-1935560845-14617
    primary group ID = S-1-5-21-161959346-607994573-19355608
    45-513
    group ID = S-1-5-21-161959346-607994573-1935560845-513
    group ID = S-1-1-0
    group ID = S-1-5-21-314861234-1864712239-1573738576-1007
    group ID = S-1-5-32-544
    group ID = S-1-5-32-545
    group ID = S-1-5-21-161959346-607994573-1935560845-1796
    group ID = S-1-5-21-161959346-607994573-1935560845-1898
    group ID = S-1-5-21-161959346-607994573-1935560845-1904
    group ID = S-1-5-21-161959346-607994573-1935560845-1907
    group ID = S-1-5-21-161959346-607994573-1935560845-1908
    group ID = S-1-5-21-161959346-607994573-1935560845-1934
    group ID = S-1-5-21-161959346-607994573-1935560845-10808
    group ID = S-1-5-5-0-49130
    group ID = S-1-2-0
    group ID = S-1-5-4
    group ID = S-1-5-11
    impersonationToken = 928
    [NTLoginModule] added NTPrincipal to Subject
    Starting WebLogic Server ....
    <Apr 16, 2002 10:11:19 AM CEST> <Notice> <Management> <Loading configuration fil
    e .\config\mydomain\config.xml ...>
    log file: C:\bea\wlserver6.0\.\config\mydomain\logs\weblogic.log
    <Apr 16, 2002 10:11:21 AM CEST> <Info> <Logging> <Only log messages of severity
    "Error" or worse will be displayed in this window. This can be changed at Admin
    Console> mydomain> Servers> myserver> Logging> General> Stdout severity threshol
    d>
    <Apr 16, 2002 10:11:22 AM CEST> <Emergency> <Security> <Authentication failure
    reenter password to boot weblogic server:>
    <Apr 16, 2002 10:11:23 AM CEST> <Emergency> <Security> <Authentication failure
    reenter password to boot weblogic server:>
    <Apr 16, 2002 10:11:27 AM CEST> <Emergency> <Server> <Unable to initialize the
    s
    erver: 'Fatal initialization exception
    Throwable: java.lang.SecurityException: Authentication for user guest denied
    java.lang.SecurityException: Authentication for user guest denied
    at weblogic.security.SecurityService.initializeSuid(SecurityService.java
    :360)
    at weblogic.security.SecurityService.initialize(SecurityService.java:125
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:343)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:169)
    at weblogic.Server.main(Server.java:35)
    '>
    The WebLogic Server did not start up properly.
    Exception raised: java.lang.SecurityException: Authentication for user guest den
    ied
    java.lang.SecurityException: Authentication for user guest denied
    at weblogic.security.SecurityService.initializeSuid(SecurityService.java
    :360)
    at weblogic.security.SecurityService.initialize(SecurityService.java:125
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:343)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:169)
    at weblogic.Server.main(Server.java:35)
    Reason: Fatal initialization exception
    C:\bea\wlserver6.0>goto finish
    C:\bea\wlserver6.0>cd config\mydomain
    C:\bea\wlserver6.0\config\mydomain>ENDLOCAL

    add -Dweblogic.management.password=yoursystempassword to the java command line
    when you start WebLogic. Or specify it in the startWebLogic.cmd if you use the
    standard startup script:
    @rem Set WLS_PW equal to your system password for no password prompt server startup.
    set WLS_PW=yoursystempassword
    Gavin <[email protected]> wrote:
    Hi,
    I had ealier posted a question on how to debug ejb's on wls with eclipse and
    was directed to this site "http://www.genuitec.com/products.htm#weblogic_jdk14".
    There I found a document on how to setup WLS into debug and how to setup WLS to
    work with jdk 1.4.
    I followed the instructions but the password I am enetering is revoked. form
    the trace given bellow the NT username taken from the profile is bk608, is it
    the username for which I have to give the password or the ususal WLS management
    password ? Please help.
    Thanks,
    Gavin.
    PS: Here is the trace.....
    C:\bea\wlserver6.0>set PATH=C:\java\j2sdk1.4.0\bin;C:\WINNT\MS\SMS\CORE\BIN;c:\d
    mi\win32\bin;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\MSSQL7\BINN;C:
    \java\jdk1.3.1_02\bin;C:\java\jakarta-ant-1.4.1\bin
    C:\bea\wlserver6.0>set PATH=.\bin;C:\java\j2sdk1.4.0\bin;C:\WINNT\MS\SMS\CORE\BI
    N;c:\dmi\win32\bin;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\MSSQL7\B
    INN;C:\java\jdk1.3.1_02\bin;C:\java\jakarta-ant-1.4.1\bin
    C:\bea\wlserver6.0>set CLASSPATH=.;.\lib\weblogic_sp.jar;.\lib\weblogic.jar
    C:\bea\wlserver6.0>"C:\java\j2sdk1.4.0\bin\java" -hotspot -ms64m -mx64m -classpa
    th .;.\lib\weblogic_sp.jar;.\lib\weblogic.jar -Dweblogic.Domain=mydomain -Dweblo
    gic.Name=myserver "-Dbea.home=C:\bea" "-Djava.security.policy==C:\bea\wlserver6.
    0/lib/weblogic.policy" -Dweblogic.management.password= "-Djava.security.auth.log
    in.config=C:\bea\wlserver6.0/lib/login.conf" weblogic.Server
    [NTLoginModule] succeeded importing info:
    userID = bk608
    domain = HK2OSL
    domainSID = S-1-5-21-161959346-607994573-1935560845
    userSID = S-1-5-21-161959346-607994573-1935560845-14617
    primary group ID = S-1-5-21-161959346-607994573-19355608
    45-513
    group ID = S-1-5-21-161959346-607994573-1935560845-513
    group ID = S-1-1-0
    group ID = S-1-5-21-314861234-1864712239-1573738576-1007
    group ID = S-1-5-32-544
    group ID = S-1-5-32-545
    group ID = S-1-5-21-161959346-607994573-1935560845-1796
    group ID = S-1-5-21-161959346-607994573-1935560845-1898
    group ID = S-1-5-21-161959346-607994573-1935560845-1904
    group ID = S-1-5-21-161959346-607994573-1935560845-1907
    group ID = S-1-5-21-161959346-607994573-1935560845-1908
    group ID = S-1-5-21-161959346-607994573-1935560845-1934
    group ID = S-1-5-21-161959346-607994573-1935560845-10808
    group ID = S-1-5-5-0-49130
    group ID = S-1-2-0
    group ID = S-1-5-4
    group ID = S-1-5-11
    impersonationToken = 928
    [NTLoginModule] added NTPrincipal to Subject
    Starting WebLogic Server ....
    <Apr 16, 2002 10:11:19 AM CEST> <Notice> <Management> <Loading configuration fil
    e .\config\mydomain\config.xml ...>
    log file: C:\bea\wlserver6.0\.\config\mydomain\logs\weblogic.log
    <Apr 16, 2002 10:11:21 AM CEST> <Info> <Logging> <Only log messages of severity
    "Error" or worse will be displayed in this window. This can be changed at Admin
    Console> mydomain> Servers> myserver> Logging> General> Stdout severity threshol
    d>
    <Apr 16, 2002 10:11:22 AM CEST> <Emergency> <Security> <Authentication failure
    reenter password to boot weblogic server:>
    <Apr 16, 2002 10:11:23 AM CEST> <Emergency> <Security> <Authentication failure
    reenter password to boot weblogic server:>
    <Apr 16, 2002 10:11:27 AM CEST> <Emergency> <Server> <Unable to initialize the
    s
    erver: 'Fatal initialization exception
    Throwable: java.lang.SecurityException: Authentication for user guest denied
    java.lang.SecurityException: Authentication for user guest denied
    at weblogic.security.SecurityService.initializeSuid(SecurityService.java
    :360)
    at weblogic.security.SecurityService.initialize(SecurityService.java:125
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:343)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:169)
    at weblogic.Server.main(Server.java:35)
    '>
    The WebLogic Server did not start up properly.
    Exception raised: java.lang.SecurityException: Authentication for user guest den
    ied
    java.lang.SecurityException: Authentication for user guest denied
    at weblogic.security.SecurityService.initializeSuid(SecurityService.java
    :360)
    at weblogic.security.SecurityService.initialize(SecurityService.java:125
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:343)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:169)
    at weblogic.Server.main(Server.java:35)
    Reason: Fatal initialization exception
    C:\bea\wlserver6.0>goto finish
    C:\bea\wlserver6.0>cd config\mydomain
    C:\bea\wlserver6.0\config\mydomain>ENDLOCAL
    Dimitri

  • A problem regarding set up of Oracle Lite 3.6.0.2.0 on Win 95, with JDK 1.1.8 &java 2

    A problem regarding set up of Oracle Lite 3.6.0.2.0 on Win 95, with JDK 1.1.8 and Java 2 SDK ( Ver 1.3 Beta)
    After the installation of Oracle Lite 3.6.0.2.0 on a laptop (with WIN 95 OS), When I run Oracle Lite Designer from start menu, I receive following error message :
    ====================================
    Invalid class name 'FILES\ORA95_2\LITE\DESIGNER\oldes.jar;C:\PROGRAM'
    usage: java [-options] class
    where options include:
    -help print out this message
    -version print out the build version
    -v -verbose turn on verbose mode
    -debug enable remote JAVA debugging
    -noasyncgc don't allow asynchronous garbage collection
    -verbosegc print a message when garbage collection occurs
    -noclassgc disable class garbage collection
    -ss<number> set the maximum native stack size for any thread
    -oss<number> set the maximum Java stack size for any thread
    -ms<number> set the initial Java heap size
    -mx<number> set the maximum Java heap size
    -classpath <directories separated by semicolons>
    list directories in which to look for classes
    -prof[:<file>] output profiling data to .\java.prof or .\<file>
    -verify verify all classes when read in
    -verifyremote verify classes read in over the network [default]
    -noverify do not verify any class
    -nojit disable JIT compiler
    Please make sure that JDK 1.1.4 (or greater) is installed in your machine and CLASSPATH is set properly. JAVA.EXE must be in the PATH.
    ====================================
    My ORACLE_HOME is c:\program files\ora95_2 and Oracle Lite is installed under the ORACLE_HOME in LITE\DESIGNER directory.
    JDK version is 1.1.8 which is greater than 1.1.4 installed in c:\program files\jdk1.1.8, My PATH, and CLASSPATH are set in AUTOEXEC.BAT as follows:
    set CLASSPATH=c:\Progra~1\jdk1.1.8\lib\classes.zip;c:\progra~1\ora95_2\lite\classes\olite36.jar;c:\progra~1\ora95_2\lite\designer\oldes.jar;c:\progra~1\ora95_2\lite\designer\swingall.j ar
    PATH=C:\Progra~1\Ora95_2\bin;.;c:\Progra~1\jdk1.1.8\lib;c:\Progra~1\jdk1.1.8\bin;C:\Progra~1\Ora95_2\lite\Designer;C:\WIN95;C:\WIN95\COMMAND;C:\UTIL
    And, I can run JAVA.EXE from any directory on command prompt.
    With JAVA 2 SDK (ver 1.3 Beta) instead of JDK 1.1.8 I'm getting a different Error message as follows:
    =============================
    java.lang.NoClassFoundError: 'FILES\ORA95_2\LITE\DESIGNER\oldes.jar;C:\PROGRAM'
    Please make sure that JDK 1.1.4 (or greater) is installed in your machine and CLASSPATH is set properly. JAVA.EXE must be in the PATH.
    ==============================
    the PATH and CLASSPATH were set accordingly, as with JDK1.1.8, and there was no classes.zip in classpath
    also the class file or the jar file looks weird or wrapped in the error message : 'FILES\ORA95_2\LITE\DESIGNER\oldes.jar;C:\PROGRAM'
    Another interesting thing I noticed is if I run oldes.exe from Installation CD, the Oracle Lite Designer runs fine, and without error, I'm able to modify tables in the database of my laptop also.
    Could someone shade some light on what am I doing wrong here ?
    Thanks for help in advance .
    Regards
    Viral
    null

    On 07/20/2015 06:35 AM, Itzhak Hovav wrote:
    > hi
    > [snip]
    > [root@p22 eclipse]# cat eclipse.ini -startup
    > plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
    > --launcher.library
    > plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20120913-144807
    >
    > -showsplash
    > org.eclipse.platform
    > --launcher.XXMaxPermSize
    > 256m
    > --launcher.defaultAction
    > openFile
    > -vmargs
    > -Xms40m
    > -Xmx512m
    > [snip]
    Try this: http://wiki.eclipse.org/Eclipse.ini. You should have read the
    sticky posts at forum's top for getting started help.

  • JSPM Error with SAP-JEE component SP16

    Hi
    I am depolying a queue in JSPM SP16.1 for an ECC6 700 SR3 installed ABAP/Java system and it errors with the component SAP-JEE SP16 (installed level is SP14 as delivered in the SR3 kit)
    The log has the messages:
    Oct 8, 2008 1:49:57 PM   Warning: Caught CVersProxyAccessException while saving repository: CVersAccessException: Cannot access CVers due to missing or incorrect configuration.
    Additional error message is:
    com.sap.sdm.apiint.serverext.servertype.TargetServiceException: Cannot provide connect data for database target system "CONFIG_DB".
    Additional error message is:
    com.sap.sdm.serverext.servertype.dbsc.DatabaseConnectException: Creation of DataSource for database "WFQ" failed. (com.sap.sql.log.OpenSQLException: Error while accessing secure store: Encryption or decryption is not possible because the full version of the SAP Java Crypto Toolkit was not found (iaik_jce.jar is required, iaik_jce_export.jar is not sufficient) or the JCE Jurisdiction Policy Files don't allow the use of the "PbeWithSHAAnd3_KeyTripleDES_CBC" algorithm..)
    regards
    Michael

    Hi Philipp
    My version is 700 and the database is DB2/400 for IBM System i.
    The sapcrypto is treated differently on this platform, so I havent done anything with it as yet.
    I logged a message with SAP which has gone to the BC-JAS-SEC queue and the reply I received is below. Please let me know if this has helped you as I have not had the chance to get back to the system to try these steps :
    regards
    Michael.
    To do the further investigation, may I check info below with you:
    - are you able to read the content of the
    /sapbwtest/global/security/lib/tools/iaik_jce.jar file with jar
    - do you have the full strength JCE files installed for this JDK?
    See note: 739043
    - What user is used to connect to the Database from the java side in
    the secure store? check if the password is correct or the user
    is unlocked.
    Make sure the connection details in Secure Store are the correct ones
    you can check it in the config tool:
    the jdbc/pool/<SID>/Password and jdbc/pool/<SID>/User
    Edited by: Michael Power on Oct 15, 2008 8:52 PM

  • Error with paging action handler

    We are using the proposed action handler from Steve Muench's book for stateless paging to our highest confidence.
    The problem is that after some days the paging parameter p gets always a wrong value. We think it is the total rowcount, because we implemented a test-parameter.
    From then displaying a page starts always (?) with the last page. If this situation occurs it happens in different (!) applications, so it isn't a parameter side effect.
    There is not p session or cookie parameter who could override the silent work of the action handler.
    We are using the XSQL servlet 1.0.4.1 under Red Hat Linux 7.0 with an Oracle 8.1.7 database. Servlet container is Tomcat 3.2 with JDK 1.3 from Sun.
    Stopping Tomcat and restarting it solves the problem (for some time).
    Do you have any hint for us ?
    Best regards
    Andreas Saake
    null

    As I can see it's an error from Paging.jar.
    I do an initial call to a XSQL page with a select resultset of 38 rows, for example. With a pagesize of 20 rows I should get 2 pages and having current-page set to 1.
    But what I get is a corrected value (by Paging.jar) of current-page, which starts with page 2. The further paging in my application is ok.
    I've extended the paging handler with a variable called test-paged, which reads the paramater p and stores it in the output tree. Then I dislay the XSQL-page without any stylesheet and get a value of 38 in test-page.
    Below is an excerpt of my paging.jar:
    ---- Start excerpt
    import oracle.xml.xsql.*;
    import oracle.xml.parser.v2.*;
    import org.w3c.dom.*;
    import java.net.*;
    import java.util.StringTokenizer;
    import java.sql.SQLException;
    public class Paging extends XSQLActionHandlerImpl {
    private static final String PAGE_PARAM_NAME = "p";
    private static final String ROWSPERPAGE = "rows-per-page";
    private static final String TARGETPAGEARGS = "url-params";
    private static final String TARGETSORTARGS = "sort-params";
    public void handleAction(Node root) throws SQLException {
    XSQLPageRequest req = getPageRequest();
    Element actElt = getActionElement();
    // Get the count query from the action element content
    String query = getActionElementContent();
    // Get the number of rows per page, defaulting to 10
    long pageSize = longVal(getAttributeAllowingParam(ROWSPERPAGE,actElt),10);
    long totalRows = longVal(firstColumnOfFirstRow(root,query),0);
    long curPage = longVal(variableValue(PAGE_PARAM_NAME,actElt),1);
    long testPage = longVal(variableValue(PAGE_PARAM_NAME,actElt),1);
    // Get the name of the current page to use as the target
    String pageName = curPageName(req);
    // Get any URL parameter names that need to be echoed into paging URL's
    String pageArgs = getAttributeAllowingParam(TARGETPAGEARGS,actElt);
    // Get any URL parameter names that need to be echoed into paging URL's
    // FOR SORTING
    String sortArgs = getAttributeAllowingParam(TARGETSORTARGS,actElt);
    // Calculate the total number of pages
    long totalPages = totalRows / pageSize;
    long fract = totalRows % pageSize;
    if (fract > 0) totalPages++;
    // Make sure current page is between 1 < cur < totalPages
    if (curPage < 1) curPage = 1;if (curPage > totalPages) curPage = totalPages;
    // Create the <paging> fragment to add to the "data page"
    Document d = actElt.getOwnerDocument();
    Element e = d.createElement("paging");
    root.appendChild(e);
    addResultElement(e,"total-rows",Long.toString(totalRows));
    addResultElement(e,"total-pages",Long.toString(totalPages));
    addResultElement(e,"test-page",Long.toString(testPage));
    addResultElement(e,"current-page",Long.toString(curPage));
    --- END Excerpt
    Thanks,
    Andreas
    null

  • Issue while installing ODI 11.1.1.6 with JDK 7u

    Hi All,
    I am working on installing ODI on windows 64 bit. I downloaded lastest web logic server files, ODI files and JDK files from oracle site..
    I installed Web Logice server with no errors but when I tried to install ODI by running the setup.exe it was giving me an error:
    "Error: Provide the JDK/JRE Location while launching the installer. Invoke the sertup.exe with -jreLoc <JDK/JRE Location absolute path>Parameter(s)".
    So, I looked in to JDK file and noticed that it is an old file and need to be updated so I installed "jdk-7uf-windows-i586.exe". After installing when I try to setup ODI, I am still getting the same error..
    It is asking me to provide the location but I am not srue where to provide the location.. I know the location for JDK i.e. C:\Program files\Java\jdk1.7.0_04 but I am not sure where to provide this location for ODI..
    Thanks a lot!

    2 things must be noticed:
    First: ODI 11g is not supported by JDK 7, I always use the JDK1.6.0_27 and works fine. When you try to open the ODI Studio, this message appears, telling that ODI is supported only with JDK 6 versions, so don't try to use JDK 7.
    Second: I always install the JDK in a path without spaces, like "C:\JDK1.6.0_27\" and the excatly same thing to odi install files. So I call via Command Prompt:
    C:\ODI_INSTALL\Disk1\setup.exe -jreLoc C:\JDK1.6.0_27\
    I did over 20 windows installations using these settings, it'll work perfectly.
    Regards.
    Luiz Araujo

  • Version compatibility  of 10G Application Server 10.1.2.0.2  with  JDK 1.5.

    hi buddies,
    I want to know that whether
    10G Application Server 10.1.2.0.2 with JDK 1.5. is Version compatibility
    pls do send ur replies if known to you.

    Hi ,
    As far as I know AS 10.1.2.0.2 is Not certified with JDK 1.5.
    Please see below some links where you can double-check this
    1. OC4J with JDK 1.5 JSP compilation error
    2. http://docs.huihoo.com/oracle/docs/B14099_19/web.1012/b14011/chap1.htm
    "Only the JDK 1.3.1 and JDK 1.4 compilers are supported and certified by OC4J. It is possible to specify an alternative compiler by adding a <java-compiler> element to the server.xml file, and this might provide a workaround for the "classes not in packages" issue, but no other compilers are certified or supported by Oracle for use with OC4J."
    3. "Certified JDKs" from
    http://www.oracle.com/technology/software/products/ias/files/as_certification_r2_101202.html
    BR,
    Mihai

Maybe you are looking for

  • Hierarchy in properties of characteristics item is not visible in report

    Hi, It has been observed that the Hierarchy name in u201Cproperties of characteristics" of an infoobject for example 0GL_ACCOUNT is not visible in BEx output report. The report shows complete hierarchy with all nodes / subnodes but NOT HEADER descrip

  • SSO and Discoverer

    Hi, Please help me in configuring SSO and Discoverer. How can i configure Discoverer so that the SSO user credentials will be propogated to Discoverer? Thanks

  • How can i separate my skipe account from Hotmail

    Hi All, can any one please advice how can i seperate my skipe and hotmail accounts

  • Embedded Youtube videos not working in Chrome or Firefox?

    I have embedded some YouTube videos into Lightbox widgets and they play fine on IE and Safari but not on Chrome or Firefox. The poster of video shows but you can't click on it. Didn't know if Java Script was required but have it enabled on all Browse

  • DB02old  showing Missing in R/3 DDIC Tables & Indexes in BI 7.0 system

    Hi, Db02old showing missing in R/3 DDIC Tables & Indexes ,Details given below.                                     Tables          Indexes Total number                        63,413          88,532 Total size/kb                1,208,272,704     227,4