How to find out multiple instances of the same application

Hi,
Please help me with your Java Networking expertise.
Is there any way you could suggest where we could know how many instances of the same application is running in a network ?
Sending a UDP packet would require to specify the destination of the machine's IP address.
But when the same application is installed in two different machines, at run time both the instances should be able to communicate dynamically. Is there any way I can send a signal(packet) that should be picked up by the other application instance ? Both the machine are in the same network.
Thanks,
Deb

I guess there are many ways to do it. One simple way would be to broadcast a mesage whenever an instance starts up. Other running instances can then communicate back to it.

Similar Messages

  • How can I open multiple instances of the same version of FF?

    I understand that if I have multiple profiles, I can run different versions of FF side-by-side (like 3.6 and 4).
    However, what I'm interested in is how I can launch multiple instances of the same version of FF (4, for instance) using the same profile. In other words, I want to be able to double-click the desktop icon for FF, and open a new instance, and keep doing that as many times as I want. I don't want to have a different icon and profile for each instance (too much overhead to keep a dozen+ profiles in sync).
    I can always launch one FF window instance, and then keep clicking ctrl+N to launch new instances from inside it, which they all share the same profile (as I want). So, basically, I want to be able to do that from my desktop icon, rather than by having to do it with the keyboard ctrl+N sequence.

    But I don't understand why whatever Firefox does when you click ctrl+N can't also be done (with some sort of command-line switch) from a desktop icon?
    In other words, I clearly can create many FF instances (even if they are the same FF.exe process) by doing ctrl+n a bunch of times. Why then can't this behavior be done from a desktop icon with some parameters?
    As far as I know, FF is the only browser that doesn't directly allow multiple browser instances from desktop icons. IE, Chrome, Safari, Opera, etc... all let me launch a new instance (even if they are all single process and the instances are shared within the process).

  • Stop opening multiple instances of the same application

    I am used to having graphic files on my desktop, when editing one I would simply right-click and pick "open with" > Photoshop (which is always open in its own desktop in my computer). Now out of the blue, if I do that, it loads another instance of Photoshop, which is certainly what I don't want. I can have 2, 3, 4 Photoshops running at the same time and editing the same image!
    Any idea how to solve this? I searched but all I could find is people wanting the opposite i.e. opening multiple instances of the same app.

    Your best bet to prevent this is to detach or unmount this drive; however, you can also try resetting your Mac's launch services, to have it re-scan only the Applications folders on your boot drive for programs to associate with documents and services you are using. Running the following command in the OS X Terminal will kill the current launch services database (its long, but copy and paste the entire line):
    /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -kill
    Following this, run the following command to seed the database with the apps you currently have installed:
    /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -seed
    Note that these changes will only apply when opening documents that have not been specifically assigned to a program. If you find a specific document continues to open the program on the external drive, then you can get info on it and change the associated program in the "Open With" section of the info window. After doing this, you might need to re-run these commands above, as opening the program will register it with OS X's launch services and have it now be available for automatically handling other documents.

  • How can I stop two instances of the same application?

    I have just installed Yosemite about a week ago on my MacBook Pro mid '10 and it's working great except for one little glitch.
    Whenever I double-click on a file in my Finder, not only does it open in the assigned dock Application, but a second instance of the same Application pops up on the dock out of nowhere. To be more clear, I have my PDFs set to Preview. I click on a PDF in my Finder and Preview starts jumping. Out of nowhere, another copy of Preview springs up on the dock and starts jumping as well. This opens that same PDF twice on my screen.
    I noticed this also happens when I'm installing a .dmg file. Two installers open at the same time when I double-click the icon.
    It doesn't happen if I right-click > Open or right-click > Open With.
    Any thoughts?

    Please read this whole message before doing anything.
    This procedure is a test, not a solution. Don’t be disappointed when you find that nothing has changed after you complete it.
    Step 1
    The purpose of this step is to determine whether the problem is localized to your user account.
    Enable guest logins* and log in as Guest. Don't use the Safari-only “Guest User” login created by “Find My Mac.”
    While logged in as Guest, you won’t have access to any of your documents or settings. Applications will behave as if you were running them for the first time. Don’t be alarmed by this behavior; it’s normal. If you need any passwords or other personal data in order to complete the test, memorize, print, or write them down before you begin.
    Test while logged in as Guest. Same problem?
    After testing, log out of the guest account and, in your own account, disable it if you wish. Any files you created in the guest account will be deleted automatically when you log out of it.
    *Note: If you’ve activated “Find My Mac” or FileVault, then you can’t enable the Guest account. The “Guest User” login created by “Find My Mac” is not the same. Create a new account in which to test, and delete it, including its home folder, after testing.
    Step 2
    The purpose of this step is to determine whether the problem is caused by third-party system modifications that load automatically at startup or login, by a peripheral device, by a font conflict, or by corruption of the file system or of certain system caches.
    Please take this step regardless of the results of Step 1.
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards, if applicable. Start up in safe mode and log in to the account with the problem. You must hold down the shift key twice: once when you turn on the computer, and again when you log in.
    Note: If FileVault is enabled in OS X 10.9 or earlier, or if a firmware password is set, or if the startup volume is a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to start up and run than normal, with limited graphics performance, and some things won’t work at all, including sound output and Wi-Fi on certain models. The next normal startup may also be somewhat slow.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Test while in safe mode. Same problem?
    After testing, restart as usual (not in safe mode) and verify that you still have the problem. Post the results of Steps 1 and 2.

  • How do I relink multiple instances of the same image, in Illustrator CC?

    Is there a feature, like InDesign, where links automatically relink if they're in the same folder?
    Currently I have to search through the file structure multiple times even if the linked image is the same.
    Surely Illustrator should relink all instances of the same image and give the option search for any additional missing links in the same folder?
    I'd love to be pointed in the right direction, or if anyone has a script they've written to solve the problem, do let me know.
    Cheers

    try the script (version 3) in this post,
    Remember last folder location lost with Mac Lion updates

  • How to carry out multiple searches on the same engine simultaneously.

    As mentioned above. I'm looking for a way to search multiple text at the same time.

    Can you give a more detailed example of what you mean?
    For example:
    * Do you want to type query #1 into the search box or address bar and open it in results tab #1, then type query #2 into the search box or address bar and open it in results tab #2? To do that, hold down the Alt key when pressing Enter or hold down the Ctrl key when clicking the icon that submits your search.
    * Do you want to combine numerous queries into a single request to Google and get the results all mixed together? You can use OR (must be in capital letters) with quotation marks or parentheses for grouping. For example: Android OR ios OR "windows phone"
    * Something else?

  • How do I merge multiple instances of the same network share?

    In my (large) Lightroom 5.2 (Windows) library I have three instances of, essentially, the same network share (a Drobo NAS) which appear separately in the library.
    One appears as Share (\\nas) L:, one as \\nas\Share and one as \\nas\share. The contents of the share are spread randomly across the three - so one might contain the folders series\event1, series\event4 and series\event5 and another series\event2, series\event3 and series\event6.
    Is there an easy way to convince Lightroom that they're all the same physical location and merge them in the library? No amount of dragging, dropping, importing or synchronization seems to have had any effect so far!
    Guy

    Bizarre. It turned out I could merge them, but only in to the mapped drive - L: - and only by explicitly clicking on the drive icon - if I typed L:\series in to dialog box it converted it back to \\nas\share\series... Not helpful.

  • How can I open multiple instances of the same folder and web browser in different desktops in Lion?

    I've selected "none" for association but it doesn't work. In other words, I have a Dropbox folder on my desktop. I'd like to be able to open that same folder using the same shortcut on different Lion desktops. However, whenever I try to use the same shortcut on a different desktop, it switches to the one where it's already open. Same problem with web browsers; if I try to just click on a web browser to create a new window, it will take me back to the other desktop.
    I didn't have this problem before I had to replace my hard drive and update everything again. I am aware of the "restart Finder" option as well as associating programs with individual desktops. All of the things in question are currently selected as "none."
    Any help would be greatly appreciated!

    I just set Safari's option to None. That is I right clicked on the dock, selected options, and chose none. Also, in Mission Control's tab of System Preferences I clicked Off When switching to an application, switch to a space with open windows for that application. That let me open a new Safari window no matter what desktop I was in. But I had to do both. Just setting the desktop option to none didn't seem to do it. Finder seems to work okay with just the none option set.

  • Multiple instances of the same application under OC4J

    Hello,
    I've currently deployed three copies (differently named deployments, differently named EARs) of the exact same application (using the BC4J framework) on OC4J. One version is the stand-alone distribution of OC4J 9.0.2.* running under UNIX. I have an identical deployment running under the JDeveloper 9iRC-bundled OC4J 9.0.2.* under Windows NT.
    So far, I've had no problems running the three instances on the Windows NT servers concurrently. The UNIX server, however, allows access to whatever instance is accessed first, and fails on access to all other instances with a "cannot create application module" exception (a java.lang.ClassCastException is listed as cause, if that tells anyone anything).
    This behavior is consistent, even when the java virtual machine is passed the jbo.server.in_oc4j=true flag on the command-line. Does anyone have an idea as to why? Has anyone been successful in deploying multiple applications on stand alone OC4J 9.0.2.* under unix?
    Thanks in advance,
    Gard Westrum

    Your best bet to prevent this is to detach or unmount this drive; however, you can also try resetting your Mac's launch services, to have it re-scan only the Applications folders on your boot drive for programs to associate with documents and services you are using. Running the following command in the OS X Terminal will kill the current launch services database (its long, but copy and paste the entire line):
    /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -kill
    Following this, run the following command to seed the database with the apps you currently have installed:
    /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -seed
    Note that these changes will only apply when opening documents that have not been specifically assigned to a program. If you find a specific document continues to open the program on the external drive, then you can get info on it and change the associated program in the "Open With" section of the info window. After doing this, you might need to re-run these commands above, as opening the program will register it with OS X's launch services and have it now be available for automatically handling other documents.

  • Cant open external links and multiple instances of the same profile.

    I have multiple firefox profiles.
    I constantly have two profiles running at the same time.
    I use microsoft outlook and see an external link, I click it wishing firefox to open it in the default or new browser. It does not and says "FIrefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system."
    Firefox is running fine.
    How can I open external links with a profile based setup?
    Also, how can I open multiple instances of the same profile? I find that if I click and drag a tab to another monitor, it opens a new "instance" or browser window.

    You say
    ''I have multiple firefox profiles. <br />
    I constantly have two profiles running at the same time. ''
    So you will have discovered ''-no-remote'' Note NOT to use that on the default browser; profile, only on secondary profiles.
    * http://kb.mozillazine.org/Profile_in_use#Common_causes
    You will NOT be able to open multiple instances of the same profile, clone the profile if necessary.
    If you are trying to run multiple Webmail accounts in one profile then you may well find the webmail is identifying and setting the user account that is opened. Use a Private Browsing window to get round that and open a second account.
    * [[Private Browsing - Browse the web without saving information about the sites you visit]]

  • Multiple instances of the same APEX application under SSO

    Currently we have several applications that are authenticated through Oracle SSO. The apps are authenticating correctly, but I can't be in multiple instances of the same application without having to re-validate through SSO when I move between instances.
    Scenario: I'm successfully signed into my "parent" application, app_id 1 through SSO. I click a custom link that opens the "child" application (app_id 2) to view widget "A". When the page is launched I see the usual "Redirecting to the Login Server for authentication" message (verifying that I'm signed in through SSO) and then it succeeds and takes me into app 2, displaying widget A. I click the next link to launch another instance of app 2 with a different APEX session id for viewing widget "B". This also passes through SSO and redirects me into app 2, displaying widget B as expected. But now if I go back to navigate anywhere on widget A in my first instance, it has to go back through the "Redirecting to Login Server." This now means the widget A window is valid, but the widget B window will have to redirect next time I use it (back & forth & so on...)
    So my question I suppose is: Is it possible/good practice to allow a single user to open multiple separate instances of the same APEX application using different APEX session_ids viewing different data under Oracle Enterprise SSO?
    Guesstimation: It seems like there must be a switch somewhere in SSO that says "allow multiple application instances yes/no"...but my problem may be APEX itself, or how SSO is tied into APEX... Sorry for the super-generic example, I'm not exactly sure where I should be looking to resolve this, and the closest similar problem I found on the forums was here: login to application twice in two seperate IE  windows clears other login

    reset your dock preferences. delete the file homedirectory/library/preferences/com.apple.dock.plist and log out/in. your dock, spaces and exposé will be reset to the defaults. see if the problem goes away.

  • Multiple adapters for the same applications

    Hello.
    We are developing an integration scenario in which we have multiple instances of the same application (96 instances).
    We want to integrate them but deploying 96 adapters in Istudio is hard to maintain and useless because all the adapters do the same thing and the applications do the same too (they're all equal).
    Is there any way i can see only one or few adapters that represents all application instances?

    Hi Bjorn,
    Yes, during the "create instance" wizard you can select how many instances do you want to create for a particular solution (see screen-shot below).
    Best Regards,
    Adarsh

  • How to find out which type of the driver is used in our application?

    Hi all,
    can anyone tell me how to find out which type of the driver is used in our application?
    Thanks in advance,
    Phoeniox

    Hi,
    Check out this...
    Class.forName("com.mysql.jdbc.Driver"); //if u r using MySql
    List drivers = Collections.list(DriverManager.getDrivers());
                   for(int i=0;i<drivers.size();i++)
                        Driver driver = (Driver)drivers.get(i);
                        String driverName = driver.getClass().getName();
                        System.out.println("Driver "+i+":::"+driverName);
    you need to load the driver and display in the same program.
    Then only you'l get the required result.
    prakhyath

  • How to find out who has deleted the production Query

    Hi All,
    I have searche SD , i can find it for infoobject deletion but i couldn't find it for Query.
    Please let me know is there any possiblity to kow
        How to find out who has deleted the production Query
    Awaiting for your replies.
    cheers

    Hi Mahesh and all,
    Thanks for all your  inputs.
    I have tried with RSRREPDIR tabel , I am unable to see that query at all.
    If I use theT-code SLG1,
      please guide me on the steps with paramets to be given in the respective ..object, subobject etc..
    OR
    could you please suggest any other way.
    cheers
    leena

  • How to find out who had deleted the function moldule? S O S

    how to find out who had deleted the function moldule Thank you very much.

    if this fm was assigned to device class (package) you'll find it in
    tables tadir, e070, e071
    try with name of function module or function group
    hope that helps
    Andreas

Maybe you are looking for

  • Printing: computer freezing when I try and print a PDF

    I used to be able to print a PDF but suddenly the whole printer freezes as soon as the printer comes up.

  • Adobe App. Manager installing problem

    I´m having a problem installing Adobe Application Manager; I´ve checked the installers folder and it seems to be an set up error: "deployment file loading failed" May anyone help me, please?

  • Linking to Shared Drive in InDesign

    I know how to create Hyperlinks in InDesign, but what if I want the user/reader to be able to click on a Shared Drive link that will take them directly to a particular shared drive folder on a company's shared drive? Is this possible? It's not an "ht

  • [Solved] Gnome: Locking the screen only locks one of two monitors

    Hey guys, I'm using Arch for quite a while and I am really happy with it. Today I faced a problem, which no one else seems to have. At least, I wasn't able to find any infos on the net: When locking the screen, gnome only locks my primary monitor. I

  • CLAF - How to just change the color-scheme of default laf of Oracle EBiz

    How to change the color scheme of the default oracle ebusiness suites laf? When we tried the CLAF UI, there is no option to extend the oracle-desktop.xss. It gives only the base-desktop (which is different from the default Oracle Ebusiness laf). Have