Failed to load JDBC driver

I am trying to run a program and keep getting the error Failed to load JDBC driver. java.lang.ClassNotFoundException
How can I correct this?

I was just trying to execute this example from Deitel's Java book.
import java.awt.*;
import java.sql.*;
import java.util.*;
import javax.swing.*;
public class DisplayAuthors extends JFrame {
   // JDBC driver name and database URL
   static final String JDBC_DRIVER = "com.ibm.db2j.jdbc.DB2jDriver";
   static final String DATABASE_URL = "jdbc:db2j:books";
   // declare Connection and Statement for accessing
   // and querying database
   private Connection connection;
   private Statement statement;
   // constructor connects to database, queries database, processes
   // results and displays results in window
   public DisplayAuthors()
      super( "Authors Table of Books Database" );
      // connect to database books and query database
      try {
         // specify location of database on filesystem
         System.setProperty( "db2j.system.home", "C:/Cloudscape_5.0" );
         // load database driver class
         Class.forName( JDBC_DRIVER );
         // establish connection to database
         connection = DriverManager.getConnection( DATABASE_URL );
         // create Statement for querying database
         statement = connection.createStatement();
         // query database
         ResultSet resultSet =
            statement.executeQuery( "SELECT * FROM authors" );
         // process query results
         StringBuffer results = new StringBuffer();
         ResultSetMetaData metaData = resultSet.getMetaData();
         int numberOfColumns = metaData.getColumnCount();
         for ( int i = 1; i <= numberOfColumns; i++ )
            results.append( metaData.getColumnName( i ) + "\t" );
         results.append( "\n" );
         while ( resultSet.next() ) {
            for ( int i = 1; i <= numberOfColumns; i++ )
               results.append( resultSet.getObject( i ) + "\t" );
            results.append( "\n" );
         // set up GUI and display window
         JTextArea textArea = new JTextArea( results.toString() );
         Container container = getContentPane();
         container.add( new JScrollPane( textArea ) );
         setSize( 300, 100 );  // set window size
         setVisible( true );   // display window
      }  // end try
      // detect problems interacting with the database
      catch ( SQLException sqlException ) {
         JOptionPane.showMessageDialog( null, sqlException.getMessage(),
            "Database Error", JOptionPane.ERROR_MESSAGE );
         System.exit( 1 );
      // detect problems loading database driver
      catch ( ClassNotFoundException classNotFound ) {
         JOptionPane.showMessageDialog( null, classNotFound.getMessage(),
            "Driver Not Found", JOptionPane.ERROR_MESSAGE );           
         System.exit( 1 );
      // ensure statement and connection are closed properly
      finally {
         try {
            statement.close();
            connection.close();           
         // handle exceptions closing statement and connection
         catch ( SQLException sqlException ) {
            JOptionPane.showMessageDialog( null,
               sqlException.getMessage(), "Database Error",
               JOptionPane.ERROR_MESSAGE );
            System.exit( 1 );
   }  // end DisplayAuthors constructor
   // launch the application
   public static void main( String args[] )
      DisplayAuthors window = new DisplayAuthors();     
      window.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
}  // end class DisplayAuthors

Similar Messages

  • Sun IDM Repositor Configuration Error: Failed to load JDBC Driver

    Hi Gurus,
    I am new to Java IDM and predictably failed in my first attempt to install Java IDM in a Windows machine with SQL Server 2000 SP3.
    I followed the Installation document step by step and I think I din' t miss any!!.. But still I got caught by an error, here it is:
    I successfully installed IDM but failed while configuring Repository. I have downloaded the JDBC driver from Microsoft for SQL Server 2000, SP3. Then after that I copied the Jar from JDBC driver folder to
    %WSHOME%/bin/lib folder. After this I launched the Repository configuration setup.
    I got the following error while trying to connect the waveset database with Repository type as SQL Server (JDBC Driver)
    com.waveset.util.ConfigurationError: Failed to load JDBC Driver 'com.microsoft.sqlserver.jdbc.SQLServerDriver':
    ==> java.lang.ClassNotFoundException: com.microsoft.sqlserver.jdbc.SQLServerDriver
    The Parameters that I have given for connection are:
    URL: jdbc:sqlserver://127.0.0.1:1433;DatabaseName=waveset
    JDBC Driver: com.microsoft.sqlserver.jdbc.SQLServerDriver
    Connect as User: waveset
    Connect Password: waveset
    I have created the database and granted all access to user waveset.
    Please help me come out of this. I tried dropping and recreating the database with a different name. Still it did not work, looks like it is a JDBC driver specific issue. Please guide me if I did anything wrong.
    Appreciate any help
    Thanks

    Open your driver jar using winzip or something and check if the class: com.microsoft.sqlserver.jdbc.SQLServerDriver is present in the jar. I think you need to use a different class name. or your jar file is wrong. I think there are separate jars for SQL server 2000 and for SQL Server 2005.

  • Can't load jdbc driver in servlet

    Dear All,
    I have tried to connect to MS SQL SERVER 2000 through JDBC DRIVER FOR
    SQLSERVER. However I receieved an error: can't load jdbc driver class:
    null.
    The following steps were what I did:
    1.Set up SQL Server and create a few tables and users.
    2.Config Server.xml
    Add the following codes in /tomcat/conf/Server.xml
    <Context path="/persistence" docBase="persistence" debug="0"
    reloadable="true">
              <Resource name="jdbc/persistenceDB" auth="Container"
    type="javax.sql.DataSource"/>
              <ResourceParams name="jdbc/PersistenceDB">
                   <Parameter>
                        <name>user</name>
                        <value>kitty</value>
                   </Parameter>
                   <Parameter>
                        <name>password</name>
                        <value>abc</value>
                   </Parameter>
                   <Parameter>
                        <name>driverClassName</name>
                        <value>com.microsoft.jdbc.sqlserver.SQLServerDriver</value>
                   </Parameter>
                   <Parameter>
                        <name>url</name>
    <value>jdbc:microsoft:sqlserver://localhost:1433;databaseName=persistence;selectMethod=cursor;</value>
                   </Parameter>
              </ResourceParams>               
    </Context>
    3.Config my web application's web.xml
    Added the following piece of code in WEB.XML
    <resource-ref>
    <res-ref-name>jdbc/persistenceDB</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    4.Use Datasource in my code
    package persistence.database;
    import java.sql.*;
    import javax.naming.InitialContext;
    import javax.sql.DataSource;
    import javax.servlet.ServletContext;
    import persistence.*;
    import com.microsoft.jdbcx.sqlserver.*;
    import javax.naming.Context;
    public class DatabaseAuthenticator implements Authenticator {
    private DataSource ds;
    public void init(ServletContext sctx) throws Exception {
    InitialContext init = new InitialContext();
    try{
         Context ctx = (Context) init.lookup("java:/comp/env");
    ds = (DataSource) ctx.lookup("jdbc/persistenceDB");
    } catch (Exception e) { e.printStackTrace();
    public User authenticate(String username, String password)
    throws AuthenticationException, UnknownException {
    Connection conn = null;
    PreparedStatement pstmt = null;
    ResultSet rs;
    try {
    if (ds != null) {System.out.println("Success to get
    datasource");
            } else {System.out.println("Failed");}
    System.out.println(ds.toString());
    try
    conn = ds.getConnection();     
    catch (Exception e)
    e.printStackTrace();
    pstmt = conn.prepareStatement("SELECT user_id " + .........
    5. put msutil.jar, mssqlserver.jar and msbase.jar under /tomcat/common/lib/.
    When I tried to run the program, I receieved an error: can't load jdbc
    driver class: null.
    I've got no idea what's going on.
    Any Suggestion?
    Thanks in advance
    Kitty

    Hi Kitty,
    The connection you're trying to set up points to nothing :
    Connection conn = null;
    So, you receive a complaint that that driver cannot be loaded. Please read
    http://java.sun.com/docs/books/tutorial/jdbc/basics/connecting.html
    download the right database driver and use that. Good luck!
    Wouter van Reeven
    public User authenticate(String username, String
    g password)
    throws AuthenticationException, UnknownException
    ption {
    Connection conn = null;
    PreparedStatement pstmt = null;
    ResultSet rs;

  • VDS didn't start: Could not load JDBC driver

    Hello,
    I want to start the VDS Tutorial, but I get an error:
    Exception: Data source 'Derby database' failed. Check your CLASSPATH! (in Tools
    -> Options) Could not load JDBC driver 'org.apache.derby.jdbc.EmbeddedDriver'
    Shutting down...
    Data source 'Derby database' failed. Check your CLASSPATH! (in Tools -> Options)
    Could not load JDBC driver 'org.apache.derby.jdbc.EmbeddedDriver'
    But I add the derby.jar file in the VDS under Tools - Options - Classpath
    Have you any ideas...?!

    I try to start the server without the tutorial and that works...

  • Initialization error: Loading jdbc driver

    Hi ,
    In a file-XI-JDBC scenario, i am getting this error. "Initialization error: Loading jdbc driver 'com.microsoft.jdbc.sqlserver.SQLServerDriver' failed: java.lang.ClassNotFoundException: com.microsoft.jdbc.sqlserver".
    but i have installed/deployed third party SQL driver on J2ee server thru SDM.
    Can any one sort out this problem.
    Rgds
    Sridhar

    Hi,
    try looking into the log viewer in Vsual Administrator. Usually you can find more information about the problem there.
    Also try redeploying the driver again.
    cheers,
    naveen

  • Urgent... unable to load JDBC driver

    i have developed a servlet which will establish connection to mySQL.. but it couldn't load the JDBC driver even i placed
    [ mysql-connector-java-2.0.14-bin.zip ] in [ C:\j2sdk1.4.2_05\jre\lib\ext\ ]
    in fact.. it work fine b4 i format my notebook.. anyone can help me??
    pls note that i using APACHE TOMCAT and mySQL 3.23
    pls help.. very urgent one
    the following is my servlet code.....
    import java.io.*;
    import java.text.*;
    import java.util.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.sql.*;
    public class LoginServlet extends HttpServlet {
    static final String dbURL = "jdbc:mysql://localhost" ;
    public void doPost(HttpServletRequest request, HttpServletResponse response)
    throws IOException, ServletException {
    Connection conn = null;
    String nextJSP = null;
    try {
    Class.forName("org.gjt.mm.mysql.Driver");
    catch (ClassNotFoundException e) {
    throw new ServletException("Unable to load JDBC driver");
    }

    i already add new variable in environment variables
    variable name = CLASSPATH
    variable value = C:\j2sdk1.4.2_05\jre\lib\ext\mysql-connector-java-2.0.14-bin.jar;
    but the same output is come up.. still unable to load my JDBC driver in TOMCAT... y?

  • Error loading JDBC driver

    Hi,
    I have an rpt file developed in crystal report 2008. it connects to SQL Server using ODBC(RDO) connection. I have a jsp file that needs to change the datasource to use JDBC (JNDI). The scriptlet for changing datasource is given below. I have my sqljdbc.jar in the web-inf\lib folder of my application as well as in \server\{server_name}\lib folder. when I try to run the jsp it gives me error as follows :
    ERROR [com.businessobjects.reports.sdk.JRCCommunicationAdapter]  detected an exception: Error loading JDBC driver.  The class 'com.microsoft.jdbc.sqlserver.SQLServerDriver' could not be found.
         at com.crystaldecisions.reports.queryengine.Connection.t1(Unknown Source)
         at com.crystaldecisions.reports.dataengine.dfadapter.DFAdapter.a(Unknown Source)
         at com.crystaldecisions.reports.dataengine.dfadapter.DFAdapter.for(Unknown Source)
         at com.crystaldecisions.reports.reportdefinition.ReportHelper.a(Unknown Source)
         at com.businessobjects.reports.sdk.requesthandler.ReportViewingRequestHandler.long(Unknown Source)
         at com.businessobjects.reports.sdk.requesthandler.ReportViewingRequestHandler.a(Unknown Source)
         at com.businessobjects.reports.sdk.requesthandler.ReportViewingRequestHandler.byte(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.do(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.a(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.call(Unknown Source)
         at com.crystaldecisions.reports.common.ThreadGuard.syncExecute(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.for(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.int(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
         at com.businessobjects.sdk.erom.jrc.a.a(Unknown Source)
         at com.businessobjects.sdk.erom.jrc.a.execute(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.RemoteAgent$a.execute(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.CommunicationChannel.a(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ds.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
         at ....
    <br>
    <br>
    Scriptlet :
    <%
    //Report can be opened from the relative location specified in the CRConfig.xml, or the report location
    //tag can be removed to open the reports as Java resources or using an absolute path (absolute path not recommended
    //for Web applications).
    final String DBUSERNAME = "sa";
    final String DBPASSWORD = "password";
    final String CONNECTION_STRING = "!com.microsoft.jdbc.sqlserver.SQLServerDriver!jdbc:microsoft:sqlserver://localhost:1433;DatabaseName=;user=;password=";
    final String TRUSTEDCON = "false";
    final String PREQESERVERNAME = "jdbc:microsoft:sqlserver://localhost:1433";
    final String SERVERTYPE = "JDBC (JNDI)";
    final String DATABASE_DLL = "crdb_jdbc.dll";
    final String DATABASE = "bssc";
    final String DBCLASSNAME = "com.microsoft.jdbc.sqlserver.SQLServerDriver";
    final String USEJDBC = "true";
    final String DATABASE_NAME = "bssc";
    final String SERVERNAME = "jdbc:microsoft:sqlserver://localhost:1433";
    final String CONNECTIONURL = "jdbc:microsoft:sqlserver://localhost:1433";
    final String SERVER = "localhost";
    %>
    <%          
              final Logger logger = Logger.getLogger(ReportAction.class.getName());
              final String REPORT_NAME = "../reports/Krt.rpt";
    try {
              ReportClientDocument oReportClientDocument = new ReportClientDocument();
              oReportClientDocument.open(REPORT_NAME, 0);
         // Create the two connectioninfo objects to use
         IConnectionInfo oldConnectionInfo =  new ConnectionInfo();
         IConnectionInfo newConnectionInfo = new ConnectionInfo();
         // Assign the old Connection info to the reports current info
         DatabaseController dbController = oReportClientDocument.getDatabaseController();
         oldConnectionInfo = dbController.getConnectionInfos(null).getConnectionInfo(0);                                       
         // If this connection needed parameters, we would use this field.      
         Fields pFields = null;
         // Create a new propertybag for the new location
         PropertyBag boPropertyBag1 = new PropertyBag();
         // Set new table logon properties
         boPropertyBag1.put("JDBC Connection String", CONNECTION_STRING);
         boPropertyBag1.put("Trusted_Connection", TRUSTEDCON);
         boPropertyBag1.put("PreQEServerName", PREQESERVERNAME);
         boPropertyBag1.put("Server Type", SERVERTYPE);
         boPropertyBag1.put("Database DLL", DATABASE_DLL);
         boPropertyBag1.put("Database", DATABASE);
         boPropertyBag1.put("Database Class Name", DBCLASSNAME);
         boPropertyBag1.put("Use JDBC", USEJDBC);
         boPropertyBag1.put("Database Name", DATABASE_NAME);
         boPropertyBag1.put("Server Name", SERVERNAME);
         boPropertyBag1.put("Connection URL", CONNECTIONURL);
         boPropertyBag1.put("Server", SERVER);
         // Assign the properties to the connection info
         newConnectionInfo.setAttributes(boPropertyBag1);
         // Set the DB Username and Pwd
         newConnectionInfo.setUserName(DBUSERNAME);
         newConnectionInfo.setPassword(DBPASSWORD);
         // The Kind of connectionInfos is SQL
         newConnectionInfo.setKind(ConnectionInfoKind.SQL);
         // set the parameters to replace.
         // The 4 options are:
         // _doNotVerifyDB
         // _ignoreCurrentTableQualifiers
         // _mapFieldByRowsetPosition
         // _useDefault 
         int replaceParams = DBOptions._ignoreCurrentTableQualifiers + DBOptions._doNotVerifyDB;
         // Now replace the connections      
         dbController.replaceConnection(oldConnectionInfo, newConnectionInfo, pFields, replaceParams);
    %>
    <%
    //Report can be opened from the relative location specified in the CRConfig.xml, or the report location
    //tag can be removed to open the reports as Java resources or using an absolute path (absolute path not recommended
    //for Web applications).
    final String DBUSERNAME = "sa";
    final String DBPASSWORD = "password";
    final String CONNECTION_STRING = "!com.microsoft.jdbc.sqlserver.SQLServerDriver!jdbc:microsoft:sqlserver://localhost:1433;DatabaseName=;user=;password=";
    final String TRUSTEDCON = "false";
    final String PREQESERVERNAME = "jdbc:microsoft:sqlserver://localhost:1433";
    final String SERVERTYPE = "JDBC (JNDI)";
    final String DATABASE_DLL = "crdb_jdbc.dll";
    final String DATABASE = "bssc";
    final String DBCLASSNAME = "com.microsoft.jdbc.sqlserver.SQLServerDriver";
    final String USEJDBC = "true";
    final String DATABASE_NAME = "bssc";
    final String SERVERNAME = "jdbc:microsoft:sqlserver://localhost:1433";
    final String CONNECTIONURL = "jdbc:microsoft:sqlserver://localhost:1433";
    final String SERVER = "localhost";
    %>
    <%          
              final Logger logger = Logger.getLogger(ReportAction.class.getName());
              final String REPORT_NAME = "../reports/Krt.rpt";
    try {
              ReportClientDocument oReportClientDocument = new ReportClientDocument();
              oReportClientDocument.open(REPORT_NAME, 0);
         // Create the two connectioninfo objects to use
         IConnectionInfo oldConnectionInfo =  new ConnectionInfo();
         IConnectionInfo newConnectionInfo = new ConnectionInfo();
         // Assign the old Connection info to the reports current info
         DatabaseController dbController = oReportClientDocument.getDatabaseController();
         oldConnectionInfo = dbController.getConnectionInfos(null).getConnectionInfo(0);                                       
         // If this connection needed parameters, we would use this field.      
         Fields pFields = null;
         // Create a new propertybag for the new location
         PropertyBag boPropertyBag1 = new PropertyBag();
         // Set new table logon properties
         boPropertyBag1.put("JDBC Connection String", CONNECTION_STRING);
         boPropertyBag1.put("Trusted_Connection", TRUSTEDCON);
         boPropertyBag1.put("PreQEServerName", PREQESERVERNAME);
         boPropertyBag1.put("Server Type", SERVERTYPE);
         boPropertyBag1.put("Database DLL", DATABASE_DLL);
         boPropertyBag1.put("Database", DATABASE);
         boPropertyBag1.put("Database Class Name", DBCLASSNAME);
         boPropertyBag1.put("Use JDBC", USEJDBC);
         boPropertyBag1.put("Database Name", DATABASE_NAME);
         boPropertyBag1.put("Server Name", SERVERNAME);
         boPropertyBag1.put("Connection URL", CONNECTIONURL);
         boPropertyBag1.put("Server", SERVER);
         // Assign the properties to the connection info
         newConnectionInfo.setAttributes(boPropertyBag1);
         // Set the DB Username and Pwd
         newConnectionInfo.setUserName(DBUSERNAME);
         newConnectionInfo.setPassword(DBPASSWORD);
         // The Kind of connectionInfos is SQL
         newConnectionInfo.setKind(ConnectionInfoKind.SQL);
         // set the parameters to replace.
         // The 4 options are:
         // _doNotVerifyDB
         // _ignoreCurrentTableQualifiers
         // _mapFieldByRowsetPosition
         // _useDefault 
         int replaceParams = DBOptions._ignoreCurrentTableQualifiers + DBOptions._doNotVerifyDB;
         // Now replace the connections      
         dbController.replaceConnection(oldConnectionInfo, newConnectionInfo, pFields, replaceParams);
    %>
    I am not sure why it is not able to get the Driver since the required jar is there in lib folder? Am I missing something ?
    Edited by: sb-onward on Jul 30, 2009 6:01 PM

    Hi,
    Make sure you have set the Classpath in CRConfig.xml for the jdbc jar.
    Place the CrConfig.xml  in the classes directory of your application.
    Please let me know the results.
    Regards,
    Neeraj

  • [SOLVED] XOrg fails to load Nvidia driver on startup

    Hi,
    I'm having a fairly strange issue where XOrg is failing to load my driver when I start up my laptop. I'm using kdm, but this is causing it to fail. However, doing a simple
    $sudo systemctl restart kdm
    works, and everything starts up fine. When kdm is in the failed state, I see this:
    $sudo systemctl status kdm
    ● kdm.service - K Display Manager
    Loaded: loaded (/usr/lib/systemd/system/kdm.service; enabled; vendor preset: disabled)
    Active: active (running) since Fri 2014-12-19 18:47:26 EST; 41s ago
    Main PID: 247 (kdm)
    CGroup: /system.slice/kdm.service
    └─247 /usr/bin/kdm -nodaemon
    Dec 19 18:47:26 laptop systemd[1]: Started K Display Manager.
    Dec 19 18:47:27 laptop kdm[247]: X server died during startup
    Dec 19 18:47:27 laptop kdm[247]: X server for display :0 cannot be started, session disabled
    And in my XOrg log, I see:
    [ 3.639]
    This is a pre-release version of the X server from The X.Org Foundation.
    It is not supported in any way.
    Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
    Select the "xorg" product for bugs you find in this release.
    Before reporting bugs in pre-release versions please check the
    latest version in the X.Org Foundation git repository.
    See http://wiki.x.org/wiki/GitPage for git access instructions.
    [ 3.639]
    X.Org X Server 1.16.2.901 (1.16.3 RC 1)
    Release Date: 2014-12-09
    [ 3.639] X Protocol Version 11, Revision 0
    [ 3.639] Build Operating System: Linux 3.17.2-1-ARCH x86_64
    [ 3.639] Current Operating System: Linux laptop 3.17.6-1-ARCH #1 SMP PREEMPT Sun Dec 7 23:43:32 UTC 2014 x86_64
    [ 3.639] Kernel command line: BOOT_IMAGE=../vmlinuz-linux root=/dev/sda1 rw initrd=../initramfs-linux.img
    [ 3.639] Build Date: 10 December 2014 02:34:24PM
    [ 3.639]
    [ 3.639] Current version of pixman: 0.32.6
    [ 3.639] Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
    [ 3.639] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    [ 3.639] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Dec 19 18:47:26 2014
    [ 3.645] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
    [ 3.649] (==) No Layout section. Using the first Screen section.
    [ 3.649] (==) No screen section available. Using defaults.
    [ 3.649] (**) |-->Screen "Default Screen Section" (0)
    [ 3.649] (**) | |-->Monitor "<default monitor>"
    [ 3.650] (==) No monitor specified for screen "Default Screen Section".
    Using a default monitor configuration.
    [ 3.650] (==) Automatically adding devices
    [ 3.650] (==) Automatically enabling devices
    [ 3.650] (==) Automatically adding GPU devices
    [ 3.658] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
    [ 3.658] Entry deleted from font path.
    [ 3.659] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
    [ 3.659] Entry deleted from font path.
    [ 3.659] (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
    [ 3.660] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
    [ 3.660] Entry deleted from font path.
    [ 3.660] (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
    [ 3.660] (==) FontPath set to:
    /usr/share/fonts/misc/,
    /usr/share/fonts/TTF/,
    /usr/share/fonts/Type1/
    [ 3.660] (==) ModulePath set to "/usr/lib/xorg/modules"
    [ 3.660] (II) The server relies on udev to provide the list of input devices.
    If no devices become available, reconfigure udev or disable AutoAddDevices.
    [ 3.660] (II) Loader magic: 0x818d80
    [ 3.660] (II) Module ABI versions:
    [ 3.660] X.Org ANSI C Emulation: 0.4
    [ 3.660] X.Org Video Driver: 18.0
    [ 3.660] X.Org XInput driver : 21.0
    [ 3.660] X.Org Server Extension : 8.0
    [ 3.662] (EE) systemd-logind: failed to get session: PID 267 does not belong to any known session
    [ 3.663] (--) PCI:*(0:1:0:0) 10de:11a1:1558:0371 rev 161, Mem @ 0xf6000000/16777216, 0xe0000000/268435456, 0xf0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/524288
    [ 3.663] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
    [ 3.664] (II) LoadModule: "glx"
    [ 3.675] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
    [ 3.767] (II) Module glx: vendor="NVIDIA Corporation"
    [ 3.767] compiled for 4.0.2, module version = 1.0.0
    [ 3.767] Module class: X.Org Server Extension
    [ 3.768] (II) NVIDIA GLX Module 343.36 Mon Dec 1 15:50:02 PST 2014
    [ 3.769] (==) Matched nouveau as autoconfigured driver 0
    [ 3.769] (==) Matched nv as autoconfigured driver 1
    [ 3.769] (==) Matched modesetting as autoconfigured driver 2
    [ 3.769] (==) Matched fbdev as autoconfigured driver 3
    [ 3.769] (==) Matched vesa as autoconfigured driver 4
    [ 3.769] (==) Assigned the driver to the xf86ConfigLayout
    [ 3.769] (II) LoadModule: "nouveau"
    [ 3.769] (WW) Warning, couldn't open module nouveau
    [ 3.769] (II) UnloadModule: "nouveau"
    [ 3.769] (II) Unloading nouveau
    [ 3.769] (EE) Failed to load module "nouveau" (module does not exist, 0)
    [ 3.769] (II) LoadModule: "nv"
    [ 3.769] (WW) Warning, couldn't open module nv
    [ 3.769] (II) UnloadModule: "nv"
    [ 3.769] (II) Unloading nv
    [ 3.769] (EE) Failed to load module "nv" (module does not exist, 0)
    [ 3.769] (II) LoadModule: "modesetting"
    [ 3.769] (WW) Warning, couldn't open module modesetting
    [ 3.769] (II) UnloadModule: "modesetting"
    [ 3.769] (II) Unloading modesetting
    [ 3.769] (EE) Failed to load module "modesetting" (module does not exist, 0)
    [ 3.769] (II) LoadModule: "fbdev"
    [ 3.769] (WW) Warning, couldn't open module fbdev
    [ 3.769] (II) UnloadModule: "fbdev"
    [ 3.769] (II) Unloading fbdev
    [ 3.769] (EE) Failed to load module "fbdev" (module does not exist, 0)
    [ 3.769] (II) LoadModule: "vesa"
    [ 3.770] (WW) Warning, couldn't open module vesa
    [ 3.770] (II) UnloadModule: "vesa"
    [ 3.770] (II) Unloading vesa
    [ 3.770] (EE) Failed to load module "vesa" (module does not exist, 0)
    [ 3.770] (EE) No drivers available.
    [ 3.770] (EE)
    Fatal server error:
    [ 3.770] (EE) no screens found(EE)
    [ 3.770] (EE)
    Please consult the The X.Org Foundation support
    at http://wiki.x.org
    for help.
    [ 3.770] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
    [ 3.770] (EE)
    Which looks like it loads my nvidia driver, but then just decides not to use it for some reason... After I restart kdm, it seems to use the driver fine:
    [ 78.897]
    This is a pre-release version of the X server from The X.Org Foundation.
    It is not supported in any way.
    Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
    Select the "xorg" product for bugs you find in this release.
    Before reporting bugs in pre-release versions please check the
    latest version in the X.Org Foundation git repository.
    See http://wiki.x.org/wiki/GitPage for git access instructions.
    [ 78.897]
    X.Org X Server 1.16.2.901 (1.16.3 RC 1)
    Release Date: 2014-12-09
    [ 78.897] X Protocol Version 11, Revision 0
    [ 78.897] Build Operating System: Linux 3.17.2-1-ARCH x86_64
    [ 78.897] Current Operating System: Linux laptop 3.17.6-1-ARCH #1 SMP PREEMPT Sun Dec 7 23:43:32 UTC 2014 x86_64
    [ 78.897] Kernel command line: BOOT_IMAGE=../vmlinuz-linux root=/dev/sda1 rw initrd=../initramfs-linux.img
    [ 78.897] Build Date: 10 December 2014 02:34:24PM
    [ 78.897]
    [ 78.897] Current version of pixman: 0.32.6
    [ 78.897] Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
    [ 78.897] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    [ 78.897] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Dec 19 18:48:38 2014
    [ 78.897] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
    [ 78.897] (==) No Layout section. Using the first Screen section.
    [ 78.897] (==) No screen section available. Using defaults.
    [ 78.897] (**) |-->Screen "Default Screen Section" (0)
    [ 78.897] (**) | |-->Monitor "<default monitor>"
    [ 78.898] (==) No monitor specified for screen "Default Screen Section".
    Using a default monitor configuration.
    [ 78.898] (==) Automatically adding devices
    [ 78.898] (==) Automatically enabling devices
    [ 78.898] (==) Automatically adding GPU devices
    [ 78.898] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
    [ 78.898] Entry deleted from font path.
    [ 78.898] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
    [ 78.898] Entry deleted from font path.
    [ 78.898] (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
    [ 78.898] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
    [ 78.898] Entry deleted from font path.
    [ 78.898] (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
    [ 78.898] (==) FontPath set to:
    /usr/share/fonts/misc/,
    /usr/share/fonts/TTF/,
    /usr/share/fonts/Type1/
    [ 78.898] (==) ModulePath set to "/usr/lib/xorg/modules"
    [ 78.898] (II) The server relies on udev to provide the list of input devices.
    If no devices become available, reconfigure udev or disable AutoAddDevices.
    [ 78.898] (II) Loader magic: 0x818d80
    [ 78.898] (II) Module ABI versions:
    [ 78.898] X.Org ANSI C Emulation: 0.4
    [ 78.898] X.Org Video Driver: 18.0
    [ 78.898] X.Org XInput driver : 21.0
    [ 78.898] X.Org Server Extension : 8.0
    [ 78.900] (EE) systemd-logind: failed to get session: PID 542 does not belong to any known session
    [ 78.900] (II) xfree86: Adding drm device (/dev/dri/card0)
    [ 78.901] (--) PCI:*(0:1:0:0) 10de:11a1:1558:0371 rev 161, Mem @ 0xf6000000/16777216, 0xe0000000/268435456, 0xf0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/524288
    [ 78.901] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
    [ 78.901] (II) LoadModule: "glx"
    [ 78.902] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
    [ 78.913] (II) Module glx: vendor="NVIDIA Corporation"
    [ 78.913] compiled for 4.0.2, module version = 1.0.0
    [ 78.913] Module class: X.Org Server Extension
    [ 78.913] (II) NVIDIA GLX Module 343.36 Mon Dec 1 15:50:02 PST 2014
    [ 78.914] (II) Applying OutputClass "nvidia" to /dev/dri/card0
    [ 78.914] loading driver: nvidia
    [ 78.914] (==) Matched nvidia as autoconfigured driver 0
    [ 78.914] (==) Matched nouveau as autoconfigured driver 1
    [ 78.914] (==) Matched nv as autoconfigured driver 2
    [ 78.914] (==) Matched nouveau as autoconfigured driver 3
    [ 78.914] (==) Matched nv as autoconfigured driver 4
    [ 78.914] (==) Matched modesetting as autoconfigured driver 5
    [ 78.914] (==) Matched fbdev as autoconfigured driver 6
    [ 78.914] (==) Matched vesa as autoconfigured driver 7
    [ 78.914] (==) Assigned the driver to the xf86ConfigLayout
    [ 78.914] (II) LoadModule: "nvidia"
    [ 78.914] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
    [ 78.920] (II) Module nvidia: vendor="NVIDIA Corporation"
    [ 78.920] compiled for 4.0.2, module version = 1.0.0
    [ 78.920] Module class: X.Org Video Driver
    [ 78.920] (II) LoadModule: "nouveau"
    [ 78.921] (WW) Warning, couldn't open module nouveau
    [ 78.921] (II) UnloadModule: "nouveau"
    [ 78.921] (II) Unloading nouveau
    [ 78.921] (EE) Failed to load module "nouveau" (module does not exist, 0)
    [ 78.921] (II) LoadModule: "nv"
    [ 78.921] (WW) Warning, couldn't open module nv
    [ 78.921] (II) UnloadModule: "nv"
    [ 78.921] (II) Unloading nv
    [ 78.921] (EE) Failed to load module "nv" (module does not exist, 0)
    [ 78.921] (II) LoadModule: "modesetting"
    [ 78.921] (WW) Warning, couldn't open module modesetting
    [ 78.921] (II) UnloadModule: "modesetting"
    [ 78.921] (II) Unloading modesetting
    [ 78.921] (EE) Failed to load module "modesetting" (module does not exist, 0)
    [ 78.921] (II) LoadModule: "fbdev"
    [ 78.922] (WW) Warning, couldn't open module fbdev
    [ 78.922] (II) UnloadModule: "fbdev"
    [ 78.922] (II) Unloading fbdev
    [ 78.922] (EE) Failed to load module "fbdev" (module does not exist, 0)
    [ 78.922] (II) LoadModule: "vesa"
    [ 78.922] (WW) Warning, couldn't open module vesa
    [ 78.922] (II) UnloadModule: "vesa"
    [ 78.922] (II) Unloading vesa
    [ 78.922] (EE) Failed to load module "vesa" (module does not exist, 0)
    [ 78.922] (II) NVIDIA dlloader X Driver 343.36 Mon Dec 1 15:28:39 PST 2014
    [ 78.922] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
    [ 78.922] (++) using VT number 7
    [ 78.935] (II) Loading sub module "fb"
    [ 78.935] (II) LoadModule: "fb"
    [ 78.935] (II) Loading /usr/lib/xorg/modules/libfb.so
    [ 78.936] (II) Module fb: vendor="X.Org Foundation"
    [ 78.936] compiled for 1.16.2.901, module version = 1.0.0
    [ 78.936] ABI class: X.Org ANSI C Emulation, version 0.4
    [ 78.936] (II) Loading sub module "wfb"
    [ 78.936] (II) LoadModule: "wfb"
    [ 78.936] (II) Loading /usr/lib/xorg/modules/libwfb.so
    [ 78.937] (II) Module wfb: vendor="X.Org Foundation"
    [ 78.937] compiled for 1.16.2.901, module version = 1.0.0
    [ 78.937] ABI class: X.Org ANSI C Emulation, version 0.4
    [ 78.937] (II) Loading sub module "ramdac"
    [ 78.937] (II) LoadModule: "ramdac"
    [ 78.937] (II) Module "ramdac" already built-in
    [ 78.939] (II) NVIDIA(0): Creating default Display subsection in Screen section
    "Default Screen Section" for depth/fbbpp 24/32
    [ 78.939] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
    [ 78.939] (==) NVIDIA(0): RGB weight 888
    [ 78.939] (==) NVIDIA(0): Default visual is TrueColor
    [ 78.939] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
    [ 78.940] (**) NVIDIA(0): Enabling 2D acceleration
    [ 79.610] (II) NVIDIA(0): Display (Samsung SyncMaster (DFP-1)) does not support NVIDIA
    [ 79.610] (II) NVIDIA(0): 3D Vision stereo.
    [ 79.610] (II) NVIDIA(GPU-0): Found DRM driver nvidia-drm (20130102)
    [ 79.612] (II) NVIDIA(0): NVIDIA GPU GeForce GTX 670MX (GK104) at PCI:1:0:0 (GPU-0)
    [ 79.612] (--) NVIDIA(0): Memory: 3145728 kBytes
    [ 79.612] (--) NVIDIA(0): VideoBIOS: 80.04.67.00.06
    [ 79.612] (II) NVIDIA(0): Detected PCI Express Link width: 16X
    [ 79.616] (--) NVIDIA(0): Valid display device(s) on GeForce GTX 670MX at PCI:1:0:0
    [ 79.616] (--) NVIDIA(0): Chi Mei Optoelectronics corp. (DFP-0) (boot, connected)
    [ 79.616] (--) NVIDIA(0): Samsung SyncMaster (DFP-1) (connected)
    [ 79.616] (--) NVIDIA(0): DFP-2
    [ 79.616] (--) NVIDIA(0): DFP-3
    [ 79.616] (--) NVIDIA(0): DFP-4
    [ 79.616] (--) NVIDIA(0): Chi Mei Optoelectronics corp. (DFP-0): Internal LVDS
    [ 79.616] (--) NVIDIA(GPU-0): Chi Mei Optoelectronics corp. (DFP-0): 330.0 MHz maximum pixel clock
    [ 79.616] (--) NVIDIA(0): Samsung SyncMaster (DFP-1): Internal TMDS
    [ 79.616] (--) NVIDIA(GPU-0): Samsung SyncMaster (DFP-1): 165.0 MHz maximum pixel clock
    [ 79.616] (--) NVIDIA(0): DFP-2: Internal TMDS
    [ 79.616] (--) NVIDIA(GPU-0): DFP-2: 165.0 MHz maximum pixel clock
    [ 79.616] (--) NVIDIA(0): DFP-3: Internal DisplayPort
    [ 79.616] (--) NVIDIA(GPU-0): DFP-3: 960.0 MHz maximum pixel clock
    [ 79.616] (--) NVIDIA(0): DFP-4: Internal DisplayPort
    [ 79.616] (--) NVIDIA(GPU-0): DFP-4: 960.0 MHz maximum pixel clock
    [ 79.616] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID for display
    [ 79.616] (**) NVIDIA(0): device Chi Mei Optoelectronics corp. (DFP-0) (Using EDID
    [ 79.616] (**) NVIDIA(0): frequencies has been enabled on all display devices.)
    [ 79.616] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID for display
    [ 79.616] (**) NVIDIA(0): device Samsung SyncMaster (DFP-1) (Using EDID frequencies
    [ 79.616] (**) NVIDIA(0): has been enabled on all display devices.)
    [ 79.618] (==) NVIDIA(0):
    [ 79.618] (==) NVIDIA(0): No modes were requested; the default mode "nvidia-auto-select"
    [ 79.618] (==) NVIDIA(0): will be used as the requested mode.
    [ 79.618] (==) NVIDIA(0):
    [ 79.619] (II) NVIDIA(0): Validated MetaModes:
    [ 79.619] (II) NVIDIA(0): "DFP-0:nvidia-auto-select,DFP-1:nvidia-auto-select"
    [ 79.619] (II) NVIDIA(0): Virtual screen size determined to be 3600 x 1080
    [ 80.144] (--) NVIDIA(0): DPI set to (128, 130); computed from "UseEdidDpi" X config
    [ 80.144] (--) NVIDIA(0): option
    [ 80.144] (--) Depth 24 pixmap format is 32 bpp
    [ 80.144] (II) NVIDIA: Using 3072.00 MB of virtual memory for indirect memory
    [ 80.144] (II) NVIDIA: access.
    [ 80.150] (II) NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
    [ 80.150] (II) NVIDIA(0): may not be running or the "AcpidSocketPath" X
    [ 80.150] (II) NVIDIA(0): configuration option may not be set correctly. When the
    [ 80.150] (II) NVIDIA(0): ACPI event daemon is available, the NVIDIA X driver will
    [ 80.150] (II) NVIDIA(0): try to use it to receive ACPI event notifications. For
    [ 80.150] (II) NVIDIA(0): details, please see the "ConnectToAcpid" and
    [ 80.150] (II) NVIDIA(0): "AcpidSocketPath" X configuration options in Appendix B: X
    [ 80.150] (II) NVIDIA(0): Config Options in the README.
    [ 80.155] (II) NVIDIA(0): Setting mode "DFP-0:nvidia-auto-select,DFP-1:nvidia-auto-select"
    [ 80.532] (==) NVIDIA(0): Disabling shared memory pixmaps
    [ 80.532] (==) NVIDIA(0): Backing store enabled
    [ 80.532] (==) NVIDIA(0): Silken mouse enabled
    [ 80.533] (==) NVIDIA(0): DPMS enabled
    [ 80.533] (II) Loading sub module "dri2"
    [ 80.533] (II) LoadModule: "dri2"
    [ 80.533] (II) Module "dri2" already built-in
    [ 80.533] (II) NVIDIA(0): [DRI2] Setup complete
    [ 80.533] (II) NVIDIA(0): [DRI2] VDPAU driver: nvidia
    [ 80.533] (--) RandR disabled
    [ 80.539] (II) Initializing extension GLX
    [ 80.605] (II) config/udev: Adding input device Power Button (/dev/input/event14)
    [ 80.605] (**) Power Button: Applying InputClass "evdev keyboard catchall"
    [ 80.605] (II) LoadModule: "evdev"
    [ 80.606] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
    [ 80.607] (II) Module evdev: vendor="X.Org Foundation"
    [ 80.607] compiled for 1.16.2, module version = 2.9.1
    [ 80.607] Module class: X.Org XInput Driver
    [ 80.607] ABI class: X.Org XInput driver, version 21.0
    [ 80.607] (II) Using input driver 'evdev' for 'Power Button'
    [ 80.607] (**) Power Button: always reports core events
    [ 80.607] (**) evdev: Power Button: Device: "/dev/input/event14"
    [ 80.608] (--) evdev: Power Button: Vendor 0 Product 0x1
    [ 80.608] (--) evdev: Power Button: Found keys
    [ 80.608] (II) evdev: Power Button: Configuring as keyboard
    [ 80.608] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input18/event14"
    [ 80.608] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
    [ 80.608] (**) Option "xkb_rules" "evdev"
    [ 80.608] (**) Option "xkb_model" "pc104"
    [ 80.608] (**) Option "xkb_layout" "us"
    [ 80.635] (II) config/udev: Adding input device Video Bus (/dev/input/event15)
    [ 80.635] (**) Video Bus: Applying InputClass "evdev keyboard catchall"
    [ 80.635] (II) Using input driver 'evdev' for 'Video Bus'
    [ 80.635] (**) Video Bus: always reports core events
    [ 80.635] (**) evdev: Video Bus: Device: "/dev/input/event15"
    [ 80.635] (--) evdev: Video Bus: Vendor 0 Product 0x6
    [ 80.635] (--) evdev: Video Bus: Found keys
    [ 80.635] (II) evdev: Video Bus: Configuring as keyboard
    [ 80.635] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:13/LNXVIDEO:00/input/input19/event15"
    [ 80.635] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 7)
    [ 80.635] (**) Option "xkb_rules" "evdev"
    [ 80.635] (**) Option "xkb_model" "pc104"
    [ 80.635] (**) Option "xkb_layout" "us"
    [ 80.636] (II) config/udev: Adding input device Power Button (/dev/input/event13)
    [ 80.636] (**) Power Button: Applying InputClass "evdev keyboard catchall"
    [ 80.636] (II) Using input driver 'evdev' for 'Power Button'
    [ 80.636] (**) Power Button: always reports core events
    [ 80.636] (**) evdev: Power Button: Device: "/dev/input/event13"
    [ 80.636] (--) evdev: Power Button: Vendor 0 Product 0x1
    [ 80.636] (--) evdev: Power Button: Found keys
    [ 80.636] (II) evdev: Power Button: Configuring as keyboard
    [ 80.636] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input17/event13"
    [ 80.636] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 8)
    [ 80.636] (**) Option "xkb_rules" "evdev"
    [ 80.636] (**) Option "xkb_model" "pc104"
    [ 80.636] (**) Option "xkb_layout" "us"
    [ 80.637] (II) config/udev: Adding input device Lid Switch (/dev/input/event11)
    [ 80.637] (II) No input driver specified, ignoring this device.
    [ 80.637] (II) This device may have been added with another device file.
    [ 80.637] (II) config/udev: Adding input device Sleep Button (/dev/input/event12)
    [ 80.637] (**) Sleep Button: Applying InputClass "evdev keyboard catchall"
    [ 80.637] (II) Using input driver 'evdev' for 'Sleep Button'
    [ 80.637] (**) Sleep Button: always reports core events
    [ 80.637] (**) evdev: Sleep Button: Device: "/dev/input/event12"
    [ 80.637] (--) evdev: Sleep Button: Vendor 0 Product 0x3
    [ 80.637] (--) evdev: Sleep Button: Found keys
    [ 80.637] (II) evdev: Sleep Button: Configuring as keyboard
    [ 80.637] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input16/event12"
    [ 80.637] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 9)
    [ 80.637] (**) Option "xkb_rules" "evdev"
    [ 80.637] (**) Option "xkb_model" "pc104"
    [ 80.637] (**) Option "xkb_layout" "us"
    [ 80.638] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=3 (/dev/input/event18)
    [ 80.638] (II) No input driver specified, ignoring this device.
    [ 80.638] (II) This device may have been added with another device file.
    [ 80.638] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=7 (/dev/input/event19)
    [ 80.638] (II) No input driver specified, ignoring this device.
    [ 80.638] (II) This device may have been added with another device file.
    [ 80.639] (II) config/udev: Adding input device LOGITECH G110 G-keys (/dev/input/event3)
    [ 80.639] (**) LOGITECH G110 G-keys: Applying InputClass "evdev keyboard catchall"
    [ 80.639] (II) Using input driver 'evdev' for 'LOGITECH G110 G-keys'
    [ 80.639] (**) LOGITECH G110 G-keys: always reports core events
    [ 80.639] (**) evdev: LOGITECH G110 G-keys: Device: "/dev/input/event3"
    [ 80.639] (--) evdev: LOGITECH G110 G-keys: Vendor 0x46d Product 0xc22b
    [ 80.639] (--) evdev: LOGITECH G110 G-keys: Found keys
    [ 80.639] (II) evdev: LOGITECH G110 G-keys: Configuring as keyboard
    [ 80.639] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb3/3-4/3-4.1/3-4.1.1/3-4.1.1:1.0/0003:046D:C22B.0003/input/input7/event3"
    [ 80.639] (II) XINPUT: Adding extended input device "LOGITECH G110 G-keys" (type: KEYBOARD, id 10)
    [ 80.639] (**) Option "xkb_rules" "evdev"
    [ 80.639] (**) Option "xkb_model" "pc104"
    [ 80.639] (**) Option "xkb_layout" "us"
    [ 80.639] (II) config/udev: Adding input device Gaming Keyboard G110 (/dev/input/event4)
    [ 80.639] (**) Gaming Keyboard G110: Applying InputClass "evdev keyboard catchall"
    [ 80.639] (II) Using input driver 'evdev' for 'Gaming Keyboard G110'
    [ 80.639] (**) Gaming Keyboard G110: always reports core events
    [ 80.639] (**) evdev: Gaming Keyboard G110: Device: "/dev/input/event4"
    [ 80.640] (--) evdev: Gaming Keyboard G110: Vendor 0x46d Product 0xc22a
    [ 80.640] (--) evdev: Gaming Keyboard G110: Found keys
    [ 80.640] (II) evdev: Gaming Keyboard G110: Configuring as keyboard
    [ 80.640] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb3/3-4/3-4.1/3-4.1.3/3-4.1.3:1.0/0003:046D:C22A.0004/input/input8/event4"
    [ 80.640] (II) XINPUT: Adding extended input device "Gaming Keyboard G110" (type: KEYBOARD, id 11)
    [ 80.640] (**) Option "xkb_rules" "evdev"
    [ 80.640] (**) Option "xkb_model" "pc104"
    [ 80.640] (**) Option "xkb_layout" "us"
    [ 80.640] (II) config/udev: Adding input device Gaming Keyboard G110 (/dev/input/event5)
    [ 80.640] (**) Gaming Keyboard G110: Applying InputClass "evdev keyboard catchall"
    [ 80.640] (II) Using input driver 'evdev' for 'Gaming Keyboard G110'
    [ 80.640] (**) Gaming Keyboard G110: always reports core events
    [ 80.640] (**) evdev: Gaming Keyboard G110: Device: "/dev/input/event5"
    [ 80.640] (--) evdev: Gaming Keyboard G110: Vendor 0x46d Product 0xc22a
    [ 80.640] (--) evdev: Gaming Keyboard G110: Found keys
    [ 80.640] (II) evdev: Gaming Keyboard G110: Configuring as keyboard
    [ 80.640] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb3/3-4/3-4.1/3-4.1.3/3-4.1.3:1.1/0003:046D:C22A.0005/input/input9/event5"
    [ 80.640] (II) XINPUT: Adding extended input device "Gaming Keyboard G110" (type: KEYBOARD, id 12)
    [ 80.640] (**) Option "xkb_rules" "evdev"
    [ 80.640] (**) Option "xkb_model" "pc104"
    [ 80.641] (**) Option "xkb_layout" "us"
    [ 80.641] (II) config/udev: Adding input device Razer Razer Lachesis (/dev/input/event1)
    [ 80.641] (**) Razer Razer Lachesis: Applying InputClass "evdev pointer catchall"
    [ 80.641] (II) Using input driver 'evdev' for 'Razer Razer Lachesis'
    [ 80.641] (**) Razer Razer Lachesis: always reports core events
    [ 80.641] (**) evdev: Razer Razer Lachesis: Device: "/dev/input/event1"
    [ 80.641] (--) evdev: Razer Razer Lachesis: Vendor 0x1532 Product 0xc
    [ 80.641] (--) evdev: Razer Razer Lachesis: Found 12 mouse buttons
    [ 80.641] (--) evdev: Razer Razer Lachesis: Found scroll wheel(s)
    [ 80.641] (--) evdev: Razer Razer Lachesis: Found relative axes
    [ 80.641] (--) evdev: Razer Razer Lachesis: Found x and y relative axes
    [ 80.641] (II) evdev: Razer Razer Lachesis: Configuring as mouse
    [ 80.641] (II) evdev: Razer Razer Lachesis: Adding scrollwheel support
    [ 80.641] (**) evdev: Razer Razer Lachesis: YAxisMapping: buttons 4 and 5
    [ 80.641] (**) evdev: Razer Razer Lachesis: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
    [ 80.641] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb3/3-4/3-4.2/3-4.2:1.0/0003:1532:000C.0001/input/input5/event1"
    [ 80.641] (II) XINPUT: Adding extended input device "Razer Razer Lachesis" (type: MOUSE, id 13)
    [ 80.642] (II) evdev: Razer Razer Lachesis: initialized for relative axes.
    [ 80.642] (**) Razer Razer Lachesis: (accel) keeping acceleration scheme 1
    [ 80.642] (**) Razer Razer Lachesis: (accel) acceleration profile 0
    [ 80.642] (**) Razer Razer Lachesis: (accel) acceleration factor: 2.000
    [ 80.642] (**) Razer Razer Lachesis: (accel) acceleration threshold: 4
    [ 80.642] (II) config/udev: Adding input device Razer Razer Lachesis (/dev/input/mouse0)
    [ 80.642] (II) No input driver specified, ignoring this device.
    [ 80.642] (II) This device may have been added with another device file.
    [ 80.643] (II) config/udev: Adding input device Razer Razer Lachesis (/dev/input/event2)
    [ 80.643] (**) Razer Razer Lachesis: Applying InputClass "evdev keyboard catchall"
    [ 80.643] (II) Using input driver 'evdev' for 'Razer Razer Lachesis'
    [ 80.643] (**) Razer Razer Lachesis: always reports core events
    [ 80.643] (**) evdev: Razer Razer Lachesis: Device: "/dev/input/event2"
    [ 80.643] (--) evdev: Razer Razer Lachesis: Vendor 0x1532 Product 0xc
    [ 80.643] (--) evdev: Razer Razer Lachesis: Found keys
    [ 80.643] (II) evdev: Razer Razer Lachesis: Configuring as keyboard
    [ 80.643] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb3/3-4/3-4.2/3-4.2:1.1/0003:1532:000C.0002/input/input6/event2"
    [ 80.643] (II) XINPUT: Adding extended input device "Razer Razer Lachesis" (type: KEYBOARD, id 14)
    [ 80.643] (**) Option "xkb_rules" "evdev"
    [ 80.643] (**) Option "xkb_model" "pc104"
    [ 80.643] (**) Option "xkb_layout" "us"
    [ 80.643] (II) config/udev: Adding input device HDA Digital PCBeep (/dev/input/event6)
    [ 80.643] (II) No input driver specified, ignoring this device.
    [ 80.643] (II) This device may have been added with another device file.
    [ 80.644] (II) config/udev: Adding input device HDA Intel PCH Mic (/dev/input/event7)
    [ 80.644] (II) No input driver specified, ignoring this device.
    [ 80.644] (II) This device may have been added with another device file.
    [ 80.644] (II) config/udev: Adding input device HDA Intel PCH Line (/dev/input/event8)
    [ 80.644] (II) No input driver specified, ignoring this device.
    [ 80.644] (II) This device may have been added with another device file.
    [ 80.644] (II) config/udev: Adding input device HDA Intel PCH Line Out (/dev/input/event9)
    [ 80.644] (II) No input driver specified, ignoring this device.
    [ 80.644] (II) This device may have been added with another device file.
    [ 80.645] (II) config/udev: Adding input device HDA Intel PCH Headphone (/dev/input/event10)
    [ 80.645] (II) No input driver specified, ignoring this device.
    [ 80.645] (II) This device may have been added with another device file.
    [ 80.645] (II) config/udev: Adding input device BisonCam, NB Pro (/dev/input/event17)
    [ 80.645] (**) BisonCam, NB Pro: Applying InputClass "evdev keyboard catchall"
    [ 80.645] (II) Using input driver 'evdev' for 'BisonCam, NB Pro'
    [ 80.645] (**) BisonCam, NB Pro: always reports core events
    [ 80.645] (**) evdev: BisonCam, NB Pro: Device: "/dev/input/event17"
    [ 80.645] (--) evdev: BisonCam, NB Pro: Vendor 0x5986 Product 0x512
    [ 80.645] (--) evdev: BisonCam, NB Pro: Found keys
    [ 80.645] (II) evdev: BisonCam, NB Pro: Configuring as keyboard
    [ 80.645] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.6/2-1.6:1.0/input/input23/event17"
    [ 80.645] (II) XINPUT: Adding extended input device "BisonCam, NB Pro" (type: KEYBOARD, id 15)
    [ 80.645] (**) Option "xkb_rules" "evdev"
    [ 80.645] (**) Option "xkb_model" "pc104"
    [ 80.645] (**) Option "xkb_layout" "us"
    [ 80.646] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event0)
    [ 80.646] (**) AT Translated Set 2 keyboard: Applying InputClass "evdev keyboard catchall"
    [ 80.646] (II) Using input driver 'evdev' for 'AT Translated Set 2 keyboard'
    [ 80.646] (**) AT Translated Set 2 keyboard: always reports core events
    [ 80.646] (**) evdev: AT Translated Set 2 keyboard: Device: "/dev/input/event0"
    [ 80.646] (--) evdev: AT Translated Set 2 keyboard: Vendor 0x1 Product 0x1
    [ 80.646] (--) evdev: AT Translated Set 2 keyboard: Found keys
    [ 80.646] (II) evdev: AT Translated Set 2 keyboard: Configuring as keyboard
    [ 80.646] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input0/event0"
    [ 80.646] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 16)
    [ 80.646] (**) Option "xkb_rules" "evdev"
    [ 80.646] (**) Option "xkb_model" "pc104"
    [ 80.646] (**) Option "xkb_layout" "us"
    [ 80.646] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/event20)
    [ 80.646] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "evdev touchpad catchall"
    [ 80.647] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "touchpad catchall"
    [ 80.647] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "Default clickpad buttons"
    [ 80.647] (II) LoadModule: "synaptics"
    [ 80.647] (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
    [ 80.647] (II) Module synaptics: vendor="X.Org Foundation"
    [ 80.647] compiled for 1.16.0, module version = 1.8.1
    [ 80.647] Module class: X.Org XInput Driver
    [ 80.647] ABI class: X.Org XInput driver, version 21.0
    [ 80.647] (II) Using input driver 'synaptics' for 'SynPS/2 Synaptics TouchPad'
    [ 80.647] (**) SynPS/2 Synaptics TouchPad: always reports core events
    [ 80.647] (**) Option "Device" "/dev/input/event20"
    [ 80.756] (II) synaptics: SynPS/2 Synaptics TouchPad: found clickpad property
    [ 80.757] (--) synaptics: SynPS/2 Synaptics TouchPad: x-axis range 1472 - 5662 (res 42)
    [ 80.757] (--) synaptics: SynPS/2 Synaptics TouchPad: y-axis range 1408 - 4660 (res 47)
    [ 80.757] (--) synaptics: SynPS/2 Synaptics TouchPad: pressure range 0 - 255
    [ 80.757] (--) synaptics: SynPS/2 Synaptics TouchPad: finger width range 0 - 15
    [ 80.757] (--) synaptics: SynPS/2 Synaptics TouchPad: buttons: left double triple
    [ 80.757] (--) synaptics: SynPS/2 Synaptics TouchPad: Vendor 0x2 Product 0x7
    [ 80.757] (**) Option "TapButton1" "1"
    [ 80.757] (**) Option "TapButton2" "2"
    [ 80.757] (**) Option "TapButton3" "3"
    [ 80.757] (**) Option "SoftButtonAreas" "50% 0 82% 0 0 0 0 0"
    [ 80.757] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found
    [ 80.757] (**) SynPS/2 Synaptics TouchPad: always reports core events
    [ 80.810] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio2/input/input22/event20"
    [ 80.810] (II) XINPUT: Adding extended input device "SynPS/2 Synaptics TouchPad" (type: TOUCHPAD, id 17)
    [ 80.810] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) MinSpeed is now constant deceleration 2.5
    [ 80.810] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) MaxSpeed is now 1.75
    [ 80.810] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) AccelFactor is now 0.038
    [ 80.810] (**) SynPS/2 Synaptics TouchPad: (accel) keeping acceleration scheme 1
    [ 80.810] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration profile 1
    [ 80.810] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration factor: 2.000
    [ 80.810] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration threshold: 4
    [ 80.810] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found
    [ 80.811] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/mouse1)
    [ 80.811] (**) SynPS/2 Synaptics TouchPad: Ignoring device from InputClass "touchpad ignore duplicates"
    [ 80.811] (II) config/udev: Adding input device PC Speaker (/dev/input/event16)
    [ 80.811] (II) No input driver specified, ignoring this device.
    [ 80.811] (II) This device may have been added with another device file.
    [ 88.265] (II) NVIDIA(GPU-0): Display (Samsung SyncMaster (DFP-1)) does not support NVIDIA
    [ 88.265] (II) NVIDIA(GPU-0): 3D Vision stereo.
    [ 88.282] (II) NVIDIA(GPU-0): Display (Samsung SyncMaster (DFP-1)) does not support NVIDIA
    [ 88.282] (II) NVIDIA(GPU-0): 3D Vision stereo.
    [ 88.291] (II) NVIDIA(0): Setting mode "LVDS-0: nvidia-auto-select @1920x1080 +0+0 {ViewPortIn=1920x1080, ViewPortOut=1920x1080+0+0}, HDMI-0: 1680x1050_60_0 @1680x1050 +1920+0 {ViewPortIn=1680x1050, ViewPortOut=1680x1050+0+0}"
    [ 89.221] (II) NVIDIA(GPU-0): Display (Samsung SyncMaster (DFP-1)) does not support NVIDIA
    [ 89.221] (II) NVIDIA(GPU-0): 3D Vision stereo.
    [ 90.639] (II) NVIDIA(GPU-0): Display (Samsung SyncMaster (DFP-1)) does not support NVIDIA
    [ 90.639] (II) NVIDIA(GPU-0): 3D Vision stereo.
    [ 93.745] (II) NVIDIA(GPU-0): Display (Samsung SyncMaster (DFP-1)) does not support NVIDIA
    [ 93.745] (II) NVIDIA(GPU-0): 3D Vision stereo.
    Notably, the following lines appear in the working case, but not the broken case:
    [ 78.914] (II) Applying OutputClass "nvidia" to /dev/dri/card0
    [ 78.914] loading driver: nvidia
    Does anyone know what might be going on here?
    Last edited by straemer (2014-12-20 13:03:58)

    Hmmmm, that doesn't seem to be the issue. I have a nvidia geforce gtx 670mx. The nvidia website does link me to the 340xx driver for that card, but downgrading to that version still has the same issue. I suspect the issue is in Xorg, since it seems to load the module, but then decides it doesn't have a driver to run for some reason.

  • Beginner Has Problem With Loading JDBC Driver Using MySQL

    Hi, I am having problem with loading JDBC driver, and need your diagnotic help.
    1. I have installed MySQL (C:\mysql), created a databse (soup), and created a littel table (VIDEOS). I am able to see the table in the console:
    sql> select * from videos
    2. I have downloaded the latest version of Connector/J (mysql-connector-java-3.1.0-alpha.zip), and unzip the zip file into my C:\ directory.
    3. I copied the mysql-connector-java-3.1.0-alpha-bin.jar to the C:\j2sdk1.4.1_02\jre\lib\ext folder and it is in my CLASSPATH
    4. MySQL server is running
    C:\> C:\mysql\bin\mysqld-nt --standalone
    5. open another DOS window and use the database
    mysql>USE SOUP
    6. succesfully compiled a Java program (javac Test.java):
    import java.sql.* ;
    public class Test
    public static void main( String[] args )
    try
    Class.forName("org.gjt.mm.mysql.Driver").newInstance();
    try
    Connection con = DriverManager.getConnection( "jdbc:mysql://localhost:3306/soup" );
    try
    Statement statement = con.createStatement();
    ResultSet rs = statement.executeQuery("SELECT TITLE FROM VIDEOS");
    while ( rs.next() )
    System.out.println( rs.getString( "TITLE" ) );
    rs.close();
    statement.close();
    catch ( SQLException e )
    System.out.println( "JDBC error: " + e );
    finally
    con.close();
    catch( SQLException e )
    System.out.println( "could not get JDBC connection: " + e );
    catch( Exception e )
    System.out.println( "could not load JDBC driver: " + e );
    7. when I run the Java program (java Test), I got
    the message:
    could not load JDBC driver: java.lang.ClassNotFoundException: org.gjt.mm.mysql.Driver
    What am I missing?

    Hi,
    I missed to specify test in my last post.
    Try running your program by explicitly setting the classspath when
    running your program . java -classpath c:\mysql-connector-java-3.1.0-alpha-bin.jar test
    Make sure your jar file contains org.gjt.mm.mysql.Driver class

  • Java.sql.SQLException: Cannot load JDBC driver class 'null'

    Hi,
    I am a beginner of using jdbc, i use the tomcat4.1.x, mysql3.23.54 and it's jdbc driver 2.0.14. I place the drive <in jar file> in tomcat/commons/lib and configure the server.xml, web.xml and some testing coding. But there are some error like the following:
    java.sql.SQLException: Cannot load JDBC driver class 'null'
         at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:529)
         at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:312)
         at foo.DBTest.init(DBTest.java:18)
         at org.apache.jsp.test_jsp._jspService(test_jsp.java:48)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:136)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:204)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:289)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:240)
    of course its some of the error code and there are more.
    Why I have this problems and how can I fix it? Can someone help me??
    Thanks,
    Tong
    I place my test.jsp at tomcat/webapps/DBTest and DBTest.java at tomcat/webapps/DBTest/WEB-INF/classes/foo
    additional of the tomcat/conf/server.xml
    <Resource name="TestDB" auth="Container" type="javax.sql.DataSource" description="MySQL TestDB"/>
    <ResourceParams name="TestDB">
    <parameter><name>factory</name>
    <value>org.apache.commons.dbcp.BasicDataSourceFactory</value>
    </parameter>
    <parameter><name>maxActive</name><value>10</value></parameter>
    <parameter><name>maxIdle</name><value>1</value></parameter>
    <parameter><name>maxWait</name><value>10000</value></parameter>
    <parameter><name>username</name><value>javauser</value></parameter>
    <parameter><name>password</name><value>javadude</value></parameter>
    <parameter>
    <name>driverClassName</name>
    <value>org.gjt.mm.mysql.Driver</value>
    </parameter>
    <parameter>
    <name>url</name>
    <value>jdbc:mysql://localhost:3306/javatest?autoReconnect=true</value>
    </parameter>
    </ResourceParams>
    tomcat/webapps/DBTest/WEB-INF/web.xml :
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE web-app PUBLIC
    "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
    <description>MySQL Test App</description>
    </web-app>

    Post the part of your code that loads the driver and connects. My guess is you are using a variable for the name of the driver and the variable has not been set to anything(intially set to null).
    Thanks
    Cardwell

  • Java.sql.SQLException: Cannot load JDBC driver

    THis topic has been discussed many many times but I still not able to connect to Oracle 8i from my servlet using Tomcat 4.1.12 on hp-ux and java1.3
    I always got: java.sql.SQLException: Cannot load JDBC driver class 'null'
    In server.xml:
    <Context Path="/MyApp" docBase="MyApp" debug="0" reloadable="true" >
    <Resource name="jdbc/ora" auth="Container" type="javax.sql.DataSource"/> <ResourceParams name="jdbc/ora" >
    <parameter>
    <name>username</name>
    <value>myname</value>
    </parameter>
    <parameter> <name>password</name>
    <value>mypassword</value>
    </parameter>
    <parameter> <name>driverClassName</name>
    <value>oracle.jdbc.driver.OracleDriver</value>
    </parameter>
    <parameter>
    <name>url</name>
    <value>jdbc:oracle:thin:@myhostname:1521:ora</value>
    </parameter> </ResourceParams>
    </Context>
    In MyApp/WEB-INF/web.xml:
    <resource-ref>
    <res-ref-name>jdbc/ora</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    The Oracle jdbc jar file classes12.jar is under common/lib in Tomcat's home. read Permission is there.
    In the servlet:
    init(ServletConfig config):
    Context init = new InitialContext();
    Context ctx = (Context) init.lookup("java:comp/env");
    dataSource = (DataSource) ctx.lookup("jdbc/acdb");
    doPost(..)
    the error occured at :
    synchronized (dataSource){
    con = dataSource.getConnection();}
    Thanks in advance!

    Everything looks correct to me, except for one thing.
    In your web.xml you have this:
    <res-ref-name>jdbc/ora</res-ref-name> In your server.xml, you have this tag, which matches your web.xml:
    <ResourceParams name="jdbc/ora" > But in your Java code, you've got this:
    dataSource = (DataSource) ctx.lookup("jdbc/acdb"); When I've successfully set up a Web app data source, all three names had to agree. You either need to change your Java lookup name to "jdbc/ora" or change the web.xml and server.xml to "jdbc/acdb".
    See if that does it. Everything else sounds correct to me. - MOD

  • VSphere 4 - Failed to load iommu driver

    When I boot ESX 4 with the latest up on our UCS B class blades I get a:
    "Failed to load iommu driver" and when it finally finishes booting on the first screen I have message in red:
    cpu1 :4106)Mod: 2077: Initialization for vtd failed with -1"
    I already have Intel Virtualization Technology enabled on all of them.  This message wasn't showing last week but it started showing today.

    Strange, I rebooted the server 2 times and the error went away.
    If anyone knows what might have caused this please let me know.  Thanks.

  • Load JDBC driver class 'null'

    hi all :)
    i'm using a datasource (tomcat 4.1.18 with jdk 1.4)
    i'm the following error :
    java.sql.SQLException: Cannot load JDBC driver class 'null'my classes12.jar find in $CATALINA_HOME/common/lib
    where is ma error ?
    thanks a lot.

    GlobalNamingResources?
    I sent up a data source for each app, like this:
    <Context    path="/api-prototype"
                docBase="api-prototype.war"
                debug="1"
                reloadable="true"
                crossContext="true"
                useNaming="true">
        <Logger className="org.apache.catalina.logger.FileLogger"
                prefix="localhost-api-prototype-log."
                suffix=".txt"
                timestamp="true"/>
        <Resource   name="jdbc/APIPrototype"
                    auth="Container"
                    type="javax.sql.DataSource"/>
    <!-- Oracle 9.2.0.1 data source -->
        <ResourceParams name="jdbc/APIPrototype">
            <parameter>
                <name>factory</name>
                <value>org.apache.commons.dbcp.BasicDataSourceFactory</value>
            </parameter>
            <parameter>
                <name>driverClassName</name>
                <value>oracle.jdbc.driver.OracleDriver</value>
            </parameter>
            <parameter>
                <name>url</name>
                <value>jdbc:oracle:thin:@elvis:1521:CAPP</value>
            </parameter>
            <parameter>
                <name>username</name>
                <value>api</value>
            </parameter>
            <parameter>
                <name>password</name>
                <value>mod</value>
            </parameter>
            <parameter>
                <name>maxActive</name>
                <value>20</value>
            </parameter>
            <parameter>
                <name>maxIdle</name>
                <value>0</value>
            </parameter>
            <parameter>
                <name>maxWait</name>
                <value>60000</value>
            </parameter>
            <parameter>
                <name>removeAbandoned</name>
                <value>true</value>
            </parameter>
            <parameter>
                <name>removeAbandonedTimeout</name>
                <value>300</value>
            </parameter>
        </ResourceParams>
    </Context>This works fine on Tomcat 4.1.24. I don't know where you got that example from, but I'd recommend that you look at the Tomcat JNDI How-to:
    http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-howto.html
    Why go anywhere else? - MOD

  • Load JDBC driver in runtime

    Hi all,
    I'm trying to load mysql jdbc driver in runtime i've tried the following links
    [http://dev-loki.blogspot.com/2008/01/loading-jdbc-driver-at-runtime.html]
    [http://www.kfu.com/~nsayer/Java/dyn-jdbc.html]
    [http://www.devdaily.com/java/edu/JDBC-SQLProcessor/Simple_JDBC_Example.shtml]
    [http://tech.puredanger.com/2006/11/09/classloader/]
    [http://fdt.powerflasher.com/blog/?p=35]
    I'm not being able to get this to work it always given the classnotfoundexception
    can anyone help please?
    Thanks in advance

    There is no server. I'm doing a normal java aplication, i wanted to have a folder where would be the jdbc drivers in runtime the user will choose what driver to load to access a some db.
    I'm using eclipse and this is what i have now
    import java.sql.Connection;
    import java.sql.Driver;
    import java.sql.DriverPropertyInfo;
    import java.sql.SQLException;
    import java.util.Properties;
    public class DriverShim implements Driver{
         private Driver driver;
         public DriverShim(Driver d) {
              this.driver = d;
         public boolean acceptsURL(String u) throws SQLException {
              return this.driver.acceptsURL(u);
         public Connection connect(String u, Properties p) throws SQLException {
              return this.driver.connect(u, p);
         public int getMajorVersion() {
              return this.driver.getMajorVersion();
         public int getMinorVersion() {
              return this.driver.getMinorVersion();
         public DriverPropertyInfo[] getPropertyInfo(String u, Properties p) throws SQLException {
              return this.driver.getPropertyInfo(u, p);
         public boolean jdbcCompliant() {
              return this.driver.jdbcCompliant();
                   String libraryPath = System.getProperty("java.library.path");
              String sep = System.getProperty("path.separator");
              libraryPath = "." + sep + "C:/Users/Luis/Documents/eclipse/workspace/DBDIGGER/lib/connectors" + sep + "native" + sep + libraryPath;
              //libraryPath ="C:/Users/Luis/Documents/eclipse/workspace/DBDIGGER/lib/connectors";
              System.setProperty("java.library.path", libraryPath);
              System.out.println(libraryPath);
    URL u;
              try {
                   u = new URL("jar:file://C:/Users/Luis/Documents/eclipse/workspace/DB/lib/connectors/mysql-connector-java-5.1.7-bin.jar!/");
                   String classname = Settings.MYSQL;
                   URLClassLoader ucl = new URLClassLoader(new URL[] { u });
                   URL[] ee =ucl.getURLs();
                   Driver d = (Driver)Class.forName(classname, true, ucl).newInstance();
                   DriverManager.registerDriver(new DriverShim(d));
                   DriverManager.getConnection("jdbc:mysql://localhost:3306/mysql", "user", "pw");
              } catch (MalformedURLException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
              } catch (ClassNotFoundException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
              } catch (SQLException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
              } catch (InstantiationException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
              } catch (IllegalAccessException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
              } Project Folder Structure
    DB
    bin
    lib
    connectors
    mysql-connector-java-5.1.7-bin.jar
    src
    result of classpath
    .;C:/Users/Luis/Documents/eclipse/workspace/DBDIGGER/lib/connectors;native;C:\Program Files\Java\jre6\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:/Program Files/Java/jre6/bin/client;C:/Program Files/Java/jre6/bin;C:\Program Files\JavaFX\javafx-sdk1.1\bin;C:\Program Files\JavaFX\javafx-sdk1.1\emulator\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\Intel\DMIX;C:\Program Files\Softex\OmniPass;C:\Program Files\MySQL\MySQL Server 5.1\bin
    Maybe what i'm doing wrong is the classpath, this is not a web app is a standard java aplication...
    Could someone explain to me how to set a classpath ?? correctly...

  • ZipException in Loading JDBC Driver

    Getting java.util.zip.ZipException trying to Load JDBC Driver Class.
    The JDBC driver classes are in a jar file which is in WEBLOGIC_CLASSPATH.The
    jar file is perfectly valid, atleast I can see it with "jar".
    It works fine If I extract the jar file into my serverclasses which is in
    WEBLOGIC_CLASSPATH.
    We are running WLS51SP10 on AIX4.3.3. Classic VM (J2RE 1.2.2 IBM build
    ca122-20010313 (JIT enabled: jitc))
    I appreciate any help on this.
    Thanks,
    Pavan
    This is the first few lines from the exception stacktrace.
    java.util.zip.ZipException: invalid LOC header (bad signature)
    at java.util.zip.ZipFile.read(Native Method)
    at java.util.zip.ZipFile.access$5(ZipFile.java(Compiled Code))
    at
    java.util.zip.ZipFile$ZipFileInputStream.read(ZipFile.java(Compiled Code))
    at java.util.zip.ZipFile$1.fill(ZipFile.java(Compiled Code))
    at
    java.util.zip.InflaterInputStream.read(InflaterInputStream.java(Compiled
    Code))
    at weblogic.boot.ZipSource.getBytes(ZipSource.java(Compiled Code))
    at
    weblogic.boot.ServerClassLoader.findLocalClass(ServerClassLoader.java(Compil
    ed Code))
    at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
    at java.lang.Class.forName1(Native Method)
    at java.lang.Class.forName(Class.java(Compiled Code))
    at common.cimsdao.DaoConnection.getConnection(DaoConnection.java:66)

    Hi.
    You might try getting another copy of the driver. It could be corrupted in some
    way but still work with the jar utility.
    Regards,
    Michael
    Pavan Dinavahi wrote:
    Getting java.util.zip.ZipException trying to Load JDBC Driver Class.
    The JDBC driver classes are in a jar file which is in WEBLOGIC_CLASSPATH.The
    jar file is perfectly valid, atleast I can see it with "jar".
    It works fine If I extract the jar file into my serverclasses which is in
    WEBLOGIC_CLASSPATH.
    We are running WLS51SP10 on AIX4.3.3. Classic VM (J2RE 1.2.2 IBM build
    ca122-20010313 (JIT enabled: jitc))
    I appreciate any help on this.
    Thanks,
    Pavan
    This is the first few lines from the exception stacktrace.
    java.util.zip.ZipException: invalid LOC header (bad signature)
    at java.util.zip.ZipFile.read(Native Method)
    at java.util.zip.ZipFile.access$5(ZipFile.java(Compiled Code))
    at
    java.util.zip.ZipFile$ZipFileInputStream.read(ZipFile.java(Compiled Code))
    at java.util.zip.ZipFile$1.fill(ZipFile.java(Compiled Code))
    at
    java.util.zip.InflaterInputStream.read(InflaterInputStream.java(Compiled
    Code))
    at weblogic.boot.ZipSource.getBytes(ZipSource.java(Compiled Code))
    at
    weblogic.boot.ServerClassLoader.findLocalClass(ServerClassLoader.java(Compil
    ed Code))
    at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
    at java.lang.Class.forName1(Native Method)
    at java.lang.Class.forName(Class.java(Compiled Code))
    at common.cimsdao.DaoConnection.getConnection(DaoConnection.java:66)--
    Michael Young
    Developer Relations Engineer
    BEA Support

Maybe you are looking for

  • Add field in an internal table

    Hi There, How to add a field in an internal table created at the runtime using CREATE DATA D1 TYPE TABLE OF (VAR). where say var contains name of a DDIC table. Rgds, deb.

  • Changing Shape of Mask While Rotoscoping

    I am very new to After Effects. I have recently discovered how to use a mask to separate colour and leave just one colour. This works well and I even know how to use rotoscoping to animate this effect so that the same area stays with the single colou

  • How to make compressor give me 1280x720   h.264 from my 1440 x 1080 sequenc

    can someone please tell me how to make compressor give me 1280x720 h.264 from my 1440 x 1080 sequence, with compressor I load up my high defition h.264 but i cant see where i can chage the size, I can tab on the preset and change max bit rates and ot

  • TDS Returns File

    Hi One of our clients has generated an E TDS file from SAP. However the DAT file generated is not getting accepted by the NSDL. Pls suggest Regards VG

  • Call BAPI_PO_CHANGE from ME22N and go back with F3

    Hello, could anybody confirm to me if it is technically possible the following process: - execute ME22N - call the BAPI_PO_CHANGE from transaction ME22N (through one added button in program SAPLXM06 and screen 0101) - call BAPI_TRANSACTION_COMMIT - g