Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2003
    Location
    US
    Posts
    314

    Unanswered: Loadjava hangs on load a class file

    I did the following to loaded a java class file.

    1. Create a java file, Dba.java
    import java.util.*;
    public class Dba
    {
    public static void printHello ()
    {
    String prtString="Hello World";
    System.out.println(prtString);
    }
    }


    2. Load the Java file
    loadjava -u scott/tiger -resolve Dba.java


    This operation seems as if it hanged. I saw the top on the server, and showed jre as 96-97%.

    Any ideas what might be going wrong, as the control does not come back.
    Thanx and Regards
    Aruneesh

  2. #2
    Join Date
    Jul 2003
    Location
    US
    Posts
    314

    Tried to load class file through TOAD (got error)

    Hi

    16:56:32 Info: Started loading Java Objects..., 16:56:32 Info: Loading C:\Documents and Settings\Administrator\Desktop\Dba.java ..., 16:56:32 Info: internal error: unanticipated exception: java.lang.NoClassDefFoundError: oracle/aurora/sqljdecl/SqljDecl, 16:56:32 Info: java.lang.NoClassDefFoundError: oracle/aurora/sqljdecl/SqljDecl, 16:56:32 Info: at oracle.aurora.server.tools.loadjava.SourceFileRead er.getScanner(SourceFileReader.java:52), 16:56:32 Info: at oracle.aurora.server.tools.loadjava.SourceFileRead er.getFirstName(SourceFileReader.java:61), 16:56:32 Info: at oracle.aurora.server.tools.loadjava.LoadJava.noteS ource(LoadJava.java:2427), 16:56:32 Info: at oracle.aurora.server.tools.loadjava.LoadJava.proce ssLoadAndCreate(LoadJava.java:1587), 16:56:33 Info: at oracle.aurora.server.tools.loadjava.LoadJava.proce ssLoadAndCreate(LoadJava.java:1513), 16:56:33 Info: at oracle.aurora.server.tools.loadjava.LoadJava.proce ss(LoadJava.java:1422), 16:56:33 Info: at oracle.aurora.server.tools.loadjava.LoadJavaMain.r un(LoadJavaMain.java:299), 16:56:33 Info: at oracle.aurora.server.tools.loadjava.LoadJavaMain.m ain(LoadJavaMain.java:58), 16:56:33 Info: resolver :, 16:56:33 Info: loadjava: 1 errors, 16:56:33 Info: Loaded successfully, 16:56:33 Info: Java Load Completed: Files that have already been loaded that have not changed have not been loaded again.

    Thanx and Regards
    Aruneesh

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •