ACE: 1/2 open connections and reset

Is there anyway to force the ACE to send a RST packet for a connection that it doesn't have in its state table? i.e. upon a 2nd failure from the secondary ACE back to the primary where existing connections do not replicate back to the primary.
EDIT: What I'm trying to do is to send a RST to a TCP flow that the client has open but the ACE is not aware of it. I'm trying to do that because I have these long lived connections that do not get replicated back upon a preemptive recovery. So the client sits there waiting forever to timeout. It would be helpful to have the ACE send a RST for a 1/2 open connection instead of just dropping it.

Casy,
You can apply a nat policy to the server vlan only, so traffic will only be nated when the connection comes from the server vlan.
If you don't want to nat all traffic, you can use a class-map that only matches a specific destination ip.
If you need further detail let me know.
Gilles.

Similar Messages

  • Having trouble opening connections and reading from Bluetooth devices.

    Hello,
    As the title states, I am having trouble opening connections and reading data from a Bluetooth device. We are using a PDA to communicate with LabVIEW. First, the Bluetooth Open Connection VI displays a timeout error half of the time. Second, when it does open, it does not read what the PDA is sending. Third, if it does allow an open connection, it will not do it a second time unless the devices are turned off.
    I also have another related question. I am using a Linksys Bluetooth USB adapter, and the driver is proprietary. Labview requires the use of a Microsoft driver, and we are having problems going back and forth between the drivers. What Bluetooth receiver would you suggest using? The reason I ask is the fact that you have Bluetooth examples of client VI's. Therefore, you must use a similar device. Thank you for your time.
    -Jon

    Hi Jon,
    I'm not sure what Bluetooth receivers were used to verify the functionality of the VIs. However, I still want to help you solve your issue. Please make sure that you are running the shipping examples and let me know what version of LabVIEW, what PC OS and what PDA OS you are using. Does the Microsoft driver work for your Bluetooth receiver if you uninstall the Linksys driver?
    With your answers I'll do my best to help you out.
    - Philip Courtois, Thinkbot Solutions

  • What is the difference between dropping-connection and reset?

    Hi, Im currently studying HTTP MPF (ASA feature) ,
    im just wondering about the difference between dropping-connection and reset (TCP)
    can you please tell me how it drop and how it reset ? ?? specific process of it ( eg, TCP handshake, etc)
    thanks in advance. !

    Reset sends a tcp response with the rst flag set. Drop sends no response.
    Sent from Cisco Technical Support iPad App

  • TCP Open Connection and Error Code 1

    So, I have a client that is supposed to continuously try to connect to a server using TCP Open Connection.vi. When the connection is established, the loop is supposed to exit.
    psuedocode for the loop I have is as follows (similar code, LV 7.1, exhibiting the same problem is attached)
    while (error)
      attempt to open connection
    Pretty simple, right?
    I've had no issues with servers written in LabVIEW, but when attempting to integrate with a server that was written in C, it appeared that the client created multiple connections. I have been able to reproduce this problem by writing a server with Java. The C server was on a remote machine, the Java server on a local. Both see different numbers of additional connections (3 for C, 2 for Java).
    Looking at the error codes, I am getting a bunch of code 56 (timeout, expected) and the ocassional code 1 (unexpected). I have noticed that whenever I have this multiple connection problem, I show an error code 1 right before the valid connection attempt and loop exit. Is there someway that a connection is being established (or partially established), but labVIEW is still returning an error? Is there a better way to verify that a TCP connection was actually successful?
    Here is example output from the attached code, it shows the error codes generated
    56
    56
    56
    1
    56
    56
    56
    56
    56
    56
    56
    1
    56
    56
    56
    56
    56
    56
    56
    1
    Here is output from my Java code
    [2006-05-24 15:43:23.556] - Begin Listening for Connection Attempts
    [2006-05-24 15:43:23.587] - Accepting Connection
    [2006-05-24 15:43:23.603] - Begin Listening for Connection Attempts
    [2006-05-24 15:43:23.603] - Accepting Connection
    Running ServerNIOConnection Thread
    [2006-05-24 15:43:23.603] - Begin Listening for Connection Attempts
    Running ServerNIOConnection Thread
    Thanks,
    Martin
    Message Edited by mmathis2000 on 05-24-2006 05:50 PM
    Attachments:
    Sample Client.vi ‏21 KB

    Hello,
    I’m a little curious why you are setting up your client like
    this.  If it is your objective to just
    have the client wait until a connection is made, why not just have the TCP
    connect VI have timeout value of ‘-1’ meaning “do not timeout”.  This will allow the built-in TCP event
    structure to listen for connections and ‘wake up’ your program when a
    connection is established.  I say this,
    because the error messages seem to be dependant on the timeout values.  For example, wire in 1ms to the timeout and
    see how the messages differ in timeouts as opposed to wiring in “2000” for the
    timeout value.  This is because the
    Connect VI attempts a connection and waits only the specified timeout before
    abandoning that attempt and continuing with another attempt.  I’m betting in your case connecting to the
    server takes longer than your timeout value, so the connection is initiated by
    your LV client, the handshaking takes place, your server indicates that a
    connection is being made, and sometime during this process your timeout expires
    and LV tries the process again thus you see the multiple connections.  Go ahead and try this as an experiment – take
    your VI, and instead of using ‘localhost’ use the IP address of your favorite
    website and change the remote port to port 80. 
    Change the timeout to -1 and wait for the connection, then change the timeout
    to 1 and see all the timeout errors given.
    Hopefully this answers your question, please let me know if
    you have any additional questions or if this is inaccurate/unclear.
    Travis M
    LabVIEW R&D
    National Instruments

  • [SOLVED] Maximun TCP open connections and Open File Descriptors

    Hi,
    back when I was using XP I needed to patch a system file to increase max amount of open TCP connections - you surely know about this. I'm wondering how do I do the same in GNU/Linux and if that's real important here.
    Also, by default open files are set to 1024, how do I change that? I'm running x86_64 + KDE SC 4.4.2
    Last edited by martin77 (2010-04-12 04:17:27)

    Thanks for replying.
    I mean "open file handler" or in a better GNU/Linux terminology "open file descriptors" aka the maximun number of files that can be accessed at a given time.
    For instance, VMWare will need you increase them to 4096 to work properly - and I presume something in the order of 5120 would be ok.
    Following The Arch Way, already found the solution and want to share it with all of you fellow n00bs:
    1. you need to open for edit /etc/security/limits.conf file with root privileges
    2. at the end of the file add:
    * soft nofile nn
    * hard nofile nn
    where nn is the number of open file descriptors you want. I set them to 8196 (probably too high) so for instance it should read:
    * soft nofile 8192
    * hard nofile 8192
    Read the embedded help for a better understanding of this crucial configuration file.
    As usual, thank you very much to this great community, devs and users, best!
    Last edited by martin77 (2010-04-12 04:18:47)

  • Open connections between AS Java and AS ABAP when using JRA

    Hi, we have a problem with open connections and hope that someone here could give me hint where to find a solution.
    The situation is that we open a connection from a Java application to an AS ABAP. In detail, the application first connects to a statefull session bean on the AS Java by RMI. The bean communicates with the associated AS ABAP by the Java Resource Adapter (JRA).
    All interactions between all components work correctly. But even after we close the application, manually close of the connections (on side of the AS Java) , remove all created and used session beans there are still open connections between the AS ABAP and the AS Java.
    The transaction smgw (Gateway Monitor) shows open connections from jlaunch to our local SAP gateway using the internal communication protocol. Obviously, the established connections are not closed, even when they are open for a week or longer.
    After opening 100 connections, the AS ABAP denies additional connection attempts.
    We have been able to close all open connections by restarting the AS Java or by restarting the Connector over the Visual Administrator (path: Cluster – Server – Services – Connector Container – “select the right connector” – stop / start).
    We have developed our application similar to the tutorial from [https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/ad09cd07-0a01-0010-93a9-933e247d3ba4]
    Can someone explain to us why the connections stay open for so long? Is there no timeout mechanism? Or is there some way to close the connections from our Java application?

    Hello,
    maybe someone can help us with our problem.
    We have developed our application similar to the tutorial from https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/ad09cd07-0a01-0010-93a9-933e247d3ba4 and it was running without problem with the SP12, now we change our system to SP16 and we are having the problem described in note 1083348, but as you can see, for us it was working with SP12 and now it doesn't work with SP16....
    Here is part of our code....
        public List getAll() {
            String functionName = "bla";
            try {
                openConnection();
                MappedRecord response = (MappedRecord) interaction.execute(null, request);
                MappedRecord record = (MappedRecord) response.get("E_S_RETURN_CODE");
                if (((String) record.get("RETURN_CODE")).equalsIgnoreCase("E")) {
                    throw new SQLException((String) record.get("RETURN_TXT"));
            catch (ResourceException exc) {
                throw new EJBException(".");
            catch (SQLException exc) {
                throw new EJBException(".");
            finally {
                closeConnection();
        protected void openConnection() {
            try {
                connection = connectionFactory.getConnection();
                interaction = connection.createInteraction();
            catch (ResourceException exc) {
                interaction = null;
                connection = null;
                throw new EJBException(getExceptionText(exc));
      protected void closeConnection() {
           try {
                if (interaction != null) {
                    interaction.close();
                if (connection != null) {
                    connection.close();
            catch (ResourceException exc) {
                throw new EJBException(".");
    With that code we are getting this error: "Connection handle is already closed and no longer associated with a managed connection" everytime we try to close the connection in the method closeConnection().
    We were thinking that maybe we should not close the connections, because the were already close, and tried not to close the connection (connection.close()), but then after a few time we are getting the following error, because we are not closing the connections:
    Connection to ABAP System could not be opened, because the Connection Factory returns "Cannot get connection for 120 seconds. Possible reasons: 1) Connections are cached within SystemThread(can be any server service or any code invoked within SystemThread in the SAP J2EE Engine), 2) The pool size of adapter "eis/..." is not enough according to the current load of the system or 3) The specified time to wait for connection is not enough according to the pool size and current load of the system. In case 1) the solution is to check for cached connections using the Connector Service list-conns command, in case 2) to increase the size of the pool and in case 3) to increase the time to wait for connection property. In case of application thread, there is an automatic mechanism which detects unclosed connections and unfinished transactions.". Please check the connection defined for the Connection Factory of the Java Resource Adapter with JNDI name...
    Any help?

  • BI SDK in Web Dyn Pro- Can't open Connection

    hello,
    I am developing a Web DynPro component which should connect to a BW 3.5 via BI SDK - XMLA.
    As a start i just use the code from the "How to " document for Web DynPro without any changes.
    I could deploy the application and it should give me the list of the schemas. instead it returns "Can't open Connection" .
    I looked in the Web DynPro Content Administrator and found that the Reference "sap.com/com.sap.ip.bi.sdk.dac.connector.xmla" has under the Status a red light; there are 2 other with green
    (sap.com/tcwddispwda, sap.com/tcwdcorecomp).
    Since red lights are never a good sign, i would like to know what is the reason for it and how can i fix it ?
    I assume there is a direct connection between the "Can't Open Connection" and the red light...
    Any useful help is appreciated and will be rewarded
    Kai
    import org.omg.cwm.analysis.olap.Schema;
    import com.bearingpoint.bi.wdp.IPrivateIGS_Chart;
    import com.bearingpoint.bi.wdp.IPublicIGS_Chart.ISchemaElement;
    import com.sap.ip.bi.sdk.dac.connector.IBIConnection;
    import com.sap.ip.bi.sdk.dac.connector.IBIOlap;
    import com.sapportals.connector.connection.IConnectionFactory;
    import com.sapportals.connector.connection.IConnectionSpec;
              IConnectionFactory connectionFactory = null;
              IConnectionSpec connectionSpec = null;
              IBIConnection connection = null;
              String message = "";
              try {
                   Context initctx = new InitialContext();
                   // perform JNDI lookup to obtain connection factory
                   connectionFactory = (IConnectionFactory) initctx.lookup("deployedAdapters/SDK_XMLA/shareable/SDK_XMLA");
                   connectionSpec = connectionFactory.getConnectionSpec();
                   // establish connection using default connection properties
                   connection = (IBIConnection) connectionFactory.getConnectionEx(null);
                   IBIOlap olap = ((IBIConnection) connection).getOlap();
                   List schemas = olap.getSchema();
                   Schema schema = null;
                   for (int i = 0; i < schemas.size(); i++) {
                        schema = (Schema) schemas.get(i);
                        message += schema.getName();
              } catch (Exception e) {
                   message += e.getMessage();
                   logger.errorT( e.getMessage());

    Hi,
       Have you made the configurations to determine the JNDI name of the BI XMLA connector?
       Just check if you have done these steps:
    1. Open Visual Administrator.Select
    <server node>
    ->Services
    ->JNDI Registry.
    On the Runtime tab, in the registry list, locate deployedAdapters
    ->SDK_XMLA
    ->shareable
    ->SDK_XMLA.
    This path, from the root to the SDK_XMLA leaf node, indicates the fully-qualified JNDI name of the BI XMLA Connector,which is:"deployedAdapters/SDK_XMLA/shareable/SDK_XMLA".
    2. Select the server node, and choose
    <server node>
    ->Services
    ->Connector Container.
    3. Locate and double-click the entry for the BI XMLA Connector,sap.com/com.sap.ip.bi.sdk.dac.connector.xmla.BI_SDK_XMLA, to open the connector definition.
    4. Select Managed Connection Factory->Properties, and set
    the required connection properties as shown
    Property:Setting
    DataSource:default
    Statefulness:false
    Language:EN
    Password:(password)
    UserName:(username)
    URL:http://server:port/sap/bw/xml/soap/xmla
    In order to find out this URL,f or a BW system, start transaction SE37 and execute the function module RSBB_URL_PREFIX_GET.
    Use the following values for the import parameters of the function module:
    I_HANDLERCLASS = CL_RSR_MDX_SOAP_HANDLER
    I_PROTOCOL = HTTP
    I_MESSAGESERVER =
    The URL takes the following form: */sap/bw/xml/soap/xmla.
    5. Save the settings.
    Regards,
    Satyajit.

  • Why do my DROID ULTRA keeps freezing up and resetting when i use Navigation

    I just got a DROID ULTRA and it keeps freezing up when i open APPS and resetting when i try use navigation do anyone else have this problem.

        I'm here to help wake that device up bigdogg2! When did this first start? Any new apps or features added recently? Is it specific to certain apps? My first recommendation would be to clear the cache on the apps themselves. http://vz.to/1jwkj2c
    JonathanK_VZW
    VZW Support
    Follow Us on Twitter@VZWSupport

  • I recently had some repairs done to my ATT U-verse connection, and now my Safari doesn't open in a full screen.  How do I reset that to open in full screen?

    I recently had some repairs done to my ATT U-verse connection, and now my Safari doesn't open in a full screen.  How do I reset that to open in full screen?

    Mountain Lion is set up to close windows when you quit a program instead of saving them. To change this, put Safari in full-screen mode, move the cursor to the top, open Safari menu while holding Option key and close Safari from the menu.
    If you want to do it automatically with all programmes, open System Preferences > General, and deactivate "Close windows when quitting an application"

  • When I connect my ipod to my computer it opens my documents and won't show up in my itunes and I have unistalled then reinstalled itunes and reset my ipod twice and it stills does the same thing how can I make it so that it shows up in my itunes?

    When I connect my ipod to my computer it opens my documents and won't show up in my itunes and I have unistalled then reinstalled itunes and reset my ipod twice and it stills does the same thing how can I make it so that it shows up in my itunes?

    Try
    iOS: Device not recognized in iTunes for Windows
    I would start with              
    Removing and Reinstalling iTunes, QuickTime, and other software components for Windows XP
    or              
    Removing and reinstalling iTunes and other software components for Windows Vista, Windows 7, or Windows 8
    Before you reinstall the Apple software, also remove iCloud vi Control Panel Remove programs. The reinstall the Apple programs
    New cable and different USB port?
    Runs this and see if the results help with determine the cause
    iTunes for Windows: Device Sync Tests
    Try on another computer to help determine if computer or iPod problem

  • I am playing in Pogo and cannot open the games even though the homepage and others will open. The message is THE CONNECTION WAS RESET WHILE THE PAGE WAS LOADING. How do I fix this???

    I am playing in Pogo and cannot open the games even though the homepage and others will open. The message is THE CONNECTION WAS RESET WHILE THE PAGE WAS LOADING.
    All my friends are playing and it seems I am the only one have this problem.

    The "The connection was reset" error message can be caused by a bug fix for the BEAST (Browser Exploit Against SSL/TLS) attack that the server doesn't handle.
    *[[/questions/918127]]
    *[[/questions/918028]]

  • I have a wifi connection but "safari cannot open the page because it is not connected to the internet" I have reset everything; I have used Itunes to update and reset. Still no good. It worked until 2 days ago

    I have a wifi connection but "safari cannot open the page because it is not connected to the internet" I have reset everything; I have used Itunes to update and reset. Still no good. It worked until 2 days ago

    Reset everything.. did you do this?
    Tap Settings / General / Reset / Reset Network Settings
    If you're already been there, done that, could be a third party app preventing Safari from accessing the web.
    Re sync your apps 5 at a time, then test the iPad.

  • When I open Firefox I get an error saying "Connection was reset". I went through the articles and did what they said for a situation like this but it didn't fix it. However you can help would be most appreciated. Thank you for your time. Tyron

    It also says underneath "Connection was reset" "The connection to the server was reset while the page was loading." Despite doing what the articles said to do in this situation it hasn't solved it yet.

    HI, and thank you for your reply.  I am a bit confused  however as I would have thought that once I turned off the engine of my car the transmitter and ipod would be also off???? Is there still power coming into the cigarette lighter when the car is off>????? i have a mercedes c class.  The cigarette lighter is still working and the transmitter is still working.  Are you saying that by leaving them still plugged in even though the car was idle and not running it still destroyed  the hard drive????  Also could this happen if a person leaves it docked in a radio cd player but is not listening to it, is it still charging and could this have burned out the hard drive.  (i always left it docked) until i bought the transmitter for the car.
    Your thoughts would be much appreciated as obviously I do not want to make the same mistake again.
    kind regards

  • I want to give my iphone to my freind and thus I tried to Erase all contents and reset everything. I went settings-general-erase and reset. But while it was being processed, power supply went off. I have connected back to power but after 4 hours no repson

    Can anyone advise me how long does it normally take to reset while doing- settings-general-erase and reset all settings.It has already taken 4 hours and only the apple logo is being displayed yet. I am little bit worried if the operating system will not be restored.

    Use the following steps to place your device into recovery mode. If the device is already in recovery mode, you can proceed immediately to step 6.
    Did you do this?
    Disconnect the USB cable from the iPhone or iPod touch, but leave the other end of the cable connected to your computer's USB port.
    Turn off the device: Press and hold the Sleep/Wake button for a few seconds until the red slider appears, then slide the slider. Wait for the the iPhone or iPod touch to turn off.
    If you cannot turn off the device using the slider, press and hold the Sleep/Wake and Home buttons at the same time. When the device turns off, release the Sleep/Wake and Home buttons.
    While pressing and holding the Home button, reconnect the USB cable to iPhone. When you reconnect the USB cable to iPhone, the device should power on.
    Note: If you see the screen pictured below, let the device charge for at least ten minutes to ensure the battery has some charge and then start with step 2 again.
    Continue holding the Home button until you see the "Connect to iTunes" screen. When this screen appears you can release the Home button:
    If necessary, open iTunes. You should see the following "recovery mode" alert:
    Use iTunes to restore the device.
    If none of these works, visit your nearest Apple Retail Store, Apple Authorized Service Provider or wireless carrier.
    Cheers!

  • HT201210 Trying to restore ipod and keep on getting error message: the ipod software update server could not be contacted. the network connection was reset

    Hello can someone please help? Trying to restore ipod and I keep on getting error message: The IPod software update server could not be contacted. The network connection was reset. Make sure your network is active and try again.

    Try:
    - Powering off and then back on your router.
    - iTunes for Windows: iTunes cannot contact the iPhone, iPad, or iPod software update server
    - Change the DNS to either Google's or Open DNS servers
    Public DNS — Google Developers
    OpenDNS IP Addresses
    - Try on another computer/network
    - Wait if it is an Apple problem

Maybe you are looking for