Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Mar 2000 21:49:33 +0200
From:      "Liviu Ionescu" <ilg@livius.net>
To:        "'Koster, K.J.'" <K.J.Koster@kpn.com>, <freebsd-java@FreeBSD.ORG>
Subject:   RE: RMI server registration bug?
Message-ID:  <001501bf8937$6de82440$c980e2c1@ro.eu.net>
In-Reply-To: <59063B5B4D98D311BC0D0001FA7E452201313956@l04.research.kpn.com>

next in thread | previous in thread | raw e-mail | index | archive | help
probably this was one of the VVFAQ (very-very frequently asked questions).
:-(

starting the rmiregistry with the stub in the classpath solved the problem.
the security manager was not needed.

thank you,

Liviu Ionescu


> Dear Liviu,
>
> For a list of frequently asked RMI questions you can refer to:
> http://java.sun.com/products/jdk/rmi/faq.html
>
> To view past RMI-USERS postings, see:
> http://archives.java.sun.com/archives/rmi-users.html
>
> >
> > I am using jdk1.1.8 on 3.4-RELEASE and I am constantly getting error
> > messages while trying to start a RMI server (sources are from
> > jGuru RMI
> > tutorial, downloaded from Sun):
> >
> > develop:~/java/rmi/exercises/SimpleBankingSystem/solution$ java
> > BankSystemServer
> > Failure during Name registration: java.rmi.ServerException: Server
> > RemoteException; nested exception is:
> >         java.rmi.UnmarshalException: error unmarshalling
> > arguments; nested
> > exception is:
> >         java.lang.ClassNotFoundException: BankManagerImpl_Stub
> >
> Have you started the RMI registry without the stub in the
> class path? (I
> start it in /tmp, usually).
>
> Can you download the stub from the code base using a web browser?
>
> Have you set an RMI security manager?
>
>     Kees Jan
>
> ==============================================
>  You are only young once,
>       but you can stay immature all your life
>



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001501bf8937$6de82440$c980e2c1>