Menu

Error Message

Help
D-Mac
2008-01-13
2012-12-26
  • D-Mac

    D-Mac - 2008-01-13

    When trying to run the app after updating the configFile, I get the following error message. Have any idea how to get around it? I'm in MSWin, trying to open an Access db. Thanks:

    C:\Documents and Settings\Owner\Desktop\Data Profiler>java -classpath "saxon.jar;.;jeval.jar;lucene-core-2.2.0.jar;jxl.jar" Profiler
    Exception in thread "main" java.lang.NoClassDefFoundError: ûclasspath

     
    • arrah

      arrah - 2008-01-16

      Seems like it is not recognisizing "classpath" key word. Try > java -cp  "saxon.jar;.;jeval.jar;lucene-core-2.2.0.jar;jxl.jar" Profiler

      just typing > java
      will show the options supported.

      Thanks,
      Vivek

       
    • Chris Horn

      Chris Horn - 2008-03-15

      I get the same error. No luck using -cp and -classpath is supported. Any other thoughts?

       
    • Chris Horn

      Chris Horn - 2008-03-16

      Ok, I got it working with either of these two strings by downloading the version at your site.

      java -classpath “D:\Oracle\product\10.1.0\Client_1\jdbc\lib\ojdbc14.jar;saxon.jar;.;jeval.jar;lucenecore-2.2.0.jar;jxl.jar” Profiler

      java -classpath “D:/Oracle/product/10.1.0/Client_1/jdbc/lib/ojdbc14.jar;saxon.jar;.;jeval.jar;lucenecore-2.2.0.jar;jxl.jar” Profiler

      The issue now is that i get an error: Driver Value Not Found - Check ConfigFile.txt

      ICFS_P14 is the name of the service in TNSNAMES.ORA and SIEBEL_PROD is the name of my local ODBC DSN. Any thoughts?

      /*
      Database_Type="ORACLE_NATIVE"
      Database_Driver="oracle.jdbc.OracleDriver"
      Database_Protocol="jdbc:oracle:oci8"
      Database_DSN="ICFS_P14"
      Database_User="warehouse"
      Database_Passwd="extract33"
      Database_Catalog=""
      Database_SchemaPattern="WAREHOUSE"
      Database_TablePattern=""
      Database_TableType="TABLE"
      Database_ColumnPattern=""
      */

      /*
      Database_Type="ORACLE_ODBC"
      Database_Driver="sun.jdbc.odbc.JdbcOdbcDriver"
      Database_Protocol="jdbc:odbc"
      Database_DSN="SIEBEL_PROD"
      Database_User="warehouse"
      Database_Passwd="extract33"
      Database_Catalog=""
      Database_SchemaPattern="WAREHOUSE"
      Database_TablePattern=""
      Database_TableType="TABLE"
      Database_ColumnPattern=""
      */

       
    • Chris Horn

      Chris Horn - 2008-03-16

      Got it. Had to take the /* and */ from around the block...heh. RTFM right?

       
    • arrah

      arrah - 2008-03-17

      Right.

      To make the block active /* */ should be removed.

      Deactive block
      /*
      Database_Type="ORACLE_NATIVE"
      Database_Driver="oracle.jdbc.OracleDriver"
      Database_Protocol="jdbc:oracle:oci8"
      Database_DSN="ICFS_P14"
      Database_User="warehouse"
      Database_Passwd="extract33"
      Database_Catalog=""
      Database_SchemaPattern="WAREHOUSE"
      Database_TablePattern=""
      Database_TableType="TABLE"
      Database_ColumnPattern=""
      */

      Active block

      Database_Type="ORACLE_NATIVE"
      Database_Driver="oracle.jdbc.OracleDriver"
      Database_Protocol="jdbc:oracle:oci8"
      Database_DSN="ICFS_P14"
      Database_User="warehouse"
      Database_Passwd="extract33"
      Database_Catalog=""
      Database_SchemaPattern="WAREHOUSE"
      Database_TablePattern=""
      Database_TableType="TABLE"
      Database_ColumnPattern=""

      if two block are active it will take the last one. If no one is active it will throw driver not found error.

      regards,
      Vivek

       
    • pedro

      pedro - 2008-03-28

      Hi:

      I can´t get it to start working. I configured the config database file, but get the following error, trying to use MSWin and SQL Server:
      ----
      C:\Profiler>java -classpath "saxon.jar;.;jeval.jar;lucene-core-2.2.0.jar;jxl.jar
      " profiler
      Exception in thread "main" java.lang.NoClassDefFoundError: profiler (wrong name:
      Profiler)
              at java.lang.ClassLoader.defineClass1(Native Method)
              at java.lang.ClassLoader.defineClass(Unknown Source)
              at java.security.SecureClassLoader.defineClass(Unknown Source)
              at java.net.URLClassLoader.defineClass(Unknown Source)
              at java.net.URLClassLoader.access$000(Unknown Source)
              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)
      ----

      any help would be appreciated

      Pedro

       
    • arrah

      arrah - 2008-04-16

      type Profiler not profiler

      > java -classpath "saxon.jar;.;jeval.jar;lucene-core-2.2.0.jar;jxl.jar" Profiler

       
    • pedro

      pedro - 2008-04-25

      thanks ! (how embarassing !!!)

       

Log in to post a comment.