RMI : Need Help Urgently

Hi,
I am very new to this RMI. I am going through http://java.sun.com/j2se/1.4.2/docs/guide/rmi/getstart.doc.html this documentation. and I have created all the Class file including stub and skeleton. but now I am confused with the directory structure. I dont understand where I have to place server classe, interface and where to place client too. suppose I have 2 computers connected in a network. computer1 ip is 9.182.65.85 which i am using as a server and computer2 ip is 9.182.65.90. Now my question what to do to successfully get the output from client side. can anyone please tell me what file should be changed and should I change with proper directory structure. If any one is having any simple code then please post it. I am really confused....... Please Help me out...
Abhradeep Kundu
[email protected]

First of all, this is a bad tutorial. It still uses applets...
You should look at
http://java.sun.com/j2se/1.5.0/docs/guide/rmi/hello/hello-world.html
or at
http://java.sun.com/docs/books/tutorial/rmi/
As to your question for this specific example (but for 1.5.0):
On the server's classpath you should have both the server classes and the common interfaces. On the client classpath you should have the common interfaces and the client classes. You can create the interface sources on in the server's directory structure and copy them to the client.
Genady

Similar Messages

  • Username and password- Need help urgently!

    Hi
    1) First of all, i have received an email stating that my account under Removed personal information to comply withCommunity GuidelinesandTerms and Conditions of Use.
    is being banned as there is multiple obsence post. I need to clarify that i have never used my account to post in BBM forum before. Even if i did, is when i need help urgently for my BBM application. Currently i am holding 4 bbms now. Have never came across this issue. Pls check and advise
    2) I urgently need to setup my email accounts. But this time round, when i logged in, they required for my email id and password. And yes my email id is Removed personal information to comply withCommunity GuidelinesandTerms and Conditions of Use. all the while for the past 4 years. I am unable to log in. I tried all kinds of password but unable to log into my mobile settings
    Verfiy Blackberry ID
    This application requires u to verify ur blackberry id to continue.
    blackberry ID username:
    Removed personal information to comply withCommunity GuidelinesandTerms and Conditions of Use.
    password:
    I went to the forget password option, unfortunately as i have never retrieved my password before, i am unable to remember the security question as i did not use it for the past 4 years.
    Pls advise.
    Urgent and thanks

    Hi,
    I have been trying this technique for the past 4 days. It doesnt work no matter how i change the password at the link that u gave me. Even though it's being reset accordingly, i am still unable to log in the password at my mobile. i am 100% sure that i have entered the correct password at my mobile. ( verify blackberry id) . I want to setup new email accounts under "setup" . Upon me clicking " email accounts", it prompt for the one key password. I have never faced this issue before. I am very very sure that my password is correct. Pls advise as i need to add email accounts. Other programs are working fine without any password required being prompt. ie. blackberry world
    This is very very urgent to be resolved. Pls help.

  • Need help urgently with OS X and Windows 7

    I need help urgently.
    I installed Windows 7 on my macbook pro with OS X Lion. After installing Windows7, I accidently converted the basic volumes to dynamic volumes and now i can't even boot to OS X.
    Please help me how to recover my OS X Lion. If I have to delete Windows and bootcamp partitions, it is OK.
    I just want to get back my OS X bootable.
    Thanks

    thihaoo wrote:
    Sorry
    I can't even see the OS X partition when I hold down the "Option" key.
    I could see OS X and Windows partitions if I hold down Option key before changing the partitions to Dynamic partitions from Basic in Windows 7.
    Now can't see OS X partiton and only see Winodws partition but when I tried to boot onto Windows7 , I got BSOD and macbook pro restart.
    Please help
    The usual reason for the OSX partition to be invisible under these circumstances is that it has been trashed by Windows.
    Do you have a backup?

  • Need help urgently, I upgraded my iPhone 4 with new OS 5, but at the last restore failed. Apple Customer Care helped me to resynch my phone with all that available in Library. I've got all back except my Contact no. Pls help guys, thnx

    Need help urgently, I upgraded my iPhone 4 with new OS 5, but at the last restore failed. Apple Customer Care helped me to resynch my phone with all that available in Library. I've got all back except my Contact no. Pls help guys, thnx Plz guys anyone can help plzz....I've lost all contact and I dont even have any secondary back up also...!!!

    If you've had it for less than a year, then it's still under warranty.  Take it to an Apple store or an authorized service facility.  See http://support.apple.com/kb/HT1434

  • Need help urgent,my iphone is stuck at connect to itunes screen.when i restore with itunes it shows error -1. please help me

    need help urgent, my iphone is stuck at connect to itunes screen, when i restore it using itunes, it shows error -1...may someone help me plz....

    See:
    iOS: Unable to Update or Restore
    http://support.apple.com/kb/ht1808

  • BB Curve 8900 need help urgently!!!!!

    hey my blackberry 8900 rebooted but now it says "Reload Software:552" and no matter what buttons I press it just won't work, please tel me what to do I really need help urgently!!
    Solved!
    Go to Solution.

    Before you do anything else:  Do a simple reboot on the BlackBerry in this manner: With the BlackBerry device POWERED ON, remove the battery for a minute, and then reinsert the battery to reboot. A reboot in this manner is prescribed for most glitches and operating system errors, and you will lose no data on the device doing this.
    Please let us know if that reboots the device properly or not.
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • I tried to buy the  WhatsApp app. The card has been charged. but the app wasnt downloaded.i need help Urgently.

    I tried to buy the  WhatsApp app. The card has been charged. but the app wasnt downloaded.i need help Urgently.

    Downloading past purchases from the App Store, iBookstore, and iTunes Store
    To see which iOS version is installed, tap Settings > General > About

  • Sound trouble need help urgent please

    Could somebody tell me how i can fix my problem.
    problem: when my curve 8520 is in silence profile en i start typing in a phnoe number i hear nothing,
    but when my phone is in normal profile i hear i beep with every number of the phone number i enter.
    so i want to know how i can stop my bb from making this noise

    My friend it is a fillable form, can i email you the pdf that iam trying to fill out? then would you be able to tell me how to do it please mate?
    I have attached the form, i need to fill in those boxes so that everything is accuratly height + spacing is correct, and to do it fast, thats all im after.
    Date: Sun, 27 Jun 2010 18:31:58 -0600
    From: [email protected]
    To: [email protected]
    Subject: Need Help Urgent Please
    If is a fillable form, just tab to the next field. What we do not understand from you is IF it is a fillable form or not. If it is not, then the 3 options I gave can be used. Placing text is always a problem. You might find it useful to turn on the grid to help in placing your typewriter fields. However, if it is fillable you do not have to create any fields to type in, you just leave the tool as the hand tool and select the predefined fields with the cursor or the tab key and type accordingly. If the field is a checkbox, then you just use the space key to activate it.
    So, are we talking about a fillable form or something that has the appearance of a form, but not fields to fill in. This is what Bernd has been try to find out and you keep suggesting it is fillable as we read what you have said.
    >

  • Please help me to run this CMP BEAN, I need help urgently, I am running out of time :(

    Hi,
    I am facing this problem, Please help me, I am attaching the source files
    also along with the mail. This is a small CMP EJB application, I am using
    IAS SP2 on NT server with Oracle 8. I highly appreciate if someone can send
    me the working copy of the same. I need these urgent. I am porting all my
    beans from bea weblogic to Iplanet. Please help me dudes.
    Err.........
    [06/Sep/2001 13:41:29:7] error: EBFP-marshal_internal: internal exception
    caught
    in kcp skeleton, exception = java.lang.NoSuchMethodError
    [06/Sep/2001 13:41:29:7] error: Exception Stack Trace:
    java.lang.NoSuchMethodError
    at
    com.se.sales.customer.ejb_kcp_skel_CompanyHome.create__com_se_sales_c
    ustomer_Company__java_lang_Integer__indir_wstr__215617959(ejb_kcp_skel_Compa
    nyHo
    me.java:205)
    at com.kivasoft.ebfp.FPRequest.invokenative(Native Method)
    at com.kivasoft.ebfp.FPRequest.invoke(Unknown Source)
    at
    com.se.sales.customer.ejb_kcp_stub_CompanyHome.create(ejb_kcp_stub_Co
    mpanyHome.java:297)
    at
    com.se.sales.customer.ejb_stub_CompanyHome.create(ejb_stub_CompanyHom
    e.java:89)
    at
    com.se.sales.customer.CompanyServlet.doGet(CompanyServlet.java:35)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
    at
    com.netscape.server.servlet.servletrunner.ServletInfo.service(Unknown
    Source)
    at
    com.netscape.server.servlet.servletrunner.ServletRunner.execute(Unkno
    wn Source)
    at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
    at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
    at com.kivasoft.thread.ThreadBasic.run(Native Method)
    at java.lang.Thread.run(Thread.java:479)
    Caught an exception.
    java.rmi.RemoteException: SystemException: exid=UNKNOWN
    at com.kivasoft.eb.EBExceptionUtility.idToSystem(Unknown Source)
    at com.kivasoft.ebfp.FPUtility.replyToException(Unknown Source)
    at
    com.se.sales.customer.ejb_kcp_stub_CompanyHome.create(ejb_kcp_stub_Co
    mpanyHome.java:324)
    at
    com.se.sales.customer.ejb_stub_CompanyHome.create(ejb_stub_CompanyHom
    e.java:89)
    at
    com.se.sales.customer.CompanyServlet.doGet(CompanyServlet.java:35)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
    at
    com.netscape.server.servlet.servletrunner.ServletInfo.service(Unknown
    Source)
    at
    com.netscape.server.servlet.servletrunner.ServletRunner.execute(Unkno
    wn Source)
    at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
    at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
    at com.kivasoft.thread.ThreadBasic.run(Native Method)
    at java.lang.Thread.run(Thread.java:479)
    Thanks in advance
    Shravan
    [Attachment iplanet_app.jar, see below]
    [Attachment iplanet_src.jar, see below]

    One reason that I sometimes get 'NoSuchMethodError' is when I make a change to a
    java class that is imported into another java class. When I go to run the
    importing class, it will throw a 'NoSuchMethodError' on any methods that I've
    changed in the imported class. The solution is to recompile the importing class
    with the changed classes in the classpath.
    shravan wrote:
    Hi,
    I am facing this problem, Please help me, I am attaching the source files
    also along with the mail. This is a small CMP EJB application, I am using
    IAS SP2 on NT server with Oracle 8. I highly appreciate if someone can send
    me the working copy of the same. I need these urgent. I am porting all my
    beans from bea weblogic to Iplanet. Please help me dudes.
    Err.........
    [06/Sep/2001 13:41:29:7] error: EBFP-marshal_internal: internal exception
    caught
    in kcp skeleton, exception = java.lang.NoSuchMethodError
    [06/Sep/2001 13:41:29:7] error: Exception Stack Trace:
    java.lang.NoSuchMethodError
    at
    com.se.sales.customer.ejb_kcp_skel_CompanyHome.create__com_se_sales_c
    ustomer_Company__java_lang_Integer__indir_wstr__215617959(ejb_kcp_skel_Compa
    nyHo
    me.java:205)
    at com.kivasoft.ebfp.FPRequest.invokenative(Native Method)
    at com.kivasoft.ebfp.FPRequest.invoke(Unknown Source)
    at
    com.se.sales.customer.ejb_kcp_stub_CompanyHome.create(ejb_kcp_stub_Co
    mpanyHome.java:297)
    at
    com.se.sales.customer.ejb_stub_CompanyHome.create(ejb_stub_CompanyHom
    e.java:89)
    at
    com.se.sales.customer.CompanyServlet.doGet(CompanyServlet.java:35)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
    at
    com.netscape.server.servlet.servletrunner.ServletInfo.service(Unknown
    Source)
    at
    com.netscape.server.servlet.servletrunner.ServletRunner.execute(Unkno
    wn Source)
    at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
    at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
    at com.kivasoft.thread.ThreadBasic.run(Native Method)
    at java.lang.Thread.run(Thread.java:479)
    Caught an exception.
    java.rmi.RemoteException: SystemException: exid=UNKNOWN
    at com.kivasoft.eb.EBExceptionUtility.idToSystem(Unknown Source)
    at com.kivasoft.ebfp.FPUtility.replyToException(Unknown Source)
    at
    com.se.sales.customer.ejb_kcp_stub_CompanyHome.create(ejb_kcp_stub_Co
    mpanyHome.java:324)
    at
    com.se.sales.customer.ejb_stub_CompanyHome.create(ejb_stub_CompanyHom
    e.java:89)
    at
    com.se.sales.customer.CompanyServlet.doGet(CompanyServlet.java:35)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
    at
    com.netscape.server.servlet.servletrunner.ServletInfo.service(Unknown
    Source)
    at
    com.netscape.server.servlet.servletrunner.ServletRunner.execute(Unkno
    wn Source)
    at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
    at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
    at com.kivasoft.thread.ThreadBasic.run(Native Method)
    at java.lang.Thread.run(Thread.java:479)
    Thanks in advance
    Shravan
    Name: iplanet_app.jar
    iplanet_app.jar Type: Java Archive (application/java-archive)
    Encoding: x-uuencode
    Name: iplanet_src.jar
    iplanet_src.jar Type: Java Archive (application/java-archive)
    Encoding: x-uuencode

  • My iphone4 cannot open on screen it show usb and itunes logo...needed help urgently thanks

    suddenly my phone cannot open on the screen it just show usb and itunes logo only... needed help and solutions urgently thanks a lot

    Error 1603
    Follow the steps listed below for Error 1604. Also, discard the .ipsw file, open iTunes and attempt to download the update again. See the steps under Advanced Steps > Rename, move, or delete the iOS software file (.ipsw) below for file locations.If you do not want to remove the IPSW in the original user, try restoring in a new administrator user. If the issue remains, Eliminate third-party security software conflicts.
    Error 1604
    This error is often related to USB timing. Try changing USB ports, using a different dock connector to USB cable, and other available USB troubleshooting steps (troubleshooting USB connections. If you are using a dock, bypass it and connect directly to the white Apple USB dock connector cable. If the issue persists on a known-good computer, the device may need service.
    If the issue is not resolved by USB isolation troubleshooting, and another computer is not available, try these steps to resolve the issue:
    Connect the device to iTunes, confirm that the device is in Recovery Mode. If it's not in Recovery Mode,put it into Recovery Mode.
    Restore and wait for the error.
    When prompted, click OK.
    Close and reopen iTunes while the device remains connected.
    The device should now be recognized in Recovery Mode again.
    Try to restore again.
    If the steps above do not resolve the issue, try restoring using a known-good USB cable, computer, and network connection.

  • Dead bb curve 8520 SOS need help urgently

    hi guys
    I am experiencing several major issues
    1) my phone had been resetting itself a lot lately without reason and randomly. I then downgraded the OS from 5 to 4 then it continued to do the same so I did the removal of the vendor.xml file in the folder of my win 64 bit computer then the blackberry desktop manager, the BBSAK and the computer cannot find my phone. All it does is flash the LED several times in red and wont even restart or show some evidence of life. I have tried everything please help urgently!!!!!

    Hi and Welcome to the Community!
    Please try this sequence...note that, throughout the entire 4h15m process, your BB must remain connected to a known-good wall charger (not PC USB):
    With the battery inside, connect your BB to the wall charger
    Leave it alone for 2 hours, no matter what the LED or the display does
    Remove the battery
    Wait 15 minutes
    Insert the battery
    Wait another 2 hours, no matter what the LED or the display does
    This has been known to "kick start" some BBs.
    It is also possible that your battery or BB has experienced a problem...to test, this sequence is needed:
    Obtain a known good and already fully charged additional battery...use it in your BB and see what happens
    Obtain access to a known good and identical BB...use your battery in it and see what happens
    The results of this will indicate if it's your BB or your battery that has the problem.
    Otherwise, please try this drastic method:
    KB27956 How to recover a BlackBerry smartphone from any state
    Good luck and let us know!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • I am paying full subscription for CC and now can on signin to a trial license.  I need help urgently

    I am urgently needing help.  I am unable to use my subscription Adobe CC as I have received a notice saying I must signin a trial??  Why is this happening and what can I do.  I need assistance urgently as I am currently working on a large project with a strict deadline. 

    Hi Camera2050,
    Welcome to Adobe forum,
    Log out and log in back to CC desktop and check whether apps are showing up as install or try.
    In Case it does not work then:
    Please try the given steps:
    Reset the hosts file:
    Windows
    Choose Start > Run, type %systemroot% \system32\drivers\etc, and then press Enter.
    Right-click the hosts file and select Open. Select Notepad for the application to open the hosts file.
    Back up the hosts file: Choose File > Save As, save the file as hosts.backup, and then click OK.
    Search the hosts file for entries that reference activate.adobe.com (for example, 127.0.0.1 activate.adobe.com) and delete these entries.
    Save and close the file.
    Mac OS
    Log in as an administrator to edit the hosts file in Mac OS.
    In a Finder window, choose Go > Go To Folder.
    Type /etc.
    Select the hosts file and open it.
    Back up the hosts file: Choose File > Save As, save the file as hosts.backup, and then click OK.
    Search the hosts file for entries that reference activate.adobe.com (for example, 127.0.0.1 activate.adobe.com) and delete these entries.
    Save and close the file.
    Please refer the kb: http://helpx.adobe.com/creative-cloud/kb/ccm-prompt-serial-number.html .
    http://helpdeskgeek.com/windows-7/windows-7-hosts-file/
    Regards,
    Rajshree

  • Bootcamp Disk Failure-Need help urgently

    Hi
    I have been trying to partition my mac to use windows. Unofortunately I am not able to as everytime i click on disk partition it says disk failure check with disk utility. 4 times yesterday i had repaired my disk using disk utility.
    And everytime i had repaired and i went back to partitioning my disk, it will start to partition for a 1 min and than warning will appear to restart your computer.After restarting computer and going back to bootcamp assistant and starting all over doing the partitioning the disk failure notice pops up. and plus the freespace in the mac has been reduced.
    I have reading through most of the post that have been sent in this discussion group but none seems to help.
    I am fairly new to mac. So if you are helping me out pliz and pliz sipmlify your language so that i can understand all this computer stuff.
    And pliz explain as well if you could.Thanks.
    I need advice and help urgently as I am trying to install windows cad software that i need to start using fairly urgently

    Backup.
    Reformat.
    Restore.
    Partition.
    Invest in iDefrag; Alsoft Disk Warrior; MicroMat TechTool Pro.

  • BB Desktop Manager no longer works with Mac Maverick - Need Help Urgently

    I have been a loyal Blackberry user since the Government of Canada officially began using these cell phones. I feel, however, abandoned by Blackberry (they obviously don't believe that it is easier to retain an existing customer than acquire a new one). I'm using a Blackberry Bold (9900) with a Macbook Pro. Everything was fine until I upgraded my Mac operating system to Maverick; my Blackberry Desktop Manager no longer works, so I cannot sync the content (contacts, calendar) of my phone with my Mac, but that's not the worst of it.
    I recently had a momentary lapse and exceeded the 10 password attempts to access my phone... this accidentally wiped my phone clean... and because Desktop Manager does not work with Mac, I do not have a way to recover my data. Rogers was of no help and had Blackberry updated its desktop software months ago, as it should have, this issue would have been moot. I do not know how or why, but I was able to recover most of my data, but I'm not sure just how up-to-date tha data is and am still going through it, but I'm having issues with some functionality.
    I'm in the US for several months and have suspended my Canadian services. Prior to the wipe, I was able to use wifi on my phone to send and receive emails with no problem.  After the wipe, I can't send emails or bbms.  I checked my blackberry internet service and all email accounts are good to go. BBMs are another issue.  I need help.  Suggestions please. 

    Apple has ceased synchronization with Mavericks. The issue lies with Apple, not with the desktop software. To mitigate the lack of sync capabilities in Mavericks you can sync your contacts and calender on your Mac with the usual suspects (Yahoo, Google). Create a backup (archive) for Contacts and Calender on your Mac first, then create one of those email accouonts that allow syncing. On your 9900 and with BlackBerry provisioning enabled create the new or existing email account. See which email accounts can sync with BB, I know Yahoo is working fine. For Yahoo, get the Yahoo Calender sync (a few bucks one-off payment required), Contacts sync works off the shelf within BB. If you reset the 9900 you should be able to restore all data with BB DTM. Please note that emails you received during the 9900 reset and the date of restore will not be available on the device. You will still not be able to sync contacts/calender over BB DTM. I hope that helps.
    BlackBerry Bold 9900, Blackberry Z10 and BlackBerry PlayBook.

  • How can I delete my old iCloud account cause I forgot my password and my email has been block. Please I need help urgently

    How can I delete my old iCloud account cause I forgot my password and my email has been block. Please I need help urgently

    Contact the Apple account security team for assistance resetting your password: Apple ID: Contacting Apple for help with Apple ID account security.

Maybe you are looking for

  • Why is this error happening?

    Hello, I've noticed that Flash Catalyst CS5.5 is much more bugged than the previous version of the program. We have been working for a long time now (more than 6 months) on an interface design for a website. We're a workgroup and a developer uses Bui

  • IBook sleeps immediately and doesn't respond

    Hello all, I'm having some trouble with my iBook G4 and I was hoping someone could help. Here's the scoop: I've had the computer for about a year and a half and it's been functioning quite well for the duration of my ownership (purchased new). Unfort

  • How do I cancel Adobe Acrobat?

    How do I cancel Adobe Acrobat?

  • Track names and other data not showing up in CD burned in iTunes

    Made a playlist today from songs in my library which have all data, selected "write CD text" in the burn dialogue box,burned the CD. When I reinserted into my computer and it mounted in iTunes there was no track or other info,title was "audio CD" and

  • My updates can't be installed on my mac book pro

    My macbook pro needs some updates (java for exemple), si i ask him to search for them, he found them, i can install them. I have to restart my mac after, i m doing it, but, nothing happened, after i installed them, if i ask it for new updates, it fin