PLZ HELP: Error is Cannot load the driver

I dont know where i am going wrong : Just i am getting the blank page
i am posting my code :
--------------------LoginServlet4.java
  package com.xyz;
  import java.io.*;
  import java.util.*;
  import javax.servlet.*;
  import javax.servlet.http.*;
  import java.sql.*;
  public class LoginServlet4 extends HttpServlet
       public void doGet(HttpServletRequest req,HttpServletResponse res)throws ServletException,IOException
          try{
       User4 user=new User4();
       UserServices4 userServices4= new UserServices4();
       ArrayList userList = (ArrayList)userServices4.listUser4();
       req.setAttribute("userList",userList);
      RequestDispatcher rd = req.getRequestDispatcher("form5.jsp");
       rd.forward(req,res);
            }//try
            catch(Exception e)
               System.out.println(e);
            }//catch
         }//doGet
}---------------------UserServices4.java
a bussiness logic class where i am opening the connection and retrieving the data
package com.xyz;
import java.io.*;
import java.io.Serializable;
import java.util.*;
import java.sql.*;
public class UserServices4
      public UserServices4(){}
      Connection con=null;
      PreparedStatement ps=null;
      ResultSet rs=null;
      public List listUser4(){
     ArrayList userList = new ArrayList();
     User4 user=null;
     String s1,s2,s3,s4;
      try
           Class.forName("com.jdbc.mysql.Driver");
            con=DriverManager.getConnection("jdbc:mysql://165.138.99.765/Bidding","mysql","mmmmm");
            ps=con.prepareStatement("select * from Match_Set");
            rs=ps.executeQuery();
            while(rs.next())
               s1=rs.getString(1);
               s2=rs.getString(2);
               s3=rs.getString(3);
               s4=rs.getString(4);
               user = new User4();
               user.setT1(s1);
               user.setT2(s2);
               user.setO1(s3);
               user.setO1(s4);
               userList.add(user);
      }//try
      catch(Exception e)
           System.out.println(e);
      finally{
           try{
                con.close();
                catch(Exception e)
      }//finally
      return userList;
}/userList
}//userservices4--------------------------User4.java ( A bean Class )
package com.xyz;
import java.io.*;
import java.util.*;
public class User4
     public User4(){}
          public void setT1(String s)
                T1=s;
           public String getT1()
                return T1;
           public void setT2(String s)
                T2=s;
           public String getT2()
                return T2;
           public void setO1(String s)
                     O1=s;
                public String getO1()
                     return O1;
           public void setO2(String s)
                      O2=s;
                 public String getO2()
                      return O2;
       private String T1,T2;
       private String O1,O2;
}-----------------------------form5.jsp
<%@ page import= "java.io.* "%>
<%@ page import= "java.sql.*" %>
<%@ page import= "java.util.*" %>
<%@ page import= "javax.servlet.http.*" %>
<%
ArrayList userList = (ArrayList)request.getAttribute("userList");
out.println(userList);
%>=============================
PLZ HELP ME

thanks for pointing the error i had made,
But this output i got..
[com.pennywise.User4@c0a9f9, com.pennywise.User4@d72200, com.pennywise.User4@1f9338f, com.pennywise.User4@1a80aea, com.pennywise.User4@164b9b6, com.pennywise.User4@1dc64a5, com.pennywise.User4@53c3f5, com.pennywise.User4@166340c, com.pennywise.User4@e33e18, com.pennywise.User4@101ac93, com.pennywise.User4@e90943, com.pennywise.User4@15f1f9c, com.pennywise.User4@1474ea, com.pennywise.User4@107bd0d, com.pennywise.User4@10ca208, com.pennywise.User4@61f533]

Similar Messages

  • Error message: Cannot load the rpt file

    Can anyone please help.
    I created a Crystal Report which I deployed into Business One. Tested this report on about 13 machines running Business One and all running well except one machine where it comes up with the following error messages:
    1: Cannot load the rpt file
    2: Object reference not set to an instance of an object
    3: Invalid report file path
    I have tried logging into Business One on that machine as a different user and encountered the same issue. Then logged onto another machine as the user who uses the machine with the error message and her profile works well on another machine.
    This is leaving me with concluding this problem could be down to the machine but cannot figure out how to fix it.
    Does anyone have any ideas to solving this?
    Thanks
    Tony

    Hi Tony,
    On the troubled computer, check in Control Panel whether Crystal Report Runtime is installed. If not, un-install client app and re-install from B1_Shr client's folder. The first thing that it will do is to instal Crystal Report Runtime.
    Source: when I did an upgrade on a client recently this happened. After troubleshooting everything I found that this issue is a hit-and-miss as some PCs had it some don't. I started comparing between working and non-working PC and found this is the only difference I could found.

  • Windows cannot load the device driver for this hardware. The driver may be corrupted or missing.

    I'm having the error "Windows cannot load the device driver for this hardware. The driver may be corrupted or missing. (Code 39)" and I can't read/write CDs/DVDs. When I try to update the driver  I have the message that it is already up to date.
    I can't find the driver to dowload and try to fix the problem. Where can I download it or solve somehow my problem?

    Hi juigarashi,
    Microsofts automated troubleshooting service on the link below may help
    CD/DVD Repair
    Hope it works for you.
    ****Click the White thumb to say thanks****
    ****Please mark Accept As Solution if it solves your problem****
    ****I don't work for HP****
    Microsoft MVP - Windows Experience

  • Download error cannot load the DLL (pdh dll)

     I've tried and tried several times to download Skype but half way through the down load I get the following error message: cannot load the DLL (pdh.dll)

    Try to run System File Checker tool (sfc /scannow): http://support.microsoft.com/kb/929833

  • InfoPath 2013: InfoPath cannot load the view. The view may have been modified to contain unsupported HTML such as frames.

    Hello Folks,
    I'm facing a strange behavior of InfoPath 2013 while using with SharePoint Designer 2013 to customize the forms. Whenever i open any SharePoint form to customize it in InfoPath 2013, it gives me error "InfoPath cannot load the view. The view may have
    been modified to contain unsupported HTML such as frames."
    Just like all other folks, i also assumed that the forms are corrupted and i need to change the extension to *.cab and blah blah blah. But, when i noticed that the error is coming with new list forms, new workflow forms as well then i tried to research on
    the issue. Surprisingly, all forms are opening on my colleague's PC but not from my PC. We're using the same server, same SharePoint Production, same SharePoint Development and similar InfoPath. Infact, our system team has prepared both of us in a similar
    way. The only difference is OS, where he is using Win 8 and mine is Win 7 Pro.
    Therefore, from last 1 week, i've to swap my PC with my colleague if i've to customize or update any form in InfoPath 2013. This is quite bizarre. Can someone let me know what's wrong with this issue?
    Regards,
    Sohaib
    Sohaib Khan

    Hi Sohaib,
    I'd like to double confirm with you that the issue only occurs to your client machine. Please log on to another machine and see if the issue is related to your account.
    If the issue is only related to your machine, I'd recommend you clear InfoPath cache and repair Office program.
    Then go to InfoPath > Options > More Options > General > Internet Options > Add SharePoint sites to your trusted sites and disbale protected mode.
    http://blogs.msdn.com/b/michael_yeager/archive/2008/07/09/infopath-cache.aspx
    http://office.microsoft.com/en-in/infopath-help/repair-office-programs-HA010357402.aspx
    Regards,
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected] .
    Rebecca Tu
    TechNet Community Support

  • InfoPath cannot load the view. The view may have been modifed to contain unsupported HTML such as frames.

    Hi,
    I'm running InfoPath 2013 Designer and I'm experiencing a very annoying bug. Whenever I try to open a Infopath file I get the error, "InfoPath cannot load the view. The view may have been modifed to contain unsupported HTML such as frames."
    Sometimes it opens without a problem but most the time I get this error message. The strange thing is that I can create a new form without any frames, save it and then when I go to open it have the same problem. I've tried reinstalling InfoPath but it didn't
    help.
    Please help!!!
    Thanks in Advance,
    Mark Elliott
    Windows 7 Home Premium 64 bit; Internet Explorer 11; Office 2013 Pro

    Has anybody figured this out? I have the same problem.  InfoPath 2013 will not open any files from one computer which all work from another computer with the same version of InfoPath so this basically rules out file corruption. (The files are in
    a network share).  Both computer have InfoPath 2013. If I reboot the computer in question it will sometimes work then goes back to the error. 
    The only difference between this computer an all the others is that this one has a bunch of Office 2010 updates since it has SharePoint 2010 designer installed, (not office).  I did try to uninstall the updates but the problem has not been resolved. 
    This is the second time this happens.  Last time I had to completely remove Office 2013 & SharePoint designer then used the Windows rollback feature and finally reinstall office 2013.  Everything worked great until I installed SharePoint 2010
    designer then after a few updates the problem resurfaced.
    This is really annoying, I cant believe its not happening to more people.
    Ben
    ** Update **
    The problem went away although I am not 100% sure why. I decided to provide additional information in case someone has the same issue.  I deleted the Digital Certificate that I had previously requested from our domain server. Now suddenly everything
    is working. Like I said before, I'm not sure if this was the cause/fix but if you are having the same problem perhaps you can try the same thing and provide some feedback to possibly help others.
    I would like to thanks anyone who spent time on this.
    **Update**
    The problem came back. At this point I suspect either an update or something with Visual Studios 2012. My forms are heavy on custom code so I must be doing something wrong. I doubt it was an update since it would be happening to more people
     Again, I am able to open the same file from another computer with the only difference being that the other PC does not have Visual Studio 2012

  • I cannot load the latest version of Itunes on my Toshiba PC with Windows 7 Home Premium. Tried to re-install. Dead in the water. Windows error 126. Cant start becasue MSVCR80.dll is missing from my computer

    I cannot load the latest version of Itunes on my Toshiba PC with Windows 7 Home Premium. Tried to re-install. Dead in the water. Windows error 126. Cant start becasue MSVCR80.dll is missing from my computer

    You may have to follow the slightly more detailed steps in whichever of these two applies to you.
    HT1925: Removing and Reinstalling iTunes for Windows XP
    HT1923: Removing and reinstalling iTunes for Windows Vista, Windows 7, or Windows 8
    Rebooting into safe mode may be needed to delete any folder the instructions say you should remove. You may also find this Microsoft Fixit helps to remove stubborn components. It has taken some people several attempts to completely clean iTunes and supporting software before they have been able to successfully reinstall it.
    tt2
    Message was edited by: turingtest2

  • My canon p-150m scanner gives the error message "cannot load drivers" ever since updating to yosemite

    why does my canon p-150m scanner gives the error message "cannot load drivers" ever since updating to Yosemite ? I have had 2 reload the driver 2x - but each new time I start I keep getting the same error message .

    Try resetting the printing system.
    OS X Mavericks: Reset the printing system

  • I am unable to copy my contact which are in *.vcf format in my pc to my icloud. error shows cannot read the vcard. help

    i am unable to copy my contact which are in *.vcf format in my pc to my icloud. error shows cannot read the vcard. help

    Hey guys,
    So this is follow up from my debarkle with the EDD. I found out my problem with copying files from Mac to EDD and vice versa was a result of a not so good EDD ( i had an apollo hard drive from imation) that was not very compatible with macs. So i did my research and found out that the best hard drives were Western Digital and Seagate. I bought the newest western digital EDD 1TB and formated it to FAT32 and guess what...no problems so far. The only problem is that FAT32 format doesn't copy files larger than about 4 gigs so i couldnt copy a movie from my brothers computer onto my EDD that was 1080p. You could probably resolve that by partitioning a small part of your hard drive in ExFAT? but yeah, hopefully that helped guys.
    Aaisha

  • I am trying to upload photos from my iPhone to my macbook but each time I plug my iPhone into the macbook, a message comes up which says my device is locked with a passcode and I cannot load the photos.  Please help.

    I am trying to upload photos from my iPhone to my macbook but each time I plug my iPhone into the macbook, a message comes up which says my device is locked with a passcode and I cannot load the photos. When I plug my phone in, it is on the home screen and unlocked so I don't understand what I am doing wrong. This has never occurred before. Please help.

    Get a powered USB hub.
    https://discussions.apple.com/community/notebooks/macbook_pro?view=documents

  • WPC Error- Cannot render container : An error occurred while loading the do

    Dear All
    we are on SP13 / EP 7 ..we have created sites using WPC and when we try to trasnport with GUIDSs we got to know that SP13 does not suport GUIDs ..so i have deplyoed SP14 WPC abd the interfase looks differnt and it gives erros ..again i undeployed the SP14 WPC and deployed the SP13 WPC , after that interfase looks ok but we are getting an error in when we try to edit pages through WPC..
    following messgae appera when we open up a page to edit in WPC
    Cannot render container : An error occurred while loading the document from the resource content
    we found this exception in error log in Server..
    couldn't retrieve contents with id -1 com.sapportals.wcm.util.content.ContentException: couldn't retrieve contents with id -1
    #1.5 #00145ECC9C6700780000002500000B80000463656B4E6BC6#1235187149283#com.sapportals.wcm.repository.manager.cm.persistence.commonjdbc.DBContent#sap.com/irj#com.sapportals.wcm.repository.manager.cm.persistence.commonjdbc.DBContent.getInputStream(142)#myadmin#224##myportalci.keells_JPP_15308650#myadmin#212fdd70ffc811dda6de00145ecc9c67#SAPEngine_Application_Thread[impl:3]_24##0#0#Warning##Plain###Couldn't read content with ID -1. Select again...#
    #1.5 #00145ECC9C6700780000002600000B80000463656B4E78E6#1235187149283#com.sapportals.wcm.repository.manager.cm.persistence.DBContentInputStream#sap.com/irj#com.sapportals.wcm.repository.manager.cm.persistence.DBContentInputStream#myadmin#224##myportalci.keells_JPP_15308650#myadmin#212fdd70ffc811dda6de00145ecc9c67#SAPEngine_Application_Thread[impl:3]_24##0#0#Warning##Plain###couldn't retrieve contents with id -1#
    #1.5 #00145ECC9C6700780000002700000B80000463656B4E812B#1235187149283#com.sapportals.wcm.WcmException#sap.com/irj#com.sapportals.wcm.WcmException.WcmException(62)#myadmin#224##myportalci.keells_JPP_15308650#myadmin#212fdd70ffc811dda6de00145ecc9c67#SAPEngine_Application_Thread[impl:3]_24##0#0#Error##Plain###couldn't retrieve contents with id -1 com.sapportals.wcm.util.content.ContentException: couldn't retrieve contents with id -1
         at com.sapportals.wcm.repository.manager.cm.persistence.DBContentInputStream.getInternalStream(DBContentInputStream.java:345)
         at com.sapportals.wcm.repository.manager.cm.persistence.DBContentInputStream.<init>(DBContentInputStream.java:50)
         at com.sapportals.wcm.repository.manager.cm.persistence.BasicPersistenceDB.selectDocumentContent(BasicPersistenceDB.java:1632)
         at com.sapportals.wcm.repository.manager.cm.persistence.commonjdbc.DBContent.getInputStream(DBContent.java:143)
         at com.sapportals.wcm.repository.manager.cm.persistence.commonjdbc.DBContent.getInputStream(DBContent.java:95)
         at com.sapportals.wcm.repository.ContentImpl$ContentWithPrefetchedInputStream.<init>(ContentImpl.java:402)
    Please tell us how to fix this error
    regards
    Buddhike

    Need to upgarde to SP14

  • Help - cannot load the software

    I have just purchased a 5th generation colour ipod. I cannot load the software/disc on windows millennium edition, it states that i need either SP or XP. is there anyway i can load the software in windows Me without having to upgrade my windows software ?? appreciate some help

    Are you not aware that the iPod requires Windows 2000 SP4 or Windows XP before you bought it?
    If you really want to try, see my previous post: James Bond 007, "connecting to Windows ME" #2, 07:09pm Jul 30, 2005 CDT

  • Windows cannot load the Railink bluetooth PCIe adapter driver

    I am using windows 8.1 on Pavilion g6 2313-ax. I installed the bluetooth driver (sp59632) specified for windows 8(x64) in the HP website as nothing was specified for it in windows 8.1 section. But windows is unable to load the driver and the system doesn't even recognise the bluetooth in my laptop. The device manager shows the latest drivers are installed but still shows a yellow mark on the device.
    Here is the screenshot of device manager.

    Hi,
    I can't see the image but I know for sure: many people have had same problem. Please try the following method to fix:
        http://www.wiknix.com/solved-bluetooth-device-not-working-in-windows-8-1/
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • Cannot load JDBC driver class 'com.microsoft.jdbc.sqlserver.SQLServerDriver

    Hi,
    i am doing a forum application.
    i am trying to connect database connection through javax.sql.DataSource.
    I am using Eclipse editor for developing this application and i am using sql server 2000 database.
    i have create a servlet file.
    here is the coding.
    DatabaseGetConnection.java
    `````````````````````````````````````````
    import java.io.IOException;
    import java.sql.Connection;
    import java.sql.SQLException;
    import javax.naming.Context;
    import javax.naming.InitialContext;
    import javax.naming.NamingException;
    import javax.servlet.ServletConfig;
    import javax.servlet.ServletException;
    import javax.servlet.ServletOutputStream;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import javax.sql.DataSource;
    public class DatabaseGetConnection extends javax.servlet.http.HttpServlet implements javax.servlet.Servlet {
    private Connection con=null;
    private DataSource ds=null;
    public DatabaseGetConnection() throws ServletException {
    super();               
    public DatabaseGetConnection(final HttpServletRequest req, final HttpServletResponse res) throws ServletException, IOException {
    this.doPost(req, res);          
    public void init() throws ServletException {
    try
    final Context initContext = new InitialContext();
    final Context envContext = (Context)initContext.lookup("java:/comp/env");
    this.ds = (DataSource)initContext.lookup("jdbc/mySQLServer");
    }catch(final NamingException ne)
    ne.printStackTrace();
    }catch(final Exception e)
    e.printStackTrace();
    public DataSource getDS()
    System.out.println("Datasource method calling");
    if (this.ds!=null)
    System.out.println("Datasource not null");
    }else
    System.out.println("Datasource null");
    return this.ds;
    public Connection getCon()
    try
    this.con=this.getDS().getConnection();
    if (this.con!=null)
    System.out.println("Connection Successfull");
    }catch(final SQLException se)
    System.out.print("Connection Establishment Error : ");
    se.printStackTrace();
    return this.con;
    I have configured server.xml. here is the configuration
    server.xml
    ````````````````
    <GlobalNamingResources>
    <Resource name="jdbc/mySQLServer" global="jdbc/mySQLServer" auth="Container"
    type="javax.sql.DataSource" factory="org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory" driverClassName="com.microsoft.jdbc.sqlserver.SQLServerDriver"
    url="jdbc:microsoft:sqlserver://localhost:1433;DatabaseName=forum;SelectMethod=cursor"
    username="sa" password="sa" maxActive="20" maxIdle="10"
    maxWait="-1"/>
    </GlobalNamingResources>
    here is the web.xml file
    ``````````````````````````````````
    <resource-ref>
    <res-ref-name>jdbc/mySQLServer</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    is this configuration correct? plz help me about the configuration and coding through Eclipse.
    i have run the application and i got the error. here is the error details
    org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot load JDBC driver class 'com.microsoft.jdbc.sqlserver.SQLServerDriver'
    at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:766)
    at org.apache.tomcat.dbcp.dbcp.BasicDataSource.getConnection(BasicDataSource.java:540)
    at com.forum.database.DatabaseGetConnection.getCon(DatabaseGetConnection.java:85)
    at com.forum.database.DatabaseGetConnection.GetAllTopicSearch(DatabaseGetConnection.java:101)
    at org.apache.jsp.test_jsp._jspService(test_jsp.java:73)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:328)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
    at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
    at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
    at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
    at java.lang.Thread.run(Unknown Source)
    Caused by: java.lang.ClassNotFoundException: com.microsoft.jdbc.sqlserver.SQLServerDriver
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Unknown Source)
    at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:760)
    ... 24 more
    thanks and regards,
    k.s.kumar

    Please don't multipost, it's rude: http://forum.java.sun.com/thread.jspa?threadID=5219591
    Please continue on that thread.

  • Cannot load nvidia driver module [SOLVED]

    OK so for some reason I can no longer load the nvidia (proprietary) driver.
    I have a laptop with optimus, on board intel and discrete nvidia GTX680M. I use this laptop for cuda development so I don't care about games etc, I just need the driver loaded to debug and run my cuda  apps. bbswitch still works fine as does bumblebee which I don't use normally but I do have it setup and running in case. Also I didn't really work much on coding last week so not sure exactly when this started.
    So here is what happens when I try to insert the nvidia module or use optirun:
    $ sudo modprobe nvidia
    modprobe: ERROR: could not insert 'nvidia': No such device
    $ sudo insmod nvidia
    insmod: ERROR: could not load module nvidia: No such file or directory
    $ optirun -vv glxspheres
    [ 27.485342] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
    [ 27.485506] [INFO]Configured driver: nvidia
    [ 27.485635] [DEBUG]optirun version 3.2.1 starting...
    [ 27.485642] [DEBUG]Active configuration:
    [ 27.485645] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
    [ 27.485662] [DEBUG] X display: :8
    [ 27.485674] [DEBUG] LD_LIBRARY_PATH: /usr/lib/nvidia:/usr/lib32/nvidia
    [ 27.485676] [DEBUG] Socket path: /var/run/bumblebee.socket
    [ 27.485679] [DEBUG] Accel/display bridge: primus
    [ 27.485681] [DEBUG] VGL Compression: xv
    [ 27.485684] [DEBUG] VGLrun extra options:
    [ 27.485686] [DEBUG] Primus LD Path: /usr/lib:/usr/lib32
    [ 27.560627] [INFO]Response: No - error: Could not load GPU driver
    [ 27.560647] [ERROR]Cannot access secondary GPU - error: Could not load GPU driver
    [ 27.560651] [DEBUG]Socket closed.
    [ 27.560666] [ERROR]Aborting because fallback start is disabled.
    [ 27.560671] [DEBUG]Killing all remaining processes.
    I don't have an xorg file for the intel gpu.
    device nodes are created:
    $ ls /dev/ | grep nv
    crw-rw-rw- 1 root root 195, 0 Sep 24 14:58 nvidia0
    crw-rw-rw- 1 root root 195, 255 Sep 24 14:58 nvidiactl
    log info:
    $cat /var/log/Xorg.0.log | grep EE
    [ 3.385] Current Operating System: Linux gpumonster 3.11.1-1-ARCH #1 SMP PREEMPT Sat Sep 14 19:30:21 CEST 2013 x86_64
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    [ 4.299] Initializing built-in extension MIT-SCREEN-SAVER
    [ 4.308] (EE) Failed to load module "vesa" (module does not exist, 0)
    [ 4.308] (EE) Failed to load module "modesetting" (module does not exist, 0)
    [ 4.309] (EE) Failed to load module "fbdev" (module does not exist, 0)
    $ cat /var/log/Xorg.8.log
    [ 11367.762]
    X.Org X Server 1.14.3
    Release Date: 2013-09-12
    [ 11367.762] X Protocol Version 11, Revision 0
    [ 11367.762] Build Operating System: Linux 3.11.0-1-ARCH x86_64
    [ 11367.762] Current Operating System: Linux gpumonster 3.11.1-1-ARCH #1 SMP PREEMPT Sat Sep 14 19:30:21 CEST 2013 x86_64
    [ 11367.762] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=1c3a736e-6aab-45e1-a9ad-5d2f6195cd7d ro quiet
    [ 11367.762] Build Date: 13 September 2013 01:28:59PM
    [ 11367.762]
    [ 11367.762] Current version of pixman: 0.30.2
    [ 11367.762] Before reporting problems, check [url]http://wiki.x.org[/url]
    to make sure that you have the latest version.
    [ 11367.762] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    [ 11367.762] (==) Log file: "/var/log/Xorg.8.log", Time: Thu Sep 19 23:04:24 2013
    [ 11367.762] (++) Using config file: "/etc/bumblebee/xorg.conf.nvidia"
    [ 11367.762] (++) Using config directory: "/etc/bumblebee/xorg.conf.d"
    [ 11367.762] (==) ServerLayout "Layout0"
    [ 11367.762] (==) No screen section available. Using defaults.
    [ 11367.762] (**) |-->Screen "Default Screen Section" (0)
    [ 11367.762] (**) | |-->Monitor "<default monitor>"
    [ 11367.762] (==) No device specified for screen "Default Screen Section".
    Using the first device section listed.
    [ 11367.762] (**) | |-->Device "DiscreteNvidia"
    [ 11367.762] (==) No monitor specified for screen "Default Screen Section".
    Using a default monitor configuration.
    [ 11367.762] (**) Option "AutoAddDevices" "false"
    [ 11367.762] (**) Option "AutoAddGPU" "false"
    [ 11367.762] (**) Not automatically adding devices
    [ 11367.762] (==) Automatically enabling devices
    [ 11367.762] (**) Not automatically adding GPU devices
    [ 11367.762] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
    [ 11367.762] Entry deleted from font path.
    [ 11367.762] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
    [ 11367.762] Entry deleted from font path.
    [ 11367.762] (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
    [ 11367.762] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
    [ 11367.762] Entry deleted from font path.
    [ 11367.762] (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
    [ 11367.762] (==) FontPath set to:
    /usr/share/fonts/misc/,
    /usr/share/fonts/TTF/,
    /usr/share/fonts/Type1/
    [ 11367.762] (++) ModulePath set to "/usr/lib/nvidia/xorg/,/usr/lib/xorg/modules"
    [ 11367.762] (==) |-->Input Device "<default pointer>"
    [ 11367.763] (==) |-->Input Device "<default keyboard>"
    [ 11367.763] (==) The core pointer device wasn't specified explicitly in the layout.
    Using the default mouse configuration.
    [ 11367.763] (==) The core keyboard device wasn't specified explicitly in the layout.
    Using the default keyboard configuration.
    [ 11367.763] (II) Loader magic: 0x7fdc20
    [ 11367.763] (II) Module ABI versions:
    [ 11367.763] X.Org ANSI C Emulation: 0.4
    [ 11367.763] X.Org Video Driver: 14.1
    [ 11367.763] X.Org XInput driver : 19.1
    [ 11367.763] X.Org Server Extension : 7.0
    [ 11367.763] (II) xfree86: Adding drm device (/dev/dri/card1)
    [ 11367.763] (II) xfree86: Adding drm device (/dev/dri/card0)
    [ 11367.763] setversion 1.4 failed
    [ 11367.764] (--) PCI:*(0:1:0:0) 10de:11a0:1558:5105 rev 161, Mem @ 0xf6000000/16777216, 0xe0000000/268435456, 0xf0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/524288
    [ 11367.764] Initializing built-in extension Generic Event Extension
    [ 11367.764] Initializing built-in extension SHAPE
    [ 11367.764] Initializing built-in extension MIT-SHM
    [ 11367.764] Initializing built-in extension XInputExtension
    [ 11367.764] Initializing built-in extension XTEST
    [ 11367.764] Initializing built-in extension BIG-REQUESTS
    [ 11367.764] Initializing built-in extension SYNC
    [ 11367.764] Initializing built-in extension XKEYBOARD
    [ 11367.764] Initializing built-in extension XC-MISC
    [ 11367.764] Initializing built-in extension SECURITY
    [ 11367.764] Initializing built-in extension XINERAMA
    [ 11367.764] Initializing built-in extension XFIXES
    [ 11367.764] Initializing built-in extension RENDER
    [ 11367.764] Initializing built-in extension RANDR
    [ 11367.764] Initializing built-in extension COMPOSITE
    [ 11367.764] Initializing built-in extension DAMAGE
    [ 11367.764] Initializing built-in extension MIT-SCREEN-SAVER
    [ 11367.764] Initializing built-in extension DOUBLE-BUFFER
    [ 11367.764] Initializing built-in extension RECORD
    [ 11367.764] Initializing built-in extension DPMS
    [ 11367.764] Initializing built-in extension X-Resource
    [ 11367.764] Initializing built-in extension XVideo
    [ 11367.764] Initializing built-in extension XVideo-MotionCompensation
    [ 11367.764] Initializing built-in extension XFree86-VidModeExtension
    [ 11367.764] Initializing built-in extension XFree86-DGA
    [ 11367.764] Initializing built-in extension XFree86-DRI
    [ 11367.764] Initializing built-in extension DRI2
    [ 11367.764] (II) LoadModule: "glx"
    [ 11367.764] (II) Loading /usr/lib/nvidia/xorg/modules/extensions/libglx.so
    [ 11367.773] (II) Module glx: vendor="NVIDIA Corporation"
    [ 11367.773] compiled for 4.0.2, module version = 1.0.0
    [ 11367.773] Module class: X.Org Server Extension
    [ 11367.773] (II) NVIDIA GLX Module 325.15 Wed Jul 31 18:12:00 PDT 2013
    [ 11367.773] Loading extension GLX
    [ 11367.773] (II) LoadModule: "nvidia"
    [ 11367.773] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
    [ 11367.773] (II) Module nvidia: vendor="NVIDIA Corporation"
    [ 11367.773] compiled for 4.0.2, module version = 1.0.0
    [ 11367.773] Module class: X.Org Video Driver
    [ 11367.773] (II) LoadModule: "mouse"
    [ 11367.773] (II) Loading /usr/lib/xorg/modules/input/mouse_drv.so
    [ 11367.773] (II) Module mouse: vendor="X.Org Foundation"
    [ 11367.773] compiled for 1.14.0, module version = 1.9.0
    [ 11367.773] Module class: X.Org XInput Driver
    [ 11367.773] ABI class: X.Org XInput driver, version 19.1
    [ 11367.773] (II) LoadModule: "kbd"
    [ 11367.774] (WW) Warning, couldn't open module kbd
    [ 11367.774] (II) UnloadModule: "kbd"
    [ 11367.774] (II) Unloading kbd
    [ 11367.774] (EE) Failed to load module "kbd" (module does not exist, 0)
    [ 11367.774] (II) NVIDIA dlloader X Driver 325.15 Wed Jul 31 17:50:57 PDT 2013
    [ 11367.774] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
    [ 11367.774] (--) using VT number 7
    [ 11367.774] (II) Loading sub module "fb"
    [ 11367.774] (II) LoadModule: "fb"
    [ 11367.774] (II) Loading /usr/lib/xorg/modules/libfb.so
    [ 11367.774] (II) Module fb: vendor="X.Org Foundation"
    [ 11367.774] compiled for 1.14.3, module version = 1.0.0
    [ 11367.774] ABI class: X.Org ANSI C Emulation, version 0.4
    [ 11367.774] (WW) Unresolved symbol: fbGetGCPrivateKey
    [ 11367.774] (II) Loading sub module "wfb"
    [ 11367.774] (II) LoadModule: "wfb"
    [ 11367.774] (II) Loading /usr/lib/xorg/modules/libwfb.so
    [ 11367.774] (II) Module wfb: vendor="X.Org Foundation"
    [ 11367.774] compiled for 1.14.3, module version = 1.0.0
    [ 11367.774] ABI class: X.Org ANSI C Emulation, version 0.4
    [ 11367.774] (II) Loading sub module "shadow"
    [ 11367.774] (II) LoadModule: "shadow"
    [ 11367.774] (II) Loading /usr/lib/xorg/modules/libshadow.so
    [ 11367.774] (II) Module shadow: vendor="X.Org Foundation"
    [ 11367.774] compiled for 1.14.3, module version = 1.1.0
    [ 11367.774] ABI class: X.Org ANSI C Emulation, version 0.4
    [ 11367.774] (II) Loading sub module "ramdac"
    [ 11367.774] (II) LoadModule: "ramdac"
    [ 11367.774] (II) Module "ramdac" already built-in
    [ 11367.774] (II) NVIDIA(0): Creating default Display subsection in Screen section
    "Default Screen Section" for depth/fbbpp 24/32
    [ 11367.774] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
    [ 11367.775] (==) NVIDIA(0): RGB weight 888
    [ 11367.775] (==) NVIDIA(0): Default visual is TrueColor
    [ 11367.775] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
    [ 11367.775] (**) NVIDIA(0): Option "NoLogo" "true"
    [ 11367.775] (**) NVIDIA(0): Option "ProbeAllGpus" "false"
    [ 11367.775] (**) NVIDIA(0): Option "UseEDID" "false"
    [ 11367.775] (**) NVIDIA(0): Option "UseDisplayDevice" "none"
    [ 11367.775] (**) NVIDIA(0): Enabling 2D acceleration
    [ 11367.775] (**) NVIDIA(0): Ignoring EDIDs
    [ 11367.775] (**) NVIDIA(0): Option "UseDisplayDevice" set to "none"; enabling NoScanout
    [ 11367.775] (**) NVIDIA(0): mode
    [ 11368.299] (II) NVIDIA(GPU-0): Found DRM driver nvidia-drm (20130102)
    [ 11368.300] (II) NVIDIA(0): NVIDIA GPU GeForce GTX 680M (GK104) at PCI:1:0:0 (GPU-0)
    [ 11368.300] (--) NVIDIA(0): Memory: 4194304 kBytes
    [ 11368.300] (--) NVIDIA(0): VideoBIOS: 80.04.29.00.01
    [ 11368.300] (II) NVIDIA(0): Detected PCI Express Link width: 16X
    [ 11368.300] (--) NVIDIA(0): Valid display device(s) on GeForce GTX 680M at PCI:1:0:0
    [ 11368.300] (--) NVIDIA(0): none
    [ 11368.300] (II) NVIDIA(0): Validated MetaModes:
    [ 11368.300] (II) NVIDIA(0): "nvidia-auto-select"
    [ 11368.300] (II) NVIDIA(0): Virtual screen size determined to be 640 x 480
    [ 11368.300] (WW) NVIDIA(0): Unable to get display device for DPI computation.
    [ 11368.300] (==) NVIDIA(0): DPI set to (75, 75); computed from built-in default
    [ 11368.300] (--) Depth 24 pixmap format is 32 bpp
    [ 11368.300] (II) NVIDIA: Using 3072.00 MB of virtual memory for indirect memory
    [ 11368.300] (II) NVIDIA: access.
    [ 11368.304] (II) NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
    [ 11368.304] (II) NVIDIA(0): may not be running or the "AcpidSocketPath" X
    [ 11368.304] (II) NVIDIA(0): configuration option may not be set correctly. When the
    [ 11368.304] (II) NVIDIA(0): ACPI event daemon is available, the NVIDIA X driver will
    [ 11368.304] (II) NVIDIA(0): try to use it to receive ACPI event notifications. For
    [ 11368.304] (II) NVIDIA(0): details, please see the "ConnectToAcpid" and
    [ 11368.304] (II) NVIDIA(0): "AcpidSocketPath" X configuration options in Appendix B: X
    [ 11368.304] (II) NVIDIA(0): Config Options in the README.
    [ 11368.304] (II) NVIDIA(0): Setting mode "nvidia-auto-select"
    [ 11368.308] Loading extension NV-GLX
    [ 11368.312] (==) NVIDIA(0): Disabling shared memory pixmaps
    [ 11368.312] (==) NVIDIA(0): Backing store disabled
    [ 11368.312] (==) NVIDIA(0): Silken mouse enabled
    [ 11368.312] (==) NVIDIA(0): DPMS enabled
    [ 11368.312] Loading extension NV-CONTROL
    [ 11368.312] (II) Loading sub module "dri2"
    [ 11368.312] (II) LoadModule: "dri2"
    [ 11368.312] (II) Module "dri2" already built-in
    [ 11368.312] (II) NVIDIA(0): [DRI2] Setup complete
    [ 11368.312] (II) NVIDIA(0): [DRI2] VDPAU driver: nvidia
    [ 11368.312] (--) RandR disabled
    [ 11368.316] (II) Initializing extension GLX
    [ 11368.342] (II) Using input driver 'mouse' for '<default pointer>'
    [ 11368.342] (**) Option "CorePointer" "on"
    [ 11368.342] (**) <default pointer>: always reports core events
    [ 11368.342] (WW) <default pointer>: No Device specified, looking for one...
    [ 11368.422] (II) <default pointer>: Setting Device option to "/dev/input/mice"
    [ 11368.422] (--) <default pointer>: Device: "/dev/input/mice"
    [ 11368.422] (==) <default pointer>: Protocol: "Auto"
    [ 11368.422] (**) <default pointer>: always reports core events
    [ 11368.422] (**) Option "Device" "/dev/input/mice"
    [ 11368.475] (==) <default pointer>: Emulate3Buttons, Emulate3Timeout: 50
    [ 11368.475] (**) <default pointer>: ZAxisMapping: buttons 4 and 5
    [ 11368.475] (**) <default pointer>: Buttons: 9
    [ 11368.475] (II) XINPUT: Adding extended input device "<default pointer>" (type: MOUSE, id 6)
    [ 11368.475] (**) <default pointer>: (accel) keeping acceleration scheme 1
    [ 11368.475] (**) <default pointer>: (accel) acceleration profile 0
    [ 11368.475] (**) <default pointer>: (accel) acceleration factor: 2.000
    [ 11368.475] (**) <default pointer>: (accel) acceleration threshold: 4
    [ 11368.475] (II) <default pointer>: Setting mouse protocol to "ExplorerPS/2"
    [ 11368.769] (II) <default pointer>: ps2EnableDataReporting: succeeded
    [ 11368.769] (II) LoadModule: "kbd"
    [ 11368.769] (WW) Warning, couldn't open module kbd
    [ 11368.769] (II) UnloadModule: "kbd"
    [ 11368.769] (II) Unloading kbd
    [ 11368.769] (EE) Failed to load module "kbd" (module does not exist, 0)
    [ 11368.769] (EE) No input driver matching `kbd'
    [ 11368.771] (II) config/udev: Adding input device Power Button (/dev/input/event6)
    [ 11368.771] (II) AutoAddDevices is off - not adding device.
    [ 11368.771] (II) config/udev: Adding input device Video Bus (/dev/input/event11)
    [ 11368.771] (II) AutoAddDevices is off - not adding device.
    [ 11368.771] (II) config/udev: Adding input device Video Bus (/dev/input/event9)
    [ 11368.771] (II) AutoAddDevices is off - not adding device.
    [ 11368.771] (II) config/udev: Adding input device Power Button (/dev/input/event5)
    [ 11368.771] (II) AutoAddDevices is off - not adding device.
    [ 11368.771] (II) config/udev: Adding input device Lid Switch (/dev/input/event3)
    [ 11368.771] (II) AutoAddDevices is off - not adding device.
    [ 11368.772] (II) config/udev: Adding input device Sleep Button (/dev/input/event4)
    [ 11368.772] (II) AutoAddDevices is off - not adding device.
    [ 11368.772] (II) config/udev: Adding drm device (/dev/dri/card1)
    [ 11368.772] (II) config/udev: Adding drm device (/dev/dri/card0)
    [ 11368.772] (II) xfree86: Adding drm device (/dev/dri/card0)
    [ 11368.772] setversion 1.4 failed
    [ 11368.772] (II) config/udev: Adding input device HP HP Link-5 micro dongle (/dev/input/event1)
    [ 11368.772] (II) AutoAddDevices is off - not adding device.
    [ 11368.773] (II) config/udev: Adding input device HP HP Link-5 micro dongle (/dev/input/event2)
    [ 11368.773] (II) AutoAddDevices is off - not adding device.
    [ 11368.773] (II) config/udev: Adding input device HP HP Link-5 micro dongle (/dev/input/mouse0)
    [ 11368.773] (II) AutoAddDevices is off - not adding device.
    [ 11368.773] (II) config/udev: Adding input device HDA Digital PCBeep (/dev/input/event12)
    [ 11368.773] (II) AutoAddDevices is off - not adding device.
    [ 11368.773] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=7 (/dev/input/event13)
    [ 11368.773] (II) AutoAddDevices is off - not adding device.
    [ 11368.773] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=3 (/dev/input/event14)
    [ 11368.773] (II) AutoAddDevices is off - not adding device.
    [ 11368.773] (II) config/udev: Adding input device HDA Intel PCH Headphone (/dev/input/event15)
    [ 11368.773] (II) AutoAddDevices is off - not adding device.
    [ 11368.774] (II) config/udev: Adding input device HDA Intel PCH Line Out (/dev/input/event16)
    [ 11368.774] (II) AutoAddDevices is off - not adding device.
    [ 11368.774] (II) config/udev: Adding input device HDA Intel PCH Line (/dev/input/event17)
    [ 11368.774] (II) AutoAddDevices is off - not adding device.
    [ 11368.774] (II) config/udev: Adding input device HDA Intel PCH Mic (/dev/input/event18)
    [ 11368.774] (II) AutoAddDevices is off - not adding device.
    [ 11368.774] (II) config/udev: Adding input device BisonCam, NB Pro (/dev/input/event8)
    [ 11368.774] (II) AutoAddDevices is off - not adding device.
    [ 11368.774] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event0)
    [ 11368.774] (II) AutoAddDevices is off - not adding device.
    [ 11368.774] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/event10)
    [ 11368.774] (II) AutoAddDevices is off - not adding device.
    [ 11368.775] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/mouse1)
    [ 11368.775] (II) AutoAddDevices is off - not adding device.
    [ 11368.775] (II) config/udev: Adding input device PC Speaker (/dev/input/event7)
    [ 11368.775] (II) AutoAddDevices is off - not adding device.
    [ 11374.183] (II) UnloadModule: "mouse"
    [ 11374.199] (II) NVIDIA(GPU-0): Deleting GPU-0
    [ 11374.200] (EE) Server terminated successfully (0). Closing log file.
    I'm not willing to give up and install/build the drivers from the cuda SDK just yet so any help would be greatly appreciated.
    Last edited by tim (2013-10-02 08:20:49)

    So in simple terms, the fix invovled ensuring the nvidia module is loaded before the bbswitch module. I'm not sure about the necessity of the things that follow but the fix may possibly also require removing bumblebee and possibly requires removing nvidia from repos and building the driver downloaded from nvidia.
    This fix could be completely unrelated to the problems I was having with arch but I cannot verify the fix on arch specifically cos I installed every distro under the sun trying to get it all working and I got it to work on a non arch distro.
    So... I'm not sure if I should really mark this a solved because I haven't/can't verify it on arch and technically the solution involved changing to another distro but in fact, I know it has absolutely nothing to do with arch since I saw the same behaviour on 3 other distros. If I have time, I will reinstall arch and verify but for the moment, I have a lot of work to catch up on now that I have a working nvidia driver I can actually use for dev
    Anyway, what I think is going on is there is some bizarre issue with bbswitch that stops the nvidia driver from being found because on the current distro I have installed, if I have no bbswitch, no bumblebee and no nvidia modules loaded or services running etc. I can modprobe the nvidia driver and all works fine. I can then modprobe the bbswitch driver and that works too. IF I modprobe the bbswitch driver first and then modprobe the nvidia driver, I get this error that says the nvidia module cant be found. The location it prints is in some updates directory whcih is odd too because I installed from nvidia source and never installed updates at all and made sure that there were absolutely no repo nvidia drivers or updates etc.
    Last edited by tim (2013-10-02 08:35:39)

Maybe you are looking for