Has anyone tried this before?
From: Sanjay Dahiya [mailto:dahiya@...]
Sent: Tuesday, August 03, 2004 4:17 PM
To: Ashish Awasthi
Cc: grid@...; smartfrog@...
Subject: Re: turn off RMI from smartfrog
I wrote a new RootLocator - LocalRootLocator, to avoid RMI and tried
this, but it still fails .. follows why
org.smartfrog.code.security contains direct references to
SFRMIClassLoader which extends RMIClassLoaderSPI, which again conflicts
with security settings.
same is there is SFSystem and SFProcess.
these class names are not picked up from any .sf file so i cant change
these easily, i'll need to completely override the security package of
smartfrog to do this.
it would have helped if these classes were picked from a factory
interface or .sf or something like that.
so this actually means even if I change the transport, the security
infrastructure/classloaders remains the same and it wont work with the
or I if i missed something please correct me.
Ashish Awasthi wrote:
>SmartFrog framework allows you to override "default" transport mechanism.
>You can do that by providing your implementation of "RootLocator"
>Default implementation of RootLocator interface is "DefaultRootLocatorImpl"
>which binds ProcessCompound to a RMI registry and then uses the same to
>locate the root SmartFrog component in a host. Feel free to ask questions
>you don't understand the terms I used in this mail.
>All these classes are available under org/smartfrog/sfcore/processcompound
>Hope it helps.
>From: Ritu Sabharwal [mailto:ritu@...]
>Sent: Tuesday, August 03, 2004 11:40 AM
>To: dahiya@...; smartfrog@...
>Subject: RE: turn off RMI from smartfrog
>You try to use sfRun to deploy your application. sfRun creates a daemon
>locally with can be used to run applications that do nopt require to locate
>other nodes using the registry.
>Reference : sfUserManual for sfRun
>From: Sanjay Dahiya [mailto:dahiya@...]
>Sent: Monday, August 02, 2004 8:44 PM
>Subject: turn off RMI from smartfrog
>Thanks for all your help with smartfrog.
>I am able to deploy an application with smartfrog, Also I am able to
>deploy smartfrog with webstart,
>the problem now is of RMI. default webstart security doesnt allow
>smartfrog to open a connection (RMI) and
>since I dont need the RMI thingie, I would like to turn this off. at
>present smartfrog fails with securityException when launched through
>otherwise the option would be to sign the smartfrog jars with a digital
>certificate and give them full permissions on the system, which is
>something i want to avoid.