WinXPShell and nodes
Александр Поляков <[email protected]> Wed, 30 Jun 2010 21:13:09 +0600
| Newsgroups | gmane.comp.java.smartfrog.user |
|---|---|
| Message-ID | <[email protected]> |
--===============2810532561441930883==
Content-Type: multipart/alternative; boundary=0016e655145ab00c62048a40ca02
--0016e655145ab00c62048a40ca02
Content-Type: text/plain; charset=ISO-8859-1
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
--0016e655145ab00c62048a40ca02
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
<br>Hi,<br>Iam noob in SmartFrog and need help. I want that some script exe=
cute on many nodes.<br>This is my code that should create the first folder =
on localhost and the second folder on another host:<br><br><br>#include &qu=
ot;org/smartfrog/services/shellscript/components.sf"<br>
<br>#include "org/smartfrog/components.sf"<br><br>my_Script exten=
ds Script{<br><br>shell LAZY ROOT:Shell; <br><br>startScript["mkdir c:=
\\dir1"]; <br><br>}<br><br>sfConfig extends Compound{ <br><br>Shell ex=
tends WinXPShell;<br>
<br>Create_Dir_1 extends my_Script{<br>sfProcessHost "localhost" =
<br>}<br><br>Create_Dir_2 extends my_Script{<br><br>sfProcessHost "*so=
me ip-address*"<br><br>startScript["mkdir c:\\dir2"];<br>
<br>}<br><br>}<br><br>SmartFrog gives next exception: <br><br>[ProcessName(=
127.0.0.1)] OUT > * Exception: 'SmartFrogDeploymentException: HERE P=
rocessName failed to deploy 'Install_Nod_2' component. java.rmi.Con=
nectException: Connection refused to host: *some ip-address*; nested except=
ion is: <br>
[ProcessName(127.0.0.1)] OUT > java.net.ConnectException: Connection tim=
ed out: connect<br>[ProcessName(127.0.0.1)] OUT > cause: java.rmi.Connec=
tException: Connection refused to host: *some ip-address*; nested exception=
is: <br>
[ProcessName(127.0.0.1)] OUT > java.net.ConnectException: Connection tim=
ed out: connect'<br><br><br>Say please whats wrong with my code.<br><br=
>And in the future I want to automate installation of programs with *.msi i=
nstallator with help of SmartFrog. Can you advise something on this point?<=
br>
<br>Alex<br>
--0016e655145ab00c62048a40ca02--
--===============2810532561441930883==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
------------------------------------------------------------------------------
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
--===============2810532561441930883==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Smartfrog-users mailing list
Smartfrog-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/smartfrog-users
--===============2810532561441930883==--