ACE dropped conns with New Vip

I have been load balancing our mail servers for quite sometime without an issue however I have been using a dynamic Nat statement. This however causes our mail team to have problems with logging. I then created a whole new vlan and ace context for the mail servers to use. This is where my dilemma is.
I now have dropped connections going to my vip but only from one server which is our Anti-span / Antivirus server which filters the mail from the internet and then passes it on to these other mail servers.
I can send mail just fine if I don't use the VIP I created.
Also if I use a Nat statement the mail sends fine but obviously I don't want to use that anymore.
The only thing I see that the ACE is not doing is closing the connections. So if every five minutes I do a clear conn all, I won't get any dropped connections for at least 10 to 15 minutes but I am not going to be doing this. Right now I have a server with a script that logs into the ace and then clears the connection but this is a band aid problem.
Here is my config. This is the only thing on this context. All 6 of my other contexts do not have this issue.
access-list ALL line 10 extended permit ip any any
access-list ALL line 18 extended permit icmp any any
probe smtp SMTP_Probe
interval 15
passdetect interval 30
expect status 210 250
parameter-map type connection TCP_Mail_TO
slowstart
set timeout inactivity 2
set tcp timeout half-closed 15
set tcp ack-delay 300
tcp-options timestamp allow
rserver host hub2
ip address *.*.*.*.*.*
inservice
serverfarm host Mail_Hub_Servers_SF
probe SMTP_Probe
rserver hub2 25
inservice
class-map match-all Mail_Hub_VIP
2 match virtual-address *.*.*.*.*.* tcp eq smtp
class-map type management match-any Remote_Management
2 match protocol http any
3 match protocol icmp any
4 match protocol telnet any
5 match protocol ssh any
policy-map type management first-match rmt_mgt_policy
class Remote_Management
permit
policy-map type loadbalance first-match Mail_Hub_VIP-l7slb
class class-default
serverfarm Mail_Hub_Servers_SF
policy-map multi-match int7
class Mail_Hub_VIP
loadbalance vip inservice
loadbalance policy Mail_Hub_VIP-l7slb
loadbalance vip icmp-reply active
loadbalance vip advertise active
connection advanced-options TCP_Mail_TO
access-group input ALL
interface vlan 108
ip address *.*.*.*.
alias *.*.*.*
peer ip address *.*.*.*.
no normalization
no icmp-guard
service-policy input rmt_mgt_policy
service-policy input int7
no shutdown
ip route 0.0.0.0 0.0.0.0 *.*.*.*

I would like to avoid trying routed mode for this just right now because we haven't had a good experience in routed mode here. I can try creating a new context in routed mode because I cannot experiment with production mail. Also I have this scenario working fine on 3 other contexts with 0 Connections being dropped. The other thing is I am not dropping all connections its dropping about 2-8%. of the connections. I have been playing around with connection limits.
Interface: vlan 108
service-policy: int7
class: Mail_Hub_VIP
loadbalance:
L7 loadbalance policy: Mail_Hub_VIP-l7slb
VIP Route Metric : 77
VIP Route Advertise : ENABLED-WHEN-ACTIVE
VIP ICMP Reply : ENABLED-WHEN-ACTIVE
VIP State: INSERVICE
curr conns : 1 , hit count : 12052
dropped conns : 839
client pkt count : 385190 , client byte count: 375718706
server pkt count : 133814 , server byte count: 11089648
conn-rate-limit : 50 , drop-count : 0
bandwidth-rate-limit : - , drop-count : -
Parameter-map(s):
TCP_Mail_TO

Similar Messages

  • ACE: dropped conns due to header insert

    My LB is dropping connections on port 443 when I have "insert-http source header-value "%is" configured. Other ports such as 80, or 8080 are working. The config is the same for all ports.
    class-map match-any Service_VIP_Class
    4 match virtual-address 1.1.1.1 tcp eq https
    policy-map type loadbalance first-match Service_L7_Policy
    class class-default
    serverfarm Service_Serverfarm
    insert-http source header-value "%is"
    policy-map multi-match Service_LB_Policy
    class Service_VIP_Class
    loadbalance vip inservice
    loadbalance policy Service_L7_Policy
    loadbalance vip icmp-reply active
    loadbalance vip advertise active
    I see dropped conns on the service policy. When I remove the header insertion config, it connects ok.
    Please help!

    There is no way any device (including ACE) can open an https packet to insert anything.
    Only exception:
    You offload ssl using server keys and certs.Then make changes to the decrypted packet.
    Syed

  • ACE dropped conns problem (Bridged mode)

    Dear all,
    I configured an ACE in bridged mode (inside vlan: 2012, outside vlan: 2021) and I apply the L4 policy on the 2 VLAN interface to loadbalance HTTP incoming request (Virtual IP: 172.22.22.130).
    interface vlan 2112
      bridge-group 1
      access-group input BPDU-Allow
      service-policy input POLICY-LB-HMC-2112
      no shutdown
    interface vlan 2122
      bridge-group 1
      access-group input BPDU-Allow
      service-policy input POLICY-LB-HMC-2112
      no shutdown
    But I need also that some other server connected to the same vlan 2112 and having to send HTTP request on the same VIP but this failed and I get dropped conns.
    Can anyone helps?
    Regards
    Abdelaziz

    Hi Olivier,
    This below the full config, and my need is to make a server in the inside VLAN 2112 (172.22.22.121) to open HTTPS connexion on the VIP (172.22.22.130 for rserver .131 & .132). Trafic from the outside is working well.
    Thanx,
    Abdealziz
    Generating configuration....
    access-list BPDU-Allow ethertype permit bpdu
    probe tcp HTTPS
      port 443
      interval 15
      passdetect interval 15
      passdetect count 1
    probe icmp PING
      interval 5
    rserver host CASHUB131
      ip address 172.22.22.131
      inservice
    rserver host CASHUB132
      ip address 172.22.22.132
      inservice
    serverfarm host SFARM-EXCAS130
      probe HTTPS
      rserver CASHUB131
        inservice
      rserver CASHUB132
        inservice
    parameter-map type connection TCP_IDLE_30min
      set timeout inactivity 1800
    class-map match-all CLASS-L4-VIP-EXCAS130
      2 match virtual-address 172.22.22.130 any
    class-map type management match-any REMOTE-ACCESS
      description management ACE
      10 match protocol telnet any
      20 match protocol ssh any
      30 match protocol icmp any
      31 match protocol https any
      32 match protocol snmp any
    policy-map type management first-match REMOTE-MGT
      class REMOTE-ACCESS
        permit
    policy-map type loadbalance first-match POLICY-L7-VIP-EXCAS130
      class class-default
        serverfarm SFARM-EXCAS130
    policy-map multi-match POLICY-LB-HMC-2112
      class CLASS-L4-VIP-EXCAS130
        loadbalance vip inservice
        loadbalance policy POLICY-L7-VIP-EXCAS130
        loadbalance vip icmp-reply
        connection advanced-options TCP_IDLE_30min
    interface vlan 2112
      bridge-group 1
      access-group input BPDU-Allow
      service-policy input POLICY-LB-HMC-2112
      no shutdown
    interface vlan 2122
      bridge-group 1
      access-group input BPDU-Allow
      service-policy input POLICY-LB-HMC-2112
      no shutdown
    interface bvi 1
      ip address 172.22.22.250 255.255.255.0
      peer ip address 172.22.22.251 255.255.255.0
      no shutdown
    ip route 0.0.0.0 0.0.0.0 172.22.22.254

  • ACE 30, dropped conns counter incorrect number

    We have host in our network which tests reachability of ACE's VIP address at regular intervals. The test sequence consists of 4 TCP packets (SYN, SYN-ACK, FIN-ACK, RST-ACK; see picture attached) and causes incrementation of "dropped conns" counter in show service-policy output.
    ACE30# sh service-policy XYZ detail | inc drop
            dropped conns    : 266812
            conn-rate-limit      : 0         , drop-count : 0
            bandwidth-rate-limit : 0         , drop-count : 0
                         dropped conns: 238177
                dropped conns    : 7
    ACE30# sh service-policy XYZ detail | inc drop
            dropped conns    : 266813
            conn-rate-limit      : 0         , drop-count : 0
            bandwidth-rate-limit : 0         , drop-count : 0
                         dropped conns: 238178
                dropped conns    : 7
    Is this normal behavior of ACE? Is there a way how to get rid of the dropped cons counter incrementation.
    Petr

    Hi Kanwal,
    When I set "no normalization" problem is solved. Disadvantage of this appoach is that by this command all trafic on interface is affected.
    I've also tried to tune  timeout for embrionic connection.
    When I had set it to 0, dropped conns counter stopped to increase. Client which sends those "SYN,FIN" packets ends communication after 30 seconds using RST. This cause that connection ends and dropped conns counter does not increase.
    Unfortunately for some reason sometimes happens that client doesn't send this final RST packet. This cause that number of active connection increases ...
    ACE30-hto2/TEST-WEBAPP# sh service-policy XYZ | inc conn
            curr conns       : 9         , hit count        : 2279841   
            dropped conns    : 385467    
            conns per second    : 0         
            conn-rate-limit      : -         , drop-count : -         
    ACE30-hto2/TEST-WEBAPP# sh service-policy XYZ | inc conn
            curr conns       : 22        , hit count        : 2283653   
            dropped conns    : 385467    
            conns per second    : 0         
            conn-rate-limit      : -         , drop-count : -
    When I set timeout to 120, those "non RST" connections are cleared but of course dropped conns counter increases ...
    I guess I will try to reconfigure the probe.
    Kanwal, thanks for your suggestions!
    Kind regards
    Petr

  • Hi, my Iphone 6 dropped in water, and couldn't save it back although I tried with rice bag. So,how much would be cost if I can exchange with new one? Please kindly drop message about how to deal with it. Thank you.

    Hi, My Iphone 6 " iOS 8.1"  is dropped in water, and couldn't save it back although I tried with dryer and also put it in rice bag for 3 days. The flash light was still on even though the screen shows up nothing at all when i try to switch on after 3 days I put in the rice bag. So,how much it would be cost if I can exchange with new one? Please kindly drop message about how to deal with it. Thank you.

    Out of Warranty replacement on iPhone 6 is $299 US, adjust for your location.
    It is highly suggested that you make a Genius Bar appointment to avoid delay
    if going to an Apple store.
    Make a Genius Bar Reservation
    http://www.apple.com/retail/geniusbar/

  • List of Problems with new Web Mail

    List of Problems with NEW Web Mail :
    - At first doesn't open full page message list or retain full page as default setting, have to drag down bar
    - Only shows 20 message lines after “pulling down” the divider, screen partially empty until I scroll down.  It should show at least 26, preferably all available
    - After moving bar, bar moves back up after going back to inbox (not delete message) after reading a message, have to move it down again, and again...
    - Doesn't go to next message when delete message on screen is selected, no setting option for default to do this.
    - There is a drop down to select which folder to move a selected email to.  The initial display shows 7 usable choices, with the usual slider and arrow to show more choices.  The space on the slider clearly shows more choices are present (actually about 20 or so are there), but any attempt to use the slider or arrow to see more choices causes the drop-down to instantly disappear.  I can't move the selected field with arrow keys either.  I can select any of the visible 7 choices, and move an email to only one of the 7.  NOTE: This one works in both IE and Firefox, but if Verizon Webmail was fully web standard (see http://en.wikipedia.org/wiki/Web_standards) compliant it would also work in my preferred browser, Mozilla Seamonkey, the direct descendant of the original Mozilla browser.  Webmail should be FULLY web standard.
    - Occasionally a message will move from inbox to trash, without NO indication or command to move them.
    - Emails occasionally flash an error message and simply disappear - not to trash or other findable place, just disappear.  No time to read the error message either.
    - No way to set a whitelist for supposed spam emails, unless the whitelist for “Blocking” is the same.  Very unclear.
    - How can I switch my service back to the original, basic, email which works ok?  I know it’s still there, since some of my other accounts still access it!!!
    This seems my only way of getting this info direclty to the programming staff.  If it doesn't actually do this, will SOMEONE PLEASE FORWARD THIS MESSAGE TO THEM !?!  
    Thanks!

    vz_ric wrote:
    The majority of websites are set up the same way for all browsers. It's the software manufacturers responsibility to make their software compatible with websites, not the other way around. Otherwise everyone who has a website will have to make 10 different sites to work multiple browsers.
    Contrarily, it is Verizon's, as well as other companies like Verizon whose customer base uses a wide variety of web browsers, web page designers' responsibility to use only standard W3C-recognized code and not to use non-standard non-W3C-recognized code, e.g., Microsoft's Internet Explorer specific code, when designing their web pages. In my opinion based on my observations, Verizon's web page designers are too often guilty of using IE-specific code.

  • Help with new editor.....Windows 7 64-Bit Xeon 5520 processor 12 GB Memory.

    Hello, I have built a new system from scratch for our Creative Services Editor with the following:
    1- ZALMAN PROFESSIONAL GS-1000-BK Black Computer Case Aluminum- http://www.newegg.com/Product/Product.aspx?Item=N82E16811235014
    1- Seagate Barracuda ES.2 ST3500320NS 500GB 7200 RPM 32MB Cache SATA 3.0Gb/s- http://www.newegg.com/Product/Product.aspx?Item=N82E16822148294
    4- SAMSUNG Spinpoint F3 HD103SJ 1TB 7200 RPM 32MB Cache SATA 3.0Gb/s- http://www.newegg.com/Product/Product.aspx?Item=N82E16822152185
    1- ASUS P6T7 WS Supercomputer "Ultimate Gamer" choose 3Way SLI + PhysX at Real X16 X58 CEB Intel Motherboard- http://www.newegg.com/Product/Product.aspx?Item=N82E16813131390
    2- CORSAIR DOMINATOR 6GB (3 x 2GB) 240-Pin DDR3 SDRAM DDR3 1600 (PC3 12800) Desktop Memory (12 GB Total)- http://www.newegg.com/Product/Product.aspx?Item=N82E16820145289
    1- Intel Xeon E5520 Nehalem 2.26GHz 4 x 256KB L2 Cache 8MB L3 Cache LGA 1366 80W Quad-Core Server Processor- http://www.newegg.com/Product/Product.aspx?Item=N82E16819117185
    1- PNY Quadro FX 4800 VCQFX4800-PCIE-PB Quadro FX 4800 1.5GB 384-bit GDDR3 PCI Express 2.0 x16 SLI Supported Workstation Video Card- http://www.newegg.com/Product/Product.aspx?Item=N82E16814133252
    Ok, the system has some DVD burners and a huge 120 mm fan heat sink for the processor and a 850 watt power supply as well.
    The OS 64-bit windows 7 is installed all by itself on the 500 GB Drive C.  I currently have the 4 1 TB samsungs on a Raid-0 for all project video files and other content.  After reading many of Harms posts I may just set them all up as stand alone drives and split things up a bit for performance.
    CS5 runs well with the Mercury playback engine, and when importing normal DV video from DVCAM through a Blackmagic HD/SD-SDI Decklink card off of a DSR-1800 deck works fine.  The issue I am having is when we use still images, or like when we imported some Mac ProRess 422 footage, the system will scrub through it fine but when you try and play the timeline it freezes.  I did notice an error shows up in the lower right corner saying frames were dropped.
    From everything I reaserched with this system purchase, having the Quadro FX 4800 was supposed to make everything run smooth and take out render times. This machine is supper fast for everything else but seems to have issues doing simple things with images that have been scaled in the effect controls.  If the footage is basic SD video edits no problem.  Still images are large sometimes, but nothing his old 2003 Pinicle Liquid can't handle after some render time.
    If the GPU acceleration is on, and I play the timeline, few seconds and then stops.  If I turn off GPU, and hit enter to have it Render, it plays fine after Render is complete.  Seems like something is not feeding the GPU/CPU the data fast enough.
    Any thoughts.  Is the Xeon not the right direction, should I swap for a Core i9?  Xeon rates really high on the CPU benchmark... Shows up as 8 cores due to hyperthreading.
    Any idea's would be great,
    Thank you,

    Update:
         I swapped my processor with the i7-950 chip and even though the windows Experience Index went from 7.4 to 7.5 on the processor calculations per second.  My scores are Memory: 7.5, Graphics: 7.1 3D: 7.1 Primary hard disk performance is 5.9 making that the total score.
         I will run the benchmark again on the system tomorrow and post the results of a chip change.
         I have not changed the drive configuration or changed windows services yet.  I talked to black magic tech support and he said that for SD video I should be fine with 2 standard 7200 RPM drives.  He was surprised I was having the dropped frames with the 4 disk raid 0.  He said to test in another machine just to see if the card could be bad.
         I found a utility on the machine that is part of the black magic software that tests the hard drives.  Here are the results:
    Boot drive.  It is a Seagate Barracuda ES.2 ST3500320NS
    Scratch drive Raid 0 array- 4- SAMSUNG Spinpoint F3 HD103SJ 1TB 7200 RPM
    From the numbers it looks like the Raid 0 is giving much better performance over the single drive, but why am I still having the problems.  The dropped frames issue is still happening so I am going to try to move the black magic card to another PCI-e slot on the motherboard. I may have to try another brand of HD-SDI input/output card.
    I am going to test the card in another editor that does not have an intel processor or near the specs of this system just to rule out the card or the hardware as I found this on Blackmagic website:
    15 March 2010 — Number 193
    Asus P6T series motherboards
    The Asus P6T series of motherboards are currently incompatible with all x1 lane PCI Express products from Blackmagic Design. This includes the Intensity series cards as well as DeckLink SDI and DeckLink Studio. This incompatibility is being actively investigated but a possible resolution to the problem is currently unknown.
    This incompatibility only affects x1 lane PCI Express cards from Blackmagic Design. Our x4 lane PCI Express products work fine with the Asus P6T series of motherboards and these include the DeckLink HD Extreme and Multibridge family of capture devices.
    UPDATE: We have been informed that this issue has been resolved with the latest BIOS update from Asus. If you're running into issues with our x1 lane PCI Express cards and your motherboard, please check the manufacturers' website to see if there's a newer version of BIOS that you can use.
    Back... 
    Now, I have the Asus P6T7 WS Supercomputer.  I did do a Bios Update today but do not know if the issue refered to in this support notice also applies to my model of motherboard.  The tech at BlackMagic did not seem to know about this issue.
    Does anyone have any other idea's of what I could be missing?  If it turns out to be an incompatible motherboard I do not have a problem with changing it.  I would like to know if anyone is having a successful setup using the Decklink SDI with CS5 without any issues of dropped frames on items that are GPU rendered.  If I turn off the GPU acceleration and have to hit enter for render it isn't an issue as the "preview files" created when rendered are smaller and easier to play from the hard drives.
    The timelines that have issues are using still images of 3-4 megapixel sizes that are being shrunk and moved on the timeline to fit in NTSC 4:3 output.  I could probably stop the issue if I resized the pictures to 1 Megapixel or smaller and used the smaller version but the yellow bar is telling me it can do that conversion on the fly.  Why drop frames??????
    Thanks, (sorry for the long post)

  • HT4480 I cannot find my information or code that comes with new MAC boo pro. How do I find it? I did not know what all that was about and how to use it.

    I purchased my new Mac Book Pro 13 inch last Fall 2011. I started using the book in March 2012. I am new users of the Mac book and apple world. How do I obtain $100 ITune credit I was sent with my mac book. It does not show up with the purchase. I did not know exactly what it was and what to do with it. Now I am getting ready to buy some applications using Itunes I could use the credit.

    Try going to the APPLE in the upper left of the screen and click on it , you will get a drop down with several choices , click on about this mac and you will get a pop up with description of your Mac system , click on the more info tab and you will see a complete listing of you system.
    To redeem your ITunes card
    open ITunes and click on ITunes Store,if you do not have an apple id yo will need to create one, look for a tab that says redeem and click on it you will be prompted to enter the code on the back of the card , follow instructions and you should be good to go.  

  • Intermittent Audio Drop-offs with Airtunes to Apple TV

    A number of other threads have similar problems. iMac 2.8 GHz iTunes 8.1 is connect to an updated ATV via new dual-channel ABS on the "n" band. Still there are audio drop offs with AirTunes as it did with the previous ABS Extreme n and previous version of iTunes. So much so, I just gave up and used the Apple Remote on the iPhone to play ATV. Any suggestions would be appreciated.

    Switching from WEP to WPA/WPA2 personal seems to have totally cured the dropouts for me.
    Also I used an old flying saucer Airport as the receiver via ethernet out for my entreatment center instead of using the AppleTV's wireless.
    Also I had a Panasonic security cam that didn't support WPA so I used another flying saucer Airport via ethernet out as its receiver.
    So now my setup is,
    Airport Extreme in my home office as my main base station with a Motorola ADSL 2200 router feeding it internet.
    Flying saucer Airport via ethernet and a hub feeding my AppleTV, DirecTV DVR, and a Mac mini.
    Another flying saucer Airport via ethernet feeding my Panasonic security cam.
    Airport Express for my bedroom speakers.
    All airports are in bridge mode with the Motorola 2200 DSL modem acting as my router. (this seems to be the only way my Vonage adapter recovers without having to be reset if my DSL goes down)
    I steam music from my 17" Macbook Pro to the AppleTV and Bedroom speakers all day now without any dropouts.

  • Drag and Drop objects with JavaFX properties

    Has anyone tried to implement drag and drop functionality with objects containing JavaFX properties? The issue I'm running into is that the objects appear to need to be serializable, and the JavaFX properties are not serializable. I can implement Externalizable instead of Serializable, and basically serialize the values contained by the FX properties, but of course I lose any bindings by doing this (as the listeners underlying the bindings are not serialized).
    The [url http://docs.oracle.com/javafx/2/api/javafx/scene/input/Clipboard.html]javadocs for Clipboard state "In addition to the common or built in types, you may put any arbitrary data onto the clipboard (assuming it is either a reference, or serializable. See more about references later)" but I don't see any further information about references (and at any rate, this doesn't really make sense since anything that's serializable would be a reference anyway). Is there a special DataFormat I can use to specify a reference in the local JVM so the reference gets passed without serialization?
    I know this might not make sense without a code example; I just thought someone might have come across this closely enough to recognize the problem. I'll try to post a code example tonight...

    Here's pretty much the simplest example I can come up with. I have a real-world example of needing to do this, but the object model for the real example is quite a bit more complex.
    For the toy example, imagine we have a list of projects, some employees, and we want to assign each project to one or more employees. I have a Project class with a title and assignee. (In real life you can imagine other properties; due date, status, etc.) I'll keep a ListView with a bunch of unassigned projects (titles but assignees equal to null) and then a ListView for each of the employees.
    To assign a project to an employee, the user should be able to drag from the "master" list view to one of the employee list views. When the project is dropped, we'll create a new project, set the assignee, and bind the title of the new project to the title of the project which was dragged. (Remember we want to be able to assign a single project to multiple employees.)
    So here's the first shot:
    A couple of simple model classes
    Project.java
    import java.io.Externalizable;
    import java.io.IOException;
    import java.io.ObjectInput;
    import java.io.ObjectOutput;
    import javafx.beans.property.ObjectProperty;
    import javafx.beans.property.SimpleObjectProperty;
    import javafx.beans.property.SimpleStringProperty;
    import javafx.beans.property.StringProperty;
    public class Project {
         private final StringProperty title ;
         private final ObjectProperty<Employee> assignee ;
         public Project(String title) {
              this.title = new SimpleStringProperty(this, "title", title);
              this.assignee = new SimpleObjectProperty<Employee>(this, "assignee");
         public Project() {
              this("");
         public StringProperty titleProperty() {
              return title ;
         public String getTitle() {
              return title.get() ;
         public void setTitle(String title) {
              this.title.set(title);
         public ObjectProperty<Employee> assigneeProperty() {
              return assignee ;
         public Employee getAssignee() {
              return assignee.get();
         public void setAssignee(Employee assignee) {
              this.assignee.set(assignee);
         @Override
         public String toString() {
              String t = title.get();
              Employee emp = assignee.get();
              if (emp==null) {
                   return t;
              } else {
                   return String.format("%s (%s)", t, emp.getName()) ;
    }Employee.java
    import java.io.Externalizable;
    import java.io.IOException;
    import java.io.ObjectInput;
    import java.io.ObjectOutput;
    import javafx.beans.property.SimpleStringProperty;
    import javafx.beans.property.StringProperty;
    public class Employee {
         private StringProperty name ;
         public Employee(String name) {
              this.name = new SimpleStringProperty(this,"name", name);
         public StringProperty nameProperty() {
              return name ;
         public String getName() {
              return name.get();
         public void setName(String name) {
              this.name.set(name);
    }and the application
    DnDExample.java
    import javafx.application.Application;
    import javafx.beans.value.ChangeListener;
    import javafx.beans.value.ObservableValue;
    import javafx.collections.ObservableList;
    import javafx.event.EventHandler;
    import javafx.scene.Scene;
    import javafx.scene.control.Label;
    import javafx.scene.control.ListCell;
    import javafx.scene.control.ListView;
    import javafx.scene.control.TextField;
    import javafx.scene.input.ClipboardContent;
    import javafx.scene.input.DataFormat;
    import javafx.scene.input.DragEvent;
    import javafx.scene.input.Dragboard;
    import javafx.scene.input.MouseEvent;
    import javafx.scene.input.TransferMode;
    import javafx.scene.layout.HBox;
    import javafx.scene.layout.VBox;
    import javafx.stage.Stage;
    import javafx.util.Callback;
    public class DnDExample extends Application {
         private static final DataFormat PROJECT_DATA_FORMAT = new DataFormat("com.example.project"); // is there something special I can use here?
         @Override
         public void start(Stage primaryStage) {
              final HBox root = new HBox(5);
              final ListView<Project> allProjects = new ListView<Project>();
              final Employee fred = new Employee("Fred");
              final Employee ginger = new Employee("Ginger");
              final ListView<Project> fredsProjects = new ListView<Project>();
              final ListView<Project> gingersProjects = new ListView<Project>();
              final VBox employeeLists = new VBox(5);
              employeeLists.getChildren().addAll(new Label("Fred's Projects"), fredsProjects, new Label("Ginger's Projects"), gingersProjects);
              root.getChildren().addAll(allProjects, employeeLists);
              allProjects.setCellFactory(new Callback<ListView<Project>, ListCell<Project>>() {
                   @Override
                   public ListCell<Project> call(ListView<Project> listView) {
                        return new AllProjectListCell();
              allProjects.setEditable(true);
              final EventHandler<DragEvent> dragOverHandler = new EventHandler<DragEvent>() {
                   @Override
                   public void handle(DragEvent dragEvent) {
                        if (dragEvent.getDragboard().hasContent(PROJECT_DATA_FORMAT)) {
                             dragEvent.acceptTransferModes(TransferMode.COPY);
              fredsProjects.setOnDragOver(dragOverHandler);
              gingersProjects.setOnDragOver(dragOverHandler);
              fredsProjects.setOnDragDropped(new DragDropHandler(fred, fredsProjects.getItems()));
              gingersProjects.setOnDragDropped(new DragDropHandler(ginger, gingersProjects.getItems()));
              allProjects.getItems().addAll(new Project("Implement Drag and Drop"), new Project("Fix serialization problem"));
              Scene scene = new Scene(root, 600, 400);
              primaryStage.setScene(scene);
              primaryStage.show();
         public static void main(String[] args) {
              launch(args);
         private class DragDropHandler implements EventHandler<DragEvent> {
              private final Employee employee ;
              private final ObservableList<Project> itemList;
              DragDropHandler(Employee employee, ObservableList<Project> itemList) {
                   this.employee = employee ;
                   this.itemList = itemList ;
              @Override
              public void handle(DragEvent event) {
                   Dragboard db = event.getDragboard();
                   if (db.hasContent(PROJECT_DATA_FORMAT)) {
                        Project project = (Project) db.getContent(PROJECT_DATA_FORMAT);
                        Project assignedProject = new Project();
                        assignedProject.titleProperty().bind(project.titleProperty());
                        assignedProject.setAssignee(employee);
                        itemList.add(assignedProject);
         private class AllProjectListCell extends ListCell<Project> {
              private TextField textField ;
              private final EventHandler<MouseEvent> dragDetectedHandler ;
              AllProjectListCell() {               
                   this.dragDetectedHandler = new EventHandler<MouseEvent>() {
                        @Override
                        public void handle(MouseEvent event) {
                             Dragboard db = startDragAndDrop(TransferMode.COPY);
                             ClipboardContent cc = new ClipboardContent();
                             cc.put(PROJECT_DATA_FORMAT, getItem());
                             db.setContent(cc);
                             event.consume();
                   this.setEditable(true);
              @Override
              public void updateItem(final Project project, boolean empty) {
                   super.updateItem(project, empty);
                   if (empty) {
                        setText(null);
                        setGraphic(null);
                        setOnDragDetected(null);
                   } else if (isEditing()) {
                        if (textField != null) {
                             textField.setText(getItem().getTitle());
                        setText(null) ;
                        setOnDragDetected(null);
                        setGraphic(textField);                    
                   } else {
                        setText(project.getTitle());
                        setOnDragDetected(dragDetectedHandler);
              @Override
              public void startEdit() {
                   super.startEdit();
                   if (!isEmpty()) {
                        textField = new TextField(getItem().getTitle());
                        textField.setMinWidth(this.getWidth()-this.getGraphicTextGap());
                        textField.focusedProperty().addListener(new ChangeListener<Boolean>() {
                             @Override
                             public void changed(
                                       ObservableValue<? extends Boolean> observable,
                                       Boolean oldValue, Boolean newValue) {
                                  if (! newValue) {
                                       getItem().setTitle(textField.getText());
                                       commitEdit(getItem());
                        setText(null);
                        setGraphic(textField);
                        setOnDragDetected(null);
              @Override
              public void cancelEdit() {
                   super.cancelEdit();
                   if (!isEmpty()) {
                        setText(getItem().getTitle());
                        setGraphic(null);
                        setOnDragDetected(dragDetectedHandler);
                   } else {
                        setText(null);
                        setGraphic(null);
                        setOnDragDetected(null);
              @Override
              public void commitEdit(Project project) {
                   super.commitEdit(project);
                   if (!isEmpty()) {
                        setText(getItem().getTitle());
                        setGraphic(null);
                        setOnDragDetected(dragDetectedHandler);
    }If you try to drag from the list on the left to one of the lists on the right, it will fail pretty quickly and tell you that the data need to be Serializable.
    Simply adding "implements Serializable" to the Project and Employee classes doesn't work, as you find that SimpleStringProperty and SimpleObjectProperty are not Serializable. So instead I can use Externalizable:
    public class Project implements Externalizable {
    @Override
         public void writeExternal(ObjectOutput out) throws IOException {
              out.writeObject(title.get());
              out.writeObject(assignee.get());
         @Override
         public void readExternal(ObjectInput in) throws IOException,
                   ClassNotFoundException {
              setTitle((String)in.readObject());
              setAssignee((Employee)in.readObject());
    }and
    public class Employee implements Externalizable {
         @Override
         public void writeExternal(ObjectOutput out) throws IOException {
              out.writeObject(name.get());
         @Override
         public void readExternal(ObjectInput in) throws IOException,
                   ClassNotFoundException {
              setName((String) in.readObject());
    }This makes the drag and drop work, but if you drop a project on one of the employee lists, then edit the project title in the master list, the binding is not respected. This is because deserialization creates a new SimpleStringProperty for the title, which is not the property to which the title of the new Project object is bound.
    What I really want to do is to be able to drag and drop an object within the same JVM simply by passing the object by reference, rather than by serializing it. Is there a way to do this? Is there some DataFormat type I need?

  • ORA-00385: cannot enable Very Large Memory with new buffer cache 11.2.0.2

    [oracle@bnl11237dat01][DWH11]$ sqlplus / as sysdba
    SQL*Plus: Release 11.2.0.2.0 Production on Mon Jun 20 09:19:49 2011
    Copyright (c) 1982, 2010, Oracle. All rights reserved.
    Connected to an idle instance.
    SQL> startup mount pfile=/u01/app/oracle/product/11.2.0/dbhome_1/dbs//initDWH11.ora
    ORA-00385: cannot enable Very Large Memory with new buffer cache parameters
    DWH12.__large_pool_size=16777216
    DWH11.__large_pool_size=16777216
    DWH11.__oracle_base='/u01/app/oracle'#ORACLE_BASE set from environment
    DWH12.__pga_aggregate_target=2902458368
    DWH11.__pga_aggregate_target=2902458368
    DWH12.__sga_target=4328521728
    DWH11.__sga_target=4328521728
    DWH12.__shared_io_pool_size=0
    DWH11.__shared_io_pool_size=0
    DWH12.__shared_pool_size=956301312
    DWH11.__shared_pool_size=956301312
    DWH12.__streams_pool_size=0
    DWH11.__streams_pool_size=134217728
    #*._realfree_heap_pagesize_hint=262144
    #*._use_realfree_heap=TRUE
    *.audit_file_dest='/u01/app/oracle/admin/DWH/adump'
    *.audit_trail='db'
    *.cluster_database=true
    *.compatible='11.2.0.0.0'
    *.control_files='/dborafiles/mdm_bn/dwh/oradata01/DWH/control01.ctl','/dborafiles/mdm_bn/dwh/orareco/DWH/control02.ctl'
    *.db_block_size=8192
    *.db_domain=''
    *.db_name='DWH'
    *.db_recovery_file_dest='/dborafiles/mdm_bn/dwh/orareco'
    *.db_recovery_file_dest_size=7373586432
    *.diagnostic_dest='/u01/app/oracle'
    *.dispatchers='(PROTOCOL=TCP) (SERVICE=DWH1XDB)'
    DWH12.instance_number=2
    DWH11.instance_number=1
    DWH11.local_listener='(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=bnl11237dat01-vip)(PORT=1521))))'
    DWH12.local_listener='(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=bnl11237dat02-vip)(PORT=1521))))'
    *.log_archive_dest_1='LOCATION=/dborafiles/mdm_bn/dwh/oraarch'
    *.log_archive_format='DWH_%t_%s_%r.arc'
    #*.memory_max_target=7226785792
    *.memory_target=7226785792
    *.open_cursors=1000
    *.processes=500
    *.remote_listener='LISTENERS_SCAN'
    *.remote_login_passwordfile='exclusive'
    *.sessions=555
    DWH12.thread=2
    DWH11.thread=1
    DWH12.undo_tablespace='UNDOTBS2'
    DWH11.undo_tablespace='UNDOTBS1'
    SPFILE='/dborafiles/mdm_bn/dwh/oradata01/DWH/spfileDWH1.ora' # line added by Agent
    [oracle@bnl11237dat01][DWH11]$ cat /etc/sysctl.conf
    # Kernel sysctl configuration file for Red Hat Linux
    # For binary values, 0 is disabled, 1 is enabled. See sysctl(8) and
    # sysctl.conf(5) for more details.
    # Controls IP packet forwarding
    net.ipv4.ip_forward = 0
    # Controls source route verification
    net.ipv4.conf.default.rp_filter = 1
    # Do not accept source routing
    net.ipv4.conf.default.accept_source_route = 0
    # Controls the System Request debugging functionality of the kernel
    kernel.sysrq = 0
    # Controls whether core dumps will append the PID to the core filename
    # Useful for debugging multi-threaded applications
    kernel.core_uses_pid = 1
    # Controls the use of TCP syncookies
    net.ipv4.tcp_syncookies = 1
    # Controls the maximum size of a message, in bytes
    kernel.msgmnb = 65536
    # Controls the default maxmimum size of a mesage queue
    kernel.msgmax = 65536
    # Controls the maximum shared segment size, in bytes
    kernel.shmmax = 68719476736
    # Controls the maximum number of shared memory segments, in pages
    #kernel.shmall = 4294967296
    kernel.shmall = 8250344
    # Oracle kernel parameters
    fs.aio-max-nr = 1048576
    fs.file-max = 6815744
    kernel.shmmni = 4096
    kernel.sem = 250 32000 100 128
    kernel.shmmax = 536870912
    net.ipv4.ip_local_port_range = 9000 65500
    net.core.rmem_default = 262144
    net.core.rmem_max = 4194304
    net.core.wmem_default = 262144
    net.core.wmem_max = 1048586
    net.ipv4.tcp_wmem = 262144 262144 262144
    net.ipv4.tcp_rmem = 4194304 4194304 4194304
    Please can I know how to resolve this error.

    CAUSE: User specified one or more of { db_cache_size , db_recycle_cache_size, db_keep_cache_size, db_nk_cache_size (where n is one of 2,4,8,16,32) } AND use_indirect_data_buffers is set to TRUE. This is illegal.
    ACTION: Very Large Memory can only be enabled with the old (pre-Oracle_8.2) parameters

  • ACE FTP inspect with port range

    Hi everyone,
    I have a problem with passive FTP with fixed port range.
    I configured a ftp server with a fixed port range of 60000 - 60500 for the data channel.
    And the ace is configured with "inspect ftp" on policy of ftp-serverfarm.
    A tcpdump on server I can see that the server uses the portrange in response packet.
    (x,x,x,x,34,195) = 60099
    But on client I can see that the port on packet is change to another port. The ace is between server and client.
    On CCO I found a document "http://www.ciscosystems.com/en/US/docs/app_ntwk_services/data_center_app_services/ace_appliances/vA1_7_/command/reference/policy.html#wp1006925" ->> Enables FTP inspection. The ACE inspects FTP packets, translates the address and the port that are embedded in the payload, and opens up a secondary channel for data.
    I don't understand why the ace change the port in ftp payload.
    Is it possible to  create the same port range on ace configuration of connectio to client?
    Thanks
    René

    You don't need inspect ftp with one server because you can avoid it.
    You can for example configure a loopback on the server with the vip address and configure the serverfarm as transparent on ACE.
    Then for the data channel, since your range of ports is quite small, you can catch it with a class-map and simply forward to the server.
    Like this, the server will use the vip address in all packets exchange with the cleint (no need to nat the payload) and when the client opens a data connection, the traffic is matched with the class-map and the connection can be forwarded to the server using the same transparent serverfarm.
    Less chance to run into compatibility issue.
    Better performance since we can switch traffic with inspecting its content.
    Gilles.

  • ACE FTP issues with "inspect ftp"

    Hello.
    My clients want to access an FTP server, via ACE, and I am having some issues. They can login and issue only one command... the second command will not be accepted an after a few seconds the prompt shows the message "connection closed by remote host".
    I have sniffed traffic and I see that the connection between the client and the ACE has a strange behaviour because ACE open connection to data using an source port of 1039 (it should be 20, since we are usind an active mode client); between the ACE and the real server runs in active mode (I see normal ftp-data packets).
    Other strange thing is that I have FWSM and they let traffic pass from ACE to client (they should expect traffic comming from port 20 and not 1039)
    I am doing source NAT and ACE is doing all the necessary changes on source IP adresses.
    Anyone has seen similar behaviour?
    Any help would be appreciated.
    In attach I send my config and traffic sniffing.
    Thanks in advance.
    Joao Ribau
    P.S. - client is 10.1.44.98; VIP is 10.1.9.150; real server 10.1.36.124

    Hello.
    I didn´t mentioned this before but the gateway of all my networks is an ACE that is loadbalancing traffic to two firewall clusters. I think this is not important because I have a "catch all" VIP in all my interfaces; I assume that ACE forwards traffic with no restrictions or inspections leaving the inspection job to the firewalls and to the ACE that I use to load balance services.
    Don´t think this could be the problem but just to make sure I decided to post it.
    Best regards,
    Joao Ribau.
    P.S. - my configs on the ACE that loadbalance traffic to the firewalls are very straightforward. Serverfarms (interfaces of the firewalls), a class-map with a "catch-all" VIP, policy-map to for the serverfarm, a policy-map to tie the class to the serverfarm and finally a service-policy apllied to each interface.

  • First PKGBUILD - Clisp with new-clx - please check

    # Contributor: Theomachos <info[at]pindundin[dot]de>
    pkgname=clisp-new-clx
    pkgver=2.44
    pkgrel=1
    pkgdesc="ANSI Common Lisp interpreter, compiler and debugger (with NEW-CLX enabled)"
    arch=('i686' 'x86_64')
    license=('GPL')
    url="http://clisp.cons.org/"
    depends=('readline' 'libsigsegv')
    replaces=('clisp')
    source=(http://dl.sourceforge.net/sourceforge/clisp/clisp-${pkgver}.tar.gz)
    md5sums=('3496535f1eebe8b9c8962a18305fdeed')
    build() {
    cd ${startdir}/src/clisp-${pkgver}
    unset CFLAGS CXXFLAGS
    ./configure --prefix=/usr --with-module=clx/new-clx \
    --with-module=rawsock --with-module=pcre --build build
    cd build
    make DESTDIR=${startdir}/pkg install || return 1
    This is Clisp 2.44 with new-clx enabled - especially for StumpWM-users
    Anything to add/remove ?

    Add a:
    conflicts=('clisp')
    provides=('clisp')
    and you can change
    dl.sourceforge.net
    to:
    downloads.sourceforge.net

  • EYETV LITE WILL NOT STARTUP WITH NEW MAVERICK INSTALL

    eye lite will not start up with new maverick installed untill you unpluge usb then reinstall.

    Well, I download the driver for Windows 8.1 64 bit, it appears to down load then says extracting and the bar goes along to 100% then nothing. There is no option to install the printer wirelessly, the printer does not appear in the devices and printers, the Scan Doctor tries to fix the problem and just says need to install the wireless facility by using the manual when I select the wireless option. As I said, I can plug in USB and use printer fine but what is the point of having wireless if it doesn't work? Printer worked fine when installed on Home Hub 2. Got a new lap top and still  no problems. Problems started when had to have new Home Hub as the broadband connection kept dropping out. BT sent HH3 as don't do HH2 any more. Realised that the printer was still holding the details of the old hub but couldn't find a way of changing this. Reset printer to factory wireless settings so not holding these now. Cannot use CD to load printer as doen't work with Windows 8.

Maybe you are looking for

  • Installation Server and Windows 7 - Admin Rights Issue

    Here is a good one.  Completely reproducible error when granting Local Admin Rights by the LSH Service. For those with SAPGui Installation Server (SAPGui 7.20 Patch 6 or above) ... try this on a Windows 7 SP1 front end when you are NOT logged on with

  • Suddenly can't connect to ichat or itunes music store

    suddenly i can't connect to ichat or itunes music store. when i try to connect on ichat i get this message: Could not connect to AIM The connection to the host was unexpectedly lost When I try to connect to the music store I get: iTunes could not con

  • Enlarge an image when clicked in a report

    Hi i am using Apex 4.2.2 I have a requirement where I can display images in a report. Images are stored as blob in the database. I created an interactive report and I can display the image in the report. But when I need to know when I clicked on the

  • HT2736 How do I gift an album to somebody using a US account from my UK account?

    I have bought an album for somebody who has a US iTunes account from my UK iTunes account. When they try redeem it it says the they can only redeem this from a UK account. Is there anyway that they can do this without having to sign up for a UK accou

  • Tcode CRMM_BUPA_MAP

    Hi experts, Can you please let me know the proper way of using transaction code CRMM_BUPA_MAP in crm? We have 2 customers who exists in ECC but not in CRM. I believe I just need to enter ERP customer number or Business partner GUID then hit on Gather