PCI-MXI-2 Linux driver 2.0 for kernel 2.4

I would like to understand who *exactly* I should be getting this software from.
Thanks, Andre

Here you can find an overview of the different versions:
http://forums.ni.com/ni/board/message?board.id=350&message.id=990
As written on the page, you have to contact your local National Instruments, to by the driver or the upgrade there. Check the web for the telfone-numebr of your local National Instruments branch.

Similar Messages

  • Instrument Driver VI's for Linux

    Does anyone know if there are already written VI's which use the comedi
    suite for data acquisition? Preferrably ones very similiar to the windows
    based NIDAQ (like the Configure, Read Data, Write Data, etc) but I imagine
    there will be some differences? If not, I'm ready to start making the suite
    of these.
    Thanks,
    Caleb

    Caleb Tennis wrote:
    > Does anyone know if there are already written VI's which use the comedi
    > suite for data acquisition? Preferrably ones very similiar to the windows
    > based NIDAQ (like the Configure, Read Data, Write Data, etc) but I imagine
    > there will be some differences? If not, I'm ready to start making the suite
    > of these.
    >
    > Thanks,
    > Caleb
    >>>>>>>>>>>>>>>>> Mensaje original <<<<<<<<<<<<<<<<<<
    El 12/14/00, 6:44:20 PM, "Caleb Tennis" escribió
    sobre el tema Instrument Driver VI's for Linux:
    > Does anyone know if there are already written VI's which use the comedi
    > suite for data acquisition? Preferrably ones very similiar to the windows
    > based NIDAQ (like the Configure, Read Data, Write Data, etc) but I imagine
    >
    there will be some differences? If not, I'm ready to start making the suite
    > of these.
    > Thanks,
    > Caleb
    Caleb:
    I am working in the same that you and I saw your questions in the comedi list
    and I am trying the same. I work with the PCI-6025 and I saw that you are
    working with the PCI-6023 but the installation is the same. Furthemore I have
    installed the driver edaq-0.9.5 of National Instrument but the analog output is
    not supported.
    Now I have some problems with the installation of Comedi in Debian 2.2 but I
    will resolve this problem and then I will begin to make the vi's with comedi
    inside, I think that we can help us.
    Please mantain the contact.
    Ricardo Leal Pacheco.
    e-mail: [email protected]/[email protected]
    FONO: (09)7111100, 654622.
    Ingenieria Civil Electrónica.
    Universidad Técnica Federico Santa María.
    Valparaíso-CHILE.

  • QNX or Linux driver that will DMA from a PCI-6052E

    Hi,
    I am planning a QNX or Linux driver that will DMA from a PCI-6052E.
    In the readme at
    ftp://ftp.ni.com/support/daq/linux/Readme
    snip ..
    * DMA is not supported at this time. Doing DMA would require
    programming the mMITE chip on NI's CPCI/PCI/PXI cards, and as of now
    that information is only available under NDA, thus precluding an
    open-source release. Feedback on this issue is appreciated.
    snip ..
    Is this readme up to date? I do need the DMA, and was hoping to get the
    necessary info from the Linux code.
    cheers -- Rick
    Rick Leir
    Pelyco Systems
    rleir at pelyco dot ca replace at and dot
    Sent via Deja.com http://www.deja.com/
    Before you buy.

    Yes sadly I have tried that config.  I did a clean XP install with onboard sound and agp card, after install completes and windows loads for first time it would play most of the login tune then crash with a loud continuous shriek.  Went into BIOS, disabled sound, unjumpered it, reboot, and boom it ran great.
     Would an IDE contoller card be an option here?  or would the stuttering Southbridge still be involved?

  • Microsoft SQL Server ODBC Driver 1.0 for Linux problem

    Hello! I've RedHat Linux 6 Update 1 x64 on VMware Player and MS SQL Server on real machine. My application "servernew" on RedHat. All right, but when i try connect my SQL Server:
    retcode = SQLDriverConnect(hdbc,NULL,string,sizeof(string),buf,sizeof(buf),&StringLength2,SQL_DRIVER_NOPROMPT);
    i get retocde = -1;
    Using SQLGetDiagRec:
    MessageText = Data source name not found, and no default driver specified
    To make my connection i use next attempts for connection string:
    //char constring[200]="Driver={Microsoft Server ODBC Driver 1.0 for Linux};Server=ARTPK2\\SQLEXPRESS2;Database=Kurs;Uid=sa;Pwd=2ef5Fese";
    //char constring[200]="Driver={SQL Server Native Client 11.0};Server=ARTPK2\\SQLEXPRESS2;Database=Kurs;Uid=sa;Pwd=2ef5Fese";
    //char constring[200]="Driver={Microsoft SQL Server ODBC Driver V1.0 for Linux};Server=ARTPK2\\SQLEXPRESS2;Database=Kurs;Uid=sa;Pwd=2ef5Fese";
    //char constring[200]="Driver={/opt/microsoft/sqlncli/lib64/libsqlncli-11.0.so.1790.0};Server=ARTPK2\\SQLEXPRESS2;Database=Kurs;Uid=sa;Pwd=2ef5Fese";
    char constring[200]="DSN={SQL Server Native Client 11.0};Uid=sa;Pwd=2ef5Fese";
    but...Data source name not found, and no default driver specified .. help me

    Ok. New attempts with sqlcmd:
    [root@localhost ~]# sqlcmd -S 192.168.0.3 -U sa -P 2ef5Fese -d first
    SqlState HYT00, Login timeout expired
    A network-related or instance-specific error has occurred while establishing a connection to SQL Server. Server is not found or not accessible. Check if instance name is correct and if SQL Server is configured to allow remote connections. For more information
    see SQL Server Books Online.
    TCP Provider: Error code 0x6F
    New error 0x6F (i turned off firewall in windows).
    [root@localhost ~]# sqlcmd -S ARTPK2\\SQLEXPRESS2 -U sa -P 2ef5Fese -d first
    SqlState HYT00, Login timeout expired
    A network-related or instance-specific error has occurred while establishing a connection to SQL Server. Server is not found or not accessible. Check if instance name is correct and if SQL Server is configured to allow remote connections. For more information
    see SQL Server Books Online.
    SQL Server Network Interfaces: Error Locating Server/Instance Specified [xFFFFFFFF].
    It's bad way, but...
    [root@localhost ~]# sqlcmd -D -S ARTPK2\\SQLEXPRESS2 -U sa -P 2ef5Fese -d first
    SqlState IM002, Data source name not found, and no default driver specified
    It's like in my program!!
      retcode = SQLDriverConnect(hdbc,NULL,string,sizeof(string),buf,sizeof     (buf),&StringLength2,SQL_DRIVER_NOPROMPT);
      i get retocde = -1;
      Using SQLGetDiagRec:
      MessageText = Data source name not found, and no default driver specified
    Why "SQLDriverConnect"  is looking for DNS?!

  • PCI Simple communications controller driver suitable for Windows 7 x64

    Hi,
    I'm looking for a PCI Simple communications controller driver suitable on Windows 7 x64.
    Does this have anything to do with Bluetooth? Because the Bluetooth is not working 100%, Nokia Suite does not recognize the Bluetooth device on my laptop.
    The Bluetooth symbol is in the taskbar, but only when i use "fn"+f12(wireless com.) after startup
    I have a HP envy 17 j009ed.
    Kid regards,
    NickdB

    NickdB
    Identical system, you find the drivers bios etc. here
    http://h30434.www3.hp.com/t5/Notebook-Operating-Systems-and-Software/Windows-7-64bits-drivers-for-En...
    Say thanks by clicking the "Kudos! Star" which is on the left.
    Make it easier for other people to find solutions, by marking my answer with "Accept as Solution" if it solves your issue.

  • Need driver nokia 5200 for linux fedora core 8

    Hi......
    Where i can download driver nokia 5200 for internet connectivity with nokia 5200 linux fedora core 8?
    Thanks

    The required driver is already in the kernel (cdc_acm).
    Although the N95 is used in this example, it should work for a 5200 as well:
    http://linux.sgms-centre.com/nokiafaq/mobile_broadband/
    Was this post helpful? If so, please click on the white "Kudos!" star below. Thank you!

  • Linux driver for Dynadock PA3575E-1PRP

    We have several Dynadock at work and are migrating to Linux. Is there a driver for it?
    Thanks.

    Hello
    Toshiba doesnt offer support for Linux so on official Toshiba download page you will not find any Linux driver for it.

  • Linux driver for wireless PCMCIA card CD54G2

    I puchased a wireless PCMCIA card - doesn't say who produced it, but is says: "Marketing name: CB54G2", so I guess it is made by MSI.
    I have dual boot laptop - WinXP and Linux Suse 9.1 Professional. I have no problem using this card under WinXp, but I am looking for a Linux driver for this card. Any idea where I find it?
    Thanks,
    Zalek

    Hi,
    Download and install the driver for Realtek wireless RTL8185L from  here.
    Use the Windows 7 driver. If there will be problem with the installation process then use the Compatibility mode.
    Resource:
    Windows 8 compatibility mode
    ** Say thanks by clicking the "Thumb up" icon which is on the left. **
    ** Make it easier for other people to find solutions, by marking my answer with "Accept as Solution" if it solves your issue. **

  • Analog Triggering and Interrupt generation on the PCIe-6320 under Linux

    We would like to use the analog triggering functions of the PCIe-6320 under Linux to time tag external events.
    I have no experience with the MH DDK but have been told this is what we would need to implement the functions we want. We plan on using Fedora Linux and we are targetting kernel 2.6.31 with the PREEMPT_RT patch applied. We may consider slightly more recent kernel versions. The PREEMPT_RT patch is used to greatly improve determinism in the system and get real-time responses to some external events.
    Here is what we wish to do in more details:
    We wish to route at least two analog inputs to the comparator, then route the output of the comparator to a digital input which in turn would create a PCIe interrupt. The interrupt software handler would than time tag that event for our application purposes. We need the comparator threshold to be software programmable in level and slope. We are also interested in using the Watchdog Timer feature of the board.
    Our application is written in C/C++.
    Would the above be feasible? Please provide comments and instructions how we should address our requirement.
    Thanks!

    Patof wrote:
    I am not familiar with the MHDDK. I would like to have an idea of the effort required to implement the functions I have described using MHDDK on Linux. Like I mentionned, we plan on using Linux kernel 2.6.31 with the PREEMPT_RT patch. Could you provide comments on that matter? I need to evaluate the amount of time I will need to spend to deploy and use MHDDK for the PCIe-6320.
    There are two factors to consider when writing a driver for your specific application:
    Using the deterministic kernel API calls
    Writing to the device registers to
    Control the watchdog timer
    Configure the analog comparator
    Manage the analog subsystem state as trigger events occur
    Handle device interrupts
    The MHDDK for X Series offers the following behavior out-of-the-tarball:
    A Linux kernel module using the standanrd kernel and PCI subsystem calls
    Mapping device registers to user-mode for access
    Demonstrating/documenting how to
    Control the watchdog timer (dioex6.cpp)
    Manage the analog subsystem state as trigger events occur (aiex2.cpp, aiex4.cpp)
    Handle device interrupts (reference manual only)
    There are two notably missing pieces and one item to consider:
    Missing: deterministic kernel API calls. If you decide to use the nirlpk module, you would need to change it from the standard interfaces to the deterministic variants.
    Missing: configuring the analog comparator. You will need to implement this with additional insight from this discussion board.
    Consider: if your application requires device access from kernel-mode only, you would not be able to use the MHDDK's C++ classes that perform device programming but would need to implement register programming in C.
    To estimate the time for these three, here are my recommendations:
    Review the nirlpk.c source file to understand how device access and DMA buffers are implemented and mapped to the user-mode application.
    Beware that operation-specific programming help (as you would need for analog triggering) typically requires two weeks for a complete response.
    Review the ChipObjects in the MHDDK distribution to understand how register addresses, widths, and bit fields affect device programming.
    Joe Friedchicken
    NI VirtualBench Application Software
    Get with your fellow hardware users :: [ NI's VirtualBench User Group ]
    Get with your fellow OS users :: [ NI's Linux User Group ] [ NI's OS X User Group ]
    Get with your fellow developers :: [ NI's DAQmx Base User Group ] [ NI's DDK User Group ]
    Senior Software Engineer :: Multifunction Instruments Applications Group
    Software Engineer :: Measurements RLP Group (until Mar 2014)
    Applications Engineer :: High Speed Product Group (until Sep 2008)

  • Getting started porting Linux driver

    Hello,
    If this question has been posted somewhere else please point me in the right direction.
    I'm new to solaris and my goal is to port a Linux driver (vmebus pci device on Redhat) to Solaris (X86 v5.11). The Linux driver is all written in straight C. I've installed Solaris Express Dev Edition 2/07. I see that gcc is there (under /usr/sfw/bin) but it seems like a bare-bones development environment (no enviroment variables set up , etc).
    My question is is this the right set of development tools to proceed forward with or should I be downloading something else ? Is there some easier to use graphical 'IDE like' set of tools that is more appropriate for a Solaris newbie like me ? I know Forte is a commercial product, what is the best freeware for graphical C development ?
    Regards,
    Brent
    Message was edited by:
    bbartson

    Here's what I would do... go to this website and download an ISO of a live CD. You can burn it, stick it in your CD drive, and start your PC. It will boot to Linux without ever having to format anything, that way you can tinker around with how it feels. After you are happy with that, you can download and install a distro...
    http://www.kubuntu.org/special-cds.php
    As far as disrtos go, I would choose one of the following for a first time user:
    Kubuntu (because it's easy to get started) http://www.kubuntu.org/ or
    Fedora Core 5 (because it's easy to download and add packages -- most in the Add/Remove Programs app) http://fedora.redhat.com/
    Both of these distributions have a lot of help and howtos when it comes to Oracle as well. If you don't like KDE (I do but that's personal preference) then FC5 gives you the option of Gnome or KDE and Ubuntu is the non-KDE version of Kubuntu.
    ~Jer

  • Can I use NI pcie-1430 in linux ?

           I want to  use NI pcie-1430 in linux environment or a embed linux,. But I don't know if i can get a linux driver and how can i get.
          Thanks!.

    Has this changed since the orignal post? it's been 5 years, so I would hope NI would branch out a little and support linux for high speed image acqusition, MATLAB does.

  • PCI-MXI-2 Using old drivers on new OS

    I have a PCI-MXI-2 card that is currently in a Windows Xp computer.
    The windows xp computer is using the driver  NI VXI 2.1.1 (Windows 9x/NT/2000).
    This current setup works. I would now like to move to Windows 7.
    The card is connected by VXI to a VME-MXI-2 card, which is configured with three measurement cards from an outside company.
    Because of the hardware that I am using, I believe I must keep the orriginal driver in order for it to work. I have not been successful with newer NI drivers.
    Does anyone have advice on using older NI drivers on newer operating systems?
    I have not been having much luck with this approach so far.
    Solved!
    Go to Solution.

    Update:
    - I removed all the national instruments software
    - I installed the old drivers on Windows 7 in compatibility mode (ni vxi 2.1.1, VISA shared components 1.6, IVI shared components 2.2.1)
    - I made sure that all software was the same version as on the old machine
    - I then configured the boards with T&M manager
    Success. Everything now works.  This is a very valid approach for those using old hardware that can't handle the new drivers. 

  • Windows 7 - Driver Availability Chart For Creative Products is nearly useless

    <span class="text">[url="http://support.creative.com/kb/showarticle.aspx?sid=605">Windows 7 - Driver Availability Chart For Creative Products[/url] is outdated Windows pre-release drivers (at least for the Audigy SB0090 series) back from July. This appear to be revamped Vista drivers that are not usable for W7 RTM. MS made changes to W7 where most Vista drivers do not work properly any more.
    When I try to install the drivers through the installer I get the incompatibility error and the installer quits, then I get the failed install pop-up for W7.
    What I would like to know is when Creative plans on releasing drivers that work with W7 RTM? Llinking drivers that worked for W7 RC is not helping and really should be removed.
    I have used Creative sound cards since just before the SB6 came out. I have been a loyal Creative customer from early on. But if Creative can not deali'ver a fully working driver suit for my sound card by the end of the month (November) I would appreciate knowing so I can start looking for another a replacement, which won't be a Creative product.
    Even though my last 3 MBs have had good built-in sound, I have went out and bought Creative sound cards because I wanted the best, which Creative has previously provided.
    I need to upgrade my MB so I have put of buying a new sound card until I do. But if I'm forced to buy a new sound card because Creative says it will provide drivers that work with W7 RTM and for what ever reason can not do so, I will not be buying another Creative product.
    I maintain 4 PCs of my own so that will be 4 cards bought from a competitor since Creative has completely dropped the ball. All major component manufacturers have been able to release stable drivers at the same time as W7 RTM release , or within days after release. Why hasn't Creative been able to do so? Creative was able to release suitable drivers for RC in a timely fashion, what happened with W7 RTM? Did they recently fire all the programs and techs?
    Please do not link useless info. Please find out what is going on and tell the powers-that-be at Creative they have some really upset customers and ask them to tell us what is happening here. Tell them we would like to know when Creative plans on releasing drivers for W7 RTM so we can make the decision to wait it out or buy replacements.

    Again, yes Device Manager has no problem detecting the card and W7 has no problem loading the default Window drivers for it.
    Since I had to replace my TV Tuner Card, I used Device Manager to remove it and my Audigy card and then shut the PC down. My new TV Tuner Card is a PCI-E x so I installed it in an open slot and move the Audigy to the PCI slot where the old TV Tuner Card was.
    When I started my PC again, W7 detected the Audigy card and loaded the defeult drivers. I again tried to use the installer and had the same error.
    The sound works, but I only have basic Windows functions/controls.
    It is most definately not a hardware issue.
    The online auto update detects it, just the installer does not detect it.
    I am currently awaiting a response from CS now. Of course the problem there is that you have to wait/respond, wait/respond, wait/respond just to cover the same ground that has been gone over a hundrd times already.
    I put every step I have done in the email. As usual, it was a waste to type because you are asked questions already answered and to preform steps already done.
    It would be nice if CS would realize that some of us are only contacting CS because we have already done all the standard steps without success and now need to move onto the advanced ste
    ps.

  • HOW TO upload linux drivers to OES SP2 linux driver store

    Hi everyone,
    I couldn't get iprntcmd to upload a linux driver to OES SP2 driver
    store. Tried everything. Drove me crazy.
    The solution I finally came up with is multi-step but it works. Do
    this as root.
    First:
    You can't upload the drivers in compressed form (.gz extension) so to
    expand them all you run
    for filename in /usr/share/cups/model/*.gz; do gunzip
    /usr/share/cups/model/ "$filename";done
    This expands all the zipped files in the driver directory.
    Second:
    Run the following to upload the drivers to the driver store:
    for filename in /usr/share/cups/model/*.ppd; do iprntman driver linux
    -upload -username admin -P novell -from-ppd
    /usr/share/cups/model/"$filename";done
    Obviously, you need to substitute your own username and password (-P
    parameter). If you don't add the username and password, you'll be
    prompted for them for each driver uploaded.
    It's not pretty, but it'll get you there.
    Regards,
    Don

    Don,
    It appears that in the past few days you have not received a response to your posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Do a search of our knowledgebase at http://support.novell.com/search/kb_index.jsp
    - Check all of the other support tools and options available at http://support.novell.com in both the "free product support" and "paid product support" drop down boxes.
    - You could also try posting your message again. Make sure it is posted in the correct newsgroup. (http://support.novell.com/forums)
    If this is a reply to a duplicate posting, please ignore and accept our apologies and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://support.novell.com/forums/

  • "cannot create jbcd driver of class " for connect URL 'null'" error

    I am trying to get an application that is currently working fine on a Windows platform to work in a Linux environment.
    One thing that is different from my setup in Windows, and also one that I have no experience with, is the Linux-Ubuntu default install of Apache uses Virtual Hosts and Tomcat's equivalent multiple sessions.
    I'm running the app out of the usr/share/tomcat6/webapps/msgboard instance of Tomcat vs var/lib/tomcat6.
    I am calling the application from Apache Virtual Host port 80 using mod_jk. The application cannot run under native Tomcat because of the extensive use of PHP. Everything else in the application is working correctly including a DWR (Ajax) servlet. However I also tried a simple test app from native Tomcat and got the same results.
    I also tried connecting with jdbc:mysql://localhost:3306/msgboard?autoreconnect=true&user=root&password=password at the terminal prompt and got
    bash: jdbc:mysql://localhost/msgboard?autoreconnect=true: No such file or directory
    [1]7074
    [2] 7048
    [1] Exit 127 jdbc:mysql://localhost/msgboard?autoreconnect=true
    [2]+ Donesyslog error is
    Feb 23, 2009 3:01:51 PM org.directwebremoting.util.CommonsLoggingOutput info INFO: Exec: Online.getPosts()
    Feb 23 15:01:51 ubuntu jsvc.exec[6779]: org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null'
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Feb 23 15:01:51 ubuntu jsvc.exec[6779]: Caused by: java.sql.SQLException: No suitable driverFollowing is all the pertinent setup info for reference and critique. Any suggestions would be greatly appreciated.
    Apache2.2
    Tomcat6
    JDBC
    mod_jk
    Java (not sure what ver, it's the default Ubuntu install ver.)
    PHP
    Currently I am pointing to mysql-connector-java.jar in my CLASSPATH at /usr/share/java/mysql-connector-java.jar added symlinks commons-dbcp.jar, commons-logging.jar to usr/share/tomcat6/lib
    Application is deployed from usr/share/tomcat6/webapps/msgboard
    The basic code snippet in class calling the jdbc
    WEB-INF/classes/dbLink.class
    Context ctx = new InitialContext();
    DataSource ds = (DataSource)ctx.lookup("java:comp/env/jdbc/msgboardDB");
    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 id="msgboard">
    <display-name>Message Board</display-name>
    <resource-ref>
    <description>DB Connection</description>
    <res-ref-name>jdbc/msgboardDB</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    </web-app>
    META-INF/context.xml
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <Context path="/msgboard" docBase="msgboard"
    debug="5" reloadable="true" crossContext="true">
    <Resource name="jdbc/msgboardDB"
    auth="Container"
    type="javax.sql.DataSource"
    maxActive="100"
    maxIdle="30"
    maxWait="10000"
    username="root"
    password="thePassword"
    driverClassName="com.mysql.jdbc.Driver"
    url="jdbc:mysql://localhost:3306/msgboard?autoReconnect=true"/>
    </Context>
    I also included a symlink to this in var/lib/tomcat6/config named msgboard.xml
    per instruction at http://ubuntuforums.org/showthread.php?t=430133 and have since removed it.
    my.cnf
    [client]
    port = 3306
    bind-address = 127.0.0.1
    permissions set in /etc/tomcat6/policy.d/04webapps.policy
    permission java.net.SocketPermission "127.0.0.1:3306", "connect,resolve,listen,accept";
    per instruction at http://ubuntuforums.org/showthread.php?t=430133
    other permiissions set /etc/tomcat6/policy.d/50local.policy
    grant codeBase "file:/usr/share/tomcat6/webapps/msgboard/-" {
    permission java.net.SocketPermission "127.0.0.1:3306", "connect,resolve,listen,accept";
    grant codeBase "file:/usr/share/tomcat6/webapps/msgboard/WEB-INF/classes/-" {
    permission java.io.FilePermission "/usr/share/tomcat6/webapps/msgboard/WEB-INF/classes/logging.properties", "read";
    grant codeBase "jar:file:/usr/share/tomcat6/webapps/msgboard/WEB-INF/lib/mysql-connector-java-5.1.6.jar!/-" {
    permission java.net.SocketPermission "127.0.0.1:3306", "connect,resolve,listen,accept";
    I even tried setting Tomcat Security to "no" per instruction at
    http://webui.sourcelabs.com/ubuntu/mail/user/threads/Tomcat_connecting_to_MySQL_-Ubuntu8.10_Server.meta
    http://ubuntuforums.org/showthread.php?t=1034957&highlight=apache+tomcat+jdbc
    http://ubuntuforums.org/showthread.php?t=66615
    http://ubuntuforums.org/showthread.php?t=33601&highlight=java+mysql
    http://ubuntuforums.org/showthread.php?t=430133
    http://programminglinuxblog.blogspot.com/2008/03/connection-pooling-with-java-all.html
    http://webui.sourcelabs.com/ubuntu/mail/user/threads/Tomcat_connecting_to_MySQL_-Ubuntu8.10_Server.meta

    SOLUTION
    I had to add
    <Resource name="jdbc/webappDB"
         auth="Container"
         type="javax.sql.DataSource"
            maxActive="100"
         maxIdle="30"
         maxWait="10000"
            username="root"
         password="password"
         driverClassName="com.mysql.jdbc.Driver"
            url="jdbc:mysql://localhost:3306/webapp?autoReconnect=true"/>into /var/lib/tomcat6/conf/Catalina/localhost/ webapp.xml
    Note: the above context file was created automatically after deploying the webapp. I had to add the <resource> to it.
    The context I created in usr/share/tomcat_home/webapp/META_INF/context.xml is still there and has the same <resource>.defined in it. I did not verify whether or not it still needs to be there.
    After that I had to add two policies
    /var/lib/tomcat6/conf/policy.d/03catalina.policy
    grant {
    permission java.lang.RuntimePermission "accessClassInPackage.org.apache.tomcat.dbcp.*";
    and 04webapps.policy
    permission java.net.SocketPermission "127.0.0.1:3306", "connect,resolve,listen,accept";
    That did the trick!
    Other things that were done but have not been verified as to have any bearing on this issue.
    I changed the active java from openjdk to java-sun
    I added $tomcat_home/lib:$tomcat_home/lib/mysql-connector.jar:$tomcat_home/lib/commons-dbcp.jar to PATH
    Changed CLASSPATH=usr/share/classpath:usr/share/java/commons-dbcp.jar:usr/share/java/mysql-connector.jar
    Edited by: wlbragg on Feb 25, 2009 12:58 AM
    Edited by: wlbragg on Feb 25, 2009 12:59 AM
    Edited by: wlbragg on Feb 25, 2009 1:11 AM

Maybe you are looking for

  • Purchase Order history is not updated with Invoice number

    Hello Experts , Please suggest some inputs/solution for my problem. Scenarios is : PO --> SO --> Invoice I am creating the invoice with the medium EDI , when I click on Save button IDOC is generated with the message " IDoc 'xxxxxxxxxxxxx' was created

  • Printing multiple documents in single pdf on double sided printer

    What is the best way to print a PDF document with a large number of documents so that the start of a successive document does not end up printing on the back page of the prior document? Each document has a cover page and could be used as a "key", but

  • Do I need a cover for my iphone4?

    Isn't it supposed to be harder and more durable than previous models? It's so cool looking, I hate to cover it up with a piece of plastic, but I don't want it to be thrashed in 2 years.

  • City ID - Subscription or Continue Free Trial

    An app that came preinstalled on my Droid X called "CityID" has taken over my screen on its own. I don't believe I launched this app. The screen is telling me that I either should subscribe to City ID for a monthly fee, or I can "continue free trial"

  • Horizontal Federation of relational and Essbase source in OBIEE 11g

    Hi, I have created physical, business model and presentation layer for Essbase and relational sources. Works OK. Now I need to create business model which is horizontal federation of these both sources. I need to have measures from Essbase and relati