Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > RMI tutorial troubles

Reply
Thread Tools

RMI tutorial troubles

 
 
amenodesert@hotmail.com
Guest
Posts: n/a
 
      08-23-2003
Hi all,

I'm trying to run the tutorial example on
http://www.doc.ic.ac.uk/csg/java/1.3...ivation.1.html
but when starting the server I always get a ClassNotFoundException :

Exception in thread "main" java.lang.NoClassDefFoundError:
examples/activation/Setup

All classes including stub and skeleton are located at :
j:/app/prj/activation/classes

This is how I start the Setup :

C:\>J:\app\lib\j2sdk-1.3.1_06\bin\java
-Djava.security.policy=j:/app/prj/activation/policy
-Djava.rmi.server.codebase=file:///j:/app/prj/activation/classes/
examples.activation.Setup

What am I doing wrong here? Please help me with this one.

Kind regard and thanks for reading
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
RMI tutorial Pkid Java 3 01-21-2007 07:45 PM
Why does java.rmi.Naming not implement interface java.rmi.Registry? Jan Schulze Java 1 03-26-2005 07:45 AM
RMI Vs RMI over IIOP JScoobyCed Java 1 01-28-2005 09:54 AM
RMI, JINI or RMI/IIOP Buu Nguyen Java 1 08-25-2004 11:28 AM
RMI tutorial - got "acceenied" exception Jun Java 0 10-30-2003 09:42 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57