Remote deploy RMI problem
Background: FraSCAti is embedded in a distributed application that uses RMI as the communication method
If a FraSCAti instance is initialized/started in an object/class/JVM that already used some RMI client calls, remote deploy SCA RMI client component to that instance will fail (it throws a java.lang.ClassNotFoundException of the remote interface class)
However, if a remote deployment of SCA RMI components is performed before calling the RMI client calls, the following remote deployments of SCA RMI components could success.
I am not sure that this is a bug or I have some wrong configurations, but I can reproduce the error.
Some settings:
- RMI of my own application and the SCA components are using different ports
- RMI calls of my own application are performed in different JVMs
- All tested in a local machine
Thank you.