SmartFrogDeploymentException Help!!
Jan Muhammad <janmuhd-/[email protected]> Wed, 29 Aug 2007 08:10:39 -0700 (PDT)
| Newsgroups | gmane.comp.java.smartfrog.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi All,
Please refer to an earlier mail/help request from Wayne on 23rd August, regarding ftp/telnet help. Now it is fine on one machine (LabPC-14) but with the other which I am trying to configure/test for FTP/Telent.
I can make telnet and FTP to the Labpc-18 (which is server running Telnet and FTP servers). Also the 'sfdaemon' running perfectly;
But when I try to run the command:
[root@labpc-15 examples]# sfStart localhost r2 grid.sf
The Errot I get is:
______________________________________________________________________________
2007/08/29 15:26:59:733 BST [WARN ][main] SFCORE_LOG - SmartFrog security is NOT active
SmartFrog 3.10.016
(C) Copyright 1998-2006 Hewlett-Packard Development Company, LP
- FAILED when trying DEPLOY of 'r2', [grid.sf], host:localhost
Result:
* Exception: 'SmartFrogDeploymentException: unnamed component. deploying description 'grid.sf' for 'r2'
cause: SmartFrogResolutionException::
Cause: Error creating parser for 'grid.sf'. Parser error [SmartFrogParseException:: org.smartfrog.sfcore.languages.sf.ParseException: Parsing include file org/smartfrog/services/net/ftp.sf : Include file: org/smartfrog/services/net/ftp.sf not found, cause: org.smartfrog.sfcore.languages.sf.ParseException: Parsing include file org/smartfrog/services/net/ftp.sf : Include file: org/smartfrog/services/net/ftp.sf not found]
deployedContext: included'
____________________________________________________________________________
____________________________________________________________________________
The FTPexample and Telnetexample.sf files are:
_________________
FTP.sf :
#include "org/smartfrog/components.sf"
#include "org/smartfrog/services/net/ftp.sf"
sfConfig extends Compound {
sampleFTPClient extends FTPClient {
PasswordProvider:passwordFile "/usr/local/passwd.txt";
FTP:transferType "put";
FTP:ftpHost "labpc-18.nesc.gla.ac.uk";
FTP:username "jan";
FTP:localFiles ["/usr/local/hello.txt"];
FTP:remoteFiles ["/home/jan/hello.txt"],
}
}
_______________________________________________
Telnet.sf File:
#include "org/smartfrog/components.sf"
#include "org/smartfrog/services/net/telnet.sf"
sfConfig extends Compound {
sampleTelnet extends TelnetSession {
PasswordProvider:passwordFile "/usr/local/passwd.txt";
Telnet:commands ["cd /home/jan",
"mkdir test",
"ll"
];
Telnet:host "labpc-18.nesc.gla.ac.uk";
Telnet:username "jan";
Telnet:ostype "linux";
}
}
_________________________________________________________
So what could be the possible solution?
-Jan Muhammad
____________________________________________________________________________________
Be a better Heartthrob. Get better relationship answers from someone who knows. Yahoo! Answers - Check it out.
http://answers.yahoo.com/dir/?link=list&sid=396545433
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/