Re: SmartFrogNameResolution Error !
"Omer Khalid" <[email protected]> Wed, 6 Dec 2006 19:04:00 +0100
| Newsgroups | gmane.comp.java.smartfrog.user |
|---|---|
| Message-ID | <[email protected]> |
I figured it out! Apparently the exception was resolved by chmod 777 <file_name> Cheers Omer On 12/6/06, Omer Khalid <[email protected]> wrote: > > Hi, > > I am trying to launch a smartfrog component via Python script. I simply > execute two commands, first sfParse and then sfStart. > > It always succeed if I launch the command by hand, but fails when launched > by python. Following is the errors I get: > > Parser - SmartFrog 3.10.027dev (27 Nov 2006, 00:56:40) > 68(C) Copyright 1998-2006 Hewlett-Packard Development Company, LP > 69 > > 70ERROR '/tmp/autosf/autosf_1165425024.98.sf': > 71SmartFrogResolutionException:: Unresolved Reference: HERE sfConfig, Cause: Reference not found > > 72 > 73Error detected. Check report. > 74SFParse: FAILED > 75[WARN ][main] SFCORE_LOG - SmartFrog security is NOT active > > 76SmartFrog 3.10.027dev (27 Nov 2006, 00:56:40) > 77(C) Copyright 1998-2006 Hewlett-Packard Development Company, LP > 78 - FAILED when trying DEPLOY of 'omer_test', [/tmp/autosf/autosf_1165425024.98.sf], host:lcgctb1 > > 79 Result: > 80 * Exception: 'SmartFrogDeploymentException: unnamed component. deploying description '/tmp/autosf/autosf_1165425024.98.sf' for 'omer_test' > > 81 cause: SmartFrogResolutionException:: > 82 Cause: Error during parsing of '/tmp/autosf/autosf_1165425024.98.sf'. Parser error while resolving phases [SmartFrogResolutionException:: Unresolved Reference: HERE sfConfig, Cause: Reference not found] > > 83 deployedContext: included' > 84 > > What I don't understand is python is able to lanuch the commands, as > confirmed by the log file, but why it generates sfConfig error! If it was a > python problem, then it should have failed in the first place. But both > sfParse and sfStart are launched and produce SmartFrogResolutionException! > > Any help would be much appreciated! > > Regards > Omer > > -- > --------------------------------------------------------------- > > > CERN – European Organization for Nuclear Research > Information Technology Department > CH-1211 Geneva 23 > > Phone: +41 (0) 22 767 7996 > Fax: +41 (0) 22 767 4900 > E-mail : [email protected] > Homepage: http://cern.ch/Omer.Khalid -- --------------------------------------------------------------- CERN – European Organization for Nuclear Research Information Technology Department CH-1211 Geneva 23 Phone: +41 (0) 22 767 7996 Fax: +41 (0) 22 767 4900 E-mail : [email protected] Homepage: http://cern.ch/Omer.Khalid ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Smartfrog-support mailing list Smartfrog-support-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/smartfrog-support