Import java.io.file ??

Hi,
While I'm doing this course I'm trying to do more programs, in order to learn more about RPI, and I have a problem. I'm trying to acces to some files with threads, one to read the file and another one to read the file. The problem I get is when I just try to import java.io.file, it doesn't exist! so I cannot manage Files at all.
I've seen there no such a class in the javame8 directory, so I've try to copy the class by psftp, but it doesn't work, either.
Do you know why I can't to import the java.io.file and work with files?
thank you very much

Hi -
First, Java ME is a subset of Java SE. Many of the standard packages are simply not available in Java ME.  java.io.File is one of many classes that is not available in Java ME.
I encourage you to read through the API for Java ME's core API's, here.
And while java.io.File is not supported, Java ME Embedded 8 does support file I/O using an optional package, JSR-75.  We will cover this in next week's lesson.
Tom

Similar Messages

  • How to import java library file to forms 6i

    Hi all,
    Is it possible to import java library file to forms 6i. Please help me.

    The Java importer is introduced in 9i.
    However, most java functionality is added to Forms in the client, not the server. In 6i you can add Java pluggable components to your forms. You need to make a Java Pluggable Component to do this. Stand-alone Java beans can only be called from Forms 9i on using the fbean package.
    So it depends on what you want to do with the java whether it is possible to use it in 6i.

  • UNC paths and java.io.file in Oracle

    Hi,
    I'm just getting to grips with using some basic java in the database. I'm using 8.1.7 on W2K.
    I'm trying to test for the existance of a file on a separate w2k domain:
    import java.io.File;
    public class JFileExists {
    public static int fileexists (String fileName) {
    File myFile = new File (fileName);
    boolean retval = myFile.exists();
    if (retval) return 1; else return 0;
    public static void main (String args[]) {
    System.out.println (
    fileexists (args[0])
    grant javasyspriv to mp;
    function jfn_file_exists (file_in IN VARCHAR2) RETURN number
    AS LANGUAGE JAVA NAME 'JFileExists.fileexists (java.lang.String) return int';
    From the command prompt all is well:
    E:\java>"c:\oracle\ora81\Apache\jdk\bin\java.exe" JFileExists i:\test.txt
    1
    E:\java>"c:\oracle\ora81\Apache\jdk\bin\java.exe" JFileExists \\mpweb1\image\test.txt
    1
    But when loaded into oracle its returning false with the UNC path. (but is ok with a mapped drive to the same path)
    SQL> declare
    2 begin
    3 pa_main.pr_print(to_char(pa_main.jfn_file_exists('I:\test.txt')));
    4 pa_main.pr_print(to_char(pa_main.jfn_file_exists('\\mpweb1\image\test.txt')));
    5 end;
    6 /
    1
    0
    PL/SQL procedure successfully completed.
    The oracleservicesid and listener are starting under a user called oracle_user which is a member
    of the admins and domain admins group.
    mpweb1 is on a separate domain to the database server mpdb1 but it also has a user called oracle_user with the same password.
    oracle_user has full access to the share in question.
    Am I missing something? I was trying to keep the database server and web server on different domains for better security
    - but would things be easier if they were on the same domain?
    Any help much appreciated for this java newbi!
    Thanks,
    Simon.
    null

    I am also having problems with UNC paths. But I cannot access the location even if it is mapped as a drive. In JDK VJM I do not have a problem, but in Oracle it says the file cannot be found and say permission denied. I will try to change the user that starts the database and see if that helps.
    null

  • Java.io.File only returns similar file names

    I have written a bean which reads a directory and places the file names in an array, which can be accessed by a JSP page. At first, the files inside the directory were named wb_1.jsp, wb_2.jsp, wb_3.jsp and so on. When I change a filename to something like work.jsp, it still appears in the file list, but when I rename it to something like identify.jsp, it doesn't!
    If I count the array, it does read the correct number of files.
    Class FileHandler
    // Imports
    import java.io.File;
    // Class
    public class FileHandler
         // Constants and variables
         public File dir;
         public File[] files;
          * Returns the number of files found inside the given directory
         public int showFiles()
              try
                   setDir(getDir());     // Get file directory as set in the bean property
                   files = dir.listFiles();     // List the files found inside the directory
              catch (Exception e)
                   System.out.println(e + " : No files found to return a value");
              return files.length;      // Return the number of files
          * Returns the file name by using the in value in the files array
         public String returnFileName(int in)
              return files[in].getName();     // Return the name of the file
          * Sets dir file type to the setproperty value in
         public void setDir(File in)
              dir = in;     // Set class variable value for dir
          * Returns the dir value
         public File getDir()
              return dir;     // Return the setproperty value for dir
    }And the JSP code which reads the array
    out.println("<select onChange=\"jumpMenu('top',this,0)\" size=\"5\" style=\"width: 200\"");
    String fileName = new String();
    for(int x=0; x<file.showFiles(); x++)
         fileName = file.returnFileName(x);
         out.println("<option selected value=\"beheer.jsp?action=2&file=" +  fileName + "\">" +  fileName +"</option>");
    out.println("</select>");

    I forgot bean properties im the above code lines. Here it is, just in case.
    <jsp:useBean id="file" class="FileHandler" scope="page" />
    <jsp:setProperty name="file" property="dir" value="C:\\IBM Websphere workspace\\Project\\Web Content\\WEB-INF\\include" />

  • How use java.io.File ?

    import java.io.File;
    public class test {
         void     help( String[] info ) {
              for ( int x = 0; x < info.length; x++ )
                   System.out.println( info[x] );
         public static void main( String[] args ) {
              test t = new test();
              t.help( args );
              File f = new File("args[0]");
              t.help( f.list() );
    }The File.list() return "String[]", but it no same for "String[] agrs". How to use File.list() ?

    Try doing File f = new File(args[0]);

  • Importing Java Classes for Bussiness Logic in Forms6i

    I have created a Java Class with some bussiness logic in it and i m able to impotr it in Forms 6i BUT when it converts my java method into program unit it automatically changes the name of the method with some code ..like method name is "increment" it will make it as "increment_3137" and also one parameter of Ora_java.object type will be added ....WHY is THAT ???and how to work for hat ...even when i m executing the method with the parameter it gives some Exception that Non-Oracle Exception ...and my class individually runs perfectly fine ...CAN U HELP ME ASAP ...Please as its urgent
    Thanx..

    Once you have imported java class files on forms throgh java import class option..
    it creates a pl/sql for the java class that you have imported.
    names for the procedures are assigned by machine code, so dont worry about it..
    for eg. if the name of a method in java class is Increment and after loading java class file the name of ur pl/sql is increment_1254.
    when u call increment_1254 and pass parameter to the procedure ur class incerement will be called and desired operation will be performed.
    ora_java.object is the objec that will be used to access the the class file.
    as java is object oriented it requires a object to execute method of class.
    so u have to initialize the object..
    e.g. increment_1234 (ora_java.object,a,b) is ur procedure
    to call this procedure do the following
    declare
    PASS ORA_JAVA.JOBJECT;
    a,b integer;
    begin
    pass := <classname>.new;     --new will be created if ur class is public or u got public constructor in ur class.
    increment_1234 (pass,a,b) ; -- increment_1234 (ora_java.object,a,b) ;
    end;

  • Java 3d ...cannot import a 3ds file ..only works with a .obj

    Here is a world i have written in java 3d
    I can import a .obj file into this world but i want to import a file called Flipp.3ds but it keeps giving me an error
    Here is the complete class ..... Can anyone help
    Im pretty new to java 3d
            import java.io.*;
            import com.sun.j3d.utils.behaviors.vp.*;
            import java.net.URL;
            import java.net.MalformedURLException;
            import javax.media.j3d.*;
            import javax.vecmath.*;
            import java.awt.*;
            import java.awt.event.*;
            import com.sun.j3d.utils.behaviors.keyboard.*;
            import com.sun.j3d.utils.geometry.*;
            import java.applet.Applet;
            import java.awt.BorderLayout;
            import java.awt.event.*;
            import java.awt.GraphicsConfiguration;
            import com.sun.j3d.utils.applet.MainFrame;
            import com.sun.j3d.utils.geometry.*;
            import com.sun.j3d.utils.universe.*;
            import com.sun.j3d.utils.image.*;
            import com.sun.j3d.loaders.objectfile.ObjectFile;
            import com.sun.j3d.loaders.ParsingErrorException;
            import com.sun.j3d.loaders.IncorrectFormatException;
            import com.sun.j3d.loaders.Scene;
            import javax.vecmath.*;
            public class Assign2 extends Frame implements ActionListener {
                    protected Canvas3D myCanvas3D = new Canvas3D(null);
                    protected Button exitBt = new Button("Exit");
                    protected BoundingSphere bounds = new BoundingSphere(new Point3d(0.0,0.0,0.0), 100.0);
                    private boolean spin = true;
                    private double creaseAngle = 60.0;
                    private String filename;
            // Lights
                   * This adds a continuous background sound to the branch group.
                   * @param b BranchGroup to add the sound to.
                   * @param soundFile String that is the name of the sound file.
                  protected void addBackgroundSound (BranchGroup b,String soundFile)
                            //Create a media container to load the file
                            MediaContainer droneContainer = new MediaContainer(soundFile);
                            //Create the background sound from the media container
                            BackgroundSound drone = new BackgroundSound(droneContainer,1.0f);
                            //Activate the sound
                            drone.setSchedulingBounds(bounds);
                            drone.setEnable(true);
                            //Set the sound to loop forever
                            drone.setLoop(BackgroundSound.INFINITE_LOOPS);
                            //Add it to the group
                            b.addChild(drone);
                  protected void addLights(BranchGroup b)
                            Transform3D dirLightsXfm = new Transform3D();
                            dirLightsXfm.set(new Vector3d(-1.5,0.0,0.0));
                            TransformGroup dirLights = new TransformGroup(dirLightsXfm);
                            dirLights.setCapability(TransformGroup.ALLOW_TRANSFORM_READ);
                            dirLights.setCapability(TransformGroup.ALLOW_TRANSFORM_WRITE);
                            // Create a bounds for the background and lights
                            // Set up the global lights
                            Color3f ambLightColour = new Color3f(1.0f, 1.0f, 0.4f);
                            AmbientLight ambLight = new AmbientLight(ambLightColour);
                            ambLight.setInfluencingBounds(bounds);
                            Color3f dirLightColour = new Color3f(0.0f, 1.0f, 0.0f);
                            Vector3f dirLightDir  = new Vector3f(-1.0f, -1.0f, -1.0f);
                            DirectionalLight dirLight = new DirectionalLight(dirLightColour, dirLightDir);
                            dirLight.setInfluencingBounds(bounds);
                            dirLights.addChild(ambLight);
                            dirLights.addChild(dirLight);
                            b.addChild(dirLights);
                            if (spin)
                                    Transform3D yAxis = new Transform3D();
                                    Alpha rotationAlpha = new Alpha(-1, Alpha.INCREASING_ENABLE,
                                                                                      0, 0,
                                                                                      1500, 0, 0,
                                                                                      0, 0, 0);
                                    //attach to lights
                                    RotationInterpolator rotator =
                                         new RotationInterpolator(rotationAlpha, dirLights, yAxis,
                                                                                   0.0f, (float) Math.PI*2.0f);
                                    rotator.setSchedulingBounds(bounds);
                                    b.addChild(rotator);
                  // Content Branch
                  protected BranchGroup buildContentBranch()
                            //Create the appearance for the cube
                            Appearance app1 = new Appearance();
                            Appearance app2 = new Appearance();
                            Color3f ambientColour1 = new Color3f(0.0f,0.0f,1.0f);
                            Color3f ambientColour2 = new Color3f(0.0f,0.0f,0.0f);
                            Color3f emissiveColour = new Color3f(0.0f,0.0f,0.0f);
                            Color3f specularColour = new Color3f(1.0f,1.0f,1.0f);
                            Color3f diffuseColour1 = new Color3f(1.0f,1.0f,0.0f);
                            Color3f diffuseColour2 = new Color3f(1.0f,1.0f,0.0f);
                            float shininess = 10.0f;
                            app1.setMaterial(new Material(ambientColour1,emissiveColour,diffuseColour1,specularColour,shininess));
                            app2.setMaterial(new Material(ambientColour2, emissiveColour,diffuseColour2,specularColour,shininess));
                            //import the object...
                            filename = "Flipp.max";
                            int flags = ObjectFile.RESIZE;
                            ObjectFile f = new ObjectFile(flags,
                                      (float)(creaseAngle * Math.PI / 180.0));
                            Scene s = null;
                                    try
                                            s = f.load(filename);
                                    catch (FileNotFoundException e)
                                            System.err.println(e);
                                            System.exit(1);
                                    catch (ParsingErrorException e)
                                            System.err.println(e);
                                            System.exit(1);
                                    catch (IncorrectFormatException e)
                                            System.err.println(e);
                                            System.exit(1);
                            BranchGroup contentBranch = new BranchGroup();
                            addLights(contentBranch);
                            //Position the Woman
                            Transform3D groupXfm = new Transform3D();
                            groupXfm.set(new Vector3d(0.0,0.0,0.0));
                            TransformGroup group = new TransformGroup(groupXfm);
                            group.setCapability(TransformGroup.ALLOW_TRANSFORM_READ);
                            group.setCapability(TransformGroup.ALLOW_TRANSFORM_WRITE);
                            // Adding to the Content Branch
                            group.addChild(s.getSceneGroup());
                            contentBranch.addChild(group);
                            BoundingSphere movingBounds = new BoundingSphere(new Point3d(0.0,0.0,0.0), 300.0);
                            BoundingLeaf boundLeaf = new BoundingLeaf(movingBounds);
                            KeyNavigatorBehavior keyNav = new KeyNavigatorBehavior(group);
                            keyNav.setSchedulingBounds(movingBounds);
                            group.addChild(keyNav);
                            Transform3D floorXfm = new Transform3D();
                            floorXfm.set(new Vector3d(0.0,-1.5,-1.4));
                            TransformGroup floor = new TransformGroup(floorXfm);
                            floor.setCapability(TransformGroup.ALLOW_TRANSFORM_READ);
                            floor.setCapability(TransformGroup.ALLOW_TRANSFORM_WRITE);
                            Box theFloor = new Box(3.0f,0.0f,3.0f,app2);
                            floor.addChild(theFloor);
                            contentBranch.addChild(floor);
                            return contentBranch;
                    // View Branch
                    protected BranchGroup buildViewBranch(Canvas3D c)
                            BranchGroup viewBranch = new BranchGroup();
                            Transform3D viewXfm = new Transform3D();
                            viewXfm.set(new Vector3f(0.0f,0.0f,10.0f));
                            TransformGroup viewXfmGroup = new TransformGroup(viewXfm);
                            viewXfmGroup.setCapability(TransformGroup.ALLOW_TRANSFORM_READ);
                            viewXfmGroup.setCapability(TransformGroup.ALLOW_TRANSFORM_WRITE);
                            BoundingSphere movingBounds = new BoundingSphere(new Point3d(0.0,0.0,0.0), 300.0);
                            BoundingLeaf boundLeaf = new BoundingLeaf(movingBounds);
                            ViewPlatform myViewPlatform = new ViewPlatform();
                            viewXfmGroup.addChild(boundLeaf);
                            PhysicalBody myBody = new PhysicalBody();
                            PhysicalEnvironment myEnvironment = new PhysicalEnvironment();
                            viewXfmGroup.addChild(myViewPlatform);
                            viewBranch.addChild(viewXfmGroup);
                            View myView = new View();
                            myView.addCanvas3D(c);
                            myView.attachViewPlatform(myViewPlatform);
                            myView.setPhysicalBody(myBody);
                            myView.setPhysicalEnvironment(myEnvironment);
                            return viewBranch;
                    // Exit Button - dispose of system
                    public void actionPerformed(ActionEvent e)
                                    dispose();
                                    System.exit(0);
                    public Assign2()
                            VirtualUniverse myUniverse = new VirtualUniverse();
                            Locale myLocale = new Locale(myUniverse);
                            myLocale.addBranchGraph(buildViewBranch(myCanvas3D));
                            myLocale.addBranchGraph(buildContentBranch());
                            setTitle("John (Sean) Gleeson 100437719");
                            setSize(600,600);
                            setLayout(new BorderLayout());
                            Panel bottom = new Panel();
                            bottom.add(exitBt);
                            add(BorderLayout.CENTER, myCanvas3D);
                            add(BorderLayout.SOUTH, bottom);
                            exitBt.addActionListener(this);
                            setVisible(true);
                    public static void main(String[] args)
                              Assign2 demo = new Assign2();
            Thanks,
    Sean

    My guess is that you are using the ObjectFile loader, which is for a (don't remember which application) object (.obj) file, rather than using a 3ds loader, which would be for loading a .3ds file.
    You might want to go to this page: http://www.j3d.org/utilities/loaders.html and download the correct loader.

  • Only to import  JAVA CLASS  and JAVA SOURCE  from .DMP file using IMPDP

    hi,
    I have a schema X, In that schema some of the *"JAVA CLASS" and "JAVA SOURCE"* objects are missing ..
    The procedures ,functions..etc objects were updated at X schema..
    I have 1 dmp file of Y schema , containing the missing "JAVA CLASS" and "JAVA SOURCE" s.. Can I import the the same to the schema X using IMPDP
    i tried using INCLUDE clause but it is not working
    eg:
    impdp john1/john1@me11g22 directory=datadump dumpfile=DEVF2WAR.DMP remap_schema=devf2war:john INCLUDE="JAVA CLASS","JAVA CLASS"but error..
    ORA-39001: invalid argument value
    ORA-39041: Filter  "INCLUDE" either identifies all object types or no object types.regards,
    jp

    Double post: IMPDP to import  JAVA CLASS  and JAVA SOURCE from .DMP file
    Already replied.
    Regards
    Gokhan

  • BUG: Import Java Sources, can delete file contents.

    When I was recreating my project files because I had a problem with migrating from Preview 2. I went to import all my source into the new project... via File > Import > Java Sources... This is when I realized I setup the path wrong for the project I had c:\projects\application\projectname\projectname\src for the source where it was suppose to be c:\projects\application\projectname\src.
    Anyway instead of recreating again I just changed the Copy to 'c:\projects\application\projectname\src' and I set the copy from to the same exact directory 'c:\projects\application\projectname\projectname\src', then clicked ok to import.
    Well 10minutes later after adding the rest of the stuff I need and fixing the directory paths I realized all the source files were there but the contents were deleted!
    Wasn't a big deal for me because I backup my files and I just right clicked on the source folder in vista and restored the previous versions (what a handy feature)... But I don't remember getting a warning and why would it delete the contents anyways? Shouldn't it do a check to see if its copying the file onto it self before copying and just skip the copy part and import.
    Stupid me for messing up the path but for someone who doesn't backup their files this would really suck bad.
    Thanks,
    Art

    When I was recreating my project files because I had a problem with migrating from Preview 2. I went to import all my source into the new project... via File > Import > Java Sources... This is when I realized I setup the path wrong for the project I had c:\projects\application\projectname\projectname\src for the source where it was suppose to be c:\projects\application\projectname\src.
    Anyway instead of recreating again I just changed the Copy to 'c:\projects\application\projectname\src' and I set the copy from to the same exact directory 'c:\projects\application\projectname\projectname\src', then clicked ok to import.
    Well 10minutes later after adding the rest of the stuff I need and fixing the directory paths I realized all the source files were there but the contents were deleted!
    Wasn't a big deal for me because I backup my files and I just right clicked on the source folder in vista and restored the previous versions (what a handy feature)... But I don't remember getting a warning and why would it delete the contents anyways? Shouldn't it do a check to see if its copying the file onto it self before copying and just skip the copy part and import.
    Stupid me for messing up the path but for someone who doesn't backup their files this would really suck bad.
    Thanks,
    Art

  • Importing a PAR file ---- not able to retrieve java class files(components)

    hi all....
    i've gota .par file....which i imported into NWDS.
    i can find all da files except the component classes i.e java class files...in the corresponding packages.
    can anyone help me.....
    thanx in advance....
    regards,
    Sudheer

    Hi Sudheer,
    you do not need the NWDS to find out what's in a PAR file. Basically, PAR files are ZIP archives. Rename the the PAR file (change the suffix to ".zip") and open it with your standard archive tool (WinZip, WinRar, etc.)
    Best regard,
    Martin

  • Import a biar file into a specific folder in CMS through java sdk

    Hi,
    How to import a biar file into a specific folder in CMS through java sdk?
    Can anyone help.
    Regards,
    Kavitha S

    Hi Kavitha,
    Have a look at the sample available at
    http://scn.sap.com/docs/DOC-6006, for importing a biar file using java sdks.
    As far as I am aware of, you would not be able to import the contents of a biar file to a specific folder.
    Why would you want to use a biar file to import contents to a different folder?
    Organize>Move functionality from CMC/Infoview/BILaunchpad can work for this.
    -Prithvi

  • Failed to import publish settings file in Azure Toolkit for Eclipse with Java downloaded from Azure Management Portal

    I tried to deploy the Hello World JSP application to Azure from Eclipse following the instructions at http://msdn.microsoft.com/library/azure/hh690944%28VS.103%29.aspx. Got the following error when trying to import Publish Settings file downloaded from Azure
    Management portal:
    Importing MyMSDN.publishsettings file failed. Reason: failed to parse file. Ensure publish settings version is 1.0.
    Could someone help me solve this problem? Thanks.

    Hi huihuang,
    It seems there is some issue with your publishsettings file, could you open this file and copy the content here? Or please have a look at this article:
    http://gauravmantri.com/2012/09/14/about-windows-azure-publish-settings-file-and-how-to-create-your-own-publish-settings-file/ for more information about it.
    Best Regards,
    Jambor
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • SAP NW7.0 SR3 Java AddIn Installation failed at "Import Java dump"

    Dear all,
    I get an error at Java AddIn Installation SAP Netweaver 7.0 SR3
    (Software Life-Cycle Option -> Java Add-In for ABAP -> Oracle ->
    Central System ->)
    The first installation step "Central Services Instance (SCS) Java Add-
    In" I have installed it without errors.
    The Installation failed at 2nd step "Database Instance Java Add-In" at phase 11
    of 14 "Import java dump":
    26.05.09 15:16:46 com.sap.inst.jload.Jload main
    INFO: Jload -sec
    Q2B,jdbc/pool/Q2B,/usr/sap/Q2B/SYS/global/security/data/SecStore.properties,/usr/sap/Q2B/SYS/global/security/
    data/SecStore.key -
    dataDir /usr/sap/swdc/51033513/DATA_UNITS/JAVA_EXPORT_JDMP -
    job /tmp/sapinst_instdir/NW04S/LM/AS-JAVA/ADDIN
    /ORA/CENTRAL/DB/IMPORT.XML -log jload.log
    26.05.09 15:16:47 com.sap.inst.jload.Jload main
    SEVERE: couldn't connect to DB
    26.05.09 15:16:47 com.sap.inst.jload.Jload logStackTrace
    SEVERE: java.sql.SQLException: Io exception: The Network Adapter could
    not establish the connection
    at oracle.jdbc.driver.DatabaseError.throwSqlException
    (DatabaseError.java:112)
    at oracle.jdbc.driver.DatabaseError.throwSqlException
    (DatabaseError.java:146)
    at oracle.jdbc.driver.DatabaseError.throwSqlException
    (DatabaseError.java:255)
    at oracle.jdbc.driver.T4CConnection.logon
    (T4CConnection.java:387)
    at oracle.jdbc.driver.PhysicalConnection.<init>
    (PhysicalConnection.java:420)
    at oracle.jdbc.driver.T4CConnection.<init>
    (T4CConnection.java:165)
    at oracle.jdbc.driver.T4CDriverExtension.getConnection
    (T4CDriverExtension.java:35)
    at oracle.jdbc.driver.OracleDriver.connect
    (OracleDriver.java:801)
    at
    com.sap.sql.jdbc.NativeConnectionFactory.createNativeConnection
    (NativeConnectionFactory.java:215)
    at com.sap.sql.connect.OpenSQLDataSourceImpl.createConnection
    (OpenSQLDataSourceImpl.java:522)
    at com.sap.sql.connect.OpenSQLDataSourceImpl.getConnection
    (OpenSQLDataSourceImpl.java:276)
    at com.sap.inst.jload.db.DBConnection.connectViaSecureStore
    (DBConnection.java:105)
    at com.sap.inst.jload.db.DBConnection.connect
    (DBConnection.java:149)
    at com.sap.inst.jload.Jload.main(Jload.java:580)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke
    (NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke
    (DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.sap.engine.offline.OfflineToolStart.main
    (OfflineToolStart.java:81)
    the database is up and running, the Oracle Listener is also working well.
    Any idea??
    Thanks so much in advance!
    Best Regards,
    Gerd

    Hi Sunny, hi Markus!
    many thanks for your hints!
    I've just solved the problem. The problem was, our Listener was not configured correctly.
    I've adjusted the listener.ora, tnsnames.ora to the correct hostname - cause, we had a hostname-switch last month and I had forgotten to adapt the Listener...
    now the Listener is running as well:
    mcho35au:oraq2b 120% lsnrctl status LISTENER_Q2B
    LSNRCTL for Solaris: Version 10.2.0.4.0 - Production on 30-MAY-2009
    09:52:48
    Copyright (c) 1991, 2007, Oracle. All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=IPC)(KEY=Q2B.WORLD))
    STATUS of the LISTENER
    Alias LISTENER_Q2B
    Version TNSLSNR for Solaris: Version 10.2.0.4.0 -
    Production
    Start Date 30-MAY-2009 09:52:15
    Uptime 0 days 0 hr. 0 min. 32 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /oracle/Q2B/102_64/network/admin/listener.ora
    Listener Log
    File /oracle/Q2B/102_64/network/log/listener_q2b.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=Q2B.WORLD)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=Q2B)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=mcho35au)(PORT=1527)))
    Services Summary...
    Service "Q2B" has 1 instance(s).
    Instance "Q2B", status UNKNOWN, has 1 handler(s) for this service...
    Service "Q2B.WORLD" has 1 instance(s).
    Instance "Q2B", status READY, has 1 handler(s) for this service...
    Service "Q2B_XPT.WORLD" has 1 instance(s).
    Instance "Q2B", status READY, has 1 handler(s) for this service...
    The command completed successfully
    meanwhile the step "Import java dump" has finished successfully!
    Thanks to all!
    Best Regards,
    Gerd
    Edited by: Gerd Schuster on May 30, 2009 10:29 AM

  • Error in Import Java Dump during installation on MSCS

    Dear Experts,
    I am facing the following the error during ECC 6 dual stack installation on MSCS.
    PM com.sap.inst.jload.Jload main
    SEVERE: couldn't connect to DB
    Apr 29, 2011 5:40:30 PM com.sap.inst.jload.Jload logStackTrace
    SEVERE: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:146)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:255)
         at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:395)
         at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:441)
         at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:166)
         at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:35)
         at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:801)
         at com.sap.sql.jdbc.NativeConnectionFactory.createNativeConnection(NativeConnectionFactory.java:215)
         at com.sap.sql.connect.OpenSQLDataSourceImpl.createConnection(OpenSQLDataSourceImpl.java:522)
         at com.sap.sql.connect.OpenSQLDataSourceImpl.getConnection(OpenSQLDataSourceImpl.java:276)
         at com.sap.inst.jload.db.DBConnection.connectViaSecureStore(DBConnection.java:105)
         at com.sap.inst.jload.db.DBConnection.connect(DBConnection.java:149)
         at com.sap.inst.jload.Jload.main(Jload.java:580)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)
    I have successfully installed ASCS,SCS, and configured 1st MSCS node.
    While installaing DB instance on 1st node SAPINST did not allow the physical host name of the node and gave the error oracle was not installed,install oracle before continuing  so went ahead with the virtual hostname.I had faced oracle connectivity issues during import ABAP ,I changed the added the physical host name in listener.ora and continued.But durig the import java dump phase I guess the physical host name in expected in secure store key file.I can't edit the secure store file  as config tool is not installed yet in the system.Please suggest me solutions and guide me whether I am going in the right direction.
    Regards,
    Dinakar
    Edited by: mutnuru dinakar on Apr 30, 2011 10:22 AM

    I have successfully installed ASCS,SCS, and configured 1st MSCS node.
    While installing DB instance on 1st node SAPINST did not allow the physical host name of the node and gave the error oracle was not installed,install oracle before continuing so went ahead with the virtual hostname.I had faced oracle connectivity issues during import ABAP ,I changed the added the physical host name in listener.ora and continued
    The SAPINST should allow the physical host name to get chosen you should not get this error.
    You have to first install the oracle DB and after that Oracle failsafe at both nodes ( not in parallel) . Further while doing the DB instance installation on first node the SAPCLUSTER and ORACLECLUSTER should be online.
    Can you mark the steps you did in sequence.
    Regards
    Edited by: Singh Dharm on Apr 30, 2011 2:06 PM
    Edited by: Singh Dharm on Apr 30, 2011 2:08 PM

  • Values from a java archive file that uses Coherence are null

    This is essentially the details of my project.
    Check the values in andrew's coherence cluster.
    Checkign the values in the stats class.
    z:\javaclasses\stats.jar
    Some sample code:
    -- initialize
    /* start the stats class (the fields you want to look) */
    Stats.init(StatsField._1_DAY_HIGH, StatsField._1_DAY_LOW,
    StatsField.PREV_CLOSE);
    -- pulling data
    if (Stats.get(sSymbol).PREV_CLOSE != null) {
    fValue = Stats.get(sSymbol).PREV_CLOSE;
    -- in your .bat file (Before setting the classpaths)
    call z:\coherence\bin\prod_setup.bat
    set java_opts=%java_opts%
    -Dtangosol.coherence.cacheconfig=z:/coherence/cache-config-extend-client.xml
    myclasspaths
    myclasspaths
    myclasspaths
    My bat file looks like this.
    call z:\coherence\bin\prod_setup.bat
    set java_opts=%java_opts% -Dtangosol.coherence.cacheconfig=z:/coherence/cache-config-extend-client.xml
    cd \
    cd C:\Users\Dan\Documents\Documents_for_4th_Project
    SET PATH=%PATH%;Z:\jdk1.7.0\bin
    SET CLASSPATH=
    SET CLASSPATH=%CLASSPATH%;.
    SET CLASSPATH=%CLASSPATH%;z:\javaclasses\stats.jar
    SET CLASSPATH=%CLASSPATH%;Z:\coherence\lib3702\coherence.jar
    javac ValuesInStats.java
    java ValuesInStats
    pause
    My ValuesInStats.java looks like this below.
    * To change this template, choose Tools | Templates
    * and open the template in the editor.
    //package ValuesInStats;
    import stats.*;
    import java.io.*;
    * @author Dan
    public class ValuesInStats
    * @param args the command line arguments
    private double dayHigh;
    private double dayLow;
    private double prevClose;
    public void startStatClass()
    Stats.init(StatsField._1_DAY_HIGH, StatsField._1_DAY_LOW, StatsField.PREV_CLOSE);
    public void pullDataFromStatClass()
    if (Stats.get("GOOG")._1_DAY_HIGH != null)
    dayHigh = Stats.get("GOOG")._1_DAY_HIGH;
    if (Stats.get("IBM")._1_DAY_LOW != null)
    dayLow = Stats.get("IBM")._1_DAY_LOW;
    if (Stats.get("SLB").PREV_CLOSE != null)
    prevClose = Stats.get("").PREV_CLOSE;
    public static void main(String[] args)
    ValuesInStats stat = new ValuesInStats();
    stat.startStatClass();
    stat.pullDataFromStatClass();
    try
    PrintWriter inputToFile = new PrintWriter(new BufferedWriter(new FileWriter("C:\\Users\\Dan\\Documents\\Documents_for_4th_Project\\DANS_StatReport.txt")));
    inputToFile.println(stat.dayHigh);
    inputToFile.println(stat.dayLow);
    inputToFile.println(stat.prevClose);
    inputToFile.close();
    catch(Exception e)
    e.getMessage();
    e.printStackTrace();
    The results i'm getting are included below.
    C:\Users\Dan\Documents\Documents_for_4th_Project>call z:\coherence\bin\prod_setup.bat
    C:\Users\Dan\Documents\Documents_for_4th_Project>REM
    C:\Users\Dan\Documents\Documents_for_4th_Project>REM Call this batch file before setting any PATH or CP or JAVA_OPTS.
    C:\Users\Dan\Documents\Documents_for_4th_Project>REM You can override anything you don't like afterwards.
    C:\Users\Dan\Documents\Documents_for_4th_Project>REM
    C:\Users\Dan\Documents\Documents_for_4th_Project>title
    C:\Users\Dan\Documents\Documents_for_4th_Project>set JAVA_HOME=z:\jdk7
    C:\Users\Dan\Documents\Documents_for_4th_Project>set JAVA_EXE=z:\jdk7\bin\java_for_.exe
    C:\Users\Dan\Documents\Documents_for_4th_Project>set PATH=z:\jdk7\bin
    C:\Users\Dan\Documents\Documents_for_4th_Project>for /F "tokens=1,2" %u in ('date /t') do set d=%v
    C:\Users\Dan\Documents\Documents_for_4th_Project>set d=10/11/2011
    C:\Users\Dan\Documents\Documents_for_4th_Project>set timestr=20111011
    C:\Users\Dan\Documents\Documents_for_4th_Project>for /F "tokens=1,2,3 delims=: " %i in ('time /t') do set q=%i%j%k
    C:\Users\Dan\Documents\Documents_for_4th_Project>set q=1052AM
    C:\Users\Dan\Documents\Documents_for_4th_Project>set datetime=20111011_1052AM
    C:\Users\Dan\Documents\Documents_for_4th_Project>echo 20111011_1052AM
    20111011_1052AM
    C:\Users\Dan\Documents\Documents_for_4th_Project>REM token=14 for vista, 15 for XP
    C:\Users\Dan\Documents\Documents_for_4th_Project>for /F "tokens=14,15" %a in ('c:\windows\system32\ipconfig | c:\windows\system32\findstr /R "Address.*XXX.XXX.X."') do (IF "%a" == ":" (set my_ip=%b ) ELSE (set my_ip=%a ) )
    C:\Users\Dan\Documents\Documents_for_4th_Project>(IF "XXX.XXX.X.XXX" == ":" (set my_ip= ) ELSE (set my_ip=XXX.XXX.X.XXX ) )
    IP=XXX.XXX.X.XXX
    C:\Users\Dan\Documents\Documents_for_4th_Project>for /F %i in ('z:\coherence\bin\getpid.exe') do set my_pid=%i
    C:\Users\Dan\Documents\Documents_for_4th_Project>set my_pid=1464
    C:\Users\Dan\Documents\Documents_for_4th_Project>IF /I "" == "OMS" goto OMS
    C:\Users\Dan\Documents\Documents_for_4th_Project>goto DONE
    C:\Users\Dan\Documents\Documents_for_4th_Project>REM ---PROD---
    C:\Users\Dan\Documents\Documents_for_4th_Project>REM ---PROD---
    C:\Users\Dan\Documents\Documents_for_4th_Project>rem ==== COHERENCE ====
    C:\Users\Dan\Documents\Documents_for_4th_Project>rem ==== COHERENCE ====
    C:\Users\Dan\Documents\Documents_for_4th_Project>set java_opts= -Dtangosol.coherence.localhost=XXX.XXX.X.XXX -Dtangosol.coherence.distributed.localstorage=false -Dtangosol.coherence.member=Dan -Xms -Xmx -server -showversion -Djava.
    eferIPv4Stack=true -Dtangosol.coherence.log.level=3 -Dtangosol.coherence.log=z:\oms2\logs\.Dan.XXX.XXX.X.XXX.20111011_1052AM.log -Xloggc:z:\oms2\logs\.Dan.XXX.XXX.X.XXX.20111011_1052AM.gc -Dtangosol.pof.config=z:/coherence/pof-conf
    -Dtangosol.coherence.cacheconfig=z:/coherence/cache-config.xml -Dtangosol.coherence.clusteraddress=255.0.0.1 -Dtangosol.coherence.clusterport=54321 -Dtangosol.coherence.cluster=oms_prod -Dtangosol.coherence.rack= -Dtangosol.cohere
    te=1464 -Dtangosol.coherence.cacheconfig=z:/coherence/cache-config-extend-client.xml
    C:\Users\Dan\Documents\Documents_for_4th_Project>cd \
    C:\>cd C:\Users\Dan\Documents\Documents_for_4th_Project
    C:\Users\Dan\Documents\Documents_for_4th_Project>SET PATH=z:\jdk7\bin;Z:\jdk1.7.0\bin
    C:\Users\Dan\Documents\Documents_for_4th_Project>SET CLASSPATH=
    C:\Users\Dan\Documents\Documents_for_4th_Project>SET CLASSPATH=;.
    C:\Users\Dan\Documents\Documents_for_4th_Project>SET CLASSPATH=;.;z:\javaclasses\stats.jar
    C:\Users\Dan\Documents\Documents_for_4th_Project>SET CLASSPATH=;.;z:\javaclasses\stats.jar;Z:\coherence\lib3702\coherence.jar
    C:\Users\Dan\Documents\Documents_for_4th_Project>javac ValuesInStats.java
    C:\Users\Dan\Documents\Documents_for_4th_Project>java ValuesInStats
    2011-10-11 10:52:21.299/2.277 Oracle Coherence 3.7.0.2 <Info> (thread=main, member=n/a): Loaded operational configuration from "jar:file:/Z:/coherence/lib3702/coherence.jar!/tangosol-coherence.xml"
    2011-10-11 10:52:21.408/2.386 Oracle Coherence 3.7.0.2 <Info> (thread=main, member=n/a): Loaded operational overrides from "jar:file:/Z:/coherence/lib3702/coherence.jar!/tangosol-coherence-override-dev.xml"
    2011-10-11 10:52:21.408/2.386 Oracle Coherence 3.7.0.2 <D5> (thread=main, member=n/a): Optional configuration override "/tangosol-coherence-override.xml" is not specified
    2011-10-11 10:52:21.408/2.386 Oracle Coherence 3.7.0.2 <D5> (thread=main, member=n/a): Optional configuration override "/custom-mbeans.xml" is not specified
    Oracle Coherence Version 3.7.0.2 Build 25173
    Grid Edition: Development mode
    Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.
    2011-10-11 10:52:22.625/3.603 Oracle Coherence GE 3.7.0.2 <Info> (thread=main, member=n/a): Loaded Reporter configuration from "jar:file:/Z:/coherence/lib3702/coherence.jar!/reports/report-group.xml"
    2011-10-11 10:52:22.844/3.822 Oracle Coherence GE 3.7.0.2 <Info> (thread=main, member=n/a): Loaded cache configuration from "jar:file:/Z:/coherence/lib3702/coherence.jar!/coherence-cache-config.xml"
    2011-10-11 10:52:24.029/5.007 Oracle Coherence GE 3.7.0.2 <D4> (thread=main, member=n/a): TCMP bound to /XXX.XXX.X.XXX:8102 using SystemSocketProvider
    2011-10-11 10:52:24.560/5.538 Oracle Coherence GE 3.7.0.2 <Info> (thread=Cluster, member=n/a): This Member(Id=9, Timestamp=2011-10-11 10:52:24.482, Address=XXX.XXX.X.XXX:8102, MachineId=27506, Location=process:5892, Role=ValuesInSt
    uesInStats, Edition=Grid Edition, Mode=Development, CpuCount=2, SocketCount=2) joined cluster "cluster:0x96AB" with senior Member(Id=1, Timestamp=2011-10-07 14:15:01.108, Address=XXX.XXX.X.XXX:8088, MachineId=27506, Location=proces
    , Role=CoherenceConsole, Edition=Grid Edition, Mode=Development, CpuCount=2, SocketCount=2)
    2011-10-11 10:52:24.591/5.569 Oracle Coherence GE 3.7.0.2 <D5> (thread=Cluster, member=n/a): Member(Id=2, Timestamp=2011-10-07 14:15:44.572, Address=XXX.XXX.X.XXX:8090, MachineId=27506, Location=process:3904, Role=CoherenceConsole)
    d Cluster with senior member 1
    2011-10-11 10:52:24.591/5.569 Oracle Coherence GE 3.7.0.2 <D5> (thread=Cluster, member=n/a): Member(Id=3, Timestamp=2011-10-07 14:21:36.311, Address=XXX.XXX.X.XXX:8092, MachineId=27506, Location=process:628, Role=CoherenceConsole)
    Cluster with senior member 1
    2011-10-11 10:52:24.591/5.569 Oracle Coherence GE 3.7.0.2 <D5> (thread=Cluster, member=n/a): Member(Id=4, Timestamp=2011-10-07 14:21:50.655, Address=XXX.XXX.X.XXX:8094, MachineId=27506, Location=process:4212, Role=CoherenceConsole)
    d Cluster with senior member 1
    2011-10-11 10:52:24.591/5.569 Oracle Coherence GE 3.7.0.2 <D5> (thread=Cluster, member=n/a): Member(Id=5, Timestamp=2011-10-07 14:22:18.338, Address=XXX.XXX.X.XXX:8096, MachineId=27506, Location=process:5224, Role=CoherenceConsole)
    d Cluster with senior member 1
    2011-10-11 10:52:24.591/5.569 Oracle Coherence GE 3.7.0.2 <D5> (thread=Cluster, member=n/a): Member(Id=6, Timestamp=2011-10-07 14:23:41.229, Address=XXX.XXX.X.XXX:8098, MachineId=27506, Location=process:5608, Role=CoherenceConsole)
    d Cluster with senior member 1
    2011-10-11 10:52:24.591/5.569 Oracle Coherence GE 3.7.0.2 <D5> (thread=Cluster, member=n/a): Member(Id=7, Timestamp=2011-10-07 14:24:16.971, Address=XXX.XXX.X.XXX:8100, MachineId=27506, Location=process:5924, Role=CoherenceConsole)
    d Cluster with senior member 1
    2011-10-11 10:52:24.622/5.600 Oracle Coherence GE 3.7.0.2 <D5> (thread=Cluster, member=n/a): Member 1 joined Service Cluster with senior member 1
    2011-10-11 10:52:24.622/5.600 Oracle Coherence GE 3.7.0.2 <D5> (thread=Cluster, member=n/a): Member 1 joined Service Management with senior member 1
    2011-10-11 10:52:24.638/5.616 Oracle Coherence GE 3.7.0.2 <D5> (thread=Cluster, member=n/a): Member 2 joined Service Cluster with senior member 1
    2011-10-11 10:52:24.638/5.616 Oracle Coherence GE 3.7.0.2 <D5> (thread=Cluster, member=n/a): Member 2 joined Service Management with senior member 1
    2011-10-11 10:52:24.638/5.616 Oracle Coherence GE 3.7.0.2 <D5> (thread=Cluster, member=n/a): Member 3 joined Service Cluster with senior member 1
    2011-10-11 10:52:24.638/5.616 Oracle Coherence GE 3.7.0.2 <D5> (thread=Cluster, member=n/a): Member 3 joined Service Management with senior member 1
    2011-10-11 10:52:24.653/5.631 Oracle Coherence GE 3.7.0.2 <D5> (thread=Cluster, member=n/a): Member 7 joined Service Cluster with senior member 1
    2011-10-11 10:52:24.653/5.631 Oracle Coherence GE 3.7.0.2 <D5> (thread=Cluster, member=n/a): Member 7 joined Service Management with senior member 1
    2011-10-11 10:52:24.653/5.631 Oracle Coherence GE 3.7.0.2 <D5> (thread=Cluster, member=n/a): Member 4 joined Service Cluster with senior member 1
    2011-10-11 10:52:24.653/5.631 Oracle Coherence GE 3.7.0.2 <D5> (thread=Cluster, member=n/a): Member 4 joined Service Management with senior member 1
    2011-10-11 10:52:24.653/5.631 Oracle Coherence GE 3.7.0.2 <D5> (thread=Cluster, member=n/a): Member 5 joined Service Cluster with senior member 1
    2011-10-11 10:52:24.653/5.631 Oracle Coherence GE 3.7.0.2 <D5> (thread=Cluster, member=n/a): Member 5 joined Service Management with senior member 1
    2011-10-11 10:52:24.669/5.647 Oracle Coherence GE 3.7.0.2 <D5> (thread=Cluster, member=n/a): Member 6 joined Service Cluster with senior member 1
    2011-10-11 10:52:24.669/5.647 Oracle Coherence GE 3.7.0.2 <D5> (thread=Cluster, member=n/a): Member 6 joined Service Management with senior member 1
    2011-10-11 10:52:24.669/5.647 Oracle Coherence GE 3.7.0.2 <Info> (thread=main, member=n/a): Started cluster Name=cluster:0x96AB
    Group{Address=224.3.7.0, Port=37000, TTL=4}
    MasterMemberSet
    ThisMember=Member(Id=9, Timestamp=2011-10-11 10:52:24.482, Address=XXX.XXX.X.XXX:8102, MachineId=27506, Location=process:5892, Role=ValuesInStatsValuesInStats)
    OldestMember=Member(Id=1, Timestamp=2011-10-07 14:15:01.108, Address=XXX.XXX.X.XXX:8088, MachineId=27506, Location=process:1632, Role=CoherenceConsole)
    ActualMemberSet=MemberSet(Size=8, BitSetCount=2
    Member(Id=1, Timestamp=2011-10-07 14:15:01.108, Address=XXX.XXX.X.XXX:8088, MachineId=27506, Location=process:1632, Role=CoherenceConsole)
    Member(Id=2, Timestamp=2011-10-07 14:15:44.572, Address=XXX.XXX.X.XXX:8090, MachineId=27506, Location=process:3904, Role=CoherenceConsole)
    Member(Id=3, Timestamp=2011-10-07 14:21:36.311, Address=XXX.XXX.X.XXX:8092, MachineId=27506, Location=process:628, Role=CoherenceConsole)
    Member(Id=4, Timestamp=2011-10-07 14:21:50.655, Address=XXX.XXX.X.XXX:8094, MachineId=27506, Location=process:4212, Role=CoherenceConsole)
    Member(Id=5, Timestamp=2011-10-07 14:22:18.338, Address=XXX.XXX.X.XXX:8096, MachineId=27506, Location=process:5224, Role=CoherenceConsole)
    Member(Id=6, Timestamp=2011-10-07 14:23:41.229, Address=XXX.XXX.X.XXX:8098, MachineId=27506, Location=process:5608, Role=CoherenceConsole)
    Member(Id=7, Timestamp=2011-10-07 14:24:16.971, Address=XXX.XXX.X.XXX:8100, MachineId=27506, Location=process:5924, Role=CoherenceConsole)
    Member(Id=9, Timestamp=2011-10-11 10:52:24.482, Address=XXX.XXX.X.XXX:8102, MachineId=27506, Location=process:5892, Role=ValuesInStatsValuesInStats)
    RecycleMillis=1200000
    RecycleSet=MemberSet(Size=0, BitSetCount=0
    TcpRing{Connections=[7]}
    IpMonitor{AddressListSize=0}
    2011-10-11 10:52:24.872/5.850 Oracle Coherence GE 3.7.0.2 <D5> (thread=Invocation:Management, member=9): Service Management joined the cluster with senior service member 1
    2011-10-11 10:52:25.871/6.849 Oracle Coherence GE 3.7.0.2 <D5> (thread=DistributedCache, member=9): Service DistributedCache joined the cluster with senior service member 9
    Stats init _1_DAY_HIGH
    Stats init _1_DAY_LOW
    Stats init PREV_CLOSE
    Stats.get() hm has null for GOOG
    Stats.get() hm has null for IBM
    Stats.get() hm has null for SLB
    2011-10-11 10:52:28.605/9.583 Oracle Coherence GE 3.7.0.2 <D4> (thread=ShutdownHook, member=9): ShutdownHook: stopping cluster node
    2011-10-11 10:52:28.620/9.598 Oracle Coherence GE 3.7.0.2 <D5> (thread=Cluster, member=9): Service Cluster left the cluster
    C:\Users\Dan\Documents\Documents_for_4th_Project>pause
    Press any key to continue . . .
    I'm not sure why I'm getting null values. Let me know if additional information is needed. Thanks!
    P.S. IP Addresses represent XXX.XXX.X.XXX for security purposes.

    Here's the details of the stat class from the stats.jar. Thanks!
    package stats;
    import java.lang.reflect.Field;
    import java.util.Date;
    import java.util.HashMap;
    import java.util.List;
    import java.util.Set;
    public class Stats implements com.tangosol.util.MapListener, com.tangosol.net.MemberListener {
    public String SYMBOL;
    public String NAME;
    public String CUSIP;
    public Long POSITION_LIMIT;
    public Float YEAR_HIGH;
    public String NEWS_BUY_RATING;
    public String NEWS_SELL_RATING;
    public String NEWS_NOTES;
    public Long AVG_DAILY_VOLUME;
    public Float MARKET_CAP;
    public Float _1_DAY_GROUP_PERCENT_CHANGE;
    public String PRIMARY_GROUP;
    public String ZACKS_RANK;
    public String FUND_GRADE;
    public String CRAMER_CALL;
    public Float PREV_CLOSE;
    public Float KSLOW;
    public Float DSLOW;
    public Float _90_DAY_HIGH;
    public Float _90_DAY_LOW;
    public Float _90_DAY_PERCENT_OF_RANGE;
    public Float _52_WEEK_HIGH;
    public Float _52_WEEK_LOW;
    public Float _52_WEEK_PERCENT_OF_RANGE;
    public Date NEXT_EARNINGS_DATE;
    public String NEXT_EARNINGS_ANNOUNCEMENT_TIME;
    public Object OPENING_INDICATION;
    public oms.OrderExchange PRIMARY_EXCHANGE;
    public Float _1_DAY_PERCENT_CHANGED;
    public Float _1_DAY_PERCENT_CHANGED_TEST;
    public Float _1_DAY_HIGH;
    public Float _1_DAY_LOW;
    public Long POSTMARKET_VOLUME;
    public Long PREMARKET_VOLUME;
    public Float OPEN_PRICE;
    public Integer POSTMARKET_TRADES;
    public Integer PREMARKET_TRADES;
    public Float POSTMARKET_HIGH;
    public Float POSTMARKET_LOW;
    public Float PREMARKET_HIGH;
    public Float PREMARKET_LOW;
    public Float POSTMARKET_VOLUME_WEIGHTED_AVG_PRICE;
    public Float PREMARKET_VOLUME_WEIGHTED_AVG_PRICE;
    public Float POSTMARKET_AVG_PRICE;
    public Float PREMARKET_AVG_PRICE;
    public Boolean IS_OPEN_ON_NYSE;
    public Boolean IS_HALTED;
    public Integer NEWSWARE_STORY_COUNT;
    public Float _1_DAY_PERCENT_OF_RANGE;
    public Boolean IS_ETF;
    public Integer ROUND_LOT_SIZE;
    public Integer LOCATED_SHARES_AVAILABLE;
    public Boolean IS_OPTIONABLE;
    private static HashMap<String, Stats> hm;
    private static List<com.tangosol.net.NamedCache> subscribedCacheList;
    private static Stats INSTANCE;
    private Set<StatsUpdateListener> updateListenerSet;
    public Stats() {
    //compiled code
    throw new RuntimeException("Compiled Code");
    public void memberJoined(com.tangosol.net.MemberEvent me) {
    //compiled code
    throw new RuntimeException("Compiled Code");
    public void memberLeaving(com.tangosol.net.MemberEvent me) {
    //compiled code
    throw new RuntimeException("Compiled Code");
    public void memberLeft(com.tangosol.net.MemberEvent me) {
    //compiled code
    throw new RuntimeException("Compiled Code");
    public static Stats get(String string) {
    //compiled code
    throw new RuntimeException("Compiled Code");
    public static void init(StatsField[] sfs) {
    //compiled code
    throw new RuntimeException("Compiled Code");
    private static Field getField(com.tangosol.util.MapEvent me) throws NoSuchFieldException {
    //compiled code
    throw new RuntimeException("Compiled Code");
    private void notifyUpdateListeners(Field field, Object o) {
    //compiled code
    throw new RuntimeException("Compiled Code");
    public void addStatsUpdateListener(StatsUpdateListener sl) {
    //compiled code
    throw new RuntimeException("Compiled Code");
    public void removeStatsUpdateListener(StatsUpdateListener sl) {
    //compiled code
    throw new RuntimeException("Compiled Code");
    private void processInsertOrUpdate(com.tangosol.util.MapEvent me) {
    //compiled code
    throw new RuntimeException("Compiled Code");
    public synchronized void entryInserted(com.tangosol.util.MapEvent me) {
    //compiled code
    throw new RuntimeException("Compiled Code");
    public synchronized void entryUpdated(com.tangosol.util.MapEvent me) {
    //compiled code
    throw new RuntimeException("Compiled Code");
    public void entryDeleted(com.tangosol.util.MapEvent me) {
    //compiled code
    throw new RuntimeException("Compiled Code");
    }

Maybe you are looking for

  • Need help installing camera raw plug-in for Photoshop CS6

    I have a Raw photo that won't open in my Photoshop CS6. The error message and online documentation say the same thing...They recommend going under Help > Updates and following the instructions. Problem is, "Updates" is not actually a choice under the

  • How do I edit my ePub file on Windows 8?

    Hello, I need help for my ePub file, I'm a ebooks writer and I have to design and edit my ePub books and publish it onto site, please recommend a great tool to edit, design ePub book! Thanks in advance!

  • Missing applications for the SharePoint Web Services site in IIS

    We have SharePoint 2013 server farm and in one of the server missing service applications/virtual directories. Under IIS, "SharePoint Web Services" site including an Application Pool and SharePoint Web Services Root is available, but no applications

  • PDF | Avail to download for Compressor 4

    Hello Compressor 4 users and friends, I happen to notice that Apple released PDF user guide manual (in format of PDF) for your use, reference on your computer. Just thought that I'd want to share the info. Have a look at this link below: http://suppo

  • Create a jdbc connection within forms

    I have created a little piece of java code that connects to my database via a jdbc connection, inserts a value into a table, commits, then closes the jdbc connection. This works perfectly in JDeveloper. Now, I need to use it within forms, but forms i