This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Svelte and Sapper in Action and have Mark Volkmann on-line!
See this thread for details.
Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Unmarshal Exception - Class not found

 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I get a class not found exception when I try to run my client. The RMI server starts correctly but it apparently cannot find the stub file to return when the client makes a call. I think it is my codebase parameter but I can't figure it out. If I put the stub class in the path with the client it works correctly.
If the stub class is in a package suncertify.db.Data_Stub and located at c:\test\suncertify\db\Data_Stub.class, shouldn't the value of the codebase be:
-Djava.rmi.server.codebase=file:/c:\test\
And just in case I am completely off target, the codebase is supplied to the server, not the client, right?
 
Get out of my mind! Look! A tiny ad!
the value of filler advertising in 2020
https://coderanch.com/t/730886/filler-advertising
    Bookmark Topic Watch Topic
  • New Topic