----- Original Message ----- From: "Ken Geis" <[EMAIL PROTECTED]> To: "Eung-ju Park" <[EMAIL PROTECTED]> Sent: Wednesday, July 31, 2002 10:18 AM Subject: Re: RMIfication bug?
> Eung-ju Park wrote: > > ----- Original Message ----- > >>Hi. I was playing around with the Cornerstone RMIfication block. I had > >>a problem that the LocateRegistry.createRegistry call was failing > >>because of a pre-existing registry. I'm guessing that the first > >>registry was started by the kernel for JMX use. Replacing > >>createRegistry with getRegistry works, but I don't know if getRegistry > >>will locate a registry outside the local VM (which may not be desired.) > > > > > > How about RMIfication with another port? > > Try to specify port number. > > I specified the port number, but I still get the error. > > -------------------------------------------------------------- > > Caused by: java.rmi.server.ExportException: internal error: ObjID > already in use > at sun.rmi.transport.ObjectTable.putTarget(ObjectTable.java:168) > at sun.rmi.transport.Transport.exportObject(Transport.java:69) > at > sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:190) > at > sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.java:382) > at sun.rmi.transport.LiveRef.exportObject(LiveRef.java:116) > at > sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:145) > at sun.rmi.registry.RegistryImpl.setup(RegistryImpl.java:92) > at sun.rmi.registry.RegistryImpl.<init>(RegistryImpl.java:78) > at > java.rmi.registry.LocateRegistry.createRegistry(LocateRegistry.java:164) > at > org.apache.avalon.cornerstone.blocks.rmification.DefaultRMIfication.initiali ze(DefaultRMIfication.java:57) > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
