While not solving the bug. One thing I would love to see is to someone take the ideas/code discussed in

http://www.javalobby.org/threadMode2.jsp?forum=17&thread=4619&start=0

And then reimplement RMIfication in terms of that. That way you would not need to ever do any rmic compilation or anything to get export objects. They could automatically get exported. It would even be possible to export objects without RemoteExceptions to enable interoperability between this stuff and the AltRMI stuff.

Thoughts?

At 10:40 AM 7/31/2002 +0900, you wrote:

----- 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]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>



Reply via email to