Problems with classpath and oracle drivers

Hi, i've developed an application that uses oracle drivers "classes12.jar" using Eclipse. While i was writing the code, i manually specified the classpath which contains "classes12.jar" file using Eclipse's own configuration tool and now it works perfect when i run it under Eclipse. I then tried to run it using dos prompt but when i tried to run the program i got "ClassNotFoundException: oracle.jdbc.driver.oracledriver". As you can guess, i thought that was a classpath issue so i set the classpath as follows:
set CLASSPATH=C:\oracle\ora92\jdbc\lib
where the directory "C:\oracle\ora92\jdbc\lib" is the one that contains classes12.jar file which i had also specified using Eclipse before.
After that, i recompiled my application and tried to launch it as follows:
->javac Test.java
->java Test
But then i got the following runtime error:
Exception in thread "main" java.lang.NoClassDefFoundError: Test
Since this happened after i manually set CLASSPATH variable, this has something to do with that. What should i do now? Thanks in advance.

Correct - the JAR has to be spelled out in the CLASSPATH.
I'd also recommend that you not set CLASSPATH using a system environment variable. Better to use the -classpath parameter on javac.exe when you compile and java.exe when you run. Put the command into a script that you invoke when you start up the app. It'll document the fact that it's needed for anyone that comes after you and relieves you from having to change the CLASSPATH on machines you deploy to. And, for good measure, app servers like Tomcat and WebLogic totally ignore the system CLASSPATH. I don't even have one.
%

Similar Messages

  • Problems with classpath and comiling an easy program

    Hello everyone:
    I have downloaded jsdk1.3.1_03, (Windows xp)? what do i type in the class path?
    Once I am done with setting the classpath. I typed the helloworld program, and it give me an error specified path not found).
    Please help, through this.
    Sincerely
    Johanna

    it is problems with compiling and running!!! ,
    everytime I try to comile the helloworld program, it
    state an error like :specific path not found. I set
    the path and classpath to C:\jsdk1.3.1\bin
    is that correct? If you installed the developer's kit into c:\jsdk1.3.1 then that is correct. You need to include the directory where you installed java. Typically, that is c:\jdk1.3.1 for example (and add \bin). You can try to "cd c:\jsdk1.3.1\bin" and try javac again. You must have NO spaces in your Path setting.

  • RsultSet getString(String) returning next row with WL8 and Oracle drivers

    When using the following function with the SQL: SELECT A, B, C FROM D
    WHERE A=E and i call the campoString("A") i received the expected value
    for the campoString("B") and so on.
    public String CampoString(String s) {
    int i = 0;
    String sr;
    try {
    System.out.println("Campo a buscar:"+s);
    sr = rsVentasTotales.getString(s);
    System.out.println("Valor:"+sr);
    catch(SQLException _ex) {
    sr = "vacio";
    if(sr == null)
    sr = "vacio";
    if((i = sr.indexOf('\n')) >= 0) {
    if(i > 0)
    return sr.substring(0, i - 1);
    else
    return "DATO ALTERADO";
    } else {
    return sr;
    Oracle latest drivers, and Oracle Server 7, WebLogic platform (workshop) 8.1
    public int Conectar() {
    try {
    Class.forName("oracle.jdbc.driver.OracleDriver");
    catch(ClassNotFoundException _ex) {
    return 0;
    try {
    con = DriverManager.getConnection(url, usuario, password);
    comando = con.createStatement();

    Carlos de Luna Saenz wrote:
    Same result putting the jar at the beggining of the classpath...:-(
    WLS Production Mode=
    .You need a semicolon after "ojdbc13.jar".
    Joe
    CLASSPATH=C:\bea\weblogic81\samples\workshop\SicPros\SicProsv35\WEB-INF\lib\ojdb
    c14.jarC:\bea\WEBLOG~1\server\lib\weblogic_knex_patch.jar;C:\bea\WEBLOG~1\common
    \lib\log4j.jar;C:\bea\WEBLOG~1\server\lib\debugging.jar;C:\bea\WEBLOG~1\server\l
    ib\knex.jar;C:\bea\WEBLOG~1\javelin\lib\javelin.jar;C:\bea\WEBLOG~1\server\lib\w
    lw-lang.jar;;C:\bea\JDK141~1\lib\tools.jar;C:\bea\WEBLOG~1\server\lib\weblogic_s
    p.jar;C:\bea\WEBLOG~1\server\lib\weblogic.jar;C:\bea\WEBLOG~1\server\lib\ojdbc14
    .jar;C:\bea\WEBLOG~1\server\lib\ant\ant.jar;C:\bea\JDK141~1\jre\lib\rt.jar;C:\be
    a\WEBLOG~1\common\eval\pointbase\lib\pbserver44.jar;C:\bea\WEBLOG~1\common\eval\
    pointbase\lib\pbclient44.jar;;C:\bea\WEBLOG~1\server\lib\webserviceclient.jar;C:
    \bea\WEBLOG~1\server\lib\webserviceclient+ssl.jar;C:\bea\WEBLOG~1\server\lib\xbe
    an.jar;C:\bea\WEBLOG~1\server\lib\xmarshal.jar;C:\bea\WEBLOG~1\server\lib\xqrl.j
    ar;C:\bea\WEBLOG~1\server\lib\netui\netui-compiler.jar;C:\bea\WEBLOG~1\server\li
    b\wli.jar;C:\bea\WEBLOG~1\server\lib\wlxtrt.jar;C:\bea\WEBLOG~1\server\lib\fop.j
    ar;C:\bea\WEBLOG~1\integration\lib\wlai-server.jar;C:\bea\WEBLOG~1\integration\a
    dapters\sample\lib\sample-eis.jar;
    Greetings.
    Joe Weinstein wrote:
    Ok.
    Once you get this working, I will have some suggestions that
    will make this run much faster. For now, I think the issue
    is the driver version. We package an old oracle thin driver
    inside our weblogic.jar, so you need to get oracle's latest
    appropriate driver, and edit the start-weblogic script so
    the driver you want comes before the weblogic.jar in the
    -classpath argument for the java line that starts the server.
    PS:
    I am looking at the code, thank you, but you still haven't
    explicitly said what problem you're having!
    thanks
    Joe
    Carlos de Luna Saenz wrote:
    The problematic class is, there is no weblogic code on it, the
    project i am on is to migrate a iPlanet app to a web logic server:
    If you need the JSP using this class please let me know. The
    application uses not standards, taglibs or anything besides .java
    files and .jsp files.
    package externos;
    import java.io.PrintWriter;
    import java.sql.*;
    import java.util.Date;
    public class sicprosR{
    public String strSQL;
    public String er;
    Connection con;
    private ResultSet rsVentasTotales;
    String url;
    CallableStatement ps;
    Statement comando;
    protected String usuario;
    protected String password;
    public boolean estado;
    public sicprosR() {
    ps = null;
    url="jdbc:oracle:thin:@17.3.5.101:1521:dbx1";
    usuario="xxxxx";
    password="xxxx";
    estado = false;
    public Date CampoDate(String s) {
    Object obj = new Date();
    try {
    obj = rsVentasTotales.getDate(s);
    catch(SQLException _ex) { }
    return (Date)obj;
    public double CampoDouble(String s) {
    double d;
    try {
    d = rsVentasTotales.getDouble(s);
    catch(SQLException _ex) {
    d = 0.0D;
    return d;
    public int CampoInt(String s) {
    int i;
    try {
    i = rsVentasTotales.getInt(s);
    catch(SQLException _ex) {
    i = 0;
    return i;
    public String CampoString(String s) {
    int i = 0;
    String sr;
    try {
    System.out.println("Campo a buscar:"+s);
    sr = rsVentasTotales.getString(s);
    System.out.println("Valor:"+sr);
    catch(SQLException _ex) {
    sr = "vacio";
    if(sr == null)
    sr = "vacio";
    if((i = sr.indexOf('\n')) >= 0) {
    if(i > 0)
    return sr.substring(0, i - 1);
    else
    return "DATO ALTERADO";
    } else {
    return sr;
    public boolean Commit() {
    try {
    con.commit();
    catch(SQLException sqlexception) {
    er = sqlexception.getMessage();
    return false;
    return true;
    public int Conectar() {
    try {
    Class.forName("oracle.jdbc.driver.OracleDriver");
    catch(ClassNotFoundException _ex) {
    return 0;
    try {
    con = DriverManager.getConnection(url, usuario, password);
    comando = con.createStatement();
    catch(SQLException sqlexception) {
    er = sqlexception.getMessage();
    return -1;
    try {
    rsVentasTotales = comando.executeQuery(strSQL);
    catch(SQLException _ex) {
    return -2;
    estado = true;
    return 1;
    public int Conectar(int i) {
    try {
    Class.forName("oracle.jdbc.driver.OracleDriver");
    catch(ClassNotFoundException _ex) {
    return 0;
    try {
    con = DriverManager.getConnection(url,
    Estructura.usuario, Estructura.clave);
    comando = con.createStatement();
    catch(SQLException sqlexception) {
    er = sqlexception.getMessage();
    return -1;
    try {
    rsVentasTotales = comando.executeQuery(strSQL);
    catch(SQLException _ex) {
    return -2;
    estado = true;
    return 1;
    public boolean Ejecuta(int i) {
    if(i == 1)
    try {
    rsVentasTotales = comando.executeQuery(strSQL);
    catch(SQLException _ex) {
    return false;
    else
    try {
    comando.executeUpdate(strSQL);
    catch(SQLException sqlexception) {
    er = sqlexception.getMessage();
    return false;
    return true;
    public int Sig() {
    try {
    if(rsVentasTotales.next()) {
    estado = true;
    return 1;
    } else {
    estado = false;
    return 0;
    catch(Exception _ex) {
    estado = false;
    return -1;
    public boolean Siguiente() {
    try {
    if(rsVentasTotales.next()) {
    estado = true;
    return true;
    } else {
    estado = false;
    return false;
    catch(Exception _ex) {
    estado = false;
    return false;
    public String convierteCantidadLetras(double d, String s) {
    String s1 = Double.toString(d);
    s1 = truncaADosDecimales(s1);
    try {
    ps = con.prepareCall("{ call
    get_Palabra_De_Valor_Numerico(?,?,?) }");
    ps.setString(1, s1);
    ps.setString(2, s);
    ps.registerOutParameter(3, 12);
    ps.execute();
    return ps.getString(3);
    catch(SQLException _ex) {
    return "No se pudo realizar la conversion";
    public String convierteCantidadLetras(double d, String s,
    PrintWriter printwriter) {
    String s1 = Double.toString(d);
    s1 = truncaADosDecimales(s1);
    try {
    ps = con.prepareCall("{ call
    get_Palabra_De_Valor_Numerico(?,?,?) }");
    ps.setString(1, s1);
    ps.setString(2, s);
    ps.registerOutParameter(3, 12);
    ps.execute();
    return ps.getString(3);
    catch(SQLException _ex) {
    return "No se pudo realizar la conversion";
    public boolean inicio() {
    try {
    rsVentasTotales.first();
    return true;
    catch(SQLException _ex) {
    return false;
    public String truncaADosDecimales(String s) {
    int i = 0;
    String s1 = "";
    i = s.indexOf(".");
    if(s.length() <= i + 3) {
    s1 = s.substring(i + 1, s.length());
    } else {
    s1 = s.substring(i + 1, i + 3);
    s1 = s1.substring(0, 2);
    if(s.substring(i + 1, i + 2).equals("0"))
    s1 = "0" + s1;
    s1 = s.substring(0, i) + "." + s1;
    return s1;
    Joe Weinstein wrote:
    Hi! I need two more things from you, please:
    1 - A full statement of what problem you're having.
    2 - More of the code. All I see here is you are getting
    a connection directly from Oracle's driver, and code which
    does a ResultSet.getString() call.
    I need to see the logic from getting the connection, to creating
    the statement, to executing the query, to doing ResultSet.next()
    for each row and getting the row data for each.
    It seems that this is either an application code or jdbc driver
    problem because no weblogic code is being used, so it could probably
    be duplicated in a small stand-alone program (without any weblogic
    stuff).
    Joe
    Carlos de Luna Saenz wrote:
    When using the following function with the SQL: SELECT A, B, C FROM
    D WHERE A=E and i call the campoString("A") i received the expected
    value for the campoString("B") and so on.
    public String CampoString(String s) {
    int i = 0;
    String sr;
    try {
    System.out.println("Campo a buscar:"+s);
    sr = rsVentasTotales.getString(s);
    System.out.println("Valor:"+sr);
    catch(SQLException _ex) {
    sr = "vacio";
    if(sr == null)
    sr = "vacio";
    if((i = sr.indexOf('\n')) >= 0) {
    if(i > 0)
    return sr.substring(0, i - 1);
    else
    return "DATO ALTERADO";
    } else {
    return sr;
    Oracle latest drivers, and Oracle Server 7, WebLogic platform
    (workshop) 8.1
    public int Conectar() {
    try {
    Class.forName("oracle.jdbc.driver.OracleDriver");
    catch(ClassNotFoundException _ex) {
    return 0;
    try {
    con = DriverManager.getConnection(url, usuario, password);
    comando = con.createStatement();

  • Problem with Unicode and Oracle NCLOB fields

    When I try to INSERT a new (N)CLOB into an Oracle database, all is fine until I use a non-ASCII character, such as an accented roman letter, like the "�" (that's '\u00E9') in "caf�" or the Euro Currency symbol "?" (that's '\u20AC' as a Java character literal, just in case the display is corrupted here too). This doesn't happen with "setString", but does happen when streaming characters to the CLOB; however, as Oracle or the driver refuse strings larger than 4000 characters, and as I need to support all the above symbols (and many more), I'm stuck.
    Here's the background to the problem (I've tried to be detailed, after a lot of looking around on the web, I've seen lots of people with similar problems, but no solutions: I've seen and been able to stream ASCII clobs, or add small NCHAR strings, but not stream NCLOBs...).
    I'm using Oracle 9.2.0.1.0 with the "thin" JDBC driver, on a Windows box (XP Pro). My database instance is set up with AL32UTF8 as the database encoding, and UTF8 as the national character set.. I've created a simple user/schema, called LOBTEST, in which I created two tables (see below).
    The basic problems are :
    - with Oracle and JDBC, you can't set the value of a CLOB or NCLOB with PreparedStatement's setString or setCharacterStream methods (as it throws an exception when you send more than 4000 characters)
    - with Oracle, you can only have one LONG VARCHAR-type field per table (according to their documentation) and you MUST read all columns in a set order (amongst other limitations).
    - with a SQL INSERT command, there's no way to set the value of a parameter that's a CLOB (implementations of the CLOB interface can only be obtained by performing a SELECT.... but obviously, when I'm inserting, the record doesn't exist yet...). Workarounds include (possibly) JDBC 4 (doesn't exist yet...) or doing the following Oracle-specific stuff :
    INSERT INTO MyTable (theID,theCLOB) VALUES (1, empty_clob());
    SELECT * FROM MyTable WHERE theId = 1;
    ...and getting the empty CLOB back (via a ResultSet), and populating it. I have a very large application, that's deployed for many of our customers using SapDB and MySQL without a hitch, with "one-step" INSERTS; I can't feasibly change the application into "three-step INSERT-SELECT-UPDATE" just for Oracle, and I shouldn't need to!!!
    The final workaround is to use Oracle-specific classes, described in:
    http://download-east.oracle.com/otn_hosted_doc/jdeveloper/904preview/jdbc-javadoc/index.html
    ...such as CLOB (see my example). This works fine until I add some non-ASCII characters, at which point, irrespective of whether the CLOB data is 2 characters or 2 million characters, it throws the same exception:
    java.io.IOException: Il n'y a plus de donn?es ? lire dans le socket
         at oracle.jdbc.dbaccess.DBError.SQLToIOException(DBError.java:716)
         at oracle.jdbc.driver.OracleClobWriter.flushBuffer(OracleClobWriter.java:270)
         at oracle.jdbc.driver.OracleClobWriter.flush(OracleClobWriter.java:204)
         at scratchpad.InsertOracleClobExample.main(InsertOracleClobExample.java:61)...where the error message in English is "No more data to read from socket". I need the Oracle-specific "setFormOfUse" method to force it to correctly use the encoding of the NCLOB field, without it, even plain ASCII data is rejected with an exception indicating that the character set is inappropriate. With a plain CLOB, I don't need it, but the plain CLOB refuses my non-ASCII data anyway.
    So, many many thanks in advance for any advice. The remainder of my post includes my code example and a simple SQL script to create the table(s). You can mess around with the source code to test various combinations.
    Thanks,
    Chris B.
    CREATE TABLE NCLOBTEST (
         ID         INTEGER NOT NULL,
         SOMESTRING NCLOB,
         PRIMARY KEY (ID)
    CREATE TABLE CLOBTEST (
         ID         INTEGER NOT NULL,
         SOMESTRING CLOB,
         PRIMARY KEY (ID)
    package scratchpad;
    import java.io.Writer;
    import java.sql.Connection;
    import java.sql.Driver;
    import java.sql.PreparedStatement;
    import java.sql.SQLException;
    import java.util.Properties;
    import oracle.jdbc.driver.OracleDriver;
    import oracle.jdbc.driver.OraclePreparedStatement;
    import oracle.sql.CLOB;
    public class InsertOracleClobExample
         public static void main(String[] args)
              Properties jdbcProperties = new Properties();
              jdbcProperties.setProperty( "user", "LOBTEST" );
              jdbcProperties.setProperty( "password", "LOBTEST" );
    //          jdbcProperties.setProperty("oracle.jdbc.defaultNChar","true");
              Driver jdbcDriver = new OracleDriver();
              PreparedStatement pstmt = null;
              Connection connection = null;
              String tableName = "NCLOBTEST";
              CLOB clob = null;
              try
                   connection = jdbcDriver.connect("jdbc:oracle:thin:@terre:1521:orcl", jdbcProperties);
                   pstmt = connection.prepareStatement("DELETE FROM NCLOBTEST");
                   pstmt.executeUpdate();
                   pstmt.close();
                   pstmt = connection.prepareStatement(
                        "INSERT INTO "+tableName+" (ID,SOMESTRING) VALUES (?,?);"
                   clob = CLOB.createTemporary(pstmt.getConnection(), true, CLOB.DURATION_SESSION);
                   clob.open(CLOB.MODE_READWRITE);
                   Writer clobWriter = clob.getCharacterOutputStream();
                   clobWriter.write("Caf? 4,90? TTC");
                   clobWriter.flush();
                   clobWriter.close();
                   clob.close();
                   OraclePreparedStatement opstmt = (OraclePreparedStatement)pstmt;
                   opstmt.setInt(1,1);
                   opstmt.setFormOfUse(2, OraclePreparedStatement.FORM_NCHAR);
                   opstmt.setCLOB(2, clob);
                   System.err.println("Rows affected: "+opstmt.executeUpdate());
              catch (Exception sqlex)
                   sqlex.printStackTrace();
                   try     {
                        clob.freeTemporary();
                   } catch (SQLException e) {
                        System.err.println("Cannot free temporary CLOB: "+e.getMessage());
              try { pstmt.close(); } catch(SQLException sqlex) {}
              try { connection.close(); } catch(SQLException sqlex) {}
    }

    The solution to this is to use a third-party driver. Oranxo works really well.
    - Chris

  • Problem with DataLoader and Oracle 8.1.6

    I am currently running WebLogic Commerce Server under the following
    configuration.
    1. Solaris 8
    2. WebLogic Server 5.1
    3. WebLogic Commerce Server 2.0.1
    4. Oracle 8.1.6
    5. JDK 1.2.2
    I have followed the instructions completely as it relates to running
    with Oracle. Everything works fine up to the point in which I run the
    DataLoader.sh script.
    The DataLoader.sh script almost completes. However, after some time is
    spend loading items, I see the following WebLogic dumb, and the
    DataLoader.sh scripts quits.
    Some other points. I am using the Oracle thin driver (Classes111.zip).
    The size and date of the classes111.zip are as follows.
    Date: 12/14/1999
    Size: 1.4Meg
    Any ideas as to what the problem is.
    Tue Aug 15 18:27:07 EDT 2000:<I> <ListenThread> Adding address:
    localhost/127.0.0.1 to licensed client list
    Tue Aug 15 18:27:08 EDT 2000:<I> <ServletContext-General> classes: init
    Tue Aug 15 18:27:15 EDT 2000:<I> <ListenThread> Adding address:
    webdev1.grhq.gfs.com/1.1.8.146 to licensed client list
    Tue Aug 15 18:27:15 EDT 2000:<D> <JVMSocketHTTPServer> opened sockID:
    '0'
    Tue Aug 15 18:29:30 EDT 2000:<I> <CliCon-#|server|0.966378014892>
    Removing ClientContext - id: '#|server|0.966378014892', bound: 'false',
    dead: 'false' because of soft disconnect timeout
    Tue Aug 15 18:29:30 EDT 2000:<D> <JVMSocketHTTPServer> Closing JVM
    socket: 'weblogic.socket.JVMSocketHTTPServer@5b43a9 - id: '0', closed:
    'true', lastRecv: '966378570911''
    java.lang.Throwable: Stack trace
    at java.lang.Throwable.fillInStackTrace(Native Method)
    at java.lang.Throwable.fillInStackTrace(Compiled Code)
    at java.lang.Throwable.<init>(Compiled Code)
    at
    weblogic.socket.JVMSocketHTTPServer.close(JVMSocketHTTPServer.java:433)
    at weblogic.socket.JVMAbbrevSocket.close(JVMAbbrevSocket.java:383)
    at weblogic.rjvm.ConnectionManager.shutdown(Compiled Code)
    at weblogic.rjvm.ConnectionManagerServer.shutdown(Compiled Code)
    at weblogic.rjvm.RJVMImpl.peerGone(Compiled Code)
    at weblogic.rjvm.RJVMImpl.gotExceptionReceiving(RJVMImpl.java:523)
    at
    weblogic.rjvm.ConnectionManager.gotExceptionReceiving(ConnectionManager.java:720)
    at
    weblogic.socket.JVMAbbrevSocket.gotExceptionReceiving(JVMAbbrevSocket.java:397)
    at weblogic.socket.JVMSocketT3.endOfStream(JVMSocketT3.java:549)
    at weblogic.socket.JavaSocketMuxer.processSockets(Compiled Code)
    at
    weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:23)
    at weblogic.kernel.ExecuteThread.run(Compiled Code)
    Tue Aug 15 18:29:31 EDT 2000:<D> <HTTPTunneling> Sending DEAD response
    on socket: 'weblogic.socket.MuxableSocketHTTP@db93a - idle timeout:
    '60', socket timeout: '100''
    java.lang.Throwable: Stack trace
    at java.lang.Throwable.fillInStackTrace(Native Method)
    at java.lang.Throwable.fillInStackTrace(Compiled Code)
    at java.lang.Throwable.<init>(Compiled Code)
    at
    weblogic.socket.TunnelServlet.sendDeadResponse(TunnelServlet.java:60)
    at
    weblogic.socket.JVMSocketHTTPServer.close(JVMSocketHTTPServer.java:438)
    at weblogic.socket.JVMAbbrevSocket.close(JVMAbbrevSocket.java:383)
    at weblogic.rjvm.ConnectionManager.shutdown(Compiled Code)
    at weblogic.rjvm.ConnectionManagerServer.shutdown(Compiled Code)
    at weblogic.rjvm.RJVMImpl.peerGone(Compiled Code)
    at weblogic.rjvm.RJVMImpl.gotExceptionReceiving(RJVMImpl.java:523)
    at
    weblogic.rjvm.ConnectionManager.gotExceptionReceiving(ConnectionManager.java:720)
    at
    weblogic.socket.JVMAbbrevSocket.gotExceptionReceiving(JVMAbbrevSocket.java:397)
    at weblogic.socket.JVMSocketT3.endOfStream(JVMSocketT3.java:549)
    at weblogic.socket.JavaSocketMuxer.processSockets(Compiled Code)
    at
    weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:23)
    at weblogic.kernel.ExecuteThread.run(Compiled Code)

    Javier, these are database parameters picked p from the init.ora of that database. To check the values of these parameters, logon to the database via SVRMGRL as the DBA and then execute the command :
    SVRMGR>SHOW PARAM
    This lists all the database paramaters. Also check if the Oracle MTS Service is actually running.

  • Problems with classpath and accessing a specific file

    I'm currently running an application using NetBeans (I know this is the Sun Forum but maybe someone can help). For those who aren't familiar with this IDE, whenever a project is created, a ProjectName folder is also created. Inside that folder are 5 new folders (*build*, dist, nbproject, src and test) as well as 2 new files (*build.xml*, manifest.mf). The dist folder contains the *.jar* file.
    Seeing that this is an audio application, I am constantly working with audio files. In the ProjectName folder, I've created a sixth folder (*audiofiles*) were I load and save such audio files. To access a specific audio file, I do the following:
    File audioExample = File("audiofiles" + File.separator + "audio.wav");When I run the project from the IDE there doesn't seem to be a problem. However, when I try to run the project by simply double-clicking the *.jar* file in the dist folder, the audio files can't be accessed. In order to be able to access them, I need to change the path:
    File audioExample = File("C:\...\ProjectName\audiofiles\audio.wav");This seems to solve the problem temporarily, but if I decide to change to project folder location, I also need to change the path.
    QUESTION:
    What is the best way to access files so that they are not dependent on where the project folder is located? Do I need to modify the classpath or simply write the path in File(...) in a specific way? If I need to modify the classpath, how can I do so in Netbeans?
    Thanks in advance.

    DrClap,
    Thanks for the reply. To answer your questions:
    Naturally that depends on where you DO want to load from. Are the files in the classpath? Are they in the current working directory?
    Some other directory where you can ask the user to point to? On a different computer?The audio files are located in a created folder in the IDE project folder. I know you mentioned that I should stop thinking about this as an IDE project but I don't know any other way to think about it. I'm kinda new to Java, and the only way I've learned how everything is structured is through the IDE project structure. I'm realizing that this is probably not the best way to go about as it doesn't allow me to have a good understanding of the Java file structure. What changes do I need to make in the way I view my IDE project to make it more into a deployed version?
    I'm also having a hard time understanding the classpath concept. I've been under the impression that the classpath was simply the location of the packages and classes of a specific application. How could I check if the audio files are in the classpath?
    Thanks in advance.

  • Problem with httpd and oracle database

    hi
    i have oracle linux with oracle database 11gR2
    i install php with oci as the following link :
    http://oss.oracle.com/projects/php/dist/documentation/installation.html
    but when i try phpinfo() i found just only
    *" /etc/php.d/oci8.ini"* in the result
    and when i test connection i have this error
    *" Fatal error: Call to undefined function oci_connect() "*
    so what is the best way to install oci on oracle linux ?

    What version of the OS are you using? Any clues in the syslog and httpd log? Are you using SELinux, which is often an overlooked issue?
    Can you provide more details?
    so what is the best way to install oci on oracle linux ?According to the instructions, if support is needed: http://www.oracle.com/technetwork/topics/php/zend-server-096314.html

  • Problem with Xorg and nvidia drivers

    Hi! I recently installed arch and am trying to get a gui working. Sadly I have had little success. I have a nvidia geforce 750m which I believe was designed to use optimus. I have installed nvidia and bumblebee, and blacklisted nouveau. However, when I attempt to startx it doesn't work, and in the log file it tells me nvidia can't load the GLX and to make sure I am using the nvidia vendor version. So I looked and it seems I am not, instead I have the Xorg version. Unfortunatey I have no idea how to fix this... and today, google was not my friend despite several hours of searching.
    dmesg | grep nvidia says:
    nvidia_frontend_open: minor 0, module->open() failed, error -5
    I don't know what that error code means, or if that's even important.
    I have also installed kde, which does nothing because there's no x server to do anything with.
    Anyone have any advice? Thanks

    js404 wrote:
    Hi! I recently installed arch and am trying to get a gui working. Sadly I have had little success. I have a nvidia geforce 750m which I believe was designed to use optimus. I have installed nvidia and bumblebee, and blacklisted nouveau. However, when I attempt to startx it doesn't work, and in the log file it tells me nvidia can't load the GLX and to make sure I am using the nvidia vendor version. So I looked and it seems I am not, instead I have the Xorg version. Unfortunatey I have no idea how to fix this... and today, google was not my friend despite several hours of searching.
    dmesg | grep nvidia says:
    nvidia_frontend_open: minor 0, module->open() failed, error -5
    I don't know what that error code means, or if that's even important.
    I have also installed kde, which does nothing because there's no x server to do anything with.
    Anyone have any advice? Thanks
    Hi js404!
    If I am not entirely wrong you should try to use this small piece of code:
    nvidia-xconfig

  • Problem with Java and Oracle Database -  help !

    i keep getting a NullPointerException when trying to
    update a resultSet in a servlet. i am bringing in the data
    just fine from an Oracle database. but it chokes when trying
    to update it. can anybody tell me what is happening?
    thanks for any help
    Owen
    ResultSet rs = stmt.executeQuery( "select * from sw_assets" );
    rs.next();
    rs.updateString("name","XXX"); <--- BOOM !
    java.lang.NullPointerException
    at sun.jdbc.odbc.JdbcOdbcBoundCol.setRowValues(JdbcOdbcBoundCol.java:240)
    at sun.jdbc.odbc.JdbcOdbcResultSet.updateChar(JdbcOdbcResultSet.java:3767)
    at sun.jdbc.odbc.JdbcOdbcResultSet.updateString(JdbcOdbcResultSet.java:3257)
    at sun.jdbc.odbc.JdbcOdbcResultSet.updateString(JdbcOdbcResultSet.java:3848)
    at _0002fopen_0002ejspopen_jsp_3._jspService(_0002fopen_0002ejspopen_jsp_3.java:87)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:177)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:391)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
    at org.apache.tomcat.core.Handler.service(Handler.java:286)
    at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
    at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
    at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
    at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210)
    at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
    at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
    at java.lang.Thread.run(Thread.java:484)

    ResultSets based on a wildcard are generally treated as views by Oracle, meaning they are not updatable no matter how you create your statement. Try either "select swa.* from sw_assets swa" or "select all from sw_assets swa", that should get around the problem.
    Also (just being thorough) make sure that you specifically created your statement as being updatable (stmt = conn.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_UPDATABLE) ).
    I would not normally expect a NullPointerException when encountering this "feature", but then I don't often use the ODBC bridge.
    Good luck! I hope this helps.

  • Problem with installing and running some applications or drivers

    When installing and installing some items, towards the end of the installation I get this message:
    /System/Library/Extensions/comcy_driver_USBDevice.kext
    *was installed improperly and cannot be used. Please try reinstalling it or contact product's vendor for update*
    The end result is that some things do not seem to work properly, such as my HP printer. Would anybody have any ideas on how to fix this problem?

    Thank you for your response. Originally, I had a problem with Airport and ended up reinstalling Snow Leopard. Since then, when downloading upgrades etc, such as HP printer drivers, iTunes etc., towards the end of the download when its running the script, I get this message: /System/Library/Extensions/comcy_driver_USBDevice.kext
    +was installed improperly and cannot be used. Please try reinstalling it or contact product's vendor for update+
    Sometimes, the download hangs and is unable to complete. The main problem I've encountered so far with an application is when I use the printer to scan an image via Preview, it's blank: there's nothing there.

  • [Problem with U310 and W8] Deinstalled my WuDFRd-Drivers

    Hey,
    i just set up my new u310 with windows 8 and it worked fine. Then i realised, that on startup it takes about 4-10 minutes to search for wifi and i began struggeling around with things... deinstalled some drivers, reinstalled them again, just to see which drivers collide because the wifi service didnt start on startup.
    Then i saw a message on my system which was timed around the startup time and it said "The driver \Driver\WUDFRd failed to load for the device ROOT\LENOVOVHID\0000.". I looked it up on the internet and i saw that few people had the same problems with the long startup and similar things... so i just deinstalled the "Windows Driver Package - Lenovo WuDFRd Drivers" to reinstall a newer version or something like that.... but problem is, Where can i find this Driver package? I just cant find it. Will the startup problem be solved with a new installation of these drivers? Please help me

    Thank you for your response. Originally, I had a problem with Airport and ended up reinstalling Snow Leopard. Since then, when downloading upgrades etc, such as HP printer drivers, iTunes etc., towards the end of the download when its running the script, I get this message: /System/Library/Extensions/comcy_driver_USBDevice.kext
    +was installed improperly and cannot be used. Please try reinstalling it or contact product's vendor for update+
    Sometimes, the download hangs and is unable to complete. The main problem I've encountered so far with an application is when I use the printer to scan an image via Preview, it's blank: there's nothing there.

  • Problem with Class and Classpath

    Hello ME Windows Users, now before you place a wry smile on your face, I have a problem with path and classpath. Stop it, I can see you smiling!
    By visiting the the last 10 pages of the forum and reading Sun installation notes, some tooldocs and by given some answers by some nice people, I have become an expert in turning off my computer, about 10 times/hr. I still am trying to make my first cup of java.
    With the ME computer,
    I'm unable to right click on the desktop and go to properties, advanced,
    I'm unable to go go start, run, sysedit,
    I'm unable to change the ms-dos window of autoexec.bat, it just shuts down.
    Now before you tell me, I should of bought a different computer, the only place I can find to modify the path and classpath is in the environment which is in system configuration under tools. Here I have placed numerous configurations, like
    C:\java>set path=%path%;c:\j2sdk1.4.2\bin
    C:\java>set classpath=%classpath%;.;
    ;java_dir\bin where ;java_bin is c:\j2sdk1.4.2
    .; java_dir\bin; %path% where ;java_bin is c:\j2sdk1.4.2 and the list goes on.
    But, I know you are still smiling, the % signs comes up in a dialog box, saying too many, and will not convert the text to the environment to be saved when I close down for the tenth time in the last hour.
    Can someone help me before I make a real cup of coffee and accidentally drop it on the ME box.
    Have a laugh on me Mik.

    C:\java>set path=%path%;c:\j2sdk1.4.2\binGood
    But it is no good because it has to many % and a dialog box appears, saying you have too many parameters.
    Are you saying I have to shutdown again to answer your ?
    From the HELP menu-
    To confirm startup commands line by line
    Click Start, and then click Shut down.
    Click Restart, click OK, and then press and hold the CTRL key until the Windows Startup Menu appears.
    Enter the number for Step-by-step confirmation, and then press ENTER.
    For each command you want to run, press Y.
    If the command runs successfully, you are prompted with the next command.
    If the command does not run successfully, you receive an error message.
    To skip a command, press N.
    Mik

  • Sever issue with Xorg and Nvidia Drivers

    I run a 2.6.20 kernel with Xorg and Nvidia drivers all from arch rep on a Asus NV6200. Everything works fine, except one thing. When I exit X, the monitor shuts down imediatly. It wont start up at all, not even by manual startup. I cant understand what happens. The configuration is correct, is done with the correct settings for my video-card and monitor taken directly from the documentation. I cant use my X server at all since several days ... I checked the logs and there are no EE's. Anyway ... here is the log. Help anyone can help, I cant use X at all.
    X Window System Version 7.2.0
    Release Date: 22 January 2007
    X Protocol Version 11, Revision 0, Release 7.2
    Build Operating System: UNKNOWN
    Current Operating System: Linux solarflare 2.6.20-ARCH #1 SMP PREEMPT Fri Mar 16 20:22:11 CET 2007 i686
    Build Date: 27 February 2007
    Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
    Module Loader present
    Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    (==) Log file: "/var/log/Xorg.0.log", Time: Wed Mar 21 03:26:45 2007
    (==) Using config file: "/etc/X11/xorg.conf"
    (==) ServerLayout "Simple Layout"
    (**) |-->Screen "Screen 1" (0)
    (**) | |-->Monitor "AOC 7F+"
    (**) | |-->Device "NVIDIA 6200"
    (**) |-->Input Device "Mouse1"
    (**) |-->Input Device "Keyboard1"
    (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi".
    Entry deleted from font path.
    (Run 'mkfontdir' on "/usr/share/fonts/100dpi").
    (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi".
    Entry deleted from font path.
    (Run 'mkfontdir' on "/usr/share/fonts/75dpi").
    (**) FontPath set to:
    /usr/share/fonts/misc
    (==) RgbPath set to "/usr/share/X11/rgb"
    (==) ModulePath set to "/usr/lib/xorg/modules"
    (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
    (II) No APM support in BIOS or kernel
    (II) Loader magic: 0x81c34a0
    (II) Module ABI versions:
    X.Org ANSI C Emulation: 0.3
    X.Org Video Driver: 1.1
    X.Org XInput driver : 0.7
    X.Org Server Extension : 0.3
    X.Org Font Renderer : 0.5
    (II) Loader running on linux
    (II) LoadModule: "pcidata"
    (II) Loading /usr/lib/xorg/modules//libpcidata.so
    (II) Module pcidata: vendor="X.Org Foundation"
    compiled for 7.2.0, module version = 1.0.0
    ABI class: X.Org Video Driver, version 1.1
    (--) using VT number 7
    (II) PCI: PCI scan (all values are in hex)
    (II) PCI: 00:00:0: chip 1106,3099 card 1106,3099 rev 00 class 06,00,00 hdr 00
    (II) PCI: 00:01:0: chip 1106,b099 card 0000,0000 rev 00 class 06,04,00 hdr 01
    (II) PCI: 00:0a:0: chip 1317,0985 card 1113,1216 rev 11 class 02,00,00 hdr 00
    (II) PCI: 00:10:0: chip 1106,3038 card 1019,0996 rev 80 class 0c,03,00 hdr 80
    (II) PCI: 00:10:1: chip 1106,3038 card 1019,0996 rev 80 class 0c,03,00 hdr 80
    (II) PCI: 00:10:2: chip 1106,3038 card 1019,0996 rev 80 class 0c,03,00 hdr 80
    (II) PCI: 00:10:3: chip 1106,3104 card 1019,0996 rev 82 class 0c,03,20 hdr 00
    (II) PCI: 00:11:0: chip 1106,3177 card 1019,0996 rev 00 class 06,01,00 hdr 80
    (II) PCI: 00:11:1: chip 1106,0571 card 1019,0996 rev 06 class 01,01,8a hdr 00
    (II) PCI: 00:11:5: chip 1106,3059 card 1019,0996 rev 50 class 04,01,00 hdr 00
    (II) PCI: 01:00:0: chip 10de,0221 card 1043,820c rev a1 class 03,00,00 hdr 00
    (II) PCI: End of PCI scan
    (II) Host-to-PCI bridge:
    (II) Bus 0: bridge is at (0:0:0), (0,0,1), BCTRL: 0x0008 (VGA_EN is set)
    (II) Bus 0 I/O range:
    [0] -1 0 0x00000000 - 0x0000ffff (0x10000) IX[b]
    (II) Bus 0 non-prefetchable memory range:
    [0] -1 0 0x00000000 - 0xffffffff (0x0) MX[b]
    (II) Bus 0 prefetchable memory range:
    [0] -1 0 0x00000000 - 0xffffffff (0x0) MX[b]
    (II) PCI-to-PCI bridge:
    (II) Bus 1: bridge is at (0:1:0), (0,1,1), BCTRL: 0x000c (VGA_EN is set)
    (II) Bus 1 non-prefetchable memory range:
    [0] -1 0 0xe8000000 - 0xeaffffff (0x3000000) MX[b]
    (II) Bus 1 prefetchable memory range:
    [0] -1 0 0xd0000000 - 0xdfffffff (0x10000000) MX[b]
    (II) PCI-to-ISA bridge:
    (II) Bus -1: bridge is at (0:17:0), (0,-1,-1), BCTRL: 0x0008 (VGA_EN is set)
    (--) PCI:*(1:0:0) nVidia Corporation NV44A [GeForce 6200] rev 161, Mem @ 0xe8000000/24, 0xd0000000/28, 0xe9000000/24
    (II) Addressable bus resource ranges are
    [0] -1 0 0x00000000 - 0xffffffff (0x0) MX[b]
    [1] -1 0 0x00000000 - 0x0000ffff (0x10000) IX[b]
    (II) OS-reported resource ranges:
    [0] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[b]E(B)
    [1] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[b]
    [2] -1 0 0x000c0000 - 0x000effff (0x30000) MX[b]
    [3] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[b]
    [4] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[b]
    [5] -1 0 0x00000000 - 0x000000ff (0x100) IX[b]
    (II) PCI Memory resource overlap reduced 0xe0000000 from 0xe7ffffff to 0xdfffffff
    (II) Active PCI resource ranges:
    [0] -1 0 0xeb021000 - 0xeb0210ff (0x100) MX[b]
    [1] -1 0 0xeb020000 - 0xeb0203ff (0x400) MX[b]
    [2] -1 0 0xe0000000 - 0xdfffffff (0x0) MX[b]O
    [3] -1 0 0xe9000000 - 0xe9ffffff (0x1000000) MX[b](B)
    [4] -1 0 0xd0000000 - 0xdfffffff (0x10000000) MX[b](B)
    [5] -1 0 0xe8000000 - 0xe8ffffff (0x1000000) MX[b](B)
    [6] -1 0 0x0000e400 - 0x0000e4ff (0x100) IX[b]
    [7] -1 0 0x0000e000 - 0x0000e00f (0x10) IX[b]
    [8] -1 0 0x0000dc00 - 0x0000dc1f (0x20) IX[b]
    [9] -1 0 0x0000d800 - 0x0000d81f (0x20) IX[b]
    [10] -1 0 0x0000d400 - 0x0000d41f (0x20) IX[b]
    [11] -1 0 0x0000d000 - 0x0000d0ff (0x100) IX[b]
    (II) Active PCI resource ranges after removing overlaps:
    [0] -1 0 0xeb021000 - 0xeb0210ff (0x100) MX[b]
    [1] -1 0 0xeb020000 - 0xeb0203ff (0x400) MX[b]
    [2] -1 0 0xe0000000 - 0xdfffffff (0x0) MX[b]O
    [3] -1 0 0xe9000000 - 0xe9ffffff (0x1000000) MX[b](B)
    [4] -1 0 0xd0000000 - 0xdfffffff (0x10000000) MX[b](B)
    [5] -1 0 0xe8000000 - 0xe8ffffff (0x1000000) MX[b](B)
    [6] -1 0 0x0000e400 - 0x0000e4ff (0x100) IX[b]
    [7] -1 0 0x0000e000 - 0x0000e00f (0x10) IX[b]
    [8] -1 0 0x0000dc00 - 0x0000dc1f (0x20) IX[b]
    [9] -1 0 0x0000d800 - 0x0000d81f (0x20) IX[b]
    [10] -1 0 0x0000d400 - 0x0000d41f (0x20) IX[b]
    [11] -1 0 0x0000d000 - 0x0000d0ff (0x100) IX[b]
    (II) OS-reported resource ranges after removing overlaps with PCI:
    [0] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[b]E(B)
    [1] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[b]
    [2] -1 0 0x000c0000 - 0x000effff (0x30000) MX[b]
    [3] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[b]
    [4] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[b]
    [5] -1 0 0x00000000 - 0x000000ff (0x100) IX[b]
    (II) All system resource ranges:
    [0] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[b]E(B)
    [1] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[b]
    [2] -1 0 0x000c0000 - 0x000effff (0x30000) MX[b]
    [3] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[b]
    [4] -1 0 0xeb021000 - 0xeb0210ff (0x100) MX[b]
    [5] -1 0 0xeb020000 - 0xeb0203ff (0x400) MX[b]
    [6] -1 0 0xe0000000 - 0xdfffffff (0x0) MX[b]O
    [7] -1 0 0xe9000000 - 0xe9ffffff (0x1000000) MX[b](B)
    [8] -1 0 0xd0000000 - 0xdfffffff (0x10000000) MX[b](B)
    [9] -1 0 0xe8000000 - 0xe8ffffff (0x1000000) MX[b](B)
    [10] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[b]
    [11] -1 0 0x00000000 - 0x000000ff (0x100) IX[b]
    [12] -1 0 0x0000e400 - 0x0000e4ff (0x100) IX[b]
    [13] -1 0 0x0000e000 - 0x0000e00f (0x10) IX[b]
    [14] -1 0 0x0000dc00 - 0x0000dc1f (0x20) IX[b]
    [15] -1 0 0x0000d800 - 0x0000d81f (0x20) IX[b]
    [16] -1 0 0x0000d400 - 0x0000d41f (0x20) IX[b]
    [17] -1 0 0x0000d000 - 0x0000d0ff (0x100) IX[b]
    (II) LoadModule: "dbe"
    (II) Loading /usr/lib/xorg/modules/extensions//libdbe.so
    (II) Module dbe: vendor="X.Org Foundation"
    compiled for 7.2.0, module version = 1.0.0
    Module class: X.Org Server Extension
    ABI class: X.Org Server Extension, version 0.3
    (II) Loading extension DOUBLE-BUFFER
    (II) LoadModule: "extmod"
    (II) Loading /usr/lib/xorg/modules/extensions//libextmod.so
    (II) Module extmod: vendor="X.Org Foundation"
    compiled for 7.2.0, module version = 1.0.0
    Module class: X.Org Server Extension
    ABI class: X.Org Server Extension, version 0.3
    (II) Loading extension SHAPE
    (II) Loading extension MIT-SUNDRY-NONSTANDARD
    (II) Loading extension BIG-REQUESTS
    (II) Loading extension SYNC
    (II) Loading extension MIT-SCREEN-SAVER
    (II) Loading extension XC-MISC
    (II) Loading extension XFree86-VidModeExtension
    (II) Loading extension XFree86-Misc
    (II) Loading extension DPMS
    (II) Loading extension TOG-CUP
    (II) Loading extension Extended-Visual-Information
    (II) Loading extension XVideo
    (II) Loading extension XVideo-MotionCompensation
    (II) Loading extension X-Resource
    (II) LoadModule: "freetype"
    (II) Loading /usr/lib/xorg/modules/fonts//libfreetype.so
    (II) Module freetype: vendor="X.Org Foundation & the After X-TT Project"
    compiled for 7.2.0, module version = 2.1.0
    Module class: X.Org Font Renderer
    ABI class: X.Org Font Renderer, version 0.5
    (II) Loading font FreeType
    (II) LoadModule: "glx"
    (II) Loading /usr/lib/xorg/modules/extensions//libglx.so
    (II) Module glx: vendor="NVIDIA Corporation"
    compiled for 4.0.2, module version = 1.0.9755
    Module class: X.Org Server Extension
    ABI class: X.Org Server Extension, version 0.1
    (II) Loading extension GLX
    (II) LoadModule: "nvidia"
    (II) Loading /usr/lib/xorg/modules/drivers//nvidia_drv.so
    (II) Module nvidia: vendor="NVIDIA Corporation"
    compiled for 4.0.2, module version = 1.0.9755
    Module class: X.Org Video Driver
    (II) LoadModule: "mouse"
    (II) Loading /usr/lib/xorg/modules/input//mouse_drv.so
    (II) Module mouse: vendor="X.Org Foundation"
    compiled for 7.1.1, module version = 1.1.1
    Module class: X.Org XInput Driver
    ABI class: X.Org XInput driver, version 0.6
    (II) LoadModule: "kbd"
    (II) Loading /usr/lib/xorg/modules/input//kbd_drv.so
    (II) Module kbd: vendor="X.Org Foundation"
    compiled for 7.1.1, module version = 1.1.0
    Module class: X.Org XInput Driver
    ABI class: X.Org XInput driver, version 0.6
    (II) NVIDIA dlloader X Driver 1.0-9755 Mon Feb 26 23:23:13 PST 2007
    (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
    (II) Primary Device is: PCI 01:00:0
    (--) Assigning device section with no busID to primary device
    (--) Chipset NVIDIA GPU found
    (II) Loading sub module "fb"
    (II) LoadModule: "fb"
    (II) Loading /usr/lib/xorg/modules//libfb.so
    (II) Module fb: vendor="X.Org Foundation"
    compiled for 7.2.0, module version = 1.0.0
    ABI class: X.Org ANSI C Emulation, version 0.3
    (II) Loading sub module "wfb"
    (II) LoadModule: "wfb"
    (II) Loading /usr/lib/xorg/modules//libwfb.so
    (II) Module wfb: vendor="NVIDIA Corporation"
    compiled for 7.1.99.2, module version = 1.0.0
    (II) Loading sub module "ramdac"
    (II) LoadModule: "ramdac"
    (II) Loading /usr/lib/xorg/modules//libramdac.so
    (II) Module ramdac: vendor="X.Org Foundation"
    compiled for 7.2.0, module version = 0.1.0
    ABI class: X.Org Video Driver, version 1.1
    (II) resource ranges after xf86ClaimFixedResources() call:
    [0] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[b]E(B)
    [1] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[b]
    [2] -1 0 0x000c0000 - 0x000effff (0x30000) MX[b]
    [3] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[b]
    [4] -1 0 0xeb021000 - 0xeb0210ff (0x100) MX[b]
    [5] -1 0 0xeb020000 - 0xeb0203ff (0x400) MX[b]
    [6] -1 0 0xe0000000 - 0xdfffffff (0x0) MX[b]O
    [7] -1 0 0xe9000000 - 0xe9ffffff (0x1000000) MX[b](B)
    [8] -1 0 0xd0000000 - 0xdfffffff (0x10000000) MX[b](B)
    [9] -1 0 0xe8000000 - 0xe8ffffff (0x1000000) MX[b](B)
    [10] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[b]
    [11] -1 0 0x00000000 - 0x000000ff (0x100) IX[b]
    [12] -1 0 0x0000e400 - 0x0000e4ff (0x100) IX[b]
    [13] -1 0 0x0000e000 - 0x0000e00f (0x10) IX[b]
    [14] -1 0 0x0000dc00 - 0x0000dc1f (0x20) IX[b]
    [15] -1 0 0x0000d800 - 0x0000d81f (0x20) IX[b]
    [16] -1 0 0x0000d400 - 0x0000d41f (0x20) IX[b]
    [17] -1 0 0x0000d000 - 0x0000d0ff (0x100) IX[b]
    (II) resource ranges after probing:
    [0] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[b]E(B)
    [1] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[b]
    [2] -1 0 0x000c0000 - 0x000effff (0x30000) MX[b]
    [3] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[b]
    [4] -1 0 0xeb021000 - 0xeb0210ff (0x100) MX[b]
    [5] -1 0 0xeb020000 - 0xeb0203ff (0x400) MX[b]
    [6] -1 0 0xe0000000 - 0xdfffffff (0x0) MX[b]O
    [7] -1 0 0xe9000000 - 0xe9ffffff (0x1000000) MX[b](B)
    [8] -1 0 0xd0000000 - 0xdfffffff (0x10000000) MX[b](B)
    [9] -1 0 0xe8000000 - 0xe8ffffff (0x1000000) MX[b](B)
    [10] 0 0 0x000a0000 - 0x000affff (0x10000) MS[b]
    [11] 0 0 0x000b0000 - 0x000b7fff (0x8000) MS[b]
    [12] 0 0 0x000b8000 - 0x000bffff (0x8000) MS[b]
    [13] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[b]
    [14] -1 0 0x00000000 - 0x000000ff (0x100) IX[b]
    [15] -1 0 0x0000e400 - 0x0000e4ff (0x100) IX[b]
    [16] -1 0 0x0000e000 - 0x0000e00f (0x10) IX[b]
    [17] -1 0 0x0000dc00 - 0x0000dc1f (0x20) IX[b]
    [18] -1 0 0x0000d800 - 0x0000d81f (0x20) IX[b]
    [19] -1 0 0x0000d400 - 0x0000d41f (0x20) IX[b]
    [20] -1 0 0x0000d000 - 0x0000d0ff (0x100) IX[b]
    [21] 0 0 0x000003b0 - 0x000003bb (0xc) IS[b]
    [22] 0 0 0x000003c0 - 0x000003df (0x20) IS[b]
    (II) Setting vga for screen 0.
    (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
    (==) NVIDIA(0): RGB weight 888
    (==) NVIDIA(0): Default visual is TrueColor
    (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
    (**) NVIDIA(0): Enabling RENDER acceleration
    (II) NVIDIA(0): NVIDIA GPU GeForce 6200 at PCI:1:0:0 (GPU-0)
    (--) NVIDIA(0): Memory: 131072 kBytes
    (--) NVIDIA(0): VideoBIOS: 05.44.a2.03.00
    (II) NVIDIA(0): Detected AGP rate: 4X
    (--) NVIDIA(0): Interlaced video modes are supported on this GPU
    (--) NVIDIA(0): Connected display device(s) on GeForce 6200 at PCI:1:0:0:
    (--) NVIDIA(0): AOC Spectrum7F (CRT-0)
    (--) NVIDIA(0): AOC Spectrum7F (CRT-0): 400.0 MHz maximum pixel clock
    (II) NVIDIA(0): Assigned Display Device: CRT-0
    (II) NVIDIA(0): Validated modes:
    (II) NVIDIA(0): "1024x768"
    (II) NVIDIA(0): Virtual screen size determined to be 1024 x 768
    (--) NVIDIA(0): DPI set to (81, 81); computed from "UseEdidDpi" X config
    (--) NVIDIA(0): option
    (--) Depth 24 pixmap format is 32 bpp
    (II) do I need RAC? No, I don't.
    (II) resource ranges after preInit:
    [0] 0 0 0xe9000000 - 0xe9ffffff (0x1000000) MX[b]
    [1] 0 0 0xd0000000 - 0xdfffffff (0x10000000) MX[b]
    [2] 0 0 0xe8000000 - 0xe8ffffff (0x1000000) MX[b]
    [3] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[b]E(B)
    [4] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[b]
    [5] -1 0 0x000c0000 - 0x000effff (0x30000) MX[b]
    [6] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[b]
    [7] -1 0 0xeb021000 - 0xeb0210ff (0x100) MX[b]
    [8] -1 0 0xeb020000 - 0xeb0203ff (0x400) MX[b]
    [9] -1 0 0xe0000000 - 0xdfffffff (0x0) MX[b]O
    [10] -1 0 0xe9000000 - 0xe9ffffff (0x1000000) MX[b](B)
    [11] -1 0 0xd0000000 - 0xdfffffff (0x10000000) MX[b](B)
    [12] -1 0 0xe8000000 - 0xe8ffffff (0x1000000) MX[b](B)
    [13] 0 0 0x000a0000 - 0x000affff (0x10000) MS[b](OprD)
    [14] 0 0 0x000b0000 - 0x000b7fff (0x8000) MS[b](OprD)
    [15] 0 0 0x000b8000 - 0x000bffff (0x8000) MS[b](OprD)
    [16] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[b]
    [17] -1 0 0x00000000 - 0x000000ff (0x100) IX[b]
    [18] -1 0 0x0000e400 - 0x0000e4ff (0x100) IX[b]
    [19] -1 0 0x0000e000 - 0x0000e00f (0x10) IX[b]
    [20] -1 0 0x0000dc00 - 0x0000dc1f (0x20) IX[b]
    [21] -1 0 0x0000d800 - 0x0000d81f (0x20) IX[b]
    [22] -1 0 0x0000d400 - 0x0000d41f (0x20) IX[b]
    [23] -1 0 0x0000d000 - 0x0000d0ff (0x100) IX[b]
    [24] 0 0 0x000003b0 - 0x000003bb (0xc) IS[b](OprU)
    [25] 0 0 0x000003c0 - 0x000003df (0x20) IS[b](OprU)
    (II) NVIDIA(0): Setting mode "1024x768"
    (II) Loading extension NV-GLX
    (II) NVIDIA(0): NVIDIA 3D Acceleration Architecture Initialized
    (II) NVIDIA(0): Using the NVIDIA 2D acceleration architecture
    (==) NVIDIA(0): Backing store disabled
    (==) NVIDIA(0): Silken mouse enabled
    (II) Loading extension NV-CONTROL
    (==) RandR enabled
    (II) Initializing built-in extension MIT-SHM
    (II) Initializing built-in extension XInputExtension
    (II) Initializing built-in extension XTEST
    (II) Initializing built-in extension XKEYBOARD
    (II) Initializing built-in extension XC-APPGROUP
    (II) Initializing built-in extension XAccessControlExtension
    (II) Initializing built-in extension SECURITY
    (II) Initializing built-in extension XINERAMA
    (II) Initializing built-in extension XFIXES
    (II) Initializing built-in extension XFree86-Bigfont
    (II) Initializing built-in extension RENDER
    (II) Initializing built-in extension RANDR
    (II) Initializing built-in extension COMPOSITE
    (II) Initializing built-in extension DAMAGE
    (II) Initializing built-in extension XEVIE
    (II) Initializing extension GLX
    (**) Option "Protocol" "Auto"
    (**) Mouse1: Device: "/dev/input/mice"
    (**) Mouse1: Protocol: "Auto"
    (**) Option "CorePointer"
    (**) Mouse1: Core Pointer
    (**) Option "Device" "/dev/input/mice"
    (==) Mouse1: Emulate3Buttons, Emulate3Timeout: 50
    (**) Option "ZAxisMapping" "4 5 6 7"
    (**) Mouse1: ZAxisMapping: buttons 4, 5, 6 and 7
    (**) Mouse1: Buttons: 11
    (**) Option "CoreKeyboard"
    (**) Keyboard1: Core Keyboard
    (**) Option "Protocol" "standard"
    (**) Keyboard1: Protocol: standard
    (**) Option "AutoRepeat" "500 30"
    (**) Option "XkbRules" "xorg"
    (**) Keyboard1: XkbRules: "xorg"
    (**) Option "XkbModel" "pc104"
    (**) Keyboard1: XkbModel: "pc104"
    (**) Option "XkbLayout" "us"
    (**) Keyboard1: XkbLayout: "us"
    (**) Option "CustomKeycodes" "off"
    (**) Keyboard1: CustomKeycodes disabled
    (II) XINPUT: Adding extended input device "Keyboard1" (type: KEYBOARD)
    (II) XINPUT: Adding extended input device "Mouse1" (type: MOUSE)
    (--) Mouse1: PnP-detected protocol: "ExplorerPS/2"
    (II) Mouse1: ps2EnableDataReporting: succeeded
    FreeFontPath: FPE "/usr/share/fonts/misc" refcount is 2, should be 1; fixing.

    No ... the problem is in the kernel that comes precompiled.
    I did this test.
    The first time I installed the kernel I unloaded nvidiafb since I dont like it.
    When I install nvidiafb back something strange happends. Nvidia module fails to load.
    The modprobe sais it cannot find the device nvidia.ko ... but it is there!
    So my best guess is, there is something with the kernel. Any ideas?
    Problem resolved, installed older driver
    Last edited by Nefer-Ra (2007-03-22 02:59:25)

  • Problem with Speaker and Headset in Windows Vista

    Hi, I just got my Macbook Pro 13" and having problem with speaker and headset when working with Windows Vista (I have installed the driver from bootcamp). The sound very weak if I play music from Itunes or youtube even the volume already full and if i put my headset the sound not coming out. Is there anyone can help me to solve this problem?
    Regards,Edwin

    When you post about Windows / Boot Camp, in Mac Pro (workstation) forum where others with a MacBOOK would be more likely to have same hardware configuration, and you won't find Windows drivers on Apple downloads. More like at
    http://www.guru3d.com or other sites, or go to RealTek (if that is the type of audio you have).

  • Problem with trigger and entity in JHeadsart, JBO-25019

    Hi to all,
    I am using JDeveloper 10.1.2 and developing an application using ADF Business Components and JheadStart 10.1.2.27
    I have a problem with trigger and entity in JHeadsart
    I have 3 entity and 3 views
    DsitTelephoneView based on DsitTelephone entity based on DSIT_TELEPHONE database table.
    TelUoView based on TelUo entity based on TEL_UO database table.
    NewAnnuaireView based on NewAnnuaire entity based on NEW_ANNUAIRE database view.
    I am using JHS to create :
    A JHS table-form based on DsitTelephoneView
    A JHS table based on TelUoView
    A JHS table based on NewAnnuaireView
    LIB_POSTE is a :
    DSIT_TELEPHONE column
    TEL_UO column
    NEW_ANNUAIRE column
    NEW_ANNUAIRE database view is built from DSIT_TELEPHONE database table.
    Lib_poste is an updatable attribut in TelUo entity, DsitTelephone entity, NewAnnuaire entity.
    Lib_poste is upadated in JHS table based on TelUoView
    I added a trigger on my database shema « IAN » to upadate LIB_POSTE in DSIT_TELEPHONE database table :
    CREATE OR REPLACES TRIGGER “IAN”.TEL_UO_UPDATE_LIB_POSTE
    AFTER INSERT OR UPDATE OFF lib_poste ONE IAN.TEL_UO
    FOR EACH ROW
    BEGIN
    UPDATE DSIT_TELEPHONE T
    SET t.lib_poste = :new.lib_poste
    WHERE t.id_tel = :new.id_tel;
    END;
    When I change the lib_poste with the application :
    - the lib_poste in DSIT_TELEPHONE database table is correctly updated by trigger.
    - but in JHS table-form based on DsitTelephoneView the lib_poste is not updated. If I do a quicksearch it is updated.
    - in JHS table based on NewAnnuaireView the lib_poste is not updated. if I do a quicksearch, I have an error:
    oracle.jbo.RowAlreadyDeletedException: JBO-25019: The row of entity of the key oracle.jbo. Key [null 25588] is not found in NewAnnuaire.
    25588 is the primary key off row in NEW_ANNUAIRE whose lib_poste was updated by the trigger.
    It is as if it had lost the bond with the row in the entity.
    Could you help me please ?
    Regards
    Laurent

    The following example should help.
    SQL> create sequence workorders_seq
      2  start with 1
      3  increment by 1
      4  nocycle
      5  nocache;
    Sequence created.
    SQL> create table workorders(workorder_id number,
      2  description varchar2(30),
      3   created_date date default sysdate);
    Table created.
    SQL> CREATE OR REPLACE TRIGGER TIMESTAMP_CREATED
      2  BEFORE INSERT ON workorders
      3  FOR EACH ROW
      4  BEGIN
      5  SELECT workorders_seq.nextval
      6    INTO :new.workorder_id
      7    FROM dual;
      8  END;
      9  /
    Trigger created.
    SQL> ALTER SESSION SET NLS_DATE_FORMAT = 'DD-MON-YYYY HH24:MI:SS';
    Session altered.
    SQL> insert into workorders(description) values('test1');
    1 row created.
    SQL> insert into workorders(description) values('test2');
    1 row created.
    SQL> select * from workorders;
    WORKORDER_ID DESCRIPTION                    CREATED_DATE
               1 test1                          30-NOV-2004 15:30:34
               2 test2                          30-NOV-2004 15:30:42
    2 rows selected.

Maybe you are looking for

  • Pages 5 features checklist

    As you go through the new Pages 5 can you please add an added, missing or altered features here please. I will start with some culled from the general discussions and if you could correct any errors add them: Added 1. Right to Left text ie Arabic, Fa

  • Monitoring the status of a socket...

    I'm using ServerSocket and Socket in a simple client/server model. The situation is unique in that there is only ever one client - ever. That is, the server starts up and listens for the client to connect, once connected the client and server communi

  • BadI problem in MIGO

    Dear Experts, I need to do some validation in MIGO tcode based on item Purchase Order and item. I have already identified badi MB_MIGO_BADI and methods CHECK_ITEM also. but problem is in CHECK_ITEM method having Item Number only as Input parameter. I

  • Data not pipulating into table

    Hi sdns, i have dreated 2 classes:-  1)main                                         2)sub <h5>code of main:-</h5> public class main {      Collection plist = new ArrayList();      Connection conn = null;      Statement st;      public void get_detail

  • I recently gifted a song to my sister, and just found out she didnt get it because she changed her email. how do i resend the gift?

    irecently gifter a song to my sister and just found out she didnt get it because she changed her email provider. how do i resend the gift?