Connection pool keeping much-needed each of idle connections

Database Oracle 12 c Enterprise Edition Release 12.1.0.2.0 - 64 bit Production0
PL/SQL Release 12.1.0.2.0 - Production0
CORE12.1.0.2.0Production0
AMT for Linux: Version 12.1.0.2.0 - Production0
NLSRTL Version 12.1.0.2.0 - Production0

Using JavaSE - 1.7

With the help of ucp.jar, ons.jar and OJDBC7.jar

I have configured the following data source

PDS = PoolDataSourceFactory.getPoolDataSource ();

pds.setConnectionFactoryClassName (factoryClassName);

pds.setMaxPoolSize (maxPoolSize);                                                       maxPoolSize 10

pds.setMinPoolSize (minPoolLimit);                                                        minPoolLimit 1

pds.setMaxIdleTime (idleMaxTime);                                                        idleMaxTime 50

pds.setMaxConnectionReuseTime (connectionReUseTime);                    connectionReUseTime 5

pds.setConnectionWaitTimeout (waitTimeOut);                                       waitTimeOut 100

pds.setAbandonedConnectionTimeout (abandonedConnectionTimeout);    abandonedConnectionTimeout 10

pds.setInactiveConnectionTimeout (inactivityTimeout); time in seconds inactivityTimeout300

pds.setTimeToLiveConnectionTimeout (timeToLiveConnection);               timeToLiveConnection 30

In the class that actually uses it, I create a method on the connection object variable. Closing the connection as well as

pds.getConnection (m:System.NET.Sockets.Socket.close ());

e

I think I will at most that a connection inactive appear when I followed the session. How to configure the pool so that project only on connection inactive? I am running queries for test once every five minutes. But I open three connections every time.

Thank you

I thought that it was inactive connections than I was told. However, I went back and asked and they said that they killed the active connections that have more than 5 minutes. That's what I need to know how to close active connections. Sorry for the confusion...

Why would you kill connections that people use? That makes no sense.

I suggest that you mark this thread as a RESPONSE and repost a question about ACTIVE connections.

There is no way that anyone can establish a correlation between the parameters that you posted earlier with your new problem - he will make only the most confusing things.

Tags: Java

Similar Questions

  • I want to cancel an app cause they keep in charge each month but when I cancel it still load

    I want to cancel an app cause they keep in charge each month but when I cancel it still load

    Follow the instructions here to make sure you have completely cancelled the subscription. View, change or cancel your subscription - Apple Support

    -AJ

  • Should I keep subscription iTunes Match if I subscribed just for Apple music?  Why I have so much need?

    Not sure if it makes sense to keep two subscriptions because I understand that with Apple music you download iTunes game.  Is this correct?

    Music to Apple and iTunes game are very different.

    This explains the differences.

    iCloud library: understand the differences between music from Apple and iTunes game - Apple Support

  • He keeps sayingi need adobe flash more recent version of the player when I already have the end that is available

    t keeps saying that I need newer Adobe flash player version when I already have the end that is available

    The cause is often that there is always a file from a previous version which should have been deleted, but was not perhaps because Flash was in use at the time.

    Please navigate to this folder:

    C:\WINDOWS\system32\Macromed\Flash

    In the Flash folder, there should only be a .ocx type file, which should be as follows for the latest version:

    Flash32_11_3_300_271.ocx

    The figures in bold represent the version: 11.3.300.271

    If you have a different 'Flash32_xx_x_xx_xxx. ocx"file which the numbers correspond with earlier versions of flash, and then delete this file and restart the machine.  The new version should then recognized.

  • IPs much-needed to the SCANNING resolution using the file hosts in Oracle11g CARS

    Dear Expert

    By Ref.
    Configure FCAC with TAF Oracle11g r2 instead of use the SCAN
    Re: Configure FCAC with TAF Oracle11g r2 instead of use the SCAN

    How address IPs will be required in two-node RAC deployment to resolve the SCAN feature by using the file/etc/hosts.

    We want to use the TAF feature for Oracle 11 g r2 RAC database access, so I'm providing the default configuration of the file tnsnames.ora and listener.ora

    Please confirm that all the necessary changes to the use of the TAF.

    find the tnsnames.ora RAC node-1 content
    [oracle@aaarac1 ~] $ cat /u01/app/oracle/product/11.2.0/db_1/network/admin/tnsnames.ora
    tnsnames.ora # Network Configuration file: /u01/app/oracle/product/11.2.0/db_1/network/admin/tnsnames.ora
    # Generated by Oracle configuration tools.

    AAADB =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP) (HOST = rac-scan)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = aaadb)
    )
    )

    find the content of the listener.ora RAC node-1

    [oracle@aaarac1 ~] $ cat /u01/app/11.2.0/grid/network/admin/listener.ora
    LISTENER = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = IPC) (KEY = LISTENER)))
    # line added by Agent
    LISTENER_SCAN1 = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = IPC) (KEY = LISTENER_SCAN1)))
    # line added by Agent
    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER_SCAN1 = ON # line added by Agent
    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER = ON # line added by Agent


    find the tnsnames.ora RAC node-2 content
    [oracle@aaarac2 ~] $ cat /u01/app/oracle/product/11.2.0/db_1/network/admin/tnsnames.ora
    tnsnames.ora # Network Configuration file: /u01/app/oracle/product/11.2.0/db_1/network/admin/tnsnames.ora
    # Generated by Oracle configuration tools.

    AAADB =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP) (HOST = rac-scan)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = aaadb)
    )
    )

    find the content of the listener.ora RAC node-2
    [oracle@aaarac2 ~] $ cat /u01/app/11.2.0/grid/network/admin/listener.ora
    LISTENER = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = IPC) (KEY = LISTENER)))
    # line added by Agent
    LISTENER_SCAN1 = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = IPC) (KEY = LISTENER_SCAN1)))
    # line added by Agent
    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER_SCAN1 = ON # line added by Agent
    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER = ON # line added by Agent


    Concerning
    Hitesh Gondalia

    Published by: hitgon on August 10, 2011 06:38

    hitgon wrote:
    Please find details of Production site of our
    DB: Oracle11g R2 RAC 11.2.0.1.0
    OS: Redhat Linux5.3 64-bit

    Acute, we will use only an ip scan in the file/etc/hosts in node 1 of the FCAC and not to use any DNS.

    Hello

    If you use the host file then you can only have 1 address SCAN

    We want the user client application TAF and FAN VIP connection string.

    JDBC: thin: @(DESCRIPTION = (ENABLE = BROKEN)
    (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(Host = 10.106.1.251)
    (Port = 1521)) (ADRESSE = (PROTOCOL = TCP) (Host = 10.106.1.252)(Port = 1521)))
    (FAILOVER = ON) (LOAD_BALANCE = on) (CONNECT_DATA = (SERVICE_NAME = aaadb)
    (FAILOVER_MODE = (TYPE = SELECT) (METHOD = BASIC)))

    Please suggest...

    Seems OK for the adjustment of TAF

    See you soon

  • Satellite A500 - 18Q - more much-needed new battery

    I own a laptop satellite for a year now, and my battery is already degraded so that its becomes more and more annoying to use.

    I want to buy a new one, but I would like a more powerful if possible.

    Y at - it battery competible with the Satellite A500 - 18Q that lasts more than 2 hours (when new)?

    Thank you!

    Hello

    As far as I know the compatible batteries are:
    Reference number: PA3534U-1BRS,.
    Reference number: PA3534U-1BAS

    I think these are: 4000mAh

    Usually time to battery performance depends on the use of the laptop.
    You can set the friendly use of battery power portable power settings more.
    This will help you to extend the use of the battery!

  • A virtual CD drive junk keeps reappearing after each start up

    I have a virtual CD drive created in my laptop Win 7 Pro x 64. The virtual CD drive is listed in Device Manager under the form FvFx CDDVDFx + tech-200 SCSI CDROM device. Its pilots are listed as cdrom.sys and PxHelpa64.sys
    If I uninstall it, it reappears after the next startup. I guess that this is a left over of some software that creates or manages CD virtual drives, which I installed a little more in recent months, but all have been uninstalled and I don't currently have one of these programs installed.
    How can I permanently delete?
    Thank you

    Hello
    I do not know.
    But it seems that I found a post with the solution. Here is the link:
    http://Club.myce.com/F59/virtual-drives-seen-physical-drives-154146/
    As he suggests, I deleted the device, the SCSI controller and the enumerator of the BIOS and it finally disappeared!
    Thanks anyway

  • Brushes to keep the overlay each other. It's never happened before. -Elements 8

    I am coloring a harvest of a black and white comic, as usual. I have a normal background layer, which is the comic strip, and the other layers are all on multiply, 100% opacity.

    Even today, despite me not doing something different than usual, the brushes behave as in the input image.

    http://images.plurk.com/4OrjM7K8wvSEECnA1au1pZ.jpg

    Anyone know what happened? And how to fix it? The friends say, it is likely that 'wet edge' are checked. If this is the case, where can I uncheck him? He says he's in the menu of brush or the brush palette, both of which are not in photoshop elements 8. I've looked everywhere I could and not luck! It is my only hope! Help, please!

    Reload/reboot of the elements did not help, either.

    On the options bar for the Brush tool, upper-left, there is a small triangle. Click on that, then the reset tool. If that fixed it, reset preferences:

    Press and hold the keys Alt + Ctrl + Shift (Windows) or Option + command + shift (Mac OS)

    you start Photoshop Elements. You are prompted to delete the current settings of the . Say Yes.

  • Time of excessive latency of connection... Adobe Air supports on mobile connection pooling?

    Hello

    I'm developing a mobile application that loads the thumbnail images to a remote server. During testing on the Android platform, however, I discovered that the images are very long to load. By monitoring the server logs, I determined that poor performance is caused by the absence of connection pooling, which means that each request creates a new connection. Running the sample code below on a mobile device produces 20 applications and 20 attempts to connect. By comparison, the same web application or desktop creates 2 connections and reuses connections for the following applications. Important overhead and latency associated with generating new connections has a significant impact on performance, with 20 thumbnails taking about 4-5 seconds to load on mobile compared to 0.5-1 second on a desk.

    I've included a sample application below the emphasis placed on the performance issue. The image itself is very small (290 bytes), to focus the issue on the latency of the connection. I confirmed this behavior on many Android devices running 4.1, 4.0 and 2.3. I also tried using the charger c. URLLoader v. URLStream and v. sequential loading with no change in the behavior of simultaneous connection. Trying to set up the connection to 'keep-alive' in the URLRequest has also no effect.

    package

    {

    import flash.display.Loader;

    import flash.display.Sprite;

    import flash.display.StageAlign;

    import flash.display.StageScaleMode;

    import flash.events.Event;

    import flash.net.URLRequest;

    import flash.utils.getTimer;

    SerializableAttribute public class Main extends Sprite

    {

    private var _count:int = 0;

    public void Main()

    {

    Super();

    internship. Align = StageAlign.TOP_LEFT;

    stage.scaleMode = StageScaleMode.NO_SCALE;

    trace ("Start time" + getTimer() + "ms");

    var loader: Loader;

    var url: String = " " http://fbcdn-profile-a.akamaihd.NET/static-AK/rsrc.php/v2/yo/r/UlIqmHJn-SK.gif ";  290 bytes

    for (var i: int = 0; i < 20; i ++) {}

    loader = new this.addChild (Loader()) as a charger.

    loader.contentLoaderInfo.addEventListener (Event.COMPLETE, complete);

    Loader.Load (new URLRequest (url));

    }

    }

    private void complete(event:Event):void

    {

    _Count ++

    trace ("Completed" + _count + 'to' + getTimer() + "ms");

    }

    }

    }

    So, I have a few questions:

    (1) is there something I can do to allow the reuse of connection?

    (2) is it an inherent limitation with Adobe Air for mobile?

    (3) is that someone can confirm if this limitation exists on other mobile platforms (iOS or Blackberry)?

    Any help you can provide would be greatly appreciated. I really hope that this isn't a fundamental limitation of Adobe Air because it weakens my application to feel very slow.

    Thank you

    Adam

    Hmm. You were quite right, it's a little disappointing!

    This is Android recompiled for 3.4 rather than 3.1.

    null

    OVER 50 with 8 Chargers in 11327 milliseconds or 226,54 by load.   50 8 11327 226,54

    OVER 50 with 50 Chargers in 8899 milliseconds or 177,98 by load.   50 50 8899 177,98

    OVER 50 with 50 Chargers in 9280 milliseconds or 185,6 by load.     50 50 9280 185,6

    OVER 50 with 50 loaders in 9513 milliseconds or 190.26 per charge.   50 50 9513 190.26

    OVER 50 with 8 Chargers in 9744 milliseconds or 194.88 by load.     9744 8 50 194.88

    OVER 50 with 1 Chargers in 16383 milliseconds or 327.66 by load.   16383 1 50 327.66

    Compared with Apple iPad recompiled for 3.4 rather than 3.1.

    null

    OVER 50 with 8 Chargers in 502 milliseconds or 10.04 per charge. 50 8 502 10.04

    OVER 50 with Chargers of 50 to 100 milliseconds or 2 per load.     50 50 100 2

    OVER 50 with 50 Chargers in 117 milliseconds or 2.34 per charge. 50 50 117 2.34

    OVER 50 with 50 Chargers in 93 milliseconds or 1.86 per charge.  50 50 93 1.86

    OVER 50 with 8 tires in 270 milliseconds or 5.4 per charge.    50 8 270 5.4

    OVER 50 with 8 Chargers in milliseconds of 307 or 6.14 per charge.  50 8 307 6.14

    OVER 50 with 8 Chargers in 316 milliseconds or 6.32 per charge.  50 8 316 6.32

    OVER 50 with 4 Chargers in 555 milliseconds or 11.1 per charge.  50 4 555 11.1

    OVER 50 with 4 Chargers in 547 milliseconds or 10.94 per charge. 50 4 547 10.94

    OVER 50 with 4 Chargers in 535 milliseconds or 10.7 per charge.  50 4 535 10.7

    OVER 50 with 2 Chargers in 1038 milliseconds or 20,76 by load.        50 2 1038 20,76

    OVER 50 with 2 Chargers in 1042 milliseconds or 20,84 by load.        50 2 1042 20,84

    OVER 50 with 1 Chargers in 2107 milliseconds or 42,14 by load.        50 1 2107 42,14

    OVER 50 with 1 Chargers in 2099 milliseconds or 41,98 by load.        50 1 2099 41,98

    Both are on the exit compilation, which should take all of the variability. So, Yes, it is as if the Runtime AIR 3.4 lost the pool of connections, but ONLY for Android.

    PS: Code I used in my test (which was a view based Mobile application conventional) is below in case you want to include it when you submit a bug report.


    http://ns.Adobe.com/MXML/2009.
    xmlns:s = "library://ns.adobe.com/flex/spark" title = "TestLLatency" xmlns:mx = "library://ns.adobe.com/flex/mx" >

      Import mx.events.FlexEvent;
      
    protected function uicomponent1_creationCompleteHandler(event:FlexEvent):void
    {
    startTest();

    }
        
    public function startTest (): void {}
    If (tail) throw new Error ("Please wait for the previous test at the end.");
    queue = new Array();
    _Count = 0;
    var loader: Loader;
    var i: int;
    for (i = 0; i< numtoqueue;="" i++)="">
    loader = new bob.addChild (Loader()) as a charger.
    Loader.x = (I have 10%) * 50;
    Loader.y = Math.floor (i/5) * 50;
    loader.contentLoaderInfo.addEventListener (Event.COMPLETE, complete);
    queue.push (Loader);
    }
    startTime = getTimer();
    for (i = 0; i
    nextQueue();
    }
    }
    protected var startTime:int;
    protected var endTime:int;
    protected var numToQueue:int = 50;
    protected var numLoaders:int = 8;
    protected var queue: Array;
    private var _count:int;
    private void complete(event:Event):void
    {
    _Count ++
    nextQueue();
    }
    [Bindable] protected var results: String;
    protected function nextQueue (): void {}
    var url: String = "http://fbcdn-profile-a.akamaihd.net/static-ak/rsrc.php/v2/yo/r/UlIqmHJn-SK.gif";  290 bytes
    if(queue && queue.) Length) {}
    var loader: Loader = queue.pop () as a charger.
    Loader.Load (new URLRequest (url));
    } else {if(_count==numToQueue)
    endTime = getTimer();
    var last: int = endTime-startTime;
    results += "\n" + ("COMPLETED" + numToQueue + "with" + numLoaders + "Chargers in ' + (elapsed) +" milliseconds or ' +(elapsed/numToQueue) + ' by load.\t"+[numToQueue,numLoaders,elapsed,elapsed/numToQueue].join("\t ' ""));
    queue = null;
    {while(Bob.numChildren>5)}
    bob.removeChildAt(bob.numChildren-1);
    }
    bob.getChildAt (0) .addEventListener (MouseEvent.CLICK, repeatTest);
    bob.getChildAt (1) .addEventListener (MouseEvent.CLICK, repeatTest);
    bob.getChildAt (2) .addEventListener (MouseEvent.CLICK, repeatTest);
    bob.getChildAt (3) .addEventListener (MouseEvent.CLICK, repeatTest);
    bob.getChildAt (4) .addEventListener (MouseEvent.CLICK, repeatTest);
    }
    }
    protected function repeatTest(event:MouseEvent):void {}
    var dob:DisplayObject = event.target as DisplayObject;
    var testBehaviour:int = dob.parent.getChildIndex (dob);
    try {}
    {Switch (testBehaviour)}
    case 4:
    this.numLoaders = this.numToQueue;
    break;
    case 3:
    this.numLoaders = 8;
    break;
    case 2:
    this.numLoaders = 4;
    break;
    case 1:
    this.numLoaders = 2;
    break;
    case 0:
    this.numLoaders = 1;
    break;
    }
    startTest();
    dob.removeEventListener (MouseEvent.CLICK, repeatTest);
    for (var i: int = 0; i<5;i++)>
    } catch(e:Error) {}
    trace (e.message);
    }
    }
     
    ]]>


     


     
     
     

  • My mouse wireless guard saying lost connection.  I thought that it may need a new Bluetooth card.  An idea of the cost if I do it?

    My mouse wireless guard saying "lost connection".  It takes time for it to reconnect.  Wireless keyboard is OK.  Apple store said that it may need a new Bluetooth "card."  Any idea the cost if necessary.   I tried a new mouse, with the same results.  Having to use a "wired" mouse now taking a much-needed port on my iMac.

    I return to the store and get a better answer. Material, of course, could be the problem. As far as I know, there is no such 'map '.

    Reset the PRAM and SMC... can't hurt, might help.

    Barry

  • I have different bookmarks I want to keep on each computer, synchronization will delete the bookmarks on a single computer and replace the bookmarks from another computer in their place

    I have not yet used sync, but I sense it's going to be a problem if I do. I have different bookmarks I want to keep it on each computer. Sync will delete the bookmarks on a single computer and replace the bookmarks from another computer in their place? So I think that will erase the bookmarks on the second computer you configured to synchronize. Is there a way to merge bookmarks on every computer in the library of a bookmark that contains all bookmarks on both computers, so I'm not all bookmarks in sync?

    Just to be clear, this is something that we have commented several times in the forum, Firefox Sync adds everything that is already in the device for the account and pushes this info for the rest of the devices.

    So if you have 2 computers with data X and the other with the data from there, once you set up synchronization in both computers you will have X + Y at the same time.

    I hope that clarifies the doubts...

  • Recompose a list of clone bound virtual machines within a pool using view server connection

    Hi all

    I use View with ESXi 4.1 4.6, composer is 2.6. Yesterday, I recomposed 8 pools from the mine to the snapshot of the updated gold statue.

    I have 140 VM in each pool. I checked today and about 125 to 130 of the virtual machine in each pool has been recomposed the new image, but 10-15 VMS in each pool were not reconstructed. They are currently closed. If I manually turn the, they have the old image.

    Now, I want to select just 10-15 VMS thos s in each pool and recompose the. The only options that I can see is to recompose the whole new pool or redial each VM one by one. I don't want to recompose the whole pool again and recomposing each VM individually will take a LONG time.

    When I go to desktop computers discovered in the administrator of the display and select the VM not recomposed, I don't get the opportunity to recompose.

    Can someone please help.

    There were errors, but I was unable to see them and all I could see the gray blocks, but nothing written on them. It seemed that the error windows were suspended by themselves.

    Thank you

    -Jay

    You can select certainly several computers desktop to a redial.  If your sub screen of the inventory of the pool just highlight several desktop computers and select recompose.  You can even choose the View Composer details view to sort by the image that is currently loaded.

    If you have problems for a reason, you could look at deleting workstations provided that they are in a floating pool that would simply allow view the based on the default image assigned to the pool to recreate.

  • Application pools and CF9 64-bit and Windows 2008 R2 64-bit

    Hi all.

    Since about 3 months ago, I got CF9 64-bit running successfully on a Windows 2008 R2 64-bit, and 64-bit PHP server.

    It was a few days get it all working happily together, but it's an entirely different discussion, I'm happy to help if someone at - it need help.

    My question is for someone with some experience and understanding of the relationship between IIS 7, Cold Fusion and Application Pools.

    We have 8 GB of RAM on a 3.2 GHz dual processor box.  And on this particular server, we have about 350 sites of cold fusion.  All sites of very low traffic, I should add.  Like maybe on average 1000 page clicks each day.  In any case these sites ran flawlessly on 2 GB of RAM box with two 1 GHz processors.  And honestly, it ran more surely than it does now.

    What role the Application Pools in an environment dedicated to Cold Fusion?

    Because only one instance of JRun is already launched, SEE crashes when requests overwhelms the box and it blocks.  So, kind of defeated the purpose of the independent application in my opinion Pools.

    During my installation and transfer of these sites, I gave them each their own independent Application Pool, which are now individual instances of IIS worker process, each using about 10 MB of RAM.  Thus, for example, if the interaction that happens with 200 websites that they eat up to 2 GB of RAM, which, although not large, is very well now.  The problem is that I intend to leave this machine reach 500 sites before adding another box, but I worry about the performance.

    FUNDAMENTAL QUESTIONS:

    Should cold fusion Pools of independent applications for each web site or all websites can be used under DefaultAppPool?

    And what are the advantages and disadvantages of the two options?

    Is there a setting I should change who will say active stop w3wp.exe instances if no activity takes place for a certain period of time to release the memory.

    Thanks for any input.

    Rush, the bottom line questions:

    Should cold fusion Pools of independent for each web site applications or can

    all of these Web sites running under DefaultAppPool?

    No, it's not 'need '. They can all run in a pool. It is probably best to split them somehow, so that is something is not bad in a single application pool, at least those of the other application pool still works.

    And what are the advantages and disadvantages of the two options?

    As you note, each application pool uses a little memory. Not much, but as you note, 200 + it adds up. FWIW, the application pool is also part of the connection between IIS and CF, and there are times where just a recycling application pool (rather than restart CF) can solve a problem.

    That said, there certainly are times where CF will be what does not, and it won't matter to the application pools how you have. That's really what you want to focus on: why (if ever) SEE becomes is not responding.

    Is there a setting I should change who will say active

    instances of w3wp.exe to stop if no activity takes place for a certain

    time to release the memory.

    It is the default behavior of the application pools. See the "Advanced settings" for each pool in IIS 7 (or for her properties in IIS 6) for the recycling of various parameters of health protection.

    To return to your root cause problem (CF becomes unresponsive), anyway, you say "these sites were without fault on 2 GB of RAM box with two 1 GHz processors.  And honestly he ran more surely than it does now. "So what was 'before '? Not just less memory, I guess. He was also 32-bit instead? Was that an earlier version of the CF? It is useful for you to be more specific.

    Again, everything that is wrong is an explanation. It looks like you use the CF Server (not multiserver) mode, until you find in the coldfusion9\runtime\logs (not the coldfusion9\logs)? There may be important information before your plant that explains what is happening.

    As for your struggles get CF running on IIS 7, I'm curious: was it the 9.0? If Yes, what 9.0.1 (the free updater, which must be installed today on a download of CF9) which supported for IIS 7. Previously, it was indeed a little manual to make work work. And in fact, it may be that an update to version 9.0.1 could help resolve some problems if your manual configuration efforts could have hurt at all.

    Hope some of it is useful.

    /Charlie arehart

    [email protected]

    Quick delivery, help desk services remotely, the demand for CF (and CFBuilder)

    More on http://www.carehart.org/consulting

  • Connection of several call library function node

    First of all, I apologize if some of these issues are pretty basic. For my work, I have been teaching myself LabVIEW (using one of the books) for the last two months, in addition to a course of semesters of C++ software development. I have flowed through a few examples from the book and have searched these forums + google search, but I found the contradictory and confusing information on how to manage the C string data.

    I have attached a photo of the block diagram, the real VI and a manual describing the .dll file I'll call you. My real application is more complicated than what I've built here (I installed a trial version free at home, since I can't bring my lab computers files due to their having no do not have access to the internet...) There install everything for us, but it's a side story!), but deals with execution other than that, as I have the VI wrapped around an imposing event that runs based on which side a user presses the button, messages pop up additional user, etc..

    In the end, I'll implement a program which allows a user presses a single button that sends a bunch of instructions to an instrument, where requested orders have been compiled by the society of the instrument in a couple of .dll files. The instrument itself be held the certain function specifications, so there is not much need to worry to get somewhere, out string parameters to be stored, and there is no reception data of the instrument: it simply distributes liquid charges based on what parameters I pass to it. Given the same internet connection problems, I have to wait a few weeks for my IT team installed a decompiler of .dll file on the computer that has installed LabVIEW so that I hope that I can directly import the header file in the Import Wizard. I worked out of their manual without even being able to look in the .dll file (which may be more documentation), and they do not have the more detailed documentation on their data types (even if maybe these data types are public knowledge, and I'm just missing something). I went ahead and copied + pasted some of their function prototypes + example code pages 16 and 17 of the provided pdf (it looks like to me a C calling convention):

    'Functions of the DLL to talk to the PiezoElectronics.

    Public Function declare bfx_piezo_OpenPort Lib "bfx_piezocontrol.dll" (ByVal portname As String) As Integer

    Public Function declare bfx_piezo_ClosePort Lib "bfx_piezocontrol.dll" () As Integer

    Public Function declare bfx_piezo_ConfigurePiezo Lib "bfx_piezocontrol.dll" (ByVal ability As Double, ByVal VoltagePerStroke As Double) As Integer

    Public Function declare bfx_piezo_SetupPiezo Lib "bfx_piezocontrol.dll" (ByVal StrokeLength As Double, ByVal DownStrokeVelocity As Double, ByVal HoldTime As Integer, ByVal UpStrokeVelocity As Double, ByRef LoadTime As Double, ByRef LoadCurrent As Double, ByRef UnloadTime As Double, ByRef UnloadCurrent As Double) As Integer

    ' Search for electronics

    RC = bfx_autodetect_SearchPiezo (False, PiezoElectronicsPort, PiezoElectronicsDev)

    If rc = 0 then MsgBox("No electronics could be detected", MsgBoxStyle.Critical)"error message LogLabel.Text ="no electronics could be detected.

    On the other

    Action.Enabled = True '

    Device found-> activate the button LogLabel.Text = "Piezoelectronics" found on the Port & PiezoElectronicsPort

    RC = bfx_piezo_OpenPort (PiezoElectronicsDev) ' establish communication

    If rc = 0 Then LogLabel.Text = "open e".

    End If

    End Sub

    Private Sub Action_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Action.Click

    Dim rc As Integer ' to store the return code of the dll

    Dim LoadTime, LoadCurrent, UnloadTime, UnloadCurrent As Double ' to store the values returned by the dll

    RC = bfx_piezo_ConfigurePiezo (PiezoCapacity, PiezoVoltagePerStroke) ' Tell the dll of the distributor of physics

    If rc = 0 Then LogLabel.Text = "Configured distributor" "configure the parameters of dosage

    RC = bfx_piezo_SetupPiezo (stroke, beat down, HoldTime, ascending, UnloadTime, UnloadCurrent, LoadCurrent and LoadTime) rc += bfx_piezo_Repeat (repetitions, RepeatDelay)

    If rc = 0 Then LogLabel.Text = "Setup dosage settings."

    Only four interested features me search piezo, open port, configure piezo and piezo installation, as seen on my block diagram. My questions concern only the setup functions / openport piezo and how I built the library call nodes function, since these would also address how to set up the other two. When running VI, I get the error code is 1517, with installation function highlighted, leading me to believe that I have this feature badly adjusted upward (and Potentially openport, explained in the next paragraph).

    Function to open the port has two string parameters that are passed by reference, and configure the function takes one of the following strings as a call by value. Can I just wire them together as I did, or is it necessary to do something in the sense of adding a sub - VI GetValueAtPointer to dereference firstly, the pointer to the string and then spend the actual string on the second node?

    To specify the data types in the function library call nodes, I have all channels like C strings, double as double, return numeric values as integers signed 32 (each function returns a digital long I think that for debugging purposes), Boolean as an integer 16 bit signed (after that I forced my Boolean constant in an integer) and one of my numbers in Setup as an integer no signed, as I was told in an e-mail from the manufacturer of the instrument. Should we indicate the call launched by numbers as constants value, or not, since they are not explicitly defined as constants in the code provided? Since they have been specified not as long, I am right to assume signed 16-bit integer for the passage by the digits of the value? Is the Boolean value a 8-bit or 16-bit and signed? If the function has a numeric parameter as a value call, I guess by the wiring in a digital constant, that this value is transferred to the function?

    Again, I apoligize if these questions are too simplistic (and many of them), due to my limited experience programming and possibly scarce documentation of the company during the inspection. I look forward comments about the VI as well, if I had nothing at all just illegal/bad practice.

    Thank you for your time!

    First of all, I'm really not familiar with C/C++ dll, but I remember something the DLL must contain the standard C functions to properly accessible from LabVIEW. I don't know if this is the case here, but lets see more will enlighten this part.

    Second, whenever I have the chance to directly use the simple series commands, I go like this, and I create my own live LabVIEW. As I see in the attached pdf doc, it is possible to order the material through the series without using the DLL (on page 18). If these features meet your needs, I would really screw via VISA program, your life will be much easier...

    Edit: http://www.ni.com/tutorial/3702/en/

  • 2 blackBerry Smartphones newbie questions: do I need it, and how I spoil my phone?

    Sorry for the newbie questions:

    My IT has already set up my phone to receive email from their Blackberry Enterprise Server.

    (1) do I still need to install the desktop software?  Given that I can transfer files via Bluetooth from my laptop and my contacts/calendar/notes are stored on the Exchange Server, is there any point?

    (2) if I do not need to install it, given that my email is already working with BES, and the Office installation configures email settings, how do I keep the new Desktop install to mess up the current configuration of e-mail?

    Of all the notes of support on the software, looks like more trouble whereas at this stage.  I really need to treat it?

    Thank you.

    Janimal

    Hi and welcome to the Forums!

    Janimal wrote:

    (1) do I still need to install the desktop software?  Given that I can transfer files via Bluetooth from my laptop and my contacts/calendar/notes are stored on the Exchange Server, is there any point?

    There is not much need of DTM, but it is convenient to update the OS of your BB. Sometimes there will be releases of minor bugs corrections and such to your BB - DTM will be meaningless and install them, while updating wireless could not detect them. For a major OS update, you want DTM, as it will do a backup/complete restoration of your BB, including configuration settings, and others so that you don't have to redo those. But, to your e-mail, calendar, contacts, etc. - you are right, it is useless given that your Exchange Server is actually your master with your BB being actually a backup of that (in a sense).

    In addition, USB drivers (which are part of the package DTM) are necessary in order to charge your BB via your laptop USB. You can download and install all the USB drivers if this is the only part of the DTM you want.

    Janimal wrote:

    (2) if I do not need to install it, given that my email is already working with BES, and the Office installation configures email settings, how do I keep the new Desktop install to mess up the current configuration of e-mail?

    When you install it, it will ask if you are in a company - say Yes and it will install properly. Installation when your PC is connected to your corporate network and your Outlook is open. Who will get the best and fastest configuration. When you install, do not let it select the functions of auto-launch... If you wish, attach your BB and manually run the DTM.

    Of all the notes of support on the software, looks like more trouble whereas at this stage.  I really need to treat it?

    Thank you.

    Janimal

    Basically, on the whole, I vote 'YES'. You get the USB charging. You can save if you wish. You get the device OS and other updates. Most of the reported problems are people using it to synchronize via USB things - you won't do that because most of your stuff will be syncing via BES OTA. Other things, you can simply drag-and - drop (music, videos, etc.). .. .follow these instructions (use the latest 5.0 DTM):

    http://supportforums.BlackBerry.com/Rim/Board/message?board.ID=BlackBerryDesktopSoftware&thread.ID=3...

    DL the latest version here:

    http://NA.BlackBerry.com/eng/services/desktop/

    Good luck!

Maybe you are looking for