Can I have two or more JVMs in one mashin and switch between them?

Hi all,
I want to have two JVMs in one mashin and switch between them via a httpListener. If I can, could you please guide me to do it?
Thanks in advance,
Orod Semsarzadeh

may be my question is not fully clear. I mean, I want to have an bottun in my JSP when I click on it, 1 thread will be created and work in another JVM.

Similar Messages

  • How can I copy file/folders from and to hard drives? How can I have two or more windows of explorer so that I can drag and drop from one hard drive to another?

    Hi,
    I am a new customer (purchased last week) of MacBookPro (latest) and its my first ever Apple laptop.
    I am almost lost to find the operating tools.
    1. How can I copy files from hard drive to computer and vis-a-versa?
    2. Only can browse one but how can I have two or more browses at the same time like in MS windows?
    3. No right click works on track pad?
    4. Is there application/ program compatible to MS office? If so how much and how can I purchase?
    5. Is there AutoCAD program that is compatible to MS Window AutoCAD? and if yes how much and how can I purchase?
    I will very much appreciate if you could email me the with the solution/answers please.
    Regards,
    Khagendra Limbu

    1) For some reason this happens once in a while with FAT32 enabled external harddrives. I have no idea why this happens but it most easily solved by reformatting the drive. First make sure you've copied everything from the external drive to your internal harddrive. You've done this earlier so I assume you know how to do this.
    Now the reformatting part. Open Finder and go to Applications. Look for the folder called "Utilities". Click on it. In it you find a program called "Disk Utility". Click on it. Now look for the external drive. You probably see two entries for the disk. Click on the one that contains the name of the drive NOT the one that describes the disk (Like for example 320.07 GB Samsung S2 Portable Media).
    Now you see four tabs in the righthand part of the window. They're called "First Aid", "Erase", "RAID" and "Restore". Click on "Erase". This opens the tab with (amongst others) a dropdownbox (Format) and a textbox (Name) . In the dropdownbox select "Mac OS Extended (Journaled). Take note! This selection disables usage of the drive with Windows PC's. If your goal is to share the drive with Windows PC's select the MS-DOS FAT option.
    Enter a label for the drive in the textbox Name. Now click on the button "Erase". This will format the drive.
    Now when it's done you can copy back all the items you've copied to your internal harddrive earlier.
    2) Opening two windows like Explorer on Windows is opening two Finder windows on the Mac. Simply click on the background. In the menubar you items like 'Finder", "File", "Edit", "View", et cetera. Click on "File" and "New Finder Window". Do this two times. Alternatively you can click on the background and press CMD-N two times.
    3) You can right click on the trackpad. This however depends on if you've enabled the feature in System Preferences. In the topmenubar click on the Apple icon and select "System Preferences". Now look for Trackpad in Hardware. Click on it. You see three tabs with the names "Point & Click", "Scroll & Zoom" and "More Gestures". Select "Point & Click" and look for "Secondary Click'. Make sure it is checked and make sure it has written "Click or tap with two fingers" written beneath "Secondary Click". When you're done exit System Preferences. Now select the background and tap with two fingers on the trackpad. This should open the contextuel menu with options like "New Folder", "Get Info" et cetera.

  • CAN YOU HAVE TWO I TUNES ACCOUNT ON ONE COMPUTER?

    CAN YOU HAVE TWO I TUNES ACCOUNT ON ONE COMPUTER?

    The problem with making separate accounts is that this is a laptop, so likely not a huge hard drive, and if the three iTunes libraries need to have a lot of the same music (because everyone or two or three like some of the same stuff) you end up with double or triplicate copies of the music on the hard drive eating up drive space. Since they don't use his laptop normally, creating more accounts (with all the associated files and drive space usage each account would eat up) it probably isn't worth it.
    Instead, the best approach is like Chris said, to make playlists for the girls in the main library and then set up the various iPod to either sync everything (if big enough) or sync only specific playlists (if not big enough).
    Alternatively, they can set their iPods to manual syncing and then when Dad is visiting they can hook up their iPods and "shop" the library and drag in whatever they want to add to the iPods and delete what they no longer want.
    Patrick

  • Can you have two slides shows on the one interactive page?

    I'm just new at learning interactive pdfs in indesign so sorry if this is common knowledge. I know how to create a slide show on a page, but can you have two slide shows on the one page or more for that matter? (Ideally I need 3.) Each slide show has its own set of images and buttons.

    Just :http://www.youtube.com/watch?v=Dm0aeMUPZ4U
    But I'm happy to create them a different way if needed be.

  • HT204053 can you have two separate iCloud accounts on one iMac device?

    can you have two separate iCloud accounts on one iMac device?

    You can have only one iCloud "user configuration" per local user on the Mac. Who the local user belongs to doesn't mind. Since it's a local user it's not related with who actually uses it. So let's say you want to set up Photo streaming using your iCloud user, just configure iCloud (under System Preferences) the same way you did on your phone and you're done.
    But, beware: if you're only interested in synching photos, uncheck everything else when configuring iCloud on the Mac, otherwise you will merge, for example, your husband contacts, calendar and mail with those on your phone.
    If you want to avoid any problems you can easily create another local user on the Mac with your name, under System Preferences, System, Users & Groups. After you create the user, logoff. The Mac will ask if you want to disable autologin (since there's more than one user that can log in now), answer yes and you will be presented with a logon screen. Click on your account name, insert the password and configure iCloud to sync with your phone.

  • I bought my daughter an ipod. Can I have two seperate itunes libraries on one computer? If so, how do I set this up?

    I bought my duaghter an ipod. Can I have two seperate itunes libraries on one computer? If so, how do I set this up?

    I followed these instructions & have created a new library file. However, all my music now appears in the new library as well as my own. (I bought my daughter an ipod nano for christmas & want to separate itunes libraries on one computer). How can this be so difficult?

  • Can I have two different podcast  URLs on one iWeb website?

    Can I have two different podcast  URLs on one iWeb website?

    I don't think anybody understands your question. Can you elaborate?

  • Can i set up two emails accounts on the mail function tab and switch between them

    I would like to be able to set up two email accounts on the mail tab on the Iphone 5 and switch between them, is this possible?

    Yes it is possible to set up multiple accounts but you cannot switch between them in the mail app.  What you can do in settings/mail etc is have one set as active an dthe other as inactive and you can change that from time to time if you want

  • Can you have two separate iTunes files on one computer?

    I gave my daughters each an old iPOD. One is 20 GB and the other is 60 GB. I take an iBOOK laptop with me when I visit so I can update them. In the past, they shared the 20 GB iPOD only. Now I have a problem as one iPOD can store a lot more than the other. Is there any way to have two separate iTUNES files on one iBOOK computer, one with the songs for the 20 GB iPOD, and the other for the 60 GB iPOD?

    The problem with making separate accounts is that this is a laptop, so likely not a huge hard drive, and if the three iTunes libraries need to have a lot of the same music (because everyone or two or three like some of the same stuff) you end up with double or triplicate copies of the music on the hard drive eating up drive space. Since they don't use his laptop normally, creating more accounts (with all the associated files and drive space usage each account would eat up) it probably isn't worth it.
    Instead, the best approach is like Chris said, to make playlists for the girls in the main library and then set up the various iPod to either sync everything (if big enough) or sync only specific playlists (if not big enough).
    Alternatively, they can set their iPods to manual syncing and then when Dad is visiting they can hook up their iPods and "shop" the library and drag in whatever they want to add to the iPods and delete what they no longer want.
    Patrick

  • How can we have two different Itunes libraries on one computer?

    How can we have two Itunes accounts on one computer?  I found info on the itunes help page but I do not know how to follow the steps given because I am not prompted with what it says I should be prompted with? Please help I don't want to delete one of our libraries

    Launch iTunes with the Shift key held down as needed, or use different Windows XP user accounts.
    (74282)

  • Can you have two apple id accounts on one computer??

    Hi all
    Can you have two seperate apple ID accounts on the one computer?? Imessaging wont work between two iphones if both iphones (husband & wife) use same apple ID account. any help appreciated

    Yes, you can. Apple IDs are really not meant to be shared.

  • HT204053 Can you have two Apple ID's on one iTunes

    I just got my wife a new iPod touch and we need to add a different apple account to use the message app. Can I have two apple accounts on my iTunes?

    Yes, you can.
    (104346)

  • Can u have two icloud accounts attached to one itunes account

    i would like to have my daughter ipod touch on a different account so that i dont recieve her texts on my phone.  can i have two icloud accounts to one itunes account so that i dont have to open another itunes account and repurchase all her apps and music

    No really.  See:
    Creating an iCloud account: Frequently Asked Questions
    You can resolve the Messages and similar FaceTime problem by first setting them up using the Apple /iTunes ID email address and then adding another email messaging/calling email address and then deleting the Apple/iTunes ID email address.

  • HT1918 can i have two different itunes accounts on one computrer

    can i have two itunes accounts one for my wife as she keeps getting my contacts on her phone and shes not happy!!!!!

    Yes. Create a new Windows user account.
    (75355)

  • How to create two or more JVM in one machine ?

    Hi to some background ,I want to invoke RMI call to a server ,and I have written the following client code ,that access a getCounter()to show the incremented static variables value ,each time calling the getCounter() will increment the static variable by 1.That code is deployed in the server.
    PDOS_Remote_Interface service1 =(PDOS_Remote_Interface)Naming.lookup("rmi://x.xxx.xxx.xxx/REMOTE_SERVICE");
    String s1= service1.sayHello();
    int cont1 = service1.getCounter();
    System.out.println(">>>>>> "+s1);
    System.out.println(">>>>>> cont1 "+cont1);
    PDOS_Remote_Interface service2 =(PDOS_Remote_Interface)Naming.lookup("rmi://y.yyy.yyy.yyy/REMOTE_SERVICE");
    String s2= service2.sayHello();
    int cont2 = service2.getCounter();
    System.out.println(">>>>>> "+s2);
    System.out.println(">>>>>> cont2 "+cont2);
    This is working fine with even two different server (I mean in two physically different machine(x ip and y ip) ,there ip are different )
    with following output :
    Server Says Hai!
    cont1 0
    Server Says Hai!
    cont2 0that is static variable is not shareing as they are in two different server
    Now My problem:
    I want to hit the one and only server ,In this case Service1 and Service2 are getting the remote instance from only one machine .And when I am doing that I am getting the static variable incremented ,That is following output
    Server Says Hai!
    cont1 0
    Server Says Hai!
    cont2 1Is this possible to create two JVM instance in a particular machine ..??
    I mean I want the first output (both static variable shows 0)in second implementetion (using only one machine )???

    Yes, but the naming service is only going to accept one registration for a given name.

Maybe you are looking for