TMG 2010 Array Brings down the entire internal network

Ok, so this is a weird as it sounds. 
We've been working with ISA and TMG since 2004, this is the first time I've seen this kind of behavior. Let me explain the details.
We implemented 3 TMG 2010 Servers in an Array and 2 EMS Servers on Windows Server 2008 R2. Each TMG Server has 4 NICs (Internal, External, DMZ-Intra-array). At first we wanted to enable them with an F5 Hardware Load Balancer but after weeks of trying to
make them work together we couldn't (SNAT and routing issues related), so we tried using Windows NLB but had problems with the Multicast configuration using VMWare and after some other battles we decided to first try out just using one TMG Server as the main
one to try to make it work. The customer we are implementing this is currently using ISA 2006 and they wanted to upgrade to TMG 2010 using basically the same stuff as their ISA had, so we backed up that configuration and imported it into TMG without problems.
We added the TMG Servers on the EMS configuration and everything replicated just fine.
Since they already had IPS, Cisco ASAs and Ironports as Proxy they decided to disable NIS, Malware inspection, Flood Mitigation and all those things TMG has for better securing Internet traffic.
The firewall policy rules are about 100 and they have 3 publishing rules to HTTPS Services. 
So after making the necessary configuration changes to the TMG infrastructure, we then decided to unplug the ISA Servers, change the TMG servers IP Address to the ISA Server ones and test to see if everything worked just as ISA Server did. However it didn't.
At first we have issues related to slow internet traffic, after troubleshooting for some time we ended up finding out that the Source IP used by TMG was different that the one ISA was using, even if the same IP was configured in the NIC and the other IPs
were configured as alternate. We found out after some searching that Windows Server 2008 R2 uses some RFC and manipulates the IP Address on a NIC in a way that 2003 didn't. We found out that we needed to add the other IPs via Netsh int ipv4 add address
<Interface Name> <ip address> skipassource=true
After that configuration we got things working fine... for a while, several hours later, servers started losing connectivity, switches stopped responding and the entire network was collapsed! After unplugging the TMG Servers, everything returned back to
normal.  We though this was a issue related to drivers or something to do with VMWare plataform, so it was decided to reinstall everything on physical servers.
After some days of reconfiguring again TMG Servers, we made the switch again, unplugged the ISA Servers, configured the TMG with the ISA IP Addresses, did the NETSH thing and then tested out everything and everything worked.
But again hours later the same behavior appeared once more! Servers and switches stopped responding and the entire network went down once more! Again we unplugged the TMG Servers and everything returned back to normal!
So here we are, back to square one with no clue on what is causing this behavior on the network. The current physical servers are running HP 3666i 4 multiport 10Gb NICs, we don't know if that has something to do with this. Or the fact the the switch core
to which the TMG servers are directly connected to is a Nexus 7000 and there is some configuration issues with it against the TMG or something. The TMGs are patched with Service Pack 2 Update Rollup 5.
We are probably going to open a support case with Microsoft with this issue, but we first wanted to see if anyone else may have had, seen or heard something related to this and has an explanation or ideas on why is this happening.
I appreciate any replies.
Thank you all.
Eduardo Rojas

Hi, I belive your TMG is virtual and NLB is setup. If so you need to bind the physical swith port with NLB MAK address in multicaste mode. Let's take an example, if your internal NLB physical NIC is connected to swith port 1 and 2 then you need to manually
bind the NLB MAK to port 1 and 2 like wise for all NLB enabled zone.Read VM ware NLB as they support multicaste in virtual. So do not use unicaste in NLB if it's virtual. All should be okay with the above configuration.

Similar Messages

  • Does adding 100Mbps Switch bring down the speed of a 1000Mbps network?

    I have a wired Airport Extreme network where a 1000Mbps Ethernet switch in one room adds connections to other peripherals.
    Now I want to add a switch in a different room for wired connections that are now operating wirelessly. And I have available a 10/100Mbps Ethernet switch. If I add that to the network do I bring down the speed of the entire thing? I realize that the connections directly from that 2nd switch can only be 100Mbps.
    But will I affect the speed of the other connections?
    Thanks in advance.

    And I have available a 10/100Mbps Ethernet switch. If I add that to the network do I bring down the speed of the entire thing?
    No
    I realize that the connections directly from that 2nd switch can only be 100Mbps.
    Correct

  • How to upload files in cluster without bringing down the cluster.

    Hi,
    Here is my problem:
    My weblogic portal 7.0 application should run in 24x7 environment. The production
    system is running in a cluster mode with external staging. Both the managed servers
    are pointing to the same application sync database.
    So to give a solution to this problem, we are trying to bring down one managed
    server down and apply the patches into that managed server without bringing down
    the other. Since webflow files and entitlements needs to be synchronized with
    the portal database. If we perform a sync on the portal database, there might
    be a chance that it might corrupt the existing portal database state. Our deployment
    would not be complete unless we perform a sync on the other managed servers. So
    we could not able to update the latest pathces into the cluster without bringing
    down the cluster.
    What I would like to know is "Is there any work around to get rid of this problem?".
    I would be delighted if any one provides the solution.
    Thanks & Regards,
    Ratnakar

    Hi Ratnakar,
    When you perform sync you do it against the admin server which in turn does it
    to the managed server. If you want to apply any changes to webflow you can do
    it on the live system itself. I mean apply the new webflow and entitlements and
    do the sync on the live system. Also while doing sync there are two modes. One
    mode will sync only the modified changes and the other will apply all of it. You
    can opt for the first option by which you can sync only the modified changes.
    This may bring a small disturbance but it will be unnoticed.
    The other option is to have two separate domains(each having one admin & one or
    more managed servers) which may be having two separate portal databases. In this
    way you can apply patches to one domain while other domain may provide the service.
    Regards
    Shaan
    "Ratnakar Sonti" <[email protected]> wrote:
    >
    Hi,
    Here is my problem:
    My weblogic portal 7.0 application should run in 24x7 environment. The
    production
    system is running in a cluster mode with external staging. Both the managed
    servers
    are pointing to the same application sync database.
    So to give a solution to this problem, we are trying to bring down one
    managed
    server down and apply the patches into that managed server without bringing
    down
    the other. Since webflow files and entitlements needs to be synchronized
    with
    the portal database. If we perform a sync on the portal database, there
    might
    be a chance that it might corrupt the existing portal database state.
    Our deployment
    would not be complete unless we perform a sync on the other managed servers.
    So
    we could not able to update the latest pathces into the cluster without
    bringing
    down the cluster.
    What I would like to know is "Is there any work around to get rid of
    this problem?".
    I would be delighted if any one provides the solution.
    Thanks & Regards,
    Ratnakar

  • HT3576 I have many apps where i must swipe down and it constantly brings down the notification screen. Is there anyway to disable this or activate it a different way because this really bugs me.

    I have many apps where i must swipe down and it constantly brings down the notification screen. Is there anyway to disable this or activate it a different way because this really bugs me.

    I don't have that problem.  Perhaps I touch the screen lower when I wipe down?  I don't know for sure but there's got to be some difference in the way that we wipe down.  you might wish to do some experimenting.

  • How to populate one array without running the entire VI

    I'm trying to populate a complex array that I built that reads from a spreadsheet file.  The company I am building it for only has labview run time on the PXI test equipment that I am working with.  I am having to fix the VI On my computer then build an executable and then test it on the machine to see if it runs properly.  It's a very tedious process.  I cannot run the VI on my computer because it requires to have a FLUKE 726 connected in order to run.  So, I was wondering if there is a way to repopulate the array without running the entire VI?
    Your help would be greatly appreciated.

    Create a subVI for reading/processing of the array.  Then you just have to test that subVI as your machine.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • I have Elements 10 and every time I go to open a file in the editor it shows its thinking and then it just shuts down the entire program. I have a big wedding I am working on and lots of other sessions. Please PLEASE help!!!!

    I have Elements 10 and every time I go to open a file in the editor it shows its thinking and then it just shuts down the entire program. I have a big wedding I am working on and lots of other sessions. Please PLEASE help!!!!

    And you are quite persistent, Menu Boy, in offering pernickety and pointless prattle, in response to a "support page" on iPad's buggy Pages App.
    Let's summarise, for those reviewing this threadless thread for app support..
    Mobile pages works reliably for simple docs, especially creating letters and Menus for Microsoft's Kindy canteen (even on special days with nice big pictures).
    When importing more complex docs and/or working with larger creations, it is prone to randomly corrupting files upon re-opening, along similar lines as Word (running on a PC).
    So, Menu Boy, do they let you sneak into classes every now and then? What is the secret to their training? "Say after me, if any I.T. product works just some of the time, that's a job well done, and if something randomly stops working, we call that the user's fault... And if they complain, we call them names."

  • Imac display has a 3" white bar running down the entire left side any help?

    imac display has a 3" white bar running down the entire left side any thoughts?

    Went to the Genius Bar to have the battery replaced under the Replacement Progran, and needless to say am ordering a new LCD

  • B520 - how to bring down the monitor contrast?

    Brightness control in the front panel are not enough.
    the backlight is too much for me to handle
    Does anyone know how to bring down the contrast even more?
    thank you.

    I'll clear this up a little...
    NVIDIA Controls does not have any control over the lamp / backlight on the screen. You can turn down
    the gamma / brightness / contrast, and you may think you see it darker.
    YEEEEEEES. it's dark but the intensity of the backlight is still there. You can feel it from miles away.
    I chose Lenovo over ASUS just because of the GT555 option, and it was the worst mistake ever.
    Asus Et2700 series do have Contrast/Brightness controls for the screen in Values from 0-100.
    You can turn the screen completely dark if you want. Asus have never let me down, but thanks to my greed
    always wanting more, thought i would never feel complete unless i had the gt555.
    This is what happens when you fall for the marketing agenda.
    Fortunately, i sold it already. And this would be the last time i'll purchase something from lenovo.
    I'd like to think this is something that they just never thought. WRONG!!!. They know. they do it on purpose.
    That's their way to make you feel incomplete, so you can start chasing for something else and fall again
    in the marketing agenda.
    There's always a way to make an "ALMOST PERFECT" product, the worst nightmare for you.
    they have done this for years, since the beginning of times.
    Let's not forget about the SATA performance issue in H67/P67 chipsets:
    http://www.pcstats.com/articleview.cfm?articleID=2589
    the B520 is one of the lines affected and lenovo did nothing about it.
    And please let's not forget about the Trojan that got infiltrated in the drivers disc
    for the B Series Line.
    Hopefully, your campany will get a FORMAT C: by the end of this year.
    arrivederci.

  • Final Cut Pro slowing down the entire computer - Help!

    I wonder if anyone can please help me.
    I own Final Cut Studio and everything was running perfectly for several months until recently.
    My copy of Final Cut Pro 7 started running very very slowly, even the drop down menus (file, edit e.t.c) would take several seconds to open and would be delayed to the point of being unusable. The effect is such that even upon quitting the program the entire Mac runs too slowly to operate and requires a hard restart.
    I should clarify that it makes no difference what project is open, in fact after the re-install there wasn't a single project open however the problem persisted.
    After restarting the computer returns to it's usual speed until Final Cut is opened again.
    I went to the Apple Store and they told me to reinstall the program and free up some space on my computer, both of which I've just done but to no avail.
    Has anyone else experienced this problem? I'm desperate for help as I need this software for my degree. Any help would be greatly appreciated.
    I'm using a Mac Book Pro running Leopard, with 41. 68 GB of free space and my copy of Final Cut is legit.

    I can understand people's resistance to this process but it is absolutely the only way to ensure a problem free installation of your professional applications.
    Herein are X's rules for a happy erase and reinstallation experience.
    • Make a list of all Applications to install. Which ones do you need? Go through your Applications and Utilities folder and note which ones you'll want to reinstall. Note the version.
    (I don't know about you, but I had a shocking number of apps I downloaded, used for a few times and never used again. Forget installing these disused apps.)
    • If you are upgrading from a PPC to an intel machine, you'll want to know if the apps are UB or PPC. Upgrading your PPC software to UB can be a significant cost in a PPC to intel conversion. Know what you are getting into - do a search before installation to see if there is a UB version available. You can find out whether an app is PPC or UB by looking in System Profiler>Software>Applications. This window will also tell you the current installed version number. Generate a .pdf file of it and have everything listed for your records.
    • In the list, note whether is was a download or you have a disk. If it was a download, find the DMG or installer package and copy it to an external firewire drive. Put it in a folder titled - Apps to be installed - or something easily identifiable.
    • If you need to go back to a previous version (e.g. QT 6.5.2) download the dmg file BEFORE you start the installation process.
    • In the list, note if the application is a full install or an UPGRADE. If an upgrade, make sure you have the previous version's disks (as well as the serial numbers - see below).
    If the UPGRADE version does not require the previous version to be present - eg when installing the upgrade version of FCP 6, DO NOT install earlier software. All you'll need is the previous serial number. The way to figure this out is to try to install the newest version. If it needs the previous version present before proceeding, the install process will tell you that.
    Some upgrades will require that a version of the previous app is on the disk. If this is the case, when you install the first version, simply install the minimum so the app will be on the hard drive. You will need to do this because there will be NOTHING on the disk after you do your clean erase.
    • Referencing your list, find ALL your disks before you start. This includes previous versions if you are unsure whether they will be needed.
    • Spend some time looking through this forum for Professional Application installation issues. The classic example is a conflict between Logic and FCP. Install FCP first and you'll have no issues.
    • Sort your list into an installation sequence. Lay out your disks in that order.
    • Referencing the list, make sure you have ALL your serial numbers including those you've downloaded. I've purchased a number of programs on line and the only documentation of the serial number was an email. All those are kept in a dedicated folder in Mac Mail. For serial numbers that arrived via electronic means, use cut and paste instead of re-typing whenever possible. This will prevent errors in transcription.
    In making the list, TEXT EDIT works ok, (I use Excel). Text edit has the benefit of being easily readable on any mac. Print the list out for reference, put a copy on a flash drive or a firewire drive where you can access it to cut and past serial numbers during the installation process.
    • Recognize this is going to take some time. Ranting, drinking too much coffee, swearing, sitting in front of the computer watching the progress bar, etc will not make things go faster. All it will to is put you in a really bad frame of mind. Do it over a weekend when you can be multitasking. While you are cleaning off the mountains of paper on your desk or raking the yard, you can take regular breaks to check on progress.
    Process -
    • Download Carbon Copy Cloner or one of the other backup utilities and do a full backup of your existing system drive to an external firewire drive. Make the drive bootable. *Do not* cheap out on this as this is your insurance policy. If you forget something or can not find a serial number, you often can find it and copy it from the backup system to the newly installed version. Or, if things go horribly wrong, you can simply copy the old system back to your computer and pick up where you left off.
    If you have a MacPro or G5 tower, an alternative to cloning your existing system disk is to pick up a new hard drive to use as the clean new system disk. Your existing system disk will be the clone.
    • Once you have gathered and organized all the materials and backed up the drive or installed the new system drive ...
    • Insert your OSX installation disk, reboot the computer from it and erase the hard drive. Use the ZEROs option as this will map out any bad sectors. This will take time. See the note above.
    • Install the OS. If it is an upgrade install, see the note above regarding upgrade installs. Repair Permissions and then run the updates. Repair Permissions.
    • Install your applications following your list. Make sure to Repair Permissions after each install and update..
    Have fun, be prepared for a few minor glitches. If you multitask, you can get the garage/ or office cleaned out and your computer rebuilt. In all honesty, this process took all weekend plus time in the next week as I discovered apps that needed additional updates, configuration settings, etc. No doubt it would have been faster if I was sitting at the console the whole time, but I was able to get the office cleaned up and organized (which also makes ME much faster). Overall it was a very slick process.
    When you have a fully functioning system again (you have tested all applications and everything works), CLONE the new system and put your info, your notes and the disks in a safe place - once you've done this once, why go through the pain of organizing this stuff again ...
    Now, rejoice in a much faster machine with a lot more free disk space.
    Cheers,
    x

  • I have a 2009 MacBook Pro. How do I do a backup on the new internal hard drive using my existing LaCie external drive without re backing up the entire internal drive. Just want to backup most recent changes

    I have a mid 2009 15" MacBook Pro. The existing internal drive was about to fail so I had it replaced with a 500GB western digital drive. I have been backing up my system with a LaCie 500GB external drive. I want to perform a new backup using Time Machine but I only want to backup any changes from the last 30 days or so. I want to avoid doing a total system backup thus duplicating most of the data on my external drive and pretty much filling it up. Any suggestions appreciated

    Look at this web site devoted to Time Machine:
    http://pondini.org/OSX/Home.html
    I suspect that this portion will address your situation:
    http://pondini.org/TM/15.html
    Ciao.

  • ITunes causing Beachball of Death bringing down the whole computer.

    My iTunes problems started about 3 months ago. Whenever I use iTunes (playing a song, downloading a podcast, syncing my iPhone, etc...) I get the beachball which never goes away. iTunes finishes playing the song that is currently playing but I am not be able to do anything with the program itself. Initially for about 15-20 seconds I can switch to other programs like the Finder or Safari but eventually those become frozen with the beachball as well. After about 20-25 seconds the whole computer locks up. I have tried to force quit but cannot even get that dialogue box to do so. I eventually have to power down the computer manually (switch in the back) and turn it back on. This problem does not happen every time I use iTunes but most of the time. Tends to happen when I am trying to do multiple things. I can sync my iPhone usually without a problem. But it seems if I try to play a song as well then I will get the problem. I am running ITunes 8.2.1 on Mac OS X 10.5.7 on an iMac 3.06 Ghz Intel Core 2 Duo with 4GB of ram (installed by apple). This issues only happens with iTunes and no other program.
    What I have already tried to fix the problem without benefit --
    1. Delete the iTunes Library and rebuilding it (multiple times).
    2. Reinstalling iTunes and upgrading to the latest version.
    3. Using the Disk Utility to repair the Disk Permissions and Repairing the main Disk of the computer where the ITunes Library resides.
    4. Checking the computer for viruses (Virus Barrier X5)
    5. Reinstalling Leopard and then upgrading back to 10.5.7
    6. Bought Disk Warrior -- installed it and Leopard on backup external HD and checked the main HD of the computer for issues with Disk Warrior. It fixed a few issues like permissions but nothing that fixed the problem.
    7. Deselected Movies, TV Shows, Audiobooks, Genius, Radio, iTunes DJ and Ringtones (I need Music, Podcasts and Applications) from the General Prefs -- made it faster but did not fix the problem.
    8. Deinstalled DIVX and Flip4mac.
    My computer almost never froze before these past 3 months and I was real proud of that. Now I am just frustrated. Scanning the internet shows similar problems but not exactly the same. I am out of ideas. I will be eternally grateful for any other ideas that might lead to a fix. I am trying to avoid backing up and then wiping the HD and doing a clean install.

    Same problem here. Jumped through all the hoops. This is my new, thought-it-would-be-a-real-efficiency-boost audio production machine. I've lost soooo much production time dinking around with this.

  • Will Antivirus bring down the performance of SAP System

    I have installed SAP Netweaver in my PC.
    During my installation of SAP Netweaver, it insisted to disable the McAfee Antivirus running in my machine to continue.
    Also I observed running the SAP Netweaver installation with McAfee Antvirus slowing down the performance.
    Hence,
    1.Can anyone suggest is it advisable to run Antivirus in the machine that contains SAP softwares?
    2.Will there be any impact in performance due to Antivirus running in SAP software machine etc.
    3.If Antivirus can run on the SAP software machine, Do we need to include any parameters to not to SCAN SAP supporting software files?
    4.Is there any specific antivirus can be used in a SAP Software machine?
    Please suggest.

    Hi Vinod,
    1.Can anyone suggest is it advisable to run Antivirus in the machine that contains SAP softwares?
    Yes, it advisable run antivirus.
    2.Will there be any impact in performance due to Antivirus running in SAP software machine etc.
    Yes, There is impact running antivirus. By default antivirus will scan all the folders and files.
    3.If Antivirus can run on the SAP software machine, Do we need to include any parameters to not to SCAN SAP supporting software files?
    Yes, There is way to exclude the scanning of the folders where SAP software is installed.
    Names of the folders need to excluded in windows operating system are
    1. USR folder
    2. Excluding Data base files are not recommeded, but if necessary you can exclude.
    Maxdb Database
    sapdb folder
    MS SQL 2000/2005
    >Program Files\Microsoft SQL Server\MSSQL\Data\xxxDATA1.mdf -->Particular Database file in MS SQL 2000.Here xxx is your instance name.
    >Program Files\Microsoft SQL Server\MSSQL\Data\xxxLOG1.ldf --> Particular log file in MS SQL 2000.Here xxx is your instance name
    >Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data\xxxDATA1.mdf --Particular Database file in MS SQL 2005.Here xxx is your instance name.
    >Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data\xxxLOG1.ldf --Particular log file in MS SQL 2005.Here xxx is your instance name.
    3.
    Program Files\sapinst_instdir folder
    Steps given below to exclude the SAP folders in McAfee antivirus Ver 8.0.0 and above. May be applicable for older version of McAfee, if the interface is same as
    McAfee antivirus Ver 8.0.0.
    Open McAfee antivirus console and make sure Console is Unlocked for editing.
    To unlock the console
    Go to Tools-->Unlock User Interface. Provide the relevant password to unlock.
    Please check with system administrator if necessary.
    To add Entries to exclude:
    Select Task>On Access Scan Properties>Default Process
    Select Detection Tab-->Exclusions -->What to exclude
    Click Browse--> Select the SAP folder which needs to be excluded.
    Repeat the same steps to exclude other SAP folders if necessary.
    Note: Make sure to tick "Also exclude subfolders" in the same window.
    4.Is there any specific antivirus can be used in a SAP Software machine?
    Not sure, Will let you know if anything.
    Reward points if usefull..................

  • Virus (?) slowing down the entire network ?

    Hi, my problem is following:
    about a month ago, I started to have this issue. Whenever i plugged my macpro to the internet, the speed of entire network had rapidly slowed down. Other computers in the house had fallen to an extremely slow download/upload speed, but my mac speed remained quite well working (except the ram memory, which was in pretty low numbers). When I unplugged my mac from the connection, others' speed went immediately up.I called my network manager, and they told me that my network is sending 500mb to the internet, although any of my computers wasn't sending anything (visibly of course).
    I identified it as a virus, so I launched my Mackeeper antivirus, but it didn't find anything! I desperately decided to reinstall the software (the mountain lion version). (maybe it's worth mentioning that I didn't reinstall it from the cd, i didnt get one when I was buying it, it has it somehow installed inside). When I reinstalled it, I once more upgraded the system to OS Mavericks. After these two reinstallation, I again ran my Mackeeper antivirus, and it finaly identified some kind of virus. I eliminated it and for about two weeks it went very well. But now its happening again! I dont want to reinstall my mac, and my Mackeeper isn't finding anything again. How to get rid of it? Please help!

    I like the Mackeeper abilities, like cleaning the disc or finding your mac when stolen, ect..
    That's a bit like saying you like the fact that your doctor can get rid of the bad humours in your blood by leeching you.
    Macs do not need cleaning, and in fact, overzealous cleaning can cause performance problems or even damage to the system. See The myth of the dirty Mac.
    As for locating your Mac when stolen, you should know that your Mac can do that already. If you have an iCloud account set up, just turn on Find My Mac in System Preferences -> iCloud. It reeks of scam for a program to require you to pay for an ability that your Mac already has.
    All the features of MacKeeper can be done just as well or better by other free or cheap software, and the company behind it has a long history of unethical behavior. It's not something you want to be messing with.
    Ultimately, it's your choice, of course.

  • Connection Pooling much faster but eventually brings down the site

    Hello,
    We are running Oracle 11g, with ODP.net. When we have connection pooling turned off the site is very slow. When we turn it on, the site runs very fast, but will all of a sudden slow down to a crash and require an IIS restart. (We will receive many oracle connection timeouts). After checking the Event Viewer, the site crash seems to coincide with a stored procedure crash, though we aren't positive that this is the case. We are running IIS on windows 2k3 asp.net 3.5.
    Any assistance is greatly appreciated.

    It sounds like you're describing a connection leak, and those are usually the result of code not cleaning up after itself properly. Make sure you're calling Dispose on all your objects as soon as you're done with them so the GC can free up the resources.. OracleConnection, OracleCommand, OracleRefcursor, OracleClob, OracleXMLType, OracleParameters, etc.
    Also make sure you're up to the latest version of ODP and client. There were some issues in earlier versions where an access violation could leave a hung critical section and hang the pool.
    Hope it helps,
    Greg

  • Last element in array is overwriting the entire array

    Hey all,
    Im a java student working on a homework assignment. My issue is:
    I have created two classes. One called Dependent and one called employee
    inside employee i have an array of dependents. The dependents class has methods called getfirstname()
    and getlastname();
    bascially im doing this.
    static Dependent[] Dependents = new Dependent[2];
    Dependents[0] = new Dependent("Ryan", "Karr");
    Dependents[1] = new Dependent("John", "Doe");
    Dependent[0].getFirstName(); // this returns john
    Dependent[1].getFirstName(); // this returns john aswell
    what am i doing wrong? If i take the static off dependents i get an error.
    im sorry if this is sketchy this is my first term taking java.
    my source is below
    Thank you!
    Ryan
    public class Employee
         static Dependant[] dependents;                                                       // Dependents Array
         static int numDependents = 0;                                             // Number of Dependents
         public Employee(int pNumDependents)
              dependents = new Dependant[pNumDependents];                         // Instanciate the dependents array
              String dFirstName;                                                       // Dependents First Name
              String dLastName;                                                       // Dependents Last Name
              Scanner input = new Scanner(System.in);                              // New input Scanner
              for(int i = 0; i < dependents.length; i++)
                   System.out.println("Dependent #" + (i+1));                    // A little bit of direction for the user
                   System.out.println("First Name: ");
                   dFirstName = input.nextLine();                                   // Dependents first name from user
                   System.out.println("Last Name: ");
                   dLastName = input.nextLine();                                   // Dependents last Name from user
                   addDependant(dFirstName, dLastName, this);                    // Add dependent call     
         public static void addDependant(String pFirstName, String pLastName, Employee employee)
                   // Make a new dependent
                   dependents[numDependents] = new Dependant(pFirstName, pLastName, employee);     
                   // Number of the dependent we're on plus one
                   numDependents++;
    }

    That was an example i made up. the error is with the code i posted, It doesnt through an error, it runs. However, when i do run it all the information inside is over written by the last value i entered.
    the code above was for addDependent which i call in the segment below, which obtains data from the user
              String dFirstName;                                                       // Dependents First Name
              String dLastName;                                                       // Dependents Last Name
              Scanner input = new Scanner(System.in);                              // New input Scanner
              for(int i = 0; i < dependents.length; i++)
                   System.out.println("Dependent #" + (i+1));                    // A little bit of direction for the user
                   System.out.println("First Name: ");
                   dFirstName = input.nextLine();                                   // Dependents first name from user
                   System.out.println("Last Name: ");
                   dLastName = input.nextLine();                                   // Dependents last Name from user
                   addDependant(dFirstName, dLastName, this);                    // Add dependent call     
              }

Maybe you are looking for

  • Time Out Error in BPEL

    Hi, We are trying to invoke a Web Service from BPEL Process (10.1.3.3.0) and we received below time out error message in em console. </part></Invoke_1_setJobPostingXML_InputVariable></input><fault><remoteFault xmlns="http://schemas.oracle.com/bpel/ex

  • Using InputMap and ActionMap

    Referring to an earlier post "Listening to Keystrokes", I already know how to trap keystrokes in a JPanel. I use this line of code: this.registerKeyboardAction(this,       "Exit Task", KeyStroke.getKeyStroke(KeyEvent.VK_ESCAPE, 0),       JComponent.W

  • How do I start developing Java Card?

    I have downloaded java_card_kit-2_2_1and OCF 1.2. Is there any tools require for Java Card development that I missed out? The demo1, demo2 and demo3 was try to run but I still don't understand how do I can create a Java Card Smart Card. I want to dev

  • How to bind flash to sql server DB or any DB?

    hi everyone i have searched a lot in the net and haven't found what i am looking for so i though asking you nice people out there.im working on a project, in which i need to bind my flash to SQL server data base and i don't know how. what i want to d

  • I connected my iPad 2 into my computer and lost all my album artwork?

    I need help trying to figure out how to get my album artwork back on my iPad. I connected it into my computer and lost all of it. Especially the ones I downloaded directly onto my iPad.