Re: SmartFrogDeploymentException Help!!

"Goldsack, Patrick" <[email protected]> Wed, 29 Aug 2007 17:17:25 +0100
Newsgroups gmane.comp.java.smartfrog.devel
Message-ID <86FE9B2B91ADD04095335314BE6906E80164B606@sdcexc04.emea.cpqcorp.net>
 
Jan,

I suspect you are missing the jar file (sf-net-<versioninfo>.jar)
containing the ftp.sf file from the classpath for the sfStart command.
The file grid.sf is parsed in sfStart, not by the daemon, and it is not
finding the ftp.sf file. Just place the jar file into the lib directory.

Patrick


-----Original Message-----
From: smartfrog-developer-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
[mailto:smartfrog-developer-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org] On Behalf Of
Jan Muhammad
Sent: 29 August 2007 16:11
To: smartfrog-developer-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Cc: Guijarro, Julio; Sabharwal, Ritu (HP STSD-Labs)
Subject: [Smartfrog-developer] SmartFrogDeploymentException Help!!

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/
_______________________________________________
Smartfrog-developer mailing list
Smartfrog-developer-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/smartfrog-developer

-------------------------------------------------------------------------
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/