RMI tutorial troubles

Discussion in 'Java' started by amenodesert@hotmail.com, Aug 23, 2003.

  1. Guest

    Hi all,

    I'm trying to run the tutorial example on
    http://www.doc.ic.ac.uk/csg/java/1.3docs/guide/rmi/activation/activation.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
    , Aug 23, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Jun
    Replies:
    0
    Views:
    1,558
  2. Buu Nguyen

    RMI, JINI or RMI/IIOP

    Buu Nguyen, Aug 25, 2004, in forum: Java
    Replies:
    1
    Views:
    561
    Sudsy
    Aug 25, 2004
  3. JScoobyCed

    RMI Vs RMI over IIOP

    JScoobyCed, Jan 28, 2005, in forum: Java
    Replies:
    1
    Views:
    736
    Dag Sunde
    Jan 28, 2005
  4. Jan Schulze
    Replies:
    1
    Views:
    569
    Esmond Pitt
    Mar 26, 2005
  5. Pkid

    RMI tutorial

    Pkid, Jan 21, 2007, in forum: Java
    Replies:
    3
    Views:
    522
Loading...

Share This Page