AHHH why is this happening to me. "STUB NOT FOUND"

Cannot create remote server
objectjava.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
java.lang.ClassNotFoundException: RemoteServer_Stub
Arhhhhhhhhhhhhhh why does it not work. The Stub is in the same folder as the RemoteServer class.
I am new to RMI so there must be something obvious i have missed out. It keeps on saying that it cannot find the stub class. The Stub class is in the same folder as the normal class and the classpath is set!!!!
WHAT IS GOING ON?????????????
Please help,
Manny thanks,
Me

I've got this error several times. When you start running your program your command will look something like this (on UNIX):
java -classpath /jars/x.jar:/jars/y.jar -Djava.rmi.codebase=file:/export/home/guy_t/
com.foo.bar.MainClass
Now, look at the codebase property in the command - it's signifying a directory - in fact, it's signifying a directory on the disk which is used at runtime to load classes. hence, ensure that your stubs are in the codebase and thing will work just fine.
ON Solaris, I found that you cannot put multiple entries in the codebase property, so you may have to unjar your jar files there.
HTH,
Chetan
Cannot create remote server
objectjava.rmi.ServerException: RemoteException
occurred in server thread; nested exception is:
java.rmi.UnmarshalException: error
: error unmarshalling arguments; nested exception is:
java.lang.ClassNotFoundException:
eption: RemoteServer_Stub
Arhhhhhhhhhhhhhh why does it not work. The Stub is in
the same folder as the RemoteServer class.
I am new to RMI so there must be something obvious i
have missed out. It keeps on saying that it cannot
find the stub class. The Stub class is in the same
folder as the normal class and the classpath is
set!!!!
WHAT IS GOING ON?????????????
Please help,
Manny thanks,
Me

Similar Messages

  • I am getting a 'MIDI timeout' error message when I open garageband. I am not using any other apps so why is this happening. Restarting does not solve the issue.

    I am getting a 'MIDI timeout' error message when I open garageband. I am not using any other apps so why is this happening. Restarting does not solve the issue.

    I should also add that I am using core audio, no external MIDI device and Garageband v 6.0.5. Thanks

  • Why is this happening? pixellated screen, not rebooting

    This all it is seem to do. Day and Night. Doesnt reboot, doesnt do anything else. Doesnt charge. Randomly this happened. Explain someone please?

    I don't know what's doing that, but resetting your iPad back to its factory default mode can't hurt, and can actually help. I hope you've got your backups, so you don't lose your information.
    Back up and Restore your iOS Device with iCloud or iTunes
    http://support.apple.com/kb/ht1766
    iTunes: About iOS Backups
    http://support.apple.com/kb/ht4946
    Use iTunes to Restore your iOS Device to Factory Settings
    http://support.apple.com/kb/ht1414
    If you can't Update or Restore your iPhone, iPad or iPod
    http://support.apple.com/kb/HT1808

  • When I scroll over content there seems to be "pop-ups" that come about. Why is this happening with FireFox and not I. E. ? How do I fix the problem?

    I'm using Firefox as my browser, the web content has content that is double underlined and when I scroll over it it pops an image up or some other sign up stuff. How do I prevent this from happening?

    Most likely caused by one of your extensions. If the above doesn't get rid of it, check here next:
    orange Firefox button (or Tools menu) > Add-ons > Extensions category
    Bear in mind that's it's probably not clearly labeled "annoying advertising" but may have an unrelated or innocent-sounding name. Disable everything that you do not use daily; if in doubt disable. Then use one of the links that appears above a disabled extension to restart Firefox and see whether that helps.

  • TS1538 I have updated both my Itune and Ipad mini , however, when I click on the device icon (beside itune store), it disappear. Why does this happen?

    I have updated both my Itune and Ipad mini , however, when I click on the device icon (beside itune store), it disappear. Why does this happen?

    I'm not sure why this would happen. But I think I did see another post a week or two ago about this. Have you tried rebooting your computer and resetting your iPad.
    To reset your device. Press and hold the Home and Sleep buttons simultaneously ignoring the red slider should one appear until the Apple logo appears. Let go of the buttons and let the device restart. See if that fixes your problem.

  • HT1349 I can not run the scanner in my main user, but only the second user and the same thing with updating apps! Why is this happening???

    I can not run the scanner in my main user, but only the second user and the same thing with updating apps! Why is this happening???

    Welcome to the Apple Community.
    Enter the details of her second account at system preferences> mail, contacts & calendars.

  • I cannot send an email from my iPad 2? No problem receiving, why does this happen? Have tried the suggestions for setting up email and after doing the sync mail through iTunes receiving worked great but still cannot send? Any help would be great

    I cannot send an email from my iPad 2? No problem receiving, why does this happen? Have tried the suggestions for setting up email and after doing the sync mail through iTunes receiving worked great but still cannot send? Any help would be great!

    The fact that you can receive means you have a valid e mail address, and have established the connection to the incoming server, so all of that works.  Since the send does not work, that means your outgoing server is rejecting whatever settings you used formthe outgoing set up.  Try them again. 
    Google your particular isp, and ipad and many times you will find the exact settings needed for your isp.  Or tell us here, and soneone else may be on the same isp.  Some mail services need you to change a port, or have a unique name for the outgoing server.  
    Kep trying.

  • All my excel files were converted to pdf. Why would this happen and how do i stop it from doing so?

    All my excel files were converted to pdf. Why would this happen and how do i stop it from doing so?

    shloimypt wrote:
    All my excel files were converted to pdf. Why would this happen and how do i stop it from doing so?
    Relax, they weren't converted to PDF.
    You can tell by right clicking ANY of them and choosing "Properties". You'll see there that they're STILL .xls or .xlsx files. The "association" has changed and Windows now indicates that they open with Reader, which isn't right.
    Where it says "Open With" under the General tab, you can click "Change" and re-select Excel as the default app to open thim.
    See: http://helpx.adobe.com/acrobat/kb/application-file-icons-change-acrobat.html

  • I am trying to use macro express and adobe acrobat 9 profession keeps shutting down, why is this happening?  I tried to run as administrator already as well on both Macro Express and in Adobe and it still keeps shutting down.

    I am trying to use macro express and adobe acrobat 9 profession keeps shutting down, why is this happening?  I tried to run as administrator already as well on both Macro Express and in Adobe and it still keeps shutting down.

    same problem, it's been happening to me for a week or two now i'm thinking about backing up my documents and just wiping it completely, see if that works. Has anyone else tried this? I'm loosing time and have already lost a good few hours of work as it just crashes randomly. need help!!!
    - saving these threads on my favourites cause i'm about to crash . . .

  • Yahoo email account on iphone 4s error message MFMessageError Domain error 1032 keeps coming up trying to log into my email. Why does this happen?

    I'm trying to log in to my yahoo email account on iphone 4s and the error message MFMessage Domain error 1032 keeps on coming up. Why is this happening and how can I fix it?

    What worked for me was resetting my password on my email then rebooted my iPhone 4S.

  • My Ipod Touch conects to my wi-fi, but when I open safari, or any other app that needs internet, it doesnt work. what should I do and why is this happening?

    My sister bought me an ipod touch less than a month ago. when he first came, he was conecting normal to my wifi, but today, he isnt. I use the same wifi at my laptop, and its perfectly working. My ipod identify the network, conects to it, but when I open an app that needs it, it doesnt work. What should I do?
    And why is this happening?

    - Reset the iPod. Nothing will be lost
    Reset iPod touch:  Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Power off and then back on your router
    - Reset network settings: Settings>General>Reset>Reset Network Settings
    - iOS: Troubleshooting Wi-Fi networks and connections

  • HT201317 My photos are syncing from my iPhone, to the iCloud PhotoStream and to our iPad, but it is no longer syncing to my computer (Microsoft, not Apple).   Why would this happen and how can I get it resolved?

    My photos are syncing from my iPhone to the iCloud PhotoStream and to our iPad, but they are no longer syncing to our home computer (Microsoft operating system, not Apple).   Why would this happen and how can I get it resolved?  I have since tried to remove and reinstall the iCloud application in my computer's control panel.  I have verified that I am using the latest Apple operating system and the latest iTunes.  I have reset my photo stream.  Not sure what else to try...   I was also having an issue with my calendar where it would sync from my computer to my iPhone but not vice versa.  Somehow in all the resetting that's resolved, but the photo issue is not.   Again - photos are going into the photostream, but not wirelessly being put into the file on my computer.

    To change the iCloud ID on your device you have to go to Settings>iCloud, tap Delete Account, provide the password to turn off Find My iPhone when prompted, then sign back in with the ID you wish to use.

  • I have a 2 different .me e-mail accounts I was able to use one in my new mac but I can't create the other. Why is this happening? What can I do to enable de second one.

    Hi, my wife has 2 different .me e-mail accounts. She uses one of them on her old mac-mini, that account was .mac and then updated to .me, and so she sends and gets mail there. Now she a new mac mini and she is using her second .me account on the new mac but when I try to open (create) other it won't let me. In other words she wants both of the accounts to be on the same computer (the new mac mini) since she wants to to sell the old one. I don't have much experience with Mac and all this ID thing has me confused. Why is this happening? What can I do to enable de second mail account on the same computer?

    Welcome to the Apple Community.
    Enter the details of her second account at system preferences> mail, contacts & calendars.

  • My MacBook Pro (Mountain Lion) seems to be making copies of files in my download folder.  Why is this happening and how do I stop it?

    My MacBookPro with Mountain Lion seems to be making copies of files in my download folder.  Why is this happening and how do I stop it?

    This issue has nothing to do with Time Machine or local snaphsots. No built-in feature of OS X does what you describe.
    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It won’t solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    Third-party system modifications are a common cause of usability problems. By a “system modification,” I mean software that affects the operation of other software — potentially for the worse. The following procedure will help identify which such modifications you've installed. Don’t be alarmed by the complexity of these instructions — they’re easy to carry out and won’t change anything on your Mac. 
    These steps are to be taken while booted in “normal” mode, not in safe mode. If you’re now running in safe mode, reboot as usual before continuing. 
    Below are instructions to enter some UNIX shell commands. The commands are harmless, but they must be entered exactly as given in order to work. If you have doubts about the safety of the procedure suggested here, search this site for other discussions in which it’s been followed without any report of ill effects. 
    Some of the commands will line-wrap or scroll in your browser, but each one is really just a single line, all of which must be selected. You can accomplish this easily by triple-clicking anywhere in the line. The whole line will highlight, and you can then either copy or drag it. The headings “Step 1” and so on are not part of the commands. 
    Note: If you have more than one user account, Step 2 must be taken as an administrator. Ordinarily that would be the user created automatically when you booted the system for the first time. The other steps should be taken as the user who has the problem, if different. Most personal Macs have only one user, and in that case this paragraph doesn’t apply. 
    Launch the Terminal application in any of the following ways: 
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.) 
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens. 
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid. 
    When you launch Terminal, a text window will open with a line already in it, ending either in a dollar sign (“$”) or a percent sign (“%”). If you get the percent sign, enter “sh” and press return. You should then get a new line ending in a dollar sign. 
    Step 1 
    Triple-click the line of text below to select it:
    kextstat -kl | awk '!/com\.apple/{printf "%s %s\n", $6, $7}' 
    Copy (command-C) the selected text to the Clipboard. Then click anywhere in the Terminal window and paste (command-V). Post the lines of output (if any) that appear below what you just entered. You can do that by copy-and-paste as well. Omit the final line ending in “$”. No typing is involved in this step.
    Step 2 
    Repeat with this line:
    sudo launchctl list | sed 1d | awk '!/0x|com\.(apple|openssh|vix)|edu\.mit|org\.(amavis|apache|cups|isc|ntp|postfix|x)/{print $3}' 
    This time, you'll be prompted for your login password, which you do have to type. It won't be displayed when you type it. You may get a one-time warning not to screw up. You don't need to post the warning. 
    Note: If you don’t have a login password, you’ll need to set one before taking this step. If that’s not possible, skip to the next step. 
    Step 3
    launchctl list | sed 1d | awk '!/0x|com\.apple|edu\.mit|org\.(x|openbsd)/{print $3}' 
    Step 4
    ls -1A /e*/mach* {,/}L*/{Ad,Compon,Ex,Fram,In,Keyb,La,Mail/Bu,P*P,Priv,Qu,Scripti,Servi,Spo,Sta}* L*/Fonts 2> /dev/null  
    Important: If you formerly synchronized with a MobileMe account, your me.com email address may appear in the output of the above command. If so, anonymize it before posting. 
    Step 5
    osascript -e 'tell application "System Events" to get name of every login item' 2> /dev/null 
    Remember, steps 1-5 are all copy-and-paste — no typing, except your password. Also remember to post the output. 
    You can then quit Terminal.

  • When my 6 year old daughter plays the free games that I have downloaded for her IPAD and IPOD, I am now getting upgrade charges on these free games to my AMEX Card. WHy is this happening and how do I get my AMEX card off of the IPAD and IPOD?

    When my 6 year old daughter plays the free games that I have downloaded for her IPAD and IPOD, I am now getting upgrade charges on these free games to my AMEX Card. Why is this happening and how do I get my AMEX card off of the IPAD and IPOD?

    She is making in app purchases. Probably not knowing what that means to your monthly credit card bill. Use the Settings app to enable restrictions and turn on restrictions for iTunes, App Store and in app purchases, mabe some others too. The restrictions will be set with a passcode to prevent your daughter from changing them.
    Settings > General > Restrictions

Maybe you are looking for