From: Jan M. <ja...@ya...> - 2007-08-29 15:10:47
|
Hi All,=0A=0APlease refer to an earlier mail/help request from Wayne on 23r= d August, regarding ftp/telnet help. Now it is fine on one machine (LabPC-1= 4) but with the other which I am trying to configure/test for FTP/Telent.= =0AI can make telnet and FTP to the Labpc-18 (which is server running Telne= t and FTP servers). Also the 'sfdaemon' running perfectly; =0ABut when I tr= y to run the command:=0A=0A[root@labpc-15 examples]# sfStart localhost r2 = grid.sf =0A=0AThe Errot I get is:=0A_______________________________________= _______________________________________=0A2007/08/29 15:26:59:733 BST [WARN= ][main] SFCORE_LOG - SmartFrog security is NOT active=0ASmartFrog 3.10.016= =0A(C) Copyright 1998-2006 Hewlett-Packard Development Company, LP=0A - FAI= LED when trying DEPLOY of 'r2', [grid.sf], host:localhost=0A Result:= =0A * Exception: 'SmartFrogDeploymentException: unnamed component. dep= loying description 'grid.sf' for 'r2'=0A cause: SmartFrogResolutionE= xception::=0A Cause: Error creating parser for 'grid.sf'. Parser = error [SmartFrogParseException:: org.smartfrog.sfcore.languages.sf.ParseExc= eption: Parsing include file org/smartfrog/services/net/ftp.sf : Include fi= le: org/smartfrog/services/net/ftp.sf not found, cause: org.smartfrog.sfcor= e.languages.sf.ParseException: Parsing include file org/smartfrog/services/= net/ftp.sf : Include file: org/smartfrog/services/net/ftp.sf not found]=0A = deployedContext: included'=0A=0A____________________________________= ________________________________________ =0A_______________________________= _____________________________________________=0A=0AThe FTPexample and Telne= texample.sf files are:=0A_________________=0A=0AFTP.sf :=0A =0A#include "o= rg/smartfrog/components.sf"=0A#include "org/smartfrog/services/net/ftp.sf"= =0A =0AsfConfig extends Compound {=0A sampleFTPClient extends FTPClient = {=0A PasswordProvider:passwordFile "/usr/local/passwd.txt";=0A = FTP:transferType "put";=0A FTP:ftpHost "labpc-18.nesc.= gla.ac.uk";=0A FTP:username "jan";=0A FTP:localFiles = ["/usr/local/hello.txt"];=0A FTP:remoteFiles ["/home/jan/hello.t= xt"],=0A =0A }=0A}=0A =0A=0A________________= _______________________________=0A=0ATelnet.sf File:=0A =0A#include "org/sm= artfrog/components.sf"=0A#include "org/smartfrog/services/net/telnet.sf"=0A= =0AsfConfig extends Compound {=0A sampleTelnet extends TelnetSession {= =0A PasswordProvider:passwordFile "/usr/local/passwd.txt";=0A = Telnet:commands ["cd /home/jan",=0A "mkdir test",= =0A "ll" =0A ];=0A Telnet:host= "labpc-18.nesc.gla.ac.uk";=0A Telnet:username "jan";=0A = Telnet:ostype "linux";=0A }=0A}=0A=0A=0A____________________________= _____________________________=0A=0ASo what could be the possible solution?= =0A=0A-Jan Muhammad=0A=0A=0A =0A_____________________________________= _______________________________________________=0ABe a better Heartthrob. G= et better relationship answers from someone who knows. Yahoo! Answers - Che= ck it out. =0Ahttp://answers.yahoo.com/dir/?link=3Dlist&sid=3D396545433 |