DBCP - how are null connection objects handled?

We are using DBCP in a refactored web application that, in the past, used a locally written connection pool. This original pool always checked a connection object to see if it was NULL before handing it out. I was told that this was because the DB was unstable at one point and the pool was handing out connections that were null after a db restart.
I would like to know if this is an issue with DBCP. I can't image that it would be, this seems like a common enough situation. However, the higher ups are concerned that we have subtracted functionality by using DBCP.
Thanks,
-=bill

snorky,
Suck it and see. Suggest you tell the higher ups to go worry about "higher up" stuff, and leave the details to you... but I'd also cover my ass with a proven reversion strategy.

Similar Messages

  • How are people connecting Mainstage to their PA systems?

    How are people connecting Mainstage to their PA systems? I'm running my electric guitar into my MBP with a 1/4 jack and an adapter and am coming out of the headphone jack into a DI box and then into the sound system. On some patches I'm getting a lot of noise/unintended distortion and our sound guy is unsure of what to do, ( tried adjusting gain to no effect). is their a better way to route things?

    Great Grains,
    << But what is the real advantage over the 1/4 adapter? >>
    I don't know the presonus specifically - I have an RME and a Duet - but with an interface the advantages are; better converters = better sound, less latency (not 'no latency' but definitely a lot less),
    better impedance (better plugs basically) for PAs, flexible outputs (stereo, multi channel, etc).
    Realistically the little 1/8" ins and outs out on a computer are not very good, esp for real instruments, and there is tons of latency.
    As to your question about Stereo mono and what to send the PA:
    There's no real reason you can't send stereo (L+R, 1+2, whatever) to the house PA if you want. Depending on what level sound people you're dealing with some of them may not be open to running you stereo, esp if you play guitar and they are... let's say, set in their ways. They also may have limited a number of inputs. At higher level venues the PA rigs and sound people will do anything you want, do it really well and have a good time doing it.
    To run mono;
    1. In mainstage, put a gain plugin on the output channel and select 'mono' within the plugin.
    2. Send one output (typically left for mono, but either is fine) of your presonus to the PA.
    You can change from mono to stereo instantly with this setup (by selecting or unselecting mono within the gain plugin) to adjust for different situations.
    -R

  • How to store Connection object and call it from other programs.

    Hi,
    I am trying to connect to the database, store the connection object and use this connection object from other standalone java programs.
    Can any one tell me how to do this? I've tried in the following way:
    In the following program I am connecting to the database and saving the connection object in a variable.
    public class GetKT2Connection {
       public static void main(String[] args) {
          String url = "jdbc:odbc:SQLDsn;
          String dbUser = "sa";
          String dbPwd = "sa";
          Connection kt2conn = Connection connection = java.sql.DriverManager.getConnection(url, dbUser, dbPwd);
          if(kt2conn == null) {
             System.out.println("Database Connection Failure!");
          else {
             System.out.println("Connected to Database...");
         GetKTConnectionObj.storeKT2ConnectionObj(kt2conn);
    } Here is the program to save connection object in a variable.
    public class GetKTConnectionObj {
       static Connection kt2Connection = null;
       public static void storeKT2ConnectionObj(Connection conn) {
       kt2Connection = conn;
       public static Connection getKT2ConnectionObj() {
       try {
          return kt2Connection;
       catch(Exception e){
          System.out.println(e);
      return null;
    }Now from the following code I am trying to get the connection object that is stored. But this is throwing NullPointerException.
    public class Metrics_Migration {
      public static void main(String args[]) {
         try {
        java.sql.Connection connection_1 =   GetKTConnectionObj.getKT6ConnectionObj();
         catch(Exception e){
    }

    kt2Connection is null. You need to store it first, to make it not null. Otherwise it will stay null forever. And why on earth are you trying to do this THIS way?
    If you are running the two applications separately, it wont work either.

  • How to create connection objects in the NTDS settings container of a DC with LDIFDE

    The following link shows some examples of how to automate creating subnets without having to use the sites and services console: http://codeidol.com/active-directory/active-directory/Site-Topology/Creating-a-Subnet/
    My question is how can use LDIFDE to create connection objects? We don't use the defaultipsitelink and are creating the connections manaully. How can I use LDIFDE to create connection objects like this? I have not been able to find any examples on the internet.
    Thanks for any replies.

    KCC does the job of creating connection object automatically reading site/subnet/sitelink info, so why you need to create manually.
    http://blogs.technet.com/b/markmoro/archive/2011/08/05/you-are-not-smarter-than-the-kcc.aspx
    Regards
    Awinish Vishwakarma
    MY BLOG:
     http://awinish.wordpress.com/
    This posting is provided AS-IS with no warranties/guarantees and confers no rights.

  • How are pure custom objects impacted by peoplesoft delivered changes in Upgrades.

    We have developed pure custom component interfaces using delivered components.So we would like to know what would be the impact of changes to delivered components on the custom component interface.
    Similar question for other custom peoplesoft objects like changes to delivered fields to pure custom records,pages,peoplecode etc.

    Hi,
    Let me explain this
    1. If you have custom record and all the fields in those record also custom fields then there won't be any impact
    2. But if you have a custom record with delivered fields, then changes to these delivered field impacts the custom record as well
              eg: length changes to the delivered fields impact your custom record.
    2. Same applied for other objects like pages, components..etc
    Any custom object which uses the delivered objects in it will have impact. Because these delivered objects may be changed in higher version.

  • How are Travelex Payment Method handled in AP?

    Hi
    I would like to know if there are any Outbound/Inbound extracts related to Travelex?
    Thanks
    Ranjani

    Hi,
    SPRO>>IMG>>Financial Accounting(New)>>Accounts receivable and Account payable>>Business transactions>>Automatic Outgoing payments>>Set Up payment Payment methods per country for payment transactions>>
    Step 1>> Select your Country for e.g. IN
    Step 2>> Select an existing entey>>Copy as new entry
    Step 3>> Change the description and change in Posting details tab e.g Document type for payment RE.
    Please revert for queries.
    Rgds,
    Harmees
    Points if useful!!!!

  • How do you get a handle to a TestStand API SequenceCallModule Object?

    I am trying to programatically specify the SequenceName for a sub sequence, created using the TestStand API called from LabView.  SequenceName is a property of the SequenceCallModule object but I cant see how to get the object handle.
    Can anyone help?
    Regards
    Steve
    There are 10 types of people in the world that understand binary, those that do and those that don't.

    Hi,
      you can actually do this. I was speaking to Steve yesterday on this :
    starting with the handle to the appropriate step (I've done it in the attached sequence file in TS, but should translate nicely to LV)
    so I use the sequence to get the step by name
    I can then get the step.module
    then using the TESTAND ADAPTER API (and not the Teststand API)
    I can use the module returned above with the SequenceCallModule class from the TestStand AdapterAPI then. (you have to know ahead of time what the appropriate module / adapter type is otherwise it will have problems)
    Hope that helps
    Sacha Emery
    National Instruments (UK)
    // it takes almost no time to rate an answer
    Attachments:
    3_0 using adapter specific sequencecallmodule.seq ‏39 KB

  • How are applications handles when Lion installed?

    How are applications handled when Lion is installed?
    1) Are the standard (i.e. App store, phone booth, iPhoto, iCal, etc) automatically reinstalled?
    2) How is iTunes handled? iMovie?
    3) How is Mail handled? Will it automatically reinstall my Contacts, Mail folders with all of my saved emails?
    4) How are 3rd party Apps handled that are located in the Application folder? in a separately created foldeer?
    5) How is Time Machine handled? with all of its past backups?
    Thanks

    If you install over Snow Leopard, you'll get new default Apple apps.
    iLife, iWork, and 3rd-party apps wont be disturbed (although PPC apps will no longer work).
    Mail will be updated, your stuff will be covered..
    Time Machine just continues on.
    By all means, back up first, just in case something goes wrong.
    Also see: Changes in Lion from Snow Leopard

  • How do I connect to Time Capsule from a Windows 8.1 machine which is on a Windows domain. I have been able to connect from a Windows 7 machine on a Windows domain to a Time Capsule. Airport utility is not displaying the Time Capsule Win8.1 machine

    How do I connect to Time Capsule from a Windows 8.1 machine which is on a Windows domain. I have been able to connect from a Windows 7 machine on a Windows domain to a Time Capsule. Airport utility is not displaying the Time Capsule Win8.1 machine.
    I have checked that the firmware has been updated to 7.6.4 . Similalrly the Win8.1 machine has been loaded with the update specified in another discussion.

    Firstly how are you connecting to the TC.. wireless or ethernet?
    Please open a command window and ping it.. ping by name and by IP address.
    If ping succeeds at least by IP it should work.
    In windows explorer type
    \\10.0.1.1 (or whatever the TC ip is.. that is the default).
    Having the airport utility for windows loaded can help the process. As it loads bonjour for windows.
    7.6.4 firmware on the TC is useless. It works better on 7.6.1
    If the ping does not succeed by either name or IP address yet you have internet through the TC, then your network is setup wrongly. You are have firewalls blocking local IP. Take down all the firewalls.

  • Sending Connection Object over the Network using RMI

    Hi,
    How can a Connection object be sent over the network and run on another JVM. I need to hold connection object to execute processes one after other, that require Oracle connection without ever connecting again. I do not have J2EE container or webserver setup to hold connection/connectionpool,but need to run the process on command line. I am using RMI infrastructure to pass parameters/return values but connection object is not serializable and connot be marshalled and failing. Please explain, if there is another way using JDK 1.4
    Sudheer

    I think that what you want to do is connect to the database on the RMI server object, then use the server object from your remote clients to execute the processes you require to rrun.

  • Sending Connection object over the network

    Hi,
    How can a Connection object be sent over the network and run on another JVM. I need to hold connection object to execute processes one after other, that require Oracle connection without ever connecting again. I do not have J2EE container or webserver setup to hold connection/connectionpool,but need to run the process on command line. I am using RMI infrastructure to pass parameters/return values but connection object is not serializable and cannot be marshalled and failing. Please explain, if there is another way using JDK 1.4
    Sudheer

    I don't believe this is possible. A connection object has a number of associated structures on the operating system, which generally makes it impossible to move. From a fundamental networking level, you also cannot, in general, cause a connection to machine1 to start communicating with machine2-- that would introduce all manner of security problems.
    Why don't you want to just create another connection on the other machine?
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • MacBook Pro and HP Premium 3-in-1 printer How to keep connected?

    I have a HP Photosmart Premium 3-in-1 wireless printer C310.  It is up and running and is connected to my MacBook Pro.  However, sometimes I can get the printer to actually print while other times all it says is cannot find printer.  It is really annoying - like it has a mind of it's own.  I have tried shutting down the Mac, the printer, and restarting everything to find that it still won't cooperate.  Can anyone help with this?

    How are you connecting the printer to the MacBook?
    What version of OSX are you using?
    I am a printer tech for HP.

  • If numbers are null

    Hi Friends,
    We are migrating our forms application from 6i to 10g and we have some issues here.The one is ,if numbers are null we have handled that as mentioned below
    IF NVL(l_numb1,' ') = NVL(l_numb2,' ')
    THEN
    ELSE
    END IF;
    This works fine in 6i , when migrated to 10g it shows error.
    But when both the values are VARCHAR2 then no problem.
    So I need to handle this in the entire application.I think the only problem
    is substituting space(' ') for NUMBER variables.
    Do I have any other alternative for this.
    Note : It should work for both VARHCAR2 and NUMBER variables.
    Regards
    Marlon

    I use for this case selfwritten Equal- and NotEqual-Functions.
    IF pkg.Equal (Value1, Value2) THEN
    END IF;
    IF pkg.NotEqual (Value1, Value2) THEN
    END IF;
    here is the code :
    FUNCTION Equal (P_Wert1  IN VARCHAR2,
                     P_Wert2  IN VARCHAR2) RETURN BOOLEAN IS
    BEGIN
      IF P_Wert1 = P_Wert2
      OR (P_Wert1 IS NULL AND P_Wert2 IS NULL) THEN
        RETURN (TRUE);
      ELSE
        RETURN (FALSE);
      END IF;
    END;or read the full article in my blog:
    http://talk2gerd.blogspot.com/2006/12/equal-and-notequal.html

  • How are JNDI lookups load balanced through software?

    Presumably they are not generally speaking.
              I can see how HTTP Requests are via HttpClusterServlet but how are the
              JNDI lookups handled if the client isn't specify a specific node in their
              intialcontext?
              

    Is there any way of doing that with one nic only?
              Rajesh Mirchandani <[email protected]> wrote in message news:<[email protected]>...
              > You machine could be multi-homed.
              >
              > Robert Nicholson wrote:
              >
              > > Specifically how can I run multiple clusternodes on the same machine and
              > > still load balance my JNDI lookups across them if obviously they are not all
              > > running on the same port and I cannot use
              > >
              > > ht.put(Context.PROVIDER_URL, "t3://acme1,acme2,acme3:7001");
              > >
              > > like syntax.
              > >
              > > "Robert Nicholson" <[email protected]> wrote in message
              > > news:[email protected]..
              > > > Presumably they are not generally speaking.
              > > >
              > > > I can see how HTTP Requests are via HttpClusterServlet but how are the
              > > > JNDI lookups handled if the client isn't specify a specific node in their
              > > > intialcontext?
              > > >
              > > >
              

  • WSA S160 Support for Terminal Servers (How are terminal server connections handled?)

    We have a terminal server environment with a mixture of computers and laptops. Currently we have multiple proxy servers and would like to considate down to one. Our current solution does not work well in a terminal server environment. We are looking for a way to integrate all equipment with one soluton and I was curious as to how the S160 handled users connecting via a terminal server.

    Edadios thanks for the response. I was reading over this document (see attached), and it looks to me like the connection would be tracked via a cookie surrogate. My bigger concern is that we are looking to be able to track usage per user even though they are on a terminal server. Our current solution (Barracuda) is not able to perform this function. I am hoping to have a S160 on site this week to do some testing but was hoping to gather some intel in the forums prior to implementation.
    The response helps clear up what protocols are in use but I am still wondering how terminal server connections are handled by the WSA and if they are truly handled and tracked per user instead of by the device they are connecing to.

Maybe you are looking for

  • BAPI_PO_CHANGE not updating internal order no. in account assignment

    Hi, I am using 'BAPI_PO_CHANGE' to update the internal order no. I am first fetching the existing account assignment line items using 'BAPI_PO_GETDETAIL1' and then modifying the internal order no. as below.         lt_poaccount-orderid = '31002100000

  • Error in Tax procedure TAXINJ

    Dear Friends, During creating of tax procedure TAXINJ i am getting error in condition types. The error is Condition type JM01(IN: A/P BED deductib) not defined, please tell me where can i create these condition types i.e. JM01, JA01, JS01 etc... If p

  • External 144Hz Monitor

    Afternoon Apple Community, I am currently looking into buying a external monitor to my mid 2012 MacBook Pro with Retina Display. I've had my eyes on a BenQ 144Hz monitor for a while, but can my MacBook be used with it or am I limited to 60Hz? Thank y

  • How do I get my iPhone 4 contacts switched onto my iPhone 3G

    I need to switch my iPhone 4 contacts over to my iPhone 3G. I can't get ICloud to work on the iPhone 3G and the AT&T store couldn't get the contacts switched over either. How can I switch them over without using iCloud, the store, or apple support ov

  • Un able to start oracle listener.

    when I try to start oracle listner from control panle I got error saying 'The oracle listner started and then stopped.Some services stop automatically if they are not in use by other services or programs' Here is my listner.ora entry # listener.ora N