Can you have multiple RMI Servers listen at the same port?

Hi,
I am wondering if is possible to assign many RMI servers to the same port. I have a working RMI system that is assigning a single server to a specified port when the server is created. I need to scale my project to incorporate Activation and the ability to go through a firewall. I have the power to punch holes in the firewall, so I am thinking that I would like to set up a port for all my activated servers to listen on. Is this possible to put them all on one port?

Yes you are correct. However, I am wanting the actual servers listening on the same port. I have noticed that when I do not assign a port number when binding my RMI servers to the registry, then the rmi system sets them all up listening on the same port. This port is random and changes each time I restart my server system, which rebinds all the servers to the rmiregistry again. I am look for a way to use custom socket factories and then tell the servers the exact port to listen at. I keep getting port already in use issues though when I try to assign more than one server to a particular port. I don't know if this is even possible. Has anyone ever gotten this to work?

Similar Messages

  • Can you have multiple Apple TV's in the same house and network? If so how do you know which one to pick from your Idevice?

    can you have multiple Apple TV's in the same house and network? If so how do you know which one to pick from your Idevice?

    Yes, there are even defaults for naming them, such as LivingRoom, Bedroom, etc, or you can even enter your own name with the remote for each AppleTV.

  • Can you have multiple revers mappings point to the same destination?

    I am trying to configure a reverse proxy to have multiple "Prefix" (location from redirects coming from the server) entries to be mapped to a single "Map to"(returned to the client). When I try this I get an error message that says:
    "Incorrect usage: Destination already exists Please enter another Destination to map"
    I need to be able to map multiple destinations back to the same location. I have an application that redirect to both / and http://server.domain.com, and I need to map both of these to https://proxy.domain.com, and can not. I have tweaked it to work by using proxy chaining and pointing one to the back end proxy, and one to the front end proxy instance that points to the same back end proxy, but this starts to get very complicated as the number of prefixes goes up that need to get to the same proxy interface.
    Is there some way to get around this, and have a many to one mapping for reverse mappings?
    Thanks in advance for you assistance.

    Couple of workarounds:
    1) Edit obj.conf manually
    2) Add the mapping as a regular one first (as opposed to reverse) and then use the edit option to change it to a reverse mapping.

  • Can you have multiple Game Center profiles with the same Apple ID

    I want to purchase each of my children their own iPad and keep them in my supervision by using my Apple ID.  However I'd like us all to have our own games so one child doesn't mess up the others activity, or mine!

    Creating a new iTunes account does not remove any purchases made on a different account.
    If you want to create a new account : iTunes: How to set up an Apple ID within iTunes
    Or if you will want to use it in the stores and don't want to give credit card details : Create an iTunes Store, App Store, or iBooks Store account without a credit card or other payment method
    Or if you are not currently logged into an account in game centre then you should have a 'create a new Apple id' link at the bottom of the login screen in it.

  • HT204053 can you have multiple apple id's for the family but we all use the same iCloud?

    Can you have multiple apple id's for the family members but we all us the same iCloud account?

    You'll have to have an ID you all share in order to have a shared iCloud account. It would be sensible for each person to have their own ID and their own iCloud account for email and their own data (each would be on their own computer/iOS device or user account on a Mac) and then have a common account which everyone would sign into in System Preferences>Mail, Contacts and Calendars to access shared data.
    You don't want to be all using the email in a common account - if people are using email aliases remember these can't be detached from the account and transferred to another one. Having all your emails mixed up together can be somewhat impracticable.

  • Can you have multiple bleed allowances (along with the multiple page sizes) in InDesign CS5?

    Hi there,
    I'm new to InDesign and have a question about documents with mixed page sizes in CS5.  I'm preparing an illustrated book for print and was hoping to be able to contain all the pages (including the covers) in one document.  My basic setup is 140 mm x 210 mm with a 3 mm bleed on each side.  I've managed to add the different cover page (146 mm x 216 mm) and spine (10 mm) dimensions easily enough, but can you have multiple bleed specifications too?  The bleed allowance I need for the case layout is 15 mm.  I've scoured InDesign and the net, but can't find any information about this anywhere.  It would seem rather silly to be able to have multiple page sizes in your document without being able to change the bleed allowance too.  Here's hoping it's possible!  Any help with this would be greatly appreciated. 
    Thank you!
    Alexandria

    make sure what your printer means ie: Page size + 6mm spine bulk + 15mm bleed.
    and design acordingly
    G..

  • Can you have two different itunes account on the same computer

    how can you have 2 different itunes accounts on the same computer?

    You would need two seperate users on the computer. Then each library would be independent of each other. Or do you mean two seperate iTunes store accounts?

  • Can you have 2 seperate iphone accounts on the same computer?

    Can you have two seperate iphone accounts on the same computer??? please help?

    Yes. If you want separate iTunes accounts, the easiest way is to set up 2 users on the computer, each with their own iTunes library.
    If the two phones share the same iTunes account this is not necessary.

  • HT4865 How can I have multiple icloud email accounts using the same rescue email account.

    I have several Iphones for my business for managers to use.
    I would like to set them up to send me the recovery emails but it seems only one icloud address can do that.
    Is it possible to have multiple icloud email accounts using the same - seperate recovery email address?

    Unfortunately, you cannot change your primary @me.com or @icloud.com email address, you could however create an alias or create a completely new account.

  • Can you have two airport extreme connected in the same network?

    You can have two airport extreme connected at the same time in a network?
    like if you have a modem, you can connect two airport extreme in that modem?

    You can have two airport extreme connected at the same time in a network?
    Yes
    like if you have a modem, you can connect two airport extreme in that modem?
    Airport Extreme
    You should plan to connect one AirPort Extreme to the modem and the second AirPort Extreme to the first. The first Extreme will connect to the modem using an Ethernet cable. The second Extreme can connect to the first also using an Ethernet cable, or it can connect using wireless only.

  • Can you do Digital In or Out on the same port (byte) as PFI timing?

       I'm using an M series board with three digital ports.  Port 0 is only for DIO, ports 1 and 2 can be used for DIO or PFI (e.g. clocking, triggering).  My question is:  can I do both DIO and PFI functions on any one port.  For example, on Port 1, I would like to use bits 0 to 6 as Digital Inputs and have an external clock signal go into bit 7 as a clock for Analog Out.  Can the port be mixed like this?
    Thanks,
       Dave
    David Thomson Original Code Consulting
    www.originalcode.com
    National Instruments Alliance Program Member
    Certified LabVIEW Architect
    There are 10 kinds of people: those who understand binary, and those who don't.

    Dave,
    The DIO lines on any DAQ device that uses the DAQ-STC ASIC can be configured on a per line basis, so using PFI and DIO lines on the same port will work just fine. 
    You can run a quick test on this using the "Gen Dig Pulse.vi" example (found in the NI Example Finder under Browse -> Hardware Input and Output -> DAQmx -> Generate Digital Pulses).  You should be able to generate a pulse on one of the PFI lines on the board, then read that pulse back in on one of the DIO lines of that port using an external connection.
    -Justin

  • Can you have multiple Admin Servers?

    Are you allowed to have multpile or redundant admin Console Servers?

    Yes and no.
    If you have more than one admin servers, they will not
    be managed by each other. Therefore they can't fail over.
    Lynch
    "nak" <[email protected]> ¼¶¼g©ó¶l¥ó
    news:3c0e8bae$[email protected]..
    >
    Are you allowed to have multpile or redundant admin Console Servers?

  • Can you have more than one ipod on the same computer?

    me and my sister live together and we would like to be able to have two seperate libraries on the same computer. one library is already there and when the second ipod is plugged in, it comes up as a sub-library that is unacessable.

    There are basically two ways of using multiple iPods on a computer and these involve:
    a) Sharing a single iTunes library and or user account or
    b) Creating multiple user accounts.
    Note: When you are sharing an iTunes library, you don't have to set each iPod to update in the same manner, you can mix and match from the options below as each iPod has it's own update settings
    Sharing a Library and/or User Account
    If you want to share the one library, you can set either or all of the iPods so that they only get updated with only certain playlists (you can update from more than one if you wish):
    Loading songs onto iPod automatically - Windows
    Choosing the update option "Sync Music - Selected playlists" allows you to create a playlist specifically for the iPod and drag the tracks you want into it. If you tire of the list and want to change it, you just add or remove the songs you don't want. The ones you take out out remain in the library to be used some other time if you choose. You can read more about playlists at these links:
    iTunes: Creating playlists of your favorite songs
    How to create a Smart Playlist with iTunes
    Or you can choose to update any or all of the iPods manually and just drag whatever content you want to them: Managing content manually on iPod
    Loading the iPod shuffle differs slightly but it can still be used with the others, for details have a look at this page: Loading songs onto iPod shuffle - Windows
    It's also possible to have multiple libraries in a single account. To create or access a second (or more) library, hold down the Option key (or Shift key in Windows) when launching iTunes 7. In the resulting dialogue you will get the option to create a new library or navigate to the other Library.
    Note: You can only have one Library open at a time and iTunes will default to the last library opened if you don't use the keyboard command to choose one. This can prove tricky when using multiple iPods, if you don't use the keyboard command you can risk syncing to the wrong library:
    Using multiple iTunes libraries -Windows
    Separate User Accounts
    Another option is to create a separate User account for each person on your PC or Mac. Different accounts by definition would give you completely separate libraries. Each account has it's own iTunes folder, Library and iTunes Music folder and you load it with CDs etc just as you did with your original one. The iPod can be set to update however the owner chooses, sync all, manual or sync specific playlists
    I don't use Windows so I can't give you a step by step on that one, however I can point you to another web page which should help you out. You can read about Windows user accounts here:
    Using Windows XP User Accounts

  • How can I have multiple I-tunes accounts on the same computer?

    So I have a mac, and my brother has his i-tunes account on it. Earlier today I set up my mom's account. All of my brother's songs were on her account, and when I deleted a song from her library, it was also deleted from my brother's library! My mom wants to upload all of her CD's onto her account, but if it is also going on my brother's account, he won't have anymore space for his songs. Is this normal? How do I get these two accounts to have nothing to do with each other? They don't want the same songs as one another.

    pattimihm wrote:
    he won't have anymore space for his songs. Is this normal?
    Yes. Get an external hard drive if you need more space.
    Everybody should have their own copies. Sharing copies of music does not work for long, since one person's change can affect others, as you observed.

  • Ok... So can you have two seperate itunes accounts on the same computer?

    My dad is getting an ipod for christmas... and well I don't want him on iTunes draining all of my money. Is there a way that you can have two seperate accounts on one computer?

    Yes. If you want separate iTunes accounts, the easiest way is to set up 2 users on the computer, each with their own iTunes library.
    If the two phones share the same iTunes account this is not necessary.

Maybe you are looking for