From owner-freebsd-java Wed Mar 8 11:49:46 2000 Delivered-To: freebsd-java@freebsd.org Received: from boca.livius.net (boca.RO.EU.net [193.226.128.210]) by hub.freebsd.org (Postfix) with ESMTP id 771D537B57E for ; Wed, 8 Mar 2000 11:49:42 -0800 (PST) (envelope-from ilg@livius.net) Received: from ilglibretto (ilg-pc.ro.eu.net [193.226.128.201]) by boca.livius.net (8.9.2/8.9.1) with SMTP id XAA53334; Wed, 8 Mar 2000 23:47:32 +0200 (EET) (envelope-from ilg@livius.net) From: "Liviu Ionescu" To: "'Koster, K.J.'" , Subject: RE: RMI server registration bug? Date: Wed, 8 Mar 2000 21:49:33 +0200 Message-ID: <001501bf8937$6de82440$c980e2c1@ro.eu.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2377.0 In-Reply-To: <59063B5B4D98D311BC0D0001FA7E452201313956@l04.research.kpn.com> X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Importance: Normal Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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