New problem from unmarshalling

I have been encountering problem with unmarshalling when trying to run my RMI server. After reading many of the similar problem threads, I've changed the way running "rmiregistry". Now, I unset CLASSPATH before running rmiregistry before running my Server.
I still get the usual unmarshalling exception
C:\java\projects\rmi_ex2>myRMIServer
C:\java\projects\rmi_ex2>java -Djava.security.policy=wideopen.policy -Djava.rmi.
server.codebase=file:/c:/java/projects/rmi_ex2/ myRMIServer
Exception occurred: java.rmi.ServerException: Server RemoteException; nested exception is:
java.rmi.UnmarshalException: error unmarshalling arguments; nested excep
tion is: java.lang.ClassNotFoundException: myRMIImpl_Stub
But I also get this from the rmiregistry window
C:\java\projects\rmi_ex2>rmiregistry
security properties not found. using defaults.
Default cache directory c:\j2sdk1.4.1\jcache not found. JAR caching disabled.
MimeTable.load: file = c:\j2sdk1.4.1\lib\content-types.properties, java.io.FileN
otFoundException: c:\j2sdk1.4.1\lib\content-types.properties
java.io.FileNotFoundException: c:\j2sdk1.4.1\lib\content-types.properties
at java.io.FileInputStream.<init>(FileInputStream.java:56)
at java.io.FileInputStream.<init>(FileInputStream.java:75)
at sun.net.www.MimeTable.load(MimeTable.java:212)
at sun.net.www.MimeTable.<init>(MimeTable.java:43)
at sun.net.www.MimeTable.getDefaultTable(MimeTable.java:52)
at sun.net.www.protocol.file.FileURLConnection.connect(Compiled Code)
at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLCon
nection.java:162)
at sun.net.www.protocol.http.HttpURLConnection.openConnectionCheckRedire
cts(Compiled Code)
at sun.applet.AppletClassLoader.loadClass(Compiled Code)
at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:630)
at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:226)
at sun.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:152)
at sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.jav
a:90)
at java.io.ObjectInputStream.inputClassDescriptor(ObjectInputStream.java
:711)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:328)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:225)
at java.io.ObjectInputStream.inputObject(Compiled Code)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:344)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:225)
at sun.rmi.registry.RegistryImpl_Skel.dispatch(RegistryImpl_Skel.java:98
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:164)
at sun.rmi.transport.Transport.serviceCall(Transport.java:154)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(Compiled Code)
at sun.rmi.transport.tcp.TCPTransport.run(Compiled Code)
at java.lang.Thread.run(Thread.java:466)
Any tips, ideas would be greatly appreciated as I have spend days on this problem!
Ku

Hi,
you should try to use:
1) Server
java -Djava.security.policy=wideopen.policy
-Djava.rmi.server.codebase=file:c:\java\projects\rmi_ex2\
myRMIServer
2) Client
java -Djava.security.policy=wideopen.policy
-Djava.rmi.server.codebase=file:c:\java\project\rmi_ex2\
RMIClient
Bye
Filippo

Similar Messages

  • New problem from "Help please-"Application Not Responding" for Safari a

    Now- when I close Font Book, my Address Book, LimeWire, and Disk Utility won't open.
    As long as I have Font Book open, they will,
    Any suggestions?
    Thanks.

    There are three Fonts folders: /System/Library/Fonts/, /Library/Fonts/, and /Home/Library/Fonts/. The first is restricted only to system access, the second to all users access, and the third to the specific user account access. You will find this similar organization for numerous folders of OS X. It's a standard hierarchy of Unix.
    Thank you for the points. If you also feel I've "solved" your problem (as well as having been helpful) you can also mark my post as "Solved." See the following:
    Why reward points?(Quoted from Discussions Terms of Use.)
    The reward system helps to increase community participation. When a community member gives you (or another member) a reward for providing helpful advice or a solution to their question, your accumulated points will increase your status level within the community.
    Members may reward you with 5 points if they deem that your reply is helpful and 10 points if you post a solution to their issue. Likewise, when you mark a reply as Helpful or Solved in your own created topic, you will be awarding the respondent with the same point values.

  • I have set up my new iPad 2 on my windowsn 7 computer, but experienced syncing problems from the start. It seems that it doesn't recognize the iPad, although it appears in iTunes.It only gives set up as new or restore options.

    I have set up my new iPad 2 on my computer (Windows 7), but experienced syncing problems from the start.  It seems that although my iPad is regognized in iTunes as it appears there, it only gives met the options to set up as a new iPad or restore from the backup, no synching options. What do I do?

    File>Devices>Transfer Purchases will transfer the itunes purchases to your ocmputer.
    You should sync your ipod to your computer regularly.

  • New problem printing from InDesign CS4 in Lion

    After having great success with Aisolve's earlier fix on printing from InDesign CS4 after upgrading to Lion, I'm having a new problems after installing the OS X 10.7.2 upgrade last week. When I try to print from  InDesign CS4 and Illustrator CS4 to my Lanier 445c/Ricoh C4500 at my workplace I get the following error message:
    "Printing Error: The Adobe Print Engine has failed to output your data due to an unknown problem."
    This seems like a different issue this time, as I'm able to print to my home printers, an HP LasertJet 2600n and an HP Photosmart C4270. I thought it might be a printer driver problems, but I've gone to Lanier's site and they don't have any new printer drivers for Mac OS X 10.7.
    I also some research on Adobe's site, and found this message affecting CS1, 2 & 3. I tried the only fix that seemed to apply to me, which was re-naming/deleting the InDesign Deafults and InDesign SavedData files. (I have this problems even when I'm printing a text-only file without any graphics.) This fix didn't work.
    I can print to the Lanier/Ricoh from Acrobat 9, and all my non-Adobe software just fine, so my work-around to date has been exporting to PDF and printing from there. My big problem is that I need the "Print Booklet" feature in InDesign for a big job I've got coming up this week. Can't do that from Acrobat. :-(
    Any help would be greatly appreciated!

    mmsteer,
    I think I may be able to help you with this problem, which I was having with CS4 when I first upgraded to Lion, and others were having with CS3. This fix is courtesy of Aisolve on these discussion boards:
    Remove the Adobe PDF PPDs from the following folders:
    OS/Library/Printers/PPDs/contents/Resources/en.lproj,
    OS/Library/Printers/PPDs/contents/Resources/Zh_CN.lproj,
    OS/Library/Printers/PPDs/contents/Resources/Ja.lproj,
    OS/Library/Printers/PPDs/contents/Resources/ko.lproj,
    OS/Library/Printers/PPDs/contents/Resources/Zh_TW.lproj,
    Be sure to go to your system Library, not your user Library.
    Also, regarding my current problem, I spoke with an Apple tech person and found that the 10.7.2 upgrade apparently is the culprit, and is incompatible with wireless printing to my Lanier printer. I CAN print connected through USB. That's a work-around for now, but I'll need to contact Lanier about upgrading their driver for OS X 10.7.2.
    Aisolve was helping me with this issue, too, and assures me that if I'm able to generate a postscript file (which I was), and able to generate a PDF by distlling it through Adobe Distiller (which I am), then I can safely assume that the problem lies with the hardware, in this case the printer driver. This lines up with what Apple told me.

  • Syncing problem with itunes after restoring to a new PC from iPod

    My old PC crashed and I copied my iTunes libray to a new PC from my iPod. The libray includes several songs taken from CD's I purchased plus several songs that I had purchased from iTunes. I also "authorized" the new PC. However, when I sync now none of the purchased songs from my new iTunes file will copy back to the iPod. It will only sync the songs from my personal CD collection. I get a message that the iPod is not authorized for these songs. Any suggestions for a fix?

    Try deauthorising your PC and authorise it over again, this can sometimes clear a "not authorised" problem: About iTunes Music Store Authorisation and Deauthorisation
    You could also have a look at this article: iPod does not play content purchased from the iTunes Music Store
    If you continue to have problems you can email Customer Services from this page, they may be able to help: iTunes Music Store - Authorization FAQ

  • Windows 8.1 PC, using reader, when searching a folder containing approx 100 doc's. If i search for a word, no results are returned. only the doc names can be found but nothing from within the doc. This is a new problem and was not the case before.

    Windows 8.1 PC, using reader, when searching a folder containing approx 100 doc's. If i search for a word, no results are returned. only the doc names can be found but nothing from within the doc.
    This is a new problem and was not the case before.

    Works perfectly fine for me with the latest Reader version (11.0.09).
    You write that it worked "before"; before what?  An update?  Update from what version to what version?

  • Elements 12 crashes in organizer every use.  Not unique to 12 an on going problem from 9 forward.  This is a new install via download, win7 64 bit.

    A long time elements user from the original.  Crash problems have escalated since elements 9 to be beyond annoying.  Reading Adobes' own forums, it is apparent I am not alone, also apparent Adobe cannot fix the problem.  Most disappointing.  A new download, from Adobe, crashed on 1st attempted opening of organizer; nor could the organizer see my card reader, once operational.  Other programs experience no such problems.  This post is more a frustration vent, than an expectation of solution.
    Thought I would give Adobe a 2nd effort to rectify/explain.  Initiated an on line chat with service rep.  Wasted 20 minutes with babble accomplishing nothing.  Was transferred to a tech rep. they asked same questions, and while I was typing in details, they severed the connection.  I wish anyone considering a purchase of any Elements version the best of luck  .Elements woes have for me been spread across 2 new computers and 3 versions of the program. There will not be another.

    Hello John
    Have you already got some answer from Toshiba?
    What to say my friend? In my opinion the best advice you can get from Corel and Adobe. They have best experience with own product and have probably tested them on different hardware platforms.
    Notebook manufacturers offer different notebook models with different hardware configurations. Some of them are cheap and offered with average hardware. The performance is not the best but good enough for every day activities like internet, office, mailing and so on.
    On other hand there are notebooks with excellent and powerful hardware. Very often such notebooks cost twice as much as cheap low budget products.
    Please dont understand me wrong but your C notebook is not the best one for usage with such powerful software.
    I really dont know what Toshiba can do about it. I can imagine that you need other graphic driver but graphic driver support for mobile computers is pretty limited and I dont think you can do much about that.
    What you can try is to download and install driver from graphic card manufacturer but you must do this on your own risk.
    Sorry friend but I dont have any other advice for you. I just think youve bought wrong notebook for such complex graphic operations. 2 GB RAM? I dont know.
    Good luck.

  • I have two new problems that started today- I can't delete drafts and I can't move emails from my inboxes to folders in mailboxesleft column ( I work on a MacBook 10.7.5- I have 2 active email accts in Apple Mail

    I have two new problems that started today- I can't delete drafts and I can't move emails from my inboxes to folders in mailboxes in the far left column. I work on a MacBook 10.7.5- I have 2 active email accts in Apple Mail. Any suggestions for steps I can take short of going to genius bar?

    However after part of the Itune update completed a message came up on the screen
    saying   "The feature you are trying to use is on a net work resource that is unavailable.
    Which particular .msi file does the message go on to say cannot be found? (Several different .msi files might be mentioned in this context: itunes.msi, bonjour.msi, AppleSoftwareUpdate.msi, etc.)

  • I have a Macbook, an iPad 2, and an iPhone 4. I also have iCloud on all three devices. For some reason I can not get new information from my contacts folder to transfer to the iPad or the iPhone. Never been a problem before.

    I have a Macbook, an iPad 2, and an iPhone 4. I also have iCloud on all three devices. For some reason I can not get new information from my contacts folder to transfer to the iPad or the iPhone. Never been a problem before.

    POP: yahoo, aol, comcast/time warnder/road runner
    Imap: google, hotmail, and more including icloud.
    If you want to use multiple devices - move to imap, I would even say "exchange", but Google does not support free exchange anymore, since January of that year. So Ironically  Icloud or Hotmail would be my choices right now.
    To find out more about what happens to you, search on Google "difference between pop and imap"

  • HT1386 purchased new songs from itunes and when I clicked on the Sync button those new songs are not added to my ipod nano. Have any idea how to resolve this problem?

    purchased new songs from itunes and when I clicked on the Sync button those new songs are not added to my ipod nano. Have any idea how to resolve this problem?

    Do you have the right boxes checked to sync the music to your iPod?
    iTunes: Syncing media content to iOS devices and iPod
    Do they play in iTunes on the computer?
    Have you successfully synced music form this iTunes library/computer before?

  • HT1296 I'm having difficulty syncing my iCal between my home computer and iPhone.  New entries from my home are not syncing with the phone and vice-versa.  I didn't have any problems with this before until the latest phone update.  Any suggestions?

    I'm having difficulty syncing my iCal between my home computer and iPhone.  New entries from my home are not syncing with the phone and vice-versa.  I didn't have any problems with this before until the latest phone update.  Any suggestions?

    It could be that the existing wire in your appartment is not clean enough to provision DSL only. When combined with the phone possibly it has a higher line voltage and worked before. Now that the line is to be provisioned without phone service it may be giving them trouble that did not show before they came out and ran the new line test. So a new jack dedecated for your DSL line may require a new wire be run to your appartment. Also the account for internet only used to require direct billing to a credit card or something else. This was a number of years ago. Most accounts are linked to a phone number, and without a voice number it adds to the confusion.
    If you are getting the voice and everything turned on as before, then I am at a loss for words.

  • Internet via Ethernet - new password from ISP, problem to connect now

    Hello folks,
    switched to Mac 1 year ago and found alot of great information in this forum. Thanks first !
    But I´m also facing a problem:
    (white iMac C2D OSx 10.4.11)
    I used to connect to the Internet via Ethernet Cable and my DSL-modem (PPPoE). iMac also connected to Internet automatically. Great so far.
    But then I got a new password from my ISP.
    I changed it in the System preferences (also checked in Keychain, correct one is in there) and now my problem:
    - when I go <...>-icon, click "open internet-connection", and then click manually "connect", my Mac connects to Internet
    - when I go to <...>-Icon, then directly click "connect" -> no connection possible -> password not accepted ?!?
    - when I activate "autmatically connect to Internet when needed" in the PPPoE options -> also not possible -> password not accepted ?!!
    Is the old password stored somewhere on my Mac? I also tried to delete my ethernet connection and set up a new one, but I´m always facing the same problem? What´s wrong here ?
    Hope you guys can help me !
    Thanks & best regards from Germany,
    Satch

    Just followed your instructions and created a new 802.1x connection, entering my data etc. When I click "connect" status says "connecting" and that´s it, nothing happens.
    What I don´t understand is, why do I have to create some sort of new and different connection. I mean, everything was working fine with "Ethernet (integrated)" until I changed that damned password. Isn´t there a possibilty that the old one was saved in a chache (or system file etc.)?
    Too bad, it´s really the first problem I face in my one year plus Mac experience!

  • HT4623 Hi I have iPhone 3GS 16gb i lost the version I put new version from the I file so i try to open AppStore icant so icant download whats app.    Real I have problem please I need download version but need what's app.    On my device how.    Please an

    Hi ihave problem my iPhone 3GS 16 gb. The problem was my mobile with version 4.3.3 so ihave problem with whatsapp I try to update so now is not working I Loss the viber and whatsapp and tango so itry to put a new version from ifile ..... Now I can't open the app store to download the application like whatsapp and viber also I loss the version 4.3.3 I need help please i need to update new version how please help me ...... Thanks apple...

    Hi ihave problem my iPhone 3GS 16 gb. The problem was my mobile with version 4.3.3 so ihave problem with whatsapp I try to update so now is not working I Loss the viber and whatsapp and tango so itry to put a new version from ifile ..... Now I can't open the app store to download the application like whatsapp and viber also I loss the version 4.3.3 I need help please i need to update new version how please help me ...... Thanks apple...

  • Adobe X Standard - New Bookmarks from Structure Problem

    Adobe X Standard.  I merged 24 separate files into a single PDF and created a bookmark for the start of each (former) PDF.  I would like to generate a sub-bookmark for the start of separate words in the pdfs.  I created TAGS for the entire document but when I click on "New Bookmarks from Structure"  and select "H2" it will only generate bookmarks for what was formerly the first PDF.  How can I generate sub-bookmarks for the remainder of the pdf?

    Make the second PDF a tagged PDF. Then combine file 1 and 2 or save as file 1 to a new PDF (file 3) into which you insert the tagged file 2 after the last page of this new PDF.
    "New Bookmarks from Strucuture" cannot add the structure; if the structure is not present or if the selected tag is not present you get no bookmarks.
    Note that to manually add tags or to use Acrobat's "make accessible" heuristics you'll need Acrobat X Pro.
    Be well...

  • Problem with "Create New Extrusion from Selected Layer" CC 2014

    Hello, I'm experienced with Photoshop but am new to 3D text in Photoshop.  I type in some text and convert to a shape.  When I choose Create New Extrusion from Selected Layer I get  dialog box I don't see in any tutorials.  It says "You are about to create a 3D layer.  Would you like to switch to the 3D workspace?  Yes/No, Don't show again."  Which should I use for 3D text? 
    If I choose Yes, all the panels go away and the content in the tool options bar (ribbon?) just under the menu bar go away.  I have to restart Photoshop to get the tool options back.  What could I be doing wrong?
    Thanks - Dave

    I just chose "No" and didn't look back.  I like my workspace just as it is, and don't prefer Photoshop to change it for me under this particular case.
    You can make the 3D panel visible yourself via Window - 3D.  I find it's a good alternate for the Actions panel, as I don't have any actions at the moment that work in the 3D world.
    The panels you'll want to see easily if you work on 3D are the 3D panel and the Properties panel, among a few others.
    Regarding getting your workspace back the way you like it...  Note the little selector near the upper-right corner of the Photoshop main window.  That can be used to select a workspace.  I suggest you experiment and get familiar with the concept of workspaces.  You can define your own and save it with a name, and that truly can be helpful.
    -Noel

Maybe you are looking for

  • How can I get the rotation information of my wrists in Kinect for Windows v2 ?

    Hi,all Assuming we make human wrist as the coordinate origin point of a three-dimensional space Cartesian coordinate, then when moving the wrist freely, what is the wrist rotation information in the coordinate system? Can kinect V2 describe it just l

  • How to put values in a HashMap dynamically using a ArrayList as 'value'

    i have to generate different maps dynamically by passing arraylist (which is also dinamically increasing) in the value. i want to use : List myList=new ArrayList(); for(..........){ Map mymap=new HashMap(); myMap.put(key, myList.add(objectBean)); ===

  • Why do some of my text messages get received "from" my email address instead of contact name?

    WHen I send text messages, sometimes my email address appears in the receipients message box instead of my contact name.  This also results in multiple people sometimes receiving the message (those set up under my apple id)...any ideas?  I'm thinking

  • CRM 2011 missing price list warning

    Hi, we have CRM 2011 instance with UR6. Recently we have upgraded into UR18. Every thing is working fine . we are getting missing price list warning at Opportunity form as MS has been added revenue field. We thought below options to turnoff warning:

  • Syntax error or access violation...

    I have recently purchased a .com and webhosting through the company hostgator.com , I am currently trying to integrate a java application thru this .com and the databases they provide me to use Anyway, here is the code I have ==== import java.sql.*;