Using MM drivers

Hi,
Product:           Java Web Application
Operating system:     Linux (Redhat 7.3)
Web Server:          Apache
Application server:     Tomcat 4.0.4
Database server:     MySQL 3.23.49
Java Architecture:     JSP (presentation) + Java Bean (Business logic)
     One page that uses a complex SQL query to the database is taking quite a long time (even 30+ seconds sometimes) when one of the corresponding tables is populated with more than 300,000 records. Using the same query directly on MySQL fetches the result in less than a second. The server is having 2 GB RAM and dual processors. The load on the server is also not high.
     We have been using MM drivers for connecting Tomcat and MySQL in our application. Can anybody say what could be wrong?
Thanks in advance.
Srikanth. S.

Hi
I don't know the exact implementation details of ur project. Any how, are you using a database connection pool or creating a database connection for every request?. If u create a new database connection for every query the connection overhead will be added to the fetch time. Check with this.
Regards

Similar Messages

  • Can I use LINUX Drivers in Solaris 10...

    As a beginner, I have installed Solaris 10 version 08/07 onto my system. The motherboard is ASUS M2A-VM, with integrated graphics, network interface, audio, etc...
    My audio and network interface are not working... The motherboard came with a cd which has windows drivers and additional software.
    It also has linux drivers for:
    Audio:
    Core5
    Core6
    Linux
    RHEL4
    SUSE10
    Other
    realtek-linux-audiopack-4.05f
    LAN
    FreeBSD
    Linux
    SCO_OpenServer6
    Unixware7.x
    Chipset, and RAID!
    Has anyone used any of these ASUS Linux drivers with Solaris...
    If so what steps do I need to take to get them to work on my system! (I hate to ask, I know you all have better things to do) Maybe you can point me to a good book that explains how to go step by step...
    My question is how do I get my NIC to work (What steps do I need to follow? the sound is not an issue, as, I can do with out that. Will any of the drivers mentioned above work?) thank you in advance for your answers...

    Drivers are the "connective tissue" between the Operating System and the hardware. The connections from the drivers to the OS are not compatible between different operating systems, so no, you cannot use Linux drivers in Solaris.
    If the OS is similar enough you can sometimes get away with it -- example, using Solaris 9 drivers in Solaris 10. But between completely different OSes? Won't work.

  • Using IVI drivers in LabView 5.1.1

    Hi,
    We have a set of IVI drivers ( class specific and custom specific ) developed in LabWindows/CVI 7 and IVI Compliance package 2.2 version. We want to use these drivers in a new application in LabView 5.1.1 version. I want to use the class specific drivers through the IVI class drivers in LabView 5.1.1 so as to cater for the interchangeability aspect configuring the logical names in MAX. Finally I would be creating an Installer with executable and distributing it.
    I want to clarify few issues.
    1. Please let me know whether I need to install any other software's apart from NI DAQ, IVI compliance package 2.2 and the Installer in the User PC. Does the IVI engine, Tool set, Class drivers for LabView 5.1.1 come with the compliance package?
    2. Does MAX 2.1 support IVI drivers, interchangeability through class drivers and compliance package 2.2 or should I use MAX 3.0 for best results?
    3. When I import a IVI driver (developed using IVI compliance package 2.2) to LabView 5.1.1 and try to use the functions there are some problems in the functions. As per the IVI specifications 3.2, functions GetErrorInfo and ClearErroInfo are changed to GetError and ClearError. But it shows error in the functions at those points and we have to go to IVI Error Converter.vi and change the configuration of the library node and direct it to the GetError function. Do we have an alternative to avoid this process?
    It would be of great help if somebody can clear these issues.
    Thanks & Regards,
    Siddu

    1.  The IVI Compliance Package (ICP) 2.2 installs the IVI Engine and Class Driver support for LabVIEW 7.0 and 7.1.  It does not install Class Drivers for LabVIEW 5.1.
    2.  ICP 2.2 requires MAX 3.0 to get the IVI interchangeability provider in MAX.
    3.  LabVIEW 5.1 was released before the official IVI specifications 3.2 were approved.  Prior to 3.2, the function names were GetErrorInfo and ClearErrorInfo.  Those changed to GetError and ClearError.  The LabVIEW wrapper generation tool that shipped with LabVIEW 5.1 is not aware of these changes.  Therefore, my suggestion is to upgrade to a later version of LabVIEW so that you will have support for the current IVI specifications and class drivers.

  • Can I use / find drivers for an HP Deskjet 3520e on OSX 10.4.11

    Can I use / find drivers for an HP Deskjet 3520e on OSX 10.4.11

    Thanks for suggestion but HP Support Center don't support the HP Deskjet 3520 e.
    Our old iMac wont upgrade to "snow-leopard"  -   the drivers supplied with the printer are not backwards compatible beyond IOS 10.6.  We are max-updated at 10.4.11.
    Tried a "gimp" (?) set of drivers which goes through an auto-install but I can't see or select the drivers.
    Find it hard to believe that there is no solution

  • PXI 4070 use DAQmx Drivers

    I have replaced a PXI 4060 card with a PXI 4070 card in a PXI 1042 chassis that I use for resistance measurements.  I want to use DAQmx drivers instead of the traditional daq drivers.  How can I do this?
    My controlling software is VB6.  I have had issues with traditional daq on Windows XP machines with new NI installations.  Errors indicate there is an issue with the traditional daq drivers.  The sample applications installed with the niDMM 2.7 installation error with message "Error Loading Driver Module".  I have used the palbase utility in the past to work around this issue, however, the palbase utility is not failing to change the base address.  There is an error message associated with the failure, but I figure I may save myself the headache by switching to DAQmx drivers.

    I would recommend upgrading to the niDMM 3.0.4 drivers found here.  This version is still compatible with Visual Basic 6.0 and Windows XP.  niDMM 2.7 would have installed NI-DAQ 8.5.  The name indicates that it is traditional DAQ, but as far as I can tell, version 8.5 was only DAQmx.  3.0.4 will also install a newer version of DAQmx that is compatible with XP, as well as the examples.  It seems that the version you have should have worked, but there may be some corruption, or there may have been a version of traditional DAQ 8.5 at some time (we had some versions of NI-DAQ that included both traditional DAQ and DAQmx).  I hope this helps!
    Thanks,
    Sean
    Applications Engineering Specialist - Semiconductor Test
    National Instruments

  • OAS and using JDBC-drivers from EJB

    Hi.
    I have a problem with accessing the database from EJB-components
    deployed to OAS 4.0.8. The database is 8.1.5-version. I'm trying
    to use a connection exactly like it is documented in OAS-EJB-
    documents, the connection string looks like this:
    Connection conn = DriverManager.getConnection
    ("jdbc:oracle:jts8:@ora8i");
    And this is the error that above sentence it generates:
    "Sub Protocol must be specified in connection URL".
    The DAD(ora8i) is created in OAS.
    Now, I don't even know if this uses JDBC/OCI or thin since the
    documented connection-string doesn't contain that information. I
    quess it must use OCI-drivers, at least I should use them and
    they should be installed with OAS.
    So:
    * I should use only jts-enabled JDBC-drivers when developing EJB-
    components, is this right?
    * How can I connect to the database (from OAS 4.0.8 to Oracle
    8i), the string please?
    Thanks,
    [email protected]
    null

    Hi Suresh,
    There is lot of Documentation available on this, check these links
    http://help.sap.com/saphelp_nwce10/helpdata/en/45/07d2eeea3e0485e10000000a155369/frameset.htm
    http://help.sap.com/saphelp_nwce10/helpdata/en/45/08546ff5200486e10000000a155369/frameset.htm
    Venkat.

  • Is there a way to hear sounds in FF while using ASIO drivers for system audio ?

    I'd like to be able to hear sounds from FF (audio /mp3 , audio from video ) when using music applications which perform better with ASIO drivers - ASIO4ALL.
    At present I can only get audio out of FF if using system primary sound driver : when I switch to ASIO or ASIO4ALL I get audio from music apps, but lose audio in FF.
    Is there a way to set the FF audio handler to pick up whatever the system is using for sound - or specifically to choose which installed sound drivers to work with ?
    Thanks.

    So in Windows 7 after opening control panel / sounds / playback , then selecting the appropriate playback device/ speakers, then properties / advanced , then deselecting "allow applications to take exclusive control of this device", the issue is fixed - ASIO through DAW software while audio playback continues in FF, if I use ASIO drivers supplied with sound hardware - UX1. First testing, though, shows this not working with ASIO4ALL - perhaps a Windows and not a FF issue ...

  • Keyboard does not work after using Support Drivers

    I have a Macbook Pro 4,1 15" 2.4GHz C2D, and managed to get Bootcamp installed on it with Win7 Home Pro. I have verified that it runs correctly, but it is missing many of the drivers needed to make things run smoothly. I no longer have my Leopard disks that the machine came, so I figured the WindowsSupportDrivers would be the way to go.
    When I install them and reboot, the keyboard does not work. When I hit capslock, I get the caution notice indicating underneath my password field indicating the capslock key is on, so it's not like my entire keyboard is disabled. The system is unusable right now, since I have to enter my password to login, and it does not take any keyboard input. Using an external keyboard did not resolve this issue.
    I did a system restore to get it back to a usable state for the time being.
    Is there an alternative to the BCA support drivers or the Leopard disk? What's going on with my keyboard after the driver update?

    Maybe you have installed obsolete drivers. If you have Lion, open Boot Camp Assistant (Applications > Utilities) in OS X and download Boot Camp drivers

  • HOW TO CREATE AND USE ModbusSlave drivers ?

    the idea is to have a ModbusSlave driver to test the applications developed as Master modbus; with both drivers running in the same computer in both com 1 and com 2.

    This is an excellent idea for troubleshooting, which we have been using and recommending for long. ModbusSlave Object simulates a Modbus PLC within Lookout. This can be used to test and troubleshoot the functioning of the Modbus driver object without requiring an actual PLC/RTU.
    To use the ModbusSlave object, create the Object as if your PC were the PLC. So, assign it a COM port, baud rate, etc. Let's say you assign it COM2.
    Now, create the drive Modbus object on COM1. Then, physically connect the two COM ports with a null-modem (crossed) serial cable. So, basically you fool the Modbus driver object that there's a Modbus PLC out there but you loop-back and connect to the other COM port and use the ModbusSlave.
    Once you've done this, you can
    simulate some values within the Slave by connecting some Pots to the Slave's registers. You can then try reading these with the driver Modbus object, etc.
    Hope this helps.
    Khalid

  • I can access a function in a package using OCI drivers but not PDO drivers

    Hello all, i am a newbie to Oracle and its drivers for PHP. I would like to use PDO, and I have my database activity in packages, which have procedures and functions. My package has overloaded functions and that has been giving me a tough time with these drivers. So one signature of my function get_data contains a four arguments and all four are numbers, while another signature of get_data has the first two as numbers and the next two as varchar2. So when I try to access this function which is part of a package, I am able to retrieve data, and the driver I am using is OCI8, but when I try to do the same with PDO, it does not work. It gives me this error,
    *General error: 6553 OCIStmtExecute: ORA-06553: PLS-307: too many declarations of 'GET_DATA' match this call  (/var/www/php-5.3.3/ext/pdo_oci/oci_statement.c:146)' in /var/www/pdo_check.php:251 Stack trace: #0 /var/www/pdo_check.php(251): PDOStatement->execute() #1 /var/www/pdo_check.php(345): dbPDO->execPackage2() #2 {main} thrown in /var/www/pdo_check.php on line 251 *
    I got this error earlier with OCI drivers, then I added the datatype while binding the values.
    Has anybody had this headache earlier??
    ##Works
    *$qu = oci_parse($connect, 'select pack.get_data(:p1,:p2,:p3,:p4)as rc from dual');
    $p1 = (int)121;
    $p2 = (int)222;
    $p3 = (int)324;
    $p4 = (int)001;
    oci_bind_by_name($qu,":p1",$p1,10,OCI_B_INT);
    oci_bind_by_name($qu,":p2",$p2,10,OCI_B_INT);
    oci_bind_by_name($qu,":p3",$p3,10,OCI_B_INT);
    oci_bind_by_name($qu,":p4",$p4,10,OCI_B_INT);
    oci_execute($qu) or die("did not execute");
    $r = oci_fetch_array($qu);*
    ##Does not work
    *$sql = 'select pack.get_data(:p1,:p2,:p3,:p4) from dual';
    $result = $this->dbConnect->prepare($sql);
    $p1 = (int)2;
    $p2 = (int)2;
    $p3 = (int)2;
    $p4 = (int)6;
    $result->bindParam(':p1', $p1, PDO::PARAM_INT);
    $result->bindParam(':p2', $p2, PDO::PARAM_INT);
    $result->bindParam(':p3', $p3, PDO::PARAM_INT);
    $result->bindParam(':p4', $p4, PDO::PARAM_INT);
    $result->execute();*
    I am still perplexed why is PDO giving me an error, when I have virtually mentioned everything is asks for?

    I think the only person who can really answer this question is Chris Jones. For my money I tend to steer clear of PDO as it is a bit quirky ( at least in my experience ) and it does not support reference cursors.

  • How to use Labview drivers for USB-CAN Adapter

    Hi,
    I just recently started working with CAN and I have a PCAN-USB adapter. I'm trying to create a programme for monitoring a series of CAN based devices and I've found Labview drivers at the link below. However, I'm not really sure how to start. I have the specs for the device but I don't know how to proceed. 
    Should I create messages and channels and a data base in MAX first?  If anyone has programmed with this dongle before please give me a guide how you went about it. 
    Labview drivers - http://www.labviewportal.eu/en/device-i-o/82-pcan-usb-driver.
    Thanks 

    I have not used this specific CAN adapter, but I have used other CAN adapters from both NI and other companies.  The CAN database in MAX is useful only if you are using an NI CAN device.  For all other CAN devices you need to use the format that the library uses; most likely that will be raw CAN frames.
    If you do want to use the NI-CAN interface on top of the PCAN library, you can use NI-CAN virtual channels 255 and 256.  These are internally connected, so that anything you send on one is received on the other.  This makes it possible to do translation between raw frames and channels defined in a database, by opening one interface for frames and the other for channels.  You read raw frames from the real device and send them to CAN255, then read them on CAN256; for writing, you do the opposite.  However, this still requires understanding how to read and write raw frames on the underlying device, so I'd start there.

  • Unable to kill X using Catalyst drivers

    My problem is that once I'm in X I can't drop back to the console.  The computer starts in console and then I start X manually with "startx".  That all works but once I'm there, I can't back out.  I'm using XFCE and I've tried ctrl+alt+F2-F6.  That just leaves me with a black screen but I'm able to go back to X using ctrl+alt+F1.  I've also tried hitting the "Log Out" button and that just leaves me at a completely black screen with no way that I know of to get back to X or get to a console.  My only recourse there was to ctrl+alt+delete to reboot the system (which didn't give any output until after it rebooted).  I'm using the Catalyst 13.2 Beta drivers from catalyst-test in the AUR.  This all worked flawlessly when using the open source drivers.

    the sad clown wrote:Why don't you just kill the end process in .xinitrc?
    Not sure what you mean by that.  Anyway, I narrowed the problem down to that AUR package catalyst-test.  The Catalyst 13.1 from [community] doesn't have this issue.

  • Account Password Changed When Using OCI Drivers With WebLogic 6.0

    Hello all,
    Could be I am losing my mind but I saw some strange bahavior and I was wondering if anyone could offer an explination. We're running BEA WL6.0sp2 on an HPUX box with both an 8.1.7 client and server installation for development. We noticed that when we try to use the OCI driver to connect to our database, the password for our account is being changed on connection. This is definitely repeatable as we demonstrated it for the DBAs while they yelled at us. I highly doubt there is anything in WL that would cause the problem and everything works fine with the Thin drivers, with the JDrivers provided by BEA and with the credentials from SQL+.
    Our problem is we need the Layer 2 OCI support. Is there something in the OCI client installation that would cause this behavior?

    Hello all,
    Could be I am losing my mind but I saw some strange bahavior and I was wondering if anyone could offer an explination. We're running BEA WL6.0sp2 on an HPUX box with both an 8.1.7 client and server installation for development. We noticed that when we try to use the OCI driver to connect to our database, the password for our account is being changed on connection. This is definitely repeatable as we demonstrated it for the DBAs while they yelled at us. I highly doubt there is anything in WL that would cause the problem and everything works fine with the Thin drivers, with the JDrivers provided by BEA and with the credentials from SQL+.
    Our problem is we need the Layer 2 OCI support. Is there something in the OCI client installation that would cause this behavior?

  • Error when using JDBC drivers

    Hi ..
    We have successfully deployed the JDBC drivers but in RWB(Communication channel monitoring) ,when executing we are getting an error
    Received XI System Error. ErrorCode: EXCHANGE_PROFILE_ACCESS ErrorText:   ErrorStack: Error while reading exchange profile for system PI7 and client 001
    2006-12-05 12:33:25 Error Transmitting the message to endpoint http://sap1:8001/sap/xi/engine?type=entry using connection AFW failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: EXCHANGE_PROFILE_ACCESS:.
    <b></b><i></i>
    Any suggestions
    Thanks
    Gopal
    Message was edited by:
            Gopal krishnan
    Message was edited by:
            Gopal krishnan

    Hi..
    I did it but here i am wondering becoz my RFC connection SAPSLDAPI works fine
    But at transaction SLDCHECK..it throws an error like
    Calling function LCR_LIST_BUSINESS_SYSTEMS
    Retrieving data from the SLD server...
    Function call returned exception code     4
    => Check whether the SLD is running!
    Summary: Connection to SLD does not work
    => Check SLD function and configurations
    But the SLD URL pops up and opens wih put any error.in a same fashion,it happens in SXMB_ADM--> integration engine config.it says connections to SLD doesnot work
    any idea to verify
    Thanks
    Gopal

  • Agilent 34980A simulation using IVI-drivers in Teststand?

    Hello! I am unable to simulate 34980A in TestStand and here are some results based on testing:
    Agilent 34980A is linked to logical name SampleDmm. Simulate With: Specific Driver.
    IviStepTypes.seq used with only DMM and Switch steps.
    Using IviDMM IVI-C causes runtime-error in Ivi DMM Configure Single Point: Component Works IVI Control Error: The IVI Configure operation failed for logical name 'SampleDmm'. Details: Extension capability not supported by instrument driver.  (Base)
    Using IviDMM IVI-COM causes runtime-error in Ivi DMM Read Single Point: Component Works IVI Control Error: The IVI Read operation failed for logical name 'SampleDmm'. Details: Attribute ID not recognized. [IVI Error Code:  BFFA000C] Source: TSIviStepTypes
    Skipping Ivi DMM SFP -step removes that error but next one waits in Ivi DMM Configure Multi Point: Component Works IVI Control Error: The IVI Configure operation failed for logical name 'SampleDmm'. Details: Attribute or property not supported. [IVI Error Code:  BFFA0012] Source: TSIviStepTypes
    Skipping multi point steps helps until Ivi Switch Connect where another error hits: Component Works IVI Control Error: The Connect operation failed for logical name 'SampleDmm'. Details: No path was found between the two channels. [IVI Error Code:  BFFA2011] Source: TSIviStepTypes
    I find some similarities in forum post that involves HP 34401A and IVI .
    According to IVI-C Class Driver Support for IVI-COM Specific Drivers the fault might be in 64 bit system (the note in the end). Is this the case? I can't use IVI-COM-drivers in 64bit system?
    Example's default DMM Hewlett-Packard 34401A Digital Multimeter simulation works perfectly in unmodified example(it has IVI-C). It even shows simulated numbers in the SFP which is zero all the time with Agilent.
    Has anyone succeeded to simulate 34980A properly in TestStand? Any knowledge about how to solve this thing? Any help is welcome. Thank you.
    Setup:
    -Teststand 5.1
    -Windows 7 64bit
    -IVI shared components 2.2.1
    -Visa shared components 1.5 64bit
    -Agilent IO libraries suite 16.3 Update 1
    -Agilent 34980A IVI Driver 1.5.3
    -MAX/Agilent 34980A published APIs:
        -IviDmm 4.1 IVI-COM (IVI-C tried with less success)
        -IviSwtch 4.0 IVI-C & IVI-COM

    Some IVI drivers are designed to work in simulation mode, that is, the virtual instrument can be defined in MAX but no physical instrument is necessary to use the "instrument". If you turn off the simulate checkbox on the validate dialog box, TestStand will create the instrument session without simulation and the driver will attempt to talk to a physical instrument. If no physical instrument definition is available or if the address defined for that virtual instrument is incorrect, the above error can occur.
    Scott Richardson (NI)
    Scott Richardson
    National Instruments

Maybe you are looking for

  • After upgrading to Yosemite under sleep mode for few hrs battery is getting discharged fully.

    System information Mac book Pro 13 inch Retina  Early 2013 Processor  - 2.6 GHz Intel Core i5 Memory - 8 GB 1600 MHz DDR3 Graphics - Intel HD Graphics 4000 1024 MB Storage capacity - 500 GB OSX - 10.10 Ever since I have upgraded from Mavericks to Yos

  • Apple Wireless Keyboard

    I cannot get my apple wireless keyboard to work. I changed the batteries and now I can't get it to pair. When I go into set up bluetooth device I click on find keyboard and it shows nothing found. When I click other device it recognizes it but when I

  • Top Level Navigation Problem

    Hi guys, recently, I ran into something really strange. The Top Level Navigation (TLN) became faulty. If the user clicks on certain entries in First Level Navigation or Second Level Navigation the content area is not loaded properly. The content area

  • Task TS16900003 - Create NB object Error

    Hi                                                                                We are using the Extended Requisition Request form - SRQ2, Notification.  The Hiring Manager sends the form successfully with a notification number. The approver approv

  • Boot issues (IE won't boot)

    Well, this may or may not be one of the 34890235457302 issues with 10.4.8. I'm not sure. I was booted to windows (as I am now), when 10.4.8 came out. I did NOT actively update the computer. Now, when I start up, I get the tone, and then the apple com