Hi,
Iam noob in SmartFrog and need help. I want that some script execute on many
nodes.
This is my code that should create the first folder on localhost and the
second folder on another host:


#include "org/smartfrog/services/shellscript/components.sf"

#include "org/smartfrog/components.sf"

my_Script extends Script{

shell LAZY ROOT:Shell;

startScript["mkdir c:\\dir1"];

}

sfConfig extends Compound{

Shell extends WinXPShell;

Create_Dir_1 extends my_Script{
sfProcessHost "localhost"
}

Create_Dir_2 extends my_Script{

sfProcessHost "*some ip-address*"

startScript["mkdir c:\\dir2"];

}

}

SmartFrog gives next exception:

[ProcessName(127.0.0.1)] OUT > * Exception: 'SmartFrogDeploymentException:
HERE ProcessName failed to deploy 'Install_Nod_2' component.
java.rmi.ConnectException: Connection refused to host: *some ip-address*;
nested exception is:
[ProcessName(127.0.0.1)] OUT > java.net.ConnectException: Connection timed
out: connect
[ProcessName(127.0.0.1)] OUT > cause: java.rmi.ConnectException: Connection
refused to host: *some ip-address*; nested exception is:
[ProcessName(127.0.0.1)] OUT > java.net.ConnectException: Connection timed
out: connect'


Say please whats wrong with my code.

And in the future I want to automate installation of programs with *.msi
installator with help of SmartFrog. Can you advise something on this point?

Alex
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Smartfrog-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/smartfrog-users

Reply via email to