🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #8680

How to stop a registry

#8680
From: Scott Yaung
Date: Tue, 06 Mar 2001 17:40
9 lines
1184 bytes
Hi ,
  Here I want to stop a RMI registry ,after do like this:
 Registry myreg=locateRegistry.createRegistry(int portno);
I want to stop it after the rmi usage finished , I set myreg=null,then call
gc()
the port is still listening !
So how can I stop it form listening?

B.R.
Technical Details
Message-ID: <9837da$8fn2@bornews.inprise.com>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!colt.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!bornews.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,bd7d9d02be958b80,start
X-Google-Attributes: gidf74b3,public
X-Google-ArrivalTime: 2001-03-06 09:43:51 PST
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!colt.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!bornews.borland.com!not-for-mail
From: "Scott Yaung" <gzscott@21cn.com>
Newsgroups: borland.public.jbuilder.java.language
Subject: How to stop a registry
Date: Tue, 6 Mar 2001 12:40:39 -0500
Organization: Another Netscape Collabra Server User
Lines: 14
Message-ID: <9837da$8fn2@bornews.inprise.com>
NNTP-Posting-Host: ip144.toronto102.dialup.canada.psi.net
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2615.200
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200