Problem in starting rmid in a port different than the default one

hi all,
i am experiencing exceptions in running rmid in a port different than a default one.
if i run
rmiregistry 2000
rmid -J-Djava.security.policy=policy
java -Djava.security.policy=policy -Djava.rmi.server.codebase=<mypath> -classpath <myclasspath> com.myclass.ActivatableRMI <host:port>
everything works fine
but if i try to specify a port in which rmid should be started, then i have exceptions...
can anyone tell me how to solve my problem? i am running NT 4.0
thanx and regards
     marco

If you start rmid at port other than the default one
(1098) with -port option, it is necessary to set the
system property "java.rmi.activation.port" to this
port.
Rmid internally starts a local registry service
(LocateRegistry.createRegistry(port)) and binds the
RMI activation system server object with this registry
service like Naming.rebind("//:" + port +
"/java.rmi.activation.ActivationSystem",
activationSystem);. Activation system provides a means
for registering groups and "activatable" objects to be
activated within those groups. When a activatable
server object is exported, it is registered with this
activation system, so it should get the stub to the
activation system which is started as part of rmid.
ActivationGroup class provides a static function
getSystem() to get the reference to the activation
system stub. Now it makes use of the system property
"java.rmi.activation.port" value to contact the
registry service where activation system registered
itself under the name "//:" + value of
java.rmi.activation.port +
"/java.rmi.activation.ActivationSystem". If this
property is not set, it uses the default port 1098.
-- Srinath MandalapuThis is an awesome and lovely forum answer (and I saw srinath_babu reply to another similarly in my search), but I would like to ask for just a bit of clarification.
My question is simply making sure I understand the reply above in my own terms...
Suppose that right now my program involving activatables is already working with default port 1098, but that I wanted or needed to change to another port for rmid. Then is this statement true?
- IF the commandline which which I start rmid specifies port xyxyx,
- AND IF I added -Djava.rmi.activation.port=xyxyx to the commandline with which I run the setup for my Activatable (i.e. the program that calls Activatable.register method),
- THEN my code will still work as is (i.e. I wouldn't have to change my existing code to specify the port anywhere in it)?
(If I am not understanding this correctly, please let me know!)
Thanks very much,
/Mel

Similar Messages

  • 920 cartridge looks different than the old one

    I just bought some new ink cartridges for my Officejet 6500a 710n-z printer.  I bought the same 920 XL cartridges that I have bought and successfully installed before.  However, the most recent ones would not install!
    These new cartridges are different than the others -- on the bottom, they only have the gold-colored contact plate.  The others had the gold plate and a little bubble-like item that I think was called an ink window.  Other than that, the cartridges are exactly the same.
    Have these cartridges changes?   What do I need to do to make them work in my printer?
    This question was solved.
    View Solution.

    Hello BezaNH,
    Welcome to the HP Support Forums!
    Sorry to hear about the issues with the Officejet 6500 not reading the new generation cartridges. I believe I found a document that may help you resolve this.
    Some steps you will have done such as, remove and install cartridges, I would still suggest following through with all the steps. The images of the cartridges are that of the older generations cartridges, the steps are the same regardless.
    'The following ink cartridge appears to be missing or damaged' Error Message Displays on the Printer....
    Let me know how those steps work out, I will be keeping an eye on the thread.
    JERENDS
    I work on behalf of HP
    Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" to the left of the reply button to say “Thanks” for helping!

  • WAP4410N problems, slightly different than the previous ones

    Hello,
    I've just purchased a WAP4410N-E V02 for home use and I'm experiencing some strange problems.  Whenever the device is close to other electrical devices, it slows down until it eventually grinds to a halt, sometimes requiring a power cycle.  I can ping the AP, or my gateway (over the wireless connection), and the ping times go from 1-20ms to 15,000ms+.  After a certain amount of time, the wireless connection completely dies and the AP isn't even reachable over the wired network (no ping, no http).
    By close, I mean like 1m away in some cases, or less in other cases.  Since this is for home use, it's a bit of a problem, as my placement options are quite limited.  Here are the 2 scenarios:
    1) close to my vdsl modem/router
    the wireless-G connection on the router is turned off. 
    Distance is 1m. 
    The AP is plugged into the router. 
    This setup is completely unusable, as it instantly becomes slow.  If I pull it away about 2m and place the AP on the floor, it works fine.
    2) plugged into my switch close to the tv/pvr (tv over ip)
    Distance is up to 2m.
    When the tv is on by itself, no problem
    When the pvr is on, the AP starts becoming unstable.
    If I turn the pvr off, it recovers (unless I left it on long enough, then it gets stuck for good and never recovers).
    So I can really reproduce these problems now.  At first I thought it was completely random and I was trying all sorts of different ideas like changing channels, changing ssid settings, etc..
    Am I really putting this device in situations where it wasn't designed to work?  Just because it's a small business device, I don't see why it shouldn't work 1m away from a home VDSL modem, or 2m away from a tv tuner/pvr.  I can't really mount it high up on the wall, away from all interference because it wouldn't look so nice.  I guess home use has different priorities.
    Also, seeing how other people have certain unexplainable problems with these devices, could it be related?  I don't know how their setups are, but I can say that the behaviour is similar to other posts that I've read.
    What is the proper way to proceed with this problem?  Do I just return it to the store?  Do I need an RMA?  Or does Cisco have some recommendations that I can try so I don't have to return it?  I'm quite disappointed that I've lost a whole day trying to diagnose these issues.  I was hoping that if I spend a bit more money on a business-grade product, I would save time with trying to figure out the quirks of most home products, but it seems to be the opposite in this case.
    As a note, I have done the following, as per previous posts regarding this AP:
    - using A/C adapter, not POE
    - Hardware reset
    - Install firmware 2.0.4.2
    - set wired port to 100mbps
    - single SSID, WPA2-Personal, 11 character a-z key
    - B/G/N Mixed,
    - Channel 11 (tried Auto as well)
    - Key renewal 36000
    - disabled connection control
    - 802.11d disabled, Germany, 20MHz bandwidth

    See all the settings available in XLD and that will give you an idea as to how ripping could potentially vary between rippers. I don't know the details of how iTunes works but error detection has a lot of different settings with XLD.  iTunes does some too, but I don't think the details are publicly available for comparison.
    It may not only vary with the rip settings but also with the encode settings if you are using mp3 or AAC.

  • If I create a new AppleID or switch my current AppleID to another existing AppleID of mine different than the current one on my iPad, will I loose all my purchased applications in the machine?

    I have purchased quite a few applications on my existing iPad. At this time, I would like to change my current iPad appleID to a different ID. Can I still keep all the application I purchased in the past? If I can, what should I do to achieve that?

    Well at least you do understand the predicament that you will find yourself in when you finally part ways with your current job.
    An Apple ID is really just a username that happens to also be an email address. When people change email providers, they change their Apple ID's to reflect the new email address. It doesn't change anything in the way of what they have purchased. I see no reason why you couldn't change your Apple ID email address to your own personal email address. It would be no different than changing email providers.
    I'm taking you on your word, that you purchased these apps with your own credit card/iTunes gift cards or whatever means that you personally use to make iStore purchases.
    read this for more information on how to go about changing your Apple ID.
    Apple ID: Changing your Apple ID
    What you do not want to do is to create a new Apple ID and start making purchases with another ID. That's when you can get into the problems that come with associating your device with another ID.

  • Problem with external USB keyboard layout that differes to the macbook one

    I have a MacBook with a US keyboard layout and attached to an older (pre aluminium) japanese keyboard. As long as I stick in the normal mode (eg not japanese input) all keys work as they should. But if I switch to japanese input, the keyboard also switches to japanese input.
    I suspect it is because in the Kotoeri Preferences under "Keyboard layout for Romaji" is US selected. But from this dropdown I cannot choose any japanese layout.
    How can I fix this? This is really annoying, all the time when I input some japanese text and want to use any of the other characters (eg & or %, etc) I need to use the keyboard on the Laptop because else I do not get the correct characters.

    Tom Gewecke wrote:
    I suspect it is because in the Kotoeri Preferences under "Keyboard layout for Romaji" is US selected. But from this dropdown I cannot choose any japanese layout.
    I don't think that matters -- the point of this preference is to allow correct Hiragana input by people using non-US latin keyboards.
    Yeah, neither do I ... but somehow os x doesn't see the correct keyboard layout once I switch to japanese input.
    How can I fix this? This is really annoying, all the time when I input some japanese text and want to use any of the other characters (eg & or %, etc) I need to use the keyboard on the Laptop because else I do not get the correct characters.
    Is it not possible using the JIS Japanese keyboard to make & and %? I see them for example on this picture of one.
    If I view the keyboard viewer I see the correct japanese layout, but if I want to type the keys as shown there I get the input like on the US layout on the keyboard in the laptop.
    eg shift+6 = &, but on us you get ^. so when I am in normal input I get the &, but if I switch to japanese input I get the ^. And this is really annoying, especially some keys "disappear". the ¥ (yen/backslash key) just doesn't work at all in japanese input.

  • New Firefox looks no different than the old one (before Version 4).

    When I upgraded to Firefox 4, I noticed that the screenshots of the new version (in the tutorials) looked nothing like my browser did. Same thing with Firefox 5. Nothing seems to have changed, and the features that appear in the screenshots of the new version are not on mine at all. It still looks pretty much the same as it has all throughout Version 3.

    In Firefox 4 and 5, the Firefox button that replaces the Menu Bar (''File, Edit, View, History, Bookmarks, Tools, Help'') is on by default only in Vista and Windows 7; '''Windows XP users''' must turn on the Firefox button. In XP you can turn on the Firefox button and turn off the Menu Bar is you wish by changing whether Menu Bar is checked or un-checked.
    *Note: Menu Bar checked = Menu Bar on, Firefox button off; un-checked = Menu Bar off, Firefox button on
    *using Menu Bar: click View > Toolbars > Menu Bar
    *using Firefox button: click Firefox button > Options > Menu Bar
    *keyboard shortcut: HOLD down the ALT key while pressing the keyboard letters VTM (repeating the keyboard shortcut will toggle Menu Bar on or off)
    "Tabs on Top" can be turned on or off (checked = tabs above toolbars; un-checked = tabs below toolbars as in version 3.6.x and prior).
    *using Menu Bar: click View > Toolbars > Tabs on Top
    *using Firefox button: click Firefox button > Options > Tabs on Top
    *keyboard shortcut: HOLD down the ALT key while pressing the keyboard letters VTT (repeating the keyboard shortcut will toggle Tabs on Top on or off)
    '''What other features are you not seeing?'''
    <br />
    <br />
    '''You need to update the following.''' The Plugin version(s) shown below was/were submitted with your question and is/are out of date. You should update to avoid known security issues with the version(s) you have installed. Click on "More system info..." to the right of your question to see what was included with your question.
    *Adobe Shockwave for Director Netscape plug-in, version 11.5.9.620
    *Adobe PDF Plug-In For Firefox and Netscape 10.0.1
    *Shockwave Flash 10.3 r181 ('''''may be up to date; version in Add-ons > Extensions should be 10.3.181.26 for newest version''''')
    *Next Generation Java Plug-in 1.6.0_25 for Mozilla browsers
    #'''''Check your plugin versions''''' on either of the following links':
    #*http://www.mozilla.com/en-US/plugincheck/
    #*https://www-trunk.stage.mozilla.com/en-US/plugincheck/
    #*'''Note: plugin check page does not have information on all plugin versions'''
    #*There are plugin specific testing links available from this page:
    #**http://kb.mozillazine.org/Testing_plugins
    #'''Update Shockwave for Director'''
    #*NOTE: this is not the same as Shockwave Flash; this installs the Shockwave Player.
    #*Use Firefox to download and SAVE the installer to your hard drive from the link in the article below (Desktop is a good place so you can find it).
    #*When the download is complete, exit Firefox (File > Exit)
    #*locate and double-click in the installer you just downloaded, let the install complete.
    #*Restart Firefox and check your plugins again.
    #*'''<u>Download link and more information</u>''': http://support.mozilla.com/en-US/kb/Using+the+Shockwave+plugin+with+Firefox
    #'''Update Adobe Reader (PDF plugin):'''
    #*From within your existing Adobe Reader ('''<u>if you have it already installed</u>'''):
    #**Open the Adobe Reader program from your Programs list
    #**Click Help > Check for Updates
    #**Follow the prompts for updating
    #**If this method works for you, skip the "Download complete installer" section below and proceed to "After the installation" below
    #*Download complete installer ('''if you do <u>NOT</u> have Adobe Reader installed'''):
    #**SAVE the installer to your hard drive (save to your Desktop so that you can find it after the download). Exit/Close Firefox. Run the installer you just downloaded.
    #**Use either of the links below:
    #***https://support.mozilla.com/en-US/kb/Using+the+Adobe+Reader+plugin+with+Firefox ''(click on "Installing and updating Adobe Reader")''
    #***''<u>Also see Download link</u>''': http://get.adobe.com/reader/otherversions/
    #*After the installation, start Firefox and check your version again.
    #'''Update the [[Managing the Flash plugin|Flash]] plugin''' to the latest version.
    #*Download and SAVE to your Desktop so you can find the installer later
    #*If you do not have the current version, click on the "Player Download Center" link on the "'''Download and information'''" or "'''Download Manual installers'''" below
    #*After download is complete, exit Firefox
    #*Click on the installer you just downloaded and install
    #**Windows 7 and Vista: may need to right-click the installer and choose "Run as Administrator"
    #*Start Firefox and check your version again or test the installation by going back to the download link below
    #*'''Download and information''': http://www.adobe.com/software/flash/about/
    #**Use Firefox to go to the above site to update the Firefox plugin (will also install plugin for most other browsers; except IE)
    #**Use IE to go to the above site to update the IE ActiveX
    #*'''Download Manual installers'''.
    #**http://kb2.adobe.com/cps/191/tn_19166.html#main_ManualInstaller
    #**Note separate links for:
    #***Plugin for Firefox and most other browsers
    #***ActiveX for IE
    #'''Update the [[Java]] plugin''' to the latest version.
    #*Download site: http://www.oracle.com/technetwork/java/javase/downloads/index.html (Java Platform: Download JRE)
    #**'''''Be sure to <u>un-check the Yahoo Toolbar</u> option during the install if you do not want it installed.
    #*Also see "Manual Update" in this article to update from the Java Control Panel in Windows Control Panel: http://support.mozilla.com/en-US/kb/Using+the+Java+plugin+with+Firefox#Updates
    #* Removing old versions (if needed): http://www.java.com/en/download/faq/remove_olderversions.xml
    #* Remove multiple Java Console extensions (if needed): http://kb.mozillazine.org/Firefox_:_FAQs_:_Install_Java#Multiple_Java_Console_extensions
    #*Java Test: http://www.java.com/en/download/help/testvm.xml

  • Trackpoint driver works differently than the older one

    I made the jump recently from Vista 32 to 64 and after  installing drivers i noticed that i can no longer tap the trackpoint instead of left click - have you guys noticed that ?

     Same issue here with W7 - the UltraNav program says everything is working and the driver is the latest release.  However, the TouchPad is dead as a door nail.  Lenovo can you share anything with us on this?

  • I entered a new calendar event at I cloud on my laptop.  The enent showed up on my I Phone  4S but, the start and finish times on the entry in I cloud was different than the times shown on the I phone calendar.  How do I sync the time in my I Phone with

    I entered a new calender event using I cloud on my laptop. The enent transfered to my i Phone 5 S but, the start and finish times shown st i cloud on the laptop are different than the times shown on the i phone.  How do I sync the times on the i Phone with the times shown on the laptop i cloud calender?

    Turn off time zone support on the phone.

  • Why is the contents of Safari's downloads folder different than the actual folder?

    Why is the contents of Safari's downloads folder different than the actual folder that resides in my users folder?

    Problem is if I delete that .plist I'll delete those downloads.  I'm still able to launch those downloads from that location so that tells that file is probably not corrupted. I need to be able to located that folder and transfer the downloads from it before I do anything like this.  So that begs the question, where is that folder located?  When I do a folder search I'm taken to a Downloads folder, but it's not the one that is showing up from within Safari as it's contents are too different. 

  • How can I have a topic name different than the filename of a linked Word document?

    I've encountered multiple issues with linking to Word files ...here's another one: If a Word document is entitled Feature_ABC, then upon generating the HTM after linking it, the HTM's filename and topic name are both Feature_ABC. As underscores are ugly in topic names and features can be renamed, I would hope that I could rename the topic to be different than the filename.
    The Help documentation suggests this is possible by editing the Topic Name Pattern in the Word Conversion Settings dialog of Project Settings. However, reagardless of the Pattern entered, every time I generate or update from the context menu of a linked Word document the topic name remains the same as the filename.
    Because the topic name is shown in the Search panel and browser tabs, it will be a little ugly and may even be confusing. It is possible to edit the HTML directly, but then the HTML is overwritten each time the Word documents are update and the great advantage of using linked documents is lost.
    Is there a way to solve this problem?
    Thanks in advance for any help you might be able to provide.

    Thank you for your quick reply - just checked Multifox out.
    It seems it still forces me to open a new window, while preventing the need for a new profile.
    Why isn't it in the addons.mozilla.org ? Looks dangerous ...

  • I've noticed that when wearing headphones the sound is much louder in the right headphone than the left one. This wasn't a problem before.  Has anyone else noticed this? Is there a fix if so?

    I've noticed that when wearing headphones the sound is much louder in the right headphone than the left one. This wasn't a problem before.  Has anyone else noticed this? Is there a fix if so?

    Did you try different headphones!?
    If it's sounding the same thing on different headphones then you might have changed the Left-Right balance
    Have a look at Settings -> General -> Accessibility
    There's a slider for L-R
    If it's in the center then the headphone through which you're facing the problem might be damaged, try twisting the headphone wire of the speaker of the headphone (left or right) where you are encountering less volume.
    If it's sounding altogether same on all the circumstances, the headphone jack might be damaged. Get your phone to the Apple Store and book an appointment
    Try these steps and it will solve your question

  • Need help The image I saw on the LCD looks different than the actual photo

    i had canon camera and had problem The image I saw on the LCD looks different than the actual photo.any body can kelp me
    [IMG]http://tralalatrilili.ga/thanks.png[/IMG]

    Do you capture in RAW or JPEG? What software do you use to view your image? Is your monitor calibrated? What is the brightness level on your camera LCD? All of these information can affect your image. And keep in mind that image on the back of the camera is often brighter and more saturated.
    Weekend Travelers Blog | Eastern Sierra Fall Color Guide

  • I want to snooze an event for a different length of time than the default. How do I select a different snooze length?

    I just upgraded to Mountain Lion and I can't see how to snooze an event alert for other than the preset 15 minutes. How do I snooze events and other alerts for different lengths of time than the default? Sometimes I want to snooze an event until the start time or maybe for a whole day.

    SnoozeMaster is now avaiable from the Mac App Store, for MacOS X 10.8 and up.
    https://itunes.apple.com/us/app/snoozemaster/id614955483?mt=12
    It addresses this exact issue. You'll be able to configure different pre-set snooze times, enter custom snooze times when an alarm triggers, etc. It's what snoozing should've been from the get go.
    More information:
    http://on-core.com/snoozemaster/

  • How is RMAN backup different than the other conventional methods of backup

    Hello to all,
    I have a question if somebody can please answer my queries
    How & Why is RMAN backup different than the other conventional methods of backup.
    What is different in the way a database is backed up using RMAN.
    I am very well aware of the capabilites of RMAN to recover from a loss , but I did like to know as to how RMAN makes it possible to go about it.
    Please answer
    Altaf

    You can start with the reading of the Oracle docs:
    Backup and Recovery Basics
    http://download.oracle.com/docs/cd/B19306_01/backup.102/b14192/toc.htm
    Backup and Recovery Quick Start Guide
    http://download.oracle.com/docs/cd/B19306_01/backup.102/b14193/toc.htm
    Backup and Recovery Reference
    http://download.oracle.com/docs/cd/B19306_01/backup.102/b14194/toc.htm

  • HT201269 I switched from an iPhone to an LG g2, but now all my iMessages keep going to my old iPhone rather than the new one.  I know the resolution to the problem is to turn off my iMessage, but I no longer have the iPhone because I sold it to the phone

    I switched from an iPhone to an LG g2, but now all my iMessages keep going to my old iPhone rather than the new one.  I know the resolution to the problem is to turn off my iMessage, but I no longer have the iPhone because I sold it to the phone carrier.  Question is how do I turn my iMessage off through a computer that is not a mac. 

    http://support.apple.com/kb/TS5185
    last paragrapgh of Resolution

Maybe you are looking for