Anders Hessellund Jensen wrote:
The RMI implementation used is defined by system properties. You need to set the following:

javax.rmi.CORBA.PortableRemoteObjectClass=org.apache.yoko.rmi.impl.PortableRemoteObjectImpl
javax.rmi.CORBA.StubClass=org.apache.yoko.rmi.impl.StubImpl
javax.rmi.CORBA.UtilClass=org.apache.yoko.rmi.impl.UtilImpl
Great, exactly what I needed.

I think it is going to require som effort to get the RMI implementation to work in an application server context, though. I'm not aware of what exactly is involved.

I suspect that work is already done in Geronimo. It was overriding javax.rmi.CORBA.UtilClass to create the RMI hooks. The PortableRemoteObjectClass and StubClass were just left to be Sun's.

Rick

Best regards,
Anders

Rick McGuire wrote:
My work on replacing the Sun ORB in the Geronimo code has finally pushed into Geronimo's interactions with RMI. It appears that the JVM is still using Sun's RMI code, and I probably should be switching to the Yoko RMI implementation. In particular, the default javax.rmi.CORBA.UtilClass implementation is highly Sun ORB specific, so I need to switch this to a Yoko equivalent. I've not found any docs in the build yet describing how to switch the RMI implementation. How do I do this?

Rick



Reply via email to