>
> Do I understand correctly that Humphrey is usinf rmmci to access ?
>
> I did a try on that also after activating rmmci in the config and using the
> exampes from tyhe documentation. I did start a tomcat with a working mmbase
> environment.
>
> The code looks like this :
> ----------------------------------------
> user.put("username","admin");
> user.put("password","admin2k");
>
> Cloud cloud =
> ContextProvider.getCloudContext("rmi://127.0.0.1:1111/remotecontext").getCloud("mmbase","name/password",user);
>
> Node nd = cloud.getNode(123);
> -------------------------
>
> But the I get the error :
> java.lang.RuntimeException: error unmarshalling return; nested exception is:
> java.lang.ClassNotFoundException:
> org.mmbase.bridge.remote.rmi.RemoteCloudContext_Rmi_Stub
> (no security manager: RMI class loader disabled)
> at
> org.mmbase.bridge.RemoteContext.getCloudContext(RemoteContext.java:64)
> at
> org.mmbase.bridge.ContextProvider.getCloudContext(ContextProvider.java:49)
> at mmba.main(mmba.java:40)
> Exception in thread "main"
>
> I do have security active in the mmbase config.
>
> Do I need to apply addtional security changes ?
No , not that I am aware of. this message states that the remote
client is trying to load the classes over the network
(org.mmbase.bridge.remote.rmi.RemoteCloudContext_Rmi_Stub) in this
case. To prevent this you should have a copy of the classes in you
client.you at least need also need an mmbase.jar the mmbase-rmmci.jar
and as servlet.jar perhaps also the xerces and other classes used by
mmbase
greetings
_______________________________________________
Developers mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/developers